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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --gold-accent: #f59e0b;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    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);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    gap: 24px;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.lang-option {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray-color);
    transition: var(--transition);
    min-width: 22px;
    text-align: center;
}

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

.lang-switch-track {
    width: 46px;
    height: 24px;
    background: var(--light-gray);
    border-radius: 999px;
    position: relative;
    transition: var(--transition);
    border: 2px solid rgba(30,58,138,0.15);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.08);
}

.lang-switch-track.en-active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
}

.lang-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.lang-switch-thumb.en-active {
    transform: translateX(22px);
}

/* lang badge shown next to logo on mobile */
.lang-badge {
    display: none;
}

.logo .logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo h2 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.2px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #0369a1 80%, #06b6d4 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50V38H38v12H26v12h12v12h12V62h12V50H50zM50 2V-10H38V2H26v12h12v12h12V14h12V2H50zM14 50V38H2v12H-10v12h12v12h12V62h12V50H14zM14 2V-10H2V2H-10v12h12v12h12V14h12V2H14z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 48px;
    opacity: 0.92;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 42px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--white), #f0f9ff);
    color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

section {
    padding: 120px 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.about {
    background: linear-gradient(180deg, var(--light-color) 0%, #ffffff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--gray-color);
    margin-bottom: 28px;
    line-height: 1.9;
}

.features {
    margin-top: 48px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--dark-color);
    padding: 12px 0;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(8px);
}

.feature-item i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.about-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.card-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.card-icon i {
    color: var(--white);
    font-size: 2.2rem;
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--dark-color);
    font-weight: 800;
}

.about-card p {
    color: var(--gray-color);
    line-height: 1.9;
    font-size: 1.05rem;
}

.services {
    background: var(--white);
}

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

.service-card {
    background: linear-gradient(180deg, var(--light-color) 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-card:hover::before {
    height: 4px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25);
}

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

.service-card h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.5;
}

.partners {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-color) 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-items: center;
}

.partner-logo {
    background: var(--white);
    width: 100%;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 2px solid transparent;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.partner-logo h4 {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-item {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--light-color);
    transform: translateX(8px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25);
}

.contact-icon i {
    color: var(--white);
    font-size: 1.6rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
}

.contact-text p {
    color: var(--gray-color);
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-form-card {
    background: linear-gradient(180deg, var(--light-color) 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 36px;
    color: var(--dark-color);
    font-weight: 800;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid var(--light-gray);
    border-radius: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, #020617 100%);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    font-weight: 800;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.9;
    font-size: 1.05rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    opacity: 0.75;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 8px;
    color: var(--accent-color);
}

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

.footer-bottom p {
    opacity: 0.6;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-card {
        max-width: 550px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    /* Lang toggle: keep labels, shrink gap */
    .lang-toggle {
        gap: 7px;
    }
    .lang-option {
        font-size: 0.72rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 36px;
    }
    /* Lang toggle: hide text labels on very small screens, show only pill */
    .lang-option {
        display: none;
    }
    .lang-toggle {
        gap: 0;
    }
    /* Small flag-like indicator below the track */
    .lang-switch-track::after {
        content: attr(data-lang-label);
        position: absolute;
        top: 28px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--primary-color);
        white-space: nowrap;
    }
}
