/* Global Styles & Variables */
:root {
    --primary: #24acc5;
    --primary-glow: rgba(36, 172, 197, 0.4);
    --secondary: #007aff;
    --bg-dark: #272f3b;
    --bg-card: #303b4b;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

h1,
h2,
h3,
.logo {
    font-family: 'Orbitron', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utility */
.subtitle {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    font-size: 2.5rem;
    /* same as section-header h2 */
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    /* Reduced padding from 15px */
    transition: var(--transition);
    background: rgba(39, 47, 59, 0.92);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.header.scrolled {
    background: rgba(39, 47, 59, 0.97);
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.header .logo a,
.header .nav-links a {
    color: var(--text-main);
}

.nav-links a {
    position: relative;
    opacity: 0.9;
    text-decoration: none;
    transition: var(--transition);
}

.header .burger div {
    background-color: var(--text-main);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 60px;
    /* Removed large left padding for better responsiveness */
}

.logo {
    margin-left: 120px;
    /* Moved further right as requested */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    transition: var(--transition);
    flex: 1;
    justify-content: flex-end;
}

/* Search Styles */
.search-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
    transition: var(--transition);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary);
}

.search-bar {
    position: relative;
    width: 0;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    background: var(--bg-card);
    border-radius: 50px;
    overflow: hidden;
    display: flex;
}

.search-bar.active {
    width: 250px;
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-bar input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    outline: none;
    color: var(--text-main);
    background: transparent;
}

.search-highlight mark {
    background: #ffea00;
    color: #000;
    padding: 0 4px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 234, 0, 0.5);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
}

.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 2px 4px;
}

.lang-code {
    display: inline;
}

.lang-flag {
    display: none;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 0 0 auto;
}

.flag-tr {
    background-image: url("images/media/tr-flag.png");
}

.flag-en {
    background-image: url("images/media/uk-flag.png");
}

.lang-link:hover {
    color: var(--primary);
}

.lang-link.active {
    color: var(--primary);
    font-weight: 700;
}

.lang-sep {
    color: var(--glass-border);
    user-select: none;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 220px;
    /* Increased space to provide breathing room below the navbar */
}

#mesh-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-content {
    max-width: 560px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    line-height: 1.18;
    margin-bottom: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero-description {
    margin-bottom: 2.5rem;
}

.hero-description p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.68;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    justify-self: end;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

@media (max-width: 1200px) {
    .header .container {
        padding: 0 40px;
    }

    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .hero {
        height: auto;
        padding-top: 150px;
        padding-bottom: 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }

    .hero-text-content {
        max-width: 100%;
        margin: 0 auto;
        order: 2;
    }

    .hero-image-content {
        order: 1;
        width: 100%;
    }

    .hero-image-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

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

/* Sections General */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-purpose-box {
    background: rgba(36, 172, 197, 0.08);
    border-left: 4px solid var(--secondary);
    padding: 40px;
    border-radius: 0 24px 24px 0;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.purpose-label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.about-purpose-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

.about-purpose-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.img-container {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.img-container:hover .feature-img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background: transparent;
}

.services .section-header h2 {
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Services Detailed Grid */
.services-full-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-box {
    background: rgba(48, 59, 75, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}

.service-box:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.service-header-main {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid var(--glass-border);
}

.service-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    opacity: 0.5;
}

.service-header-main h3 {
    font-size: 1.8rem;
}

.service-body {
    padding: 40px;
}

.service-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.service-text {
    flex: 1;
}

.service-image {
    width: 280px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-box:hover .service-image img {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .service-content-wrapper {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }
}

.service-body h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-family: 'Orbitron', sans-serif;
}

.service-body p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 900px;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.sub-service h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-service h5::before {
    content: '';
    width: 15px;
    height: 2px;
    background: var(--primary);
    display: block;
}

.service-body ul {
    list-style: none;
}

.service-body li {
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 1rem;
}

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

.service-box.highlight {
    background: linear-gradient(145deg, rgba(48, 59, 75, 0.9), rgba(39, 47, 59, 0.95));
    border: 1px solid rgba(0, 122, 255, 0.4);
}

/* Projects / Industries (Bento Grid) Section */
.projects {
    background: transparent;
}

.projects-box {
    background: rgba(48, 59, 75, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .projects-box {
        padding: 30px 20px;
        border-radius: 20px;
    }
}

.projects-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.projects-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.projects-intro p strong {
    color: #fff;
    font-size: 1.3rem;
    font-family: 'Orbitron', sans-serif;
    display: block;
    margin-bottom: 25px;
}

.projects-outro {
    max-width: 900px;
    margin: 50px auto 0 auto;
    text-align: center;
}

.projects-outro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.projects-outro p:last-child {
    margin-bottom: 0;
    color: #fff;
    font-weight: 500;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 260px);
    gap: 15px;
}

/* Hidden Project Details Section */
.project-details {
    background: rgba(36, 172, 197, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    animation: fadeUp 0.5s ease;
}

.back-to-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    padding: 8px 16px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.back-to-projects-btn:hover {
    background: var(--primary);
    color: #fff;
}

.project-detail-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
}

.project-detail-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-detail-text h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-detail-text ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.project-detail-text ul li {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.project-detail-text ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 10px;
    font-size: 1.2rem;
}

.project-card {
    background: #0f1319;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: rgba(36, 172, 197, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-card h3 {
    font-size: 1.4rem;
    color: #fff;
    z-index: 2;
    margin-bottom: 20px;
    max-width: 85%;
    line-height: 1.4;
}

.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 1.1rem;
    z-index: 2;
    margin-bottom: auto;
    transition: var(--transition);
}

.project-card:hover .project-arrow {
    background: var(--primary);
    color: #fff;
}

.project-bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
    transition: transform 0.5s ease;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
}

.project-card:hover .project-bg-img {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Bento Grid Layout Mapping */
.project-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.project-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.project-card:nth-child(3) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.project-card:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.project-card:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.project-card:nth-child(6) {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
}

.project-card:nth-child(7) {
    grid-column: 4 / 5;
    grid-row: 2 / 4;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }

    .project-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 250px;
    }

    .project-card:nth-child(5) {
        grid-column: 1 / 3 !important;
        /* Keep one wide on tablet */
    }
}

