/* ============================================
   BOOKS REMOTELY — Emma Soul CV Website
   Colour Palette: Teal + Warm Neutrals
   Design: Warm, Approachable, Professional
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Teal Palette */
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    /* Warm Neutrals */
    --warm-50: #fafaf9;
    --warm-100: #f5f5f4;
    --warm-200: #e7e5e4;
    --warm-300: #d6d3d1;
    --warm-400: #a8a29e;
    --warm-500: #78716c;
    --warm-600: #57534e;
    --warm-700: #44403c;
    --warm-800: #292524;
    --warm-900: #1c1917;

    /* Accent */
    --coral: #f97066;
    --amber: #f59e0b;
    --amber-light: #fef3c7;

    /* Semantic */
    --primary: var(--teal-600);
    --primary-light: var(--teal-100);
    --primary-dark: var(--teal-800);
    --text: var(--warm-800);
    --text-light: var(--warm-500);
    --text-dark: var(--warm-900);
    --bg: #ffffff;
    --bg-warm: var(--warm-50);
    --bg-teal: var(--teal-50);
    --border: var(--warm-200);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-py: 6rem;
    --container-px: 1.5rem;
    --container-max: 1200px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    --shadow-teal: 0 10px 30px -5px rgba(13, 148, 136, 0.2);

    /* Border Radius */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.text-accent {
    color: var(--primary);
    font-family: var(--font-serif);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px -5px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* --- Section Styles --- */
.section {
    padding: var(--section-py) 0;
}

.section:nth-child(even):not(.contact) {
    background: var(--bg-warm);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* ============================
   NAVIGATION
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: #fff;
    margin-left: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================
   HERO
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--teal-950) 0%, var(--teal-800) 40%, var(--teal-700) 100%);
    overflow: hidden;
    padding-top: 4.5rem;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--teal-300);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--teal-400);
    bottom: -150px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--teal-200);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-30px) scale(1.05); }
    66% { transform: translateY(20px) scale(0.95); }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    max-width: 650px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--teal-200);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: var(--teal-300);
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-name {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.hero-role {
    display: block;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: var(--teal-200);
    letter-spacing: -0.01em;
}

.hero-role .text-accent {
    color: var(--teal-300);
    font-size: 1.5em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--teal-100);
    opacity: 0.85;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-actions .btn-primary {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-actions .btn-primary:hover {
    background: var(--teal-100);
    border-color: var(--teal-100);
    color: var(--primary-dark);
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: none;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    display: inline;
    letter-spacing: -0.02em;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-300);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--teal-200);
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -0.25rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Photo */
.hero-photo {
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-photo-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.hero-photo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px dashed var(--teal-400);
    opacity: 0.3;
    animation: spin 30s linear infinite;
    z-index: 1;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================
   ABOUT
   ============================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--primary);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================
   SERVICES / WHAT I BRING
   ============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ============================
   EXPERIENCE TIMELINE
   ============================ */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal-300), var(--teal-600), var(--teal-300));
}

.timeline-item {
    position: relative;
    padding-left: 5.5rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0.75rem;
    top: 0.25rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 0 4px var(--bg-warm), var(--shadow);
    z-index: 2;
}

.timeline-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-full);
}

.timeline-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--coral);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.timeline-company {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-achievements li {
    font-size: 0.88rem;
    color: var(--text);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.timeline-achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: 50%;
}

/* ============================
   SKILLS & TOOLS
   ============================ */
.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.skills-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.skills-block-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}

.skills-block-title i {
    color: var(--primary);
}

.competencies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.competency-tag {
    display: inline-flex;
    padding: 0.45rem 1rem;
    background: var(--bg-teal);
    color: var(--primary-dark);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.competency-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tools-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.tool-category h4 i {
    color: var(--primary);
    font-size: 0.85rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-tag {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    background: var(--warm-100);
    color: var(--text);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tool-tag:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--teal-200);
}

/* ============================
   CERTIFICATIONS
   ============================ */
.education-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
}

