/* ===================================
   Professional CV Website - CSS
   Modern, Elegant, and Comfortable Design
   EU GDPR Compliant
   =================================== */

/* === Color Palette (Eye-Comfortable & Professional) === */
:root {
    /* Primary Colors - Calming Blues & Teals */
    --primary-color: #2E7D8C;
    /* Professional Teal */
    --primary-dark: #1E5A68;
    /* Deep Teal */
    --primary-light: #4FA3B5;
    /* Light Teal */

    /* Secondary Colors - Warm Accents */
    --secondary-color: #E6A537;
    /* Warm Gold */
    --secondary-dark: #C98F2E;
    /* Deep Gold */
    --secondary-light: #F4C266;
    /* Light Gold */

    /* Neutral Colors - Soft Grays */
    --background-white: #FAFBFC;
    /* Off-White */
    --background-light: #F5F7F9;
    /* Light Gray */
    --background-alt: #EDF1F5;
    /* Alt Background */

    --text-primary: #2C3E50;
    /* Dark Blue-Gray */
    --text-secondary: #5D6D7E;
    /* Medium Gray */
    --text-light: #85929E;
    /* Light Gray */
    --text-light: #95A0A5;
    /* Muted light */

    /* Accent Colors */
    --success-color: #27AE60;
    /* Green */
    --warning-color: #F39C12;
    /* Orange */
    --info-color: #3498DB;
    /* Blue */
    --danger-color: #E74C3C;
    /* Red */

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

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

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--background-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

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

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

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

ul {
    list-style: none;
}

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

/* === Utility Classes === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-alt {
    background-color: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 500;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #16a085;
    border: 2px solid #16a085;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #16a085;
    color: white;
}

/* === Cookie Consent Banner (GDPR) === */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    animation: slideUp 0.5s ease;
    display: none;
}

.cookie-consent.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: white;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons button,
.cookie-buttons a {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.btn-accept {
    background: var(--secondary-color);
    color: white;
}

.btn-accept:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-reject {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-reject:hover {
    background: white;
    color: var(--primary-color);
}

.btn-learn {
    background: transparent;
    color: white;
    text-decoration: underline;
}

/* === Navigation === */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand h2 {
    font-size: 1.5rem;
    color: #0F2854;
    margin: 0;
    white-space: nowrap;
    margin-right: 1.5rem;
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition-base);
}

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

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    background: var(--background-alt);
    color: var(--primary-color);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 140, 0.9), rgba(30, 90, 104, 0.95));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 5% 2rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
}

.hero-image {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.hero-text {
    flex: 0 0 55%;
    order: 2;
}

.hero-image .profile-photo {
    width: 100%;
    height: auto;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile responsive styles for hero section */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 2rem 5%;
    }

    .hero-image {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-text {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    .hero-image .profile-photo {
        width: 100%;
        max-width: 300px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .credential-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: rgb(17, 46, 81);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--secondary-light);
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.5;
    opacity: 1;
    color: white;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.credentials-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1.4s ease;
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.credential-badge i {
    font-size: 1.2rem;
    color: var(--secondary-light);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 900px;
    opacity: 1;
    color: white;
    animation: fadeInUp 1.6s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3rem;
    margin-top: 3rem;
    padding: 0;
    width: 100%;
    animation: fadeInUp 2s ease;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    color: white;
}

/* === About Section === */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.unfccc-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.unfccc-badge i {
    font-size: 3rem;
    color: var(--secondary-light);
}

.unfccc-badge h4 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
}

.unfccc-badge p {
    margin: 0.25rem 0 0 0;
    font-size: 0.95rem;
    opacity: 0.9;
    color: white;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.mission-statement {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    border-left: 5px solid var(--secondary-color);
    position: relative;
}

.mission-statement i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.mission-statement p {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    padding-left: 3rem;
    color: var(--text-primary);
}

.core-values h3 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.value-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-secondary);
}

/* === Timeline (Experience) === */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-end;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: auto;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-right: 3rem;
    transition: var(--transition-base);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 3rem;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}

.timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* === Projects Grid === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-top: 4px solid var(--primary-color);
}

.project-card.featured {
    border-top-color: var(--secondary-color);
    background: linear-gradient(135deg, #fff9f0, white);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-card.featured .project-icon {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
}

.project-icon i {
    font-size: 1.8rem;
    color: white;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.project-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-badge {
    display: inline-block;
    background: var(--background-alt);
    color: var(--primary-color);
    padding: 0.35rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card.featured .project-badge {
    background: rgba(230, 165, 55, 0.15);
    color: var(--secondary-dark);
}

.project-card ul {
    list-style: none;
    padding-left: 0;
}

.project-card ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}

.project-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* === Publications === */
.publications-content {
    max-width: 900px;
    margin: 0 auto;
}

.publication-list {
    margin-bottom: 3rem;
}

.publication-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--primary-color);
}

.publication-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.pub-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
}

.pub-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pub-journal {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.conference-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.conference-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.conference-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.conference-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.conference-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.conference-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* === Education === */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.education-column {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.education-list,
.certification-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: var(--transition-base);
}

.education-item:hover {
    background: var(--background-alt);
    transform: translateX(5px);
}

.education-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.education-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.education-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
    transition: var(--transition-base);
}

.cert-item:hover {
    background: var(--background-alt);
    transform: translateX(5px);
}

.cert-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.cert-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* === Services === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* === Contact === */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: var(--transition-base);
}

.contact-item:hover {
    background: var(--background-alt);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-item p,
.contact-item a {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--background-alt);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* === Footer === */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-light);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === Scroll to Top === */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 70px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-content {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        overflow-y: auto;
    }

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

    .nav-link {
        width: 100%;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .credentials-strip {
        flex-direction: column;
    }

    .stats-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .stat-item {
        flex: 1;
        width: 100%;
    }

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

    .stat-label {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .stat-item {
        width: 100%;
    }

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

    .stat-label {
        font-size: 0.85rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* === Print Styles === */
@media print {

    .navbar,
    .cookie-consent,
    .scroll-top,
    .hero-buttons,
    .contact-form-wrapper {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

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

/* === Large Screens === */
@media (min-width: 1600px) {
    .hero-content {
        padding: 4rem 8% 2rem 8%;
    }
}

@media (min-width: 2000px) {
    .hero-content {
        padding: 4rem 12% 2rem 12%;
    }
}