@media (max-width: 768px) {
    .projects-intro p {
        font-size: 1rem;
    }

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

    .project-card {
        grid-column: span 1 !important;
        min-height: 220px;
        padding: 25px;
    }

    .project-card h3 {
        font-size: 1.3rem;
        max-width: 95%;
    }

    .project-card:nth-child(5) {
        grid-column: span 1 !important;
    }

    .service-header-main {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-body {
        padding: 25px;
    }

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.info-item {
    margin-top: 20px;
    font-size: 1.1rem;
}

.contact-highlights {
    list-style: none;
    margin: 18px 0 24px;
    padding: 0;
}

.contact-highlights li {
    position: relative;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 18px;
    line-height: 1.6;
}

.contact-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.info-item span {
    color: var(--primary);
    font-weight: 600;
    margin-right: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.required-note {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(48, 59, 75, 0.45);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.phone-group {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.checkbox-group label a:hover {
    border-bottom-color: var(--primary);
}

/* Animations Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .phone-group {
        grid-template-columns: 1fr;
    }

    .logo {
        margin-left: 0;
    }

    .logo-img {
        height: 50px;
    }

    .nav-links {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        height: 100vh !important;
        top: 0 !important;
        background-color: rgba(39, 47, 59, 0.98) !important;
        backdrop-filter: blur(15px);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40% !important;
        min-width: 280px !important;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000 !important;
        padding: 0 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links a {
        font-size: 1.35rem;
        margin: 15px 0;
        color: #fff !important;
        font-family: 'Orbitron', sans-serif;
        letter-spacing: 1px;
        text-align: center;
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--primary) !important;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        cursor: pointer;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

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

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Keep language switcher visible in mobile header */
    .lang-switcher {
        display: flex;
        margin-left: 0;
        gap: 8px;
        font-size: 0.8rem;
        order: 2;
        z-index: 101;
    }

    .lang-link {
        color: #fff;
    }

    .search-wrapper {
        display: none;
    }

    /* Footer links wrap on mobile */
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Section padding on mobile */
    section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    /* About purpose box smaller on mobile */
    .about-purpose-box {
        padding: 25px;
    }

    /* Contact grid gap */
    .contact-grid {
        gap: 40px;
    }
}

.burger {
    display: block;
    /* Always set display block, we'll hide it via media query logic */
    cursor: pointer;
    z-index: 101;
}

@media (min-width: 969px) {
    .burger {
        display: none;
    }

    .lang-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px;
        border: 1.5px solid var(--glass-border);
        border-radius: 999px;
    }

    .lang-flag {
        display: inline-block;
        font-size: 0.95rem;
    }

    .lang-link.active {
        border-color: var(--primary);
    }

    .lang-link.active .lang-flag {
        border-color: var(--primary);
    }
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}