.edu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff;
    border-radius: var(--radius);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.edu-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.edu-institution {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.edu-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.edu-details {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cert-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cert-badge.xero {
    background: #e6f7f5;
    color: #13b5a0;
}

.cert-badge.microsoft {
    background: #e8f0fe;
    color: #0078d4;
}

.cert-badge.analytics {
    background: #fff3e0;
    color: var(--amber);
}

.cert-badge.management {
    background: #fce4ec;
    color: var(--coral);
}

.cert-badge.firstaid {
    background: #fce4ec;
    color: #e53935;
}

.cert-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.cert-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cert-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.cert-date.in-progress {
    color: var(--amber);
    background: var(--amber-light);
}

/* ============================
   CONTACT
   ============================ */
.contact {
    background: linear-gradient(135deg, #042f2e 0%, #115e59 50%, #0f766e 100%) !important;
    color: #fff;
}

.contact .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #99f6e4;
}

.contact .section-title {
    color: #fff;
}

.contact .section-subtitle {
    color: #ccfbf1;
    opacity: 0.85;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Form */
.contact-form-wrap {
    position: relative;
}

.contact-form {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ccfbf1;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2399f6e4' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #115e59;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5eead4;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: #fff;
    color: #115e59;
    border: 2px solid #fff;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #ccfbf1;
    border-color: #ccfbf1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Form Messages */
.form-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.form-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.form-success i { color: #5eead4; }
.form-error i { color: #f97066; }

.form-message h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-message p {
    color: #ccfbf1;
    font-size: 0.95rem;
}

.form-message a {
    color: #5eead4;
    text-decoration: underline;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
    color: #fff;
    text-decoration: none;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
    color: #fff;
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 1rem;
    color: #5eead4;
    flex-shrink: 0;
}

.contact-card-text h3 {
    font-size: 0.78rem;
    font-weight: 600;
    color: #99f6e4;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card-text p {
    font-size: 0.92rem;
    color: #fff;
}

/* Download Card */
.contact-download {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.download-label {
    font-size: 0.9rem;
    color: #ccfbf1;
    margin-bottom: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-download:hover {
    background: #fff;
    color: #115e59;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--teal-950);
    padding: 2.5rem 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer .logo-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
}

.footer .logo-text {
    font-size: 1.1rem;
    color: #fff;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--teal-300);
    margin-bottom: 1rem;
}

.footer-divider {
    width: 50px;
    height: 2px;
    background: var(--teal-600);
    margin: 0 auto 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--teal-400);
    opacity: 0.7;
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-teal);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE — TABLET
   ============================ */
@media (max-width: 1024px) {
    .hero-photo-wrapper {
        width: 250px;
        height: 250px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-layout {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================
   RESPONSIVE — MOBILE
   ============================ */
@media (max-width: 768px) {
    :root {
        --section-py: 4rem;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.25rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }

    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-layout {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .hero-photo-ring {
        inset: -10px;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-name {
        font-size: 2.75rem;
    }

    .hero-stats {
        gap: 2rem;
        justify-content: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 1.25rem;
    }

    .timeline-item {
        padding-left: 4rem;
    }

    .timeline-marker {
        left: 0;
        width: 2.5rem;
        height: 2.5rem;
    }

    .timeline-content {
        padding: 1.25rem 1.5rem;
    }

    /* Certs Mobile */
    .certs-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Education Mobile */
    .education-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
    }
}

/* ============================
   PRINT STYLES
   ============================ */
@media print {
    .nav,
    .back-to-top,
    .hero-bg-shapes {
        display: none !important;
    }

    .hero {
        background: #fff !important;
        color: var(--text-dark) !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .hero-name,
    .hero-role,
    .hero-subtitle {
        color: var(--text-dark) !important;
    }

    .section {
        padding: 2rem 0 !important;
    }

    .contact {
        background: #fff !important;
        color: var(--text-dark) !important;
    }
}
