* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --primary-orange: #f97316;
    --accent-teal: #14b8a6;
    --accent-purple: #a855f7;
    --dark-navy: #0f172a;
    --light-bg: #f8fafc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    z-index: 1000;
    box-shadow: 0 2px 18px rgba(15, 23, 42, 0.06);
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
    transform: translateY(-2px);
}

nav.scrolled .nav-link {
    color: #e5e7eb;
}

nav.scrolled .nav-link.active {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #0f172a;
    box-shadow:
        0 14px 35px rgba(15, 23, 42, 0.65),
        0 0 0 1px rgba(15, 23, 42, 0.45);
}

nav.scrolled .logo-ori,
nav.scrolled .logo-z,
nav.scrolled .logo-en {
    color: #f9fafb;
    -webkit-text-fill-color: #f9fafb;
    background: none;
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.5px;
}

.logo-ori {
    color: #0f172a;   /* deep navy, like the text in your logo */
}

.logo-z {
    color: #f97316;   /* bright orange Z */
}

.logo-en {
    color: #f97316;   /* same orange for "en" */
}


.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}


.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: var(--dark-navy);
    letter-spacing: 0.02em;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.18s ease,
        box-shadow 0.25s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.55), transparent 60%);
    opacity: 0;
    filter: blur(6px);
    transition: opacity 0.25s ease;
    z-index: -1;
}

.nav-link:hover {
    background: rgba(241, 245, 249, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.nav-link:hover::before {
    opacity: 1;
}

/* Active page pill */
.nav-link.active {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f9fafb;
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.32),
        0 0 0 1px rgba(148, 163, 184, 0.45);
}

.nav-link.active::before {
    opacity: 1;
    background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.5), transparent 60%);
}

/* General page content */
.page-content {
    padding: 120px 50px 80px;
    min-height: 100vh;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: #020617; /* fallback if images don’t load */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}


.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.65), transparent 55%),
                radial-gradient(circle at bottom, rgba(15, 23, 42, 0.75), transparent 55%);
    pointer-events: none;
}


@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text-box {
    display: inline-block;
    padding: 24px 40px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgb(15 23 42 / 55%), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
}


.hero h1 {
    font-size: 64px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    background: linear-gradient(120deg, #f97316, #fbbf24, #22d3ee, #38bdf8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.9);
    text-shadow:
        0 0 30px rgba(15, 23, 42, 0.9),
        0 18px 45px rgba(15, 23, 42, 0.95);
}

@keyframes heroGlow {
    0% {
        text-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
        transform: translateY(0);
    }
    100% {
        text-shadow: 0 20px 55px rgba(15, 23, 42, 0.95);
        transform: translateY(-4px);
    }
}


.hero p {
    font-size: 18px;
    margin-bottom: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.95);
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.9);
}


.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-text-box .cta-buttons {
    margin-top: 24px;
    justify-content: center;
}


.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #f97316;
    color:rgb(255, 255, 255);
    border: 2px solid rgb(255, 255, 255);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
}

.btn-secondary {
    background: #f97316;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(213, 217, 221, 0.12);
    color: #e5e7eb;
    border-color: #e5e7eb;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.55);
}

/* Main Sections Cards */
.main-sections {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 48px;
    color: var(--dark-navy);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    border-radius: 2px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.service-card h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
}

.card-features li {
    padding: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 20px;
}

/* Contact Section */
.contact-section {
    padding: 100px 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 18px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.contact-form h3 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--dark-navy);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--dark-navy);
    color: white;
    padding: 60px 50px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Content Sections Shared */
.content-header {
    text-align: center;
    margin-bottom: 60px;
}

.content-header h1 {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.content-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 24px;
}

.language-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 28px 28px 26px;
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.98), #ffffff);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(148, 163, 184, 0.12);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.language-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.language-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.language-link:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 4px;
    border-radius: 28px;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 17px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
    background: #ffffff;
}

.language-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e3a8a;
    font-size: 22px;
    margin-bottom: 12px;
}

.language-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(56, 189, 248, 0.5);
    border-color: rgba(56, 189, 248, 0.7);
}

.language-card:hover::before {
    opacity: 1;
}

.language-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e3a8a;
    font-size: 22px;
    margin-bottom: 12px;
}

.lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    background: radial-gradient(circle at 0 0, #f97316, #fbbf24);
    box-shadow: 0 8px 18px rgba(248, 150, 30, 0.5);
}

.language-card:hover .lang-code {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(248, 150, 30, 0.7);
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;
    margin-top: 40px;
}


.country-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 18px 22px;
    text-align: center;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(226, 232, 240, 0.9);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
    border: 1px solid rgba(226, 232, 240, 0.9);
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* Remove default blue/underline for any links inside country cards */
.country-card a {
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}

.country-card a:hover {
    text-decoration: none;
    color: inherit;
}

.country-flag-wrap {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 12px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.35);
    border: 2px solid rgba(248, 250, 252, 0.95);
    background: #0f172a;
}

.country-flag-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.country-code {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
}

.country-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.country-card p {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}


.country-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.country-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 24px 55px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(59, 130, 246, 0.5);
    border-color: rgba(59, 130, 246, 0.7);
}

.country-card:hover::before {
    opacity: 1;
}

.country-card:hover .country-flag-wrap {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.5);
}

.country-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.country-link:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 4px;
    border-radius: 999px;
}

.back-btn {
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.back-btn:hover {
    background: var(--primary-orange);
    transform: translateX(-5px);
}

/* Chatbot */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s;
    color: white;
    font-size: 28px;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 998;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    color: white;
    padding: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    cursor: pointer;
    font-size: 24px;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

.message {
    margin: 15px 0;
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 80%;
    animation: messageAppear 0.3s ease;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message.user {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    color: white;
    margin-left: auto;
}

.chatbot-options {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-option {
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.chat-option:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .chatbot-window {
        width: 90%;
        right: 5%;
    }

    .page-content {
        padding: 100px 20px 60px;
    }
}

