/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --accent: #2039dd;
    --dark: #2d3748;
    --light: #f7fafc;
    --white: #ffffff;
    --gray: #374151;
    --header-dark: #1a202c;
    
    --max-width: 1200px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-sm: 4px;
    --transition: all 0.25s ease-in-out;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(26, 54, 93, 0.06);
    --shadow-lg: 0 15px 35px rgba(26, 54, 93, 0.12);
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    background-color: var(--light);
}

body {
    color: var(--dark);
    line-height: 1.75; 
    -webkit-font-smoothing: antialiased;
}

span, a, p, h1, h2, h3 {
    word-break: break-word;
}

/* ==========================================================================
   2. STICKY HEADER & NAV (FIXED CORNER ALIGNMENT & NO SIDE GAPS)
   ========================================================================== */
header, 
.site-header, 
.header-container {
    background: var(--header-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.header-inner, 
.navbar, 
.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px 0 !important;
}

.brand-block {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
}

.company-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

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

/* ==========================================================================
   3. REDESIGNED SPLIT-GRID HERO SECTION (PERFECT VIEWPORT FIT & CENTERING)
   ========================================================================== */
#hero {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.90), rgba(45, 55, 72, 0.85)),
                url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop") no-repeat center center/cover;
    padding: 30px 24px 40px;
    min-height: calc(100vh - 95px);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
}

/* --- Left Column Styling (Centered & Raised) --- */
.hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    color: #63b3ed;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #63b3ed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 580px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(32, 57, 221, 0.2);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
}

.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
}

.btn-secondary:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
}

/* --- Right Column: Glassmorphism Trust Card --- */
.hero-right {
    display: flex;
    justify-content: center;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 16px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #48bb78;
    border-radius: 50%;
    box-shadow: 0 0 10px #48bb78;
}

.glass-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.glass-card-list li {
    display: flex;
}

.glass-card-list i {
    color: #63b3ed;
    font-size: 16px;
    margin-top: 3px;
}

.glass-card-list strong {
    display: block;
    color: #ffffff;
    font-size: 13.5px;
}

.glass-card-list p {
    font-size: 12.5px;
    color: #a0aec0;
    margin: 2px 0 0 0;
}

.glass-card-link {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: flex-start;
    color: #e2e8f0;
    text-decoration: none;
    padding: 8px;
    margin: -8px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.glass-card-link:hover,
.glass-card-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.glass-card-link:hover strong,
.glass-card-link:focus-visible strong {
    color: #63b3ed;
}

.glass-card-arrow {
    margin-left: auto;
    align-self: center;
    font-size: 12px !important;
    color: #718096 !important;
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.glass-card-link:hover .glass-card-arrow,
.glass-card-link:focus-visible .glass-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #63b3ed !important;
}

/* Common Titles */
.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin: 0 auto 30px auto;
    font-weight: 800;
    letter-spacing: -0.5px;
    max-width: 850px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.company-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: rgba(26, 54, 93, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ==========================================================================
   4. STREAMLINED STATS BAR (BALANCED GRID LAYOUT)
   ========================================================================== */
.stats-bar-section {
    background: var(--white);
    padding: 35px 24px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
}

.stats-bar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px;
    text-align: left;
}

.stat-icon {
    font-size: 32px;
    color: var(--primary-light);
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-text-group p {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    margin-top: 3px;
}

.stat-divider {
    width: 1px;
    height: 45px;
    background-color: #e2e8f0;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .stats-bar-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .stat-text-group {
        text-align: center;
    }
}

/* ==========================================================================
   5. STREAMLINED ABOUT & FEATURE LIST (REDESIGNED)
   ========================================================================== */
.about-section {
    padding: 100px 24px;
    background: #ffffff;
}

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

/* Header Text */
.about-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

.about-tagline-highlight {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.about-lead-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Top Grid: Image + Services */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-visual-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.about-img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 98, 107, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 108, 176, 0.2);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.12);
    z-index: 2;
}

.badge-top { top: 25px; left: 25px; }
.badge-bottom { bottom: 25px; right: 25px; }

.floating-badge i { 
    color: var(--accent); 
    font-size: 22px; 
}

.floating-badge strong { 
    display: block; 
    font-size: 14px; 
    color: var(--primary); 
    line-height: 1.2;
}

.floating-badge span { 
    font-size: 12px; 
    color: var(--gray); 
}

/* Feature List (Right Side) */
.about-features-header {
    margin-bottom: 30px;
}

.about-features-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.about-features-header span {
    font-size: 15px;
    color: var(--gray);
    font-weight: 500;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-row:hover {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.feature-icon-wrap {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: rgba(32, 57, 221, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.feature-body p {
    font-size: 15px;
    color: var(--dark);
    margin: 0;
    font-weight: 600;
}

/* Bottom Grid: Text Blocks (Unified Background) */
.about-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--light);
    padding: 50px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.about-text-block h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.about-text-block h3.spacing-top {
    margin-top: 40px;
}

.about-text-block p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Cleaned up Trust List (Removed heavy borders) */
.trust-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
}

.trust-list li i {
    color: #001e79;
    margin-top: 4px;
}

.trust-list p {
    padding-top: 50px;
}

/* Closing Note */
.about-closing-note {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.about-closing-note p {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-light);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-grid, .about-text-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .about-text-grid { 
        padding: 30px 20px; 
    }
}

/* ==========================================================================
   6. EXPANDED SCREEN-FILLING SERVICES 2-COL GRID
   ========================================================================== */
#services {
    background: #edf2f7;
    padding: 100px 24px;
    width: 100%;
    box-sizing: border-box;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.services-lead-desc {
    max-width: 750px;
    margin: 0 auto 50px auto;
    color: var(--gray);
    font-size: 17.5px;
    line-height: 1.6;
}

.services-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    text-align: left;
}

.service-card-hero-box {
    background: var(--white);
    padding: 50px 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.service-card-hero-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.15);
    border-color: var(--accent);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.service-icon-large {
    font-size: 46px;
}

.service-badge-pill {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    background: rgba(32, 57, 221, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
}

.service-card-content h3 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.service-card-content p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 25px;
}

.service-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-bullet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: var(--dark);
    font-weight: 600;
}

.service-bullet-list i {
    color: #48bb78;
    font-size: 15px;
}

.service-card-footer {
    border-top: 1px solid #edf2f7;
    padding-top: 22px;
}

.card-link-text {
    font-size: 15px;
    color: var(--accent);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.service-card-hero-box:hover .card-link-text {
    gap: 12px;
}

@media (max-width: 992px) {
    .services-grid-2col {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-card-hero-box {
        padding: 35px 25px;
    }
}

/* ==========================================================================
   7. FAQ & CONTACT
   ========================================================================== */
.faq-section {
    max-width: 900px;
    margin: 70px auto;
    padding: 0 20px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
    color: var(--primary-light);
}

.faq-item[open] summary::after { content: "−"; }

.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--gray);
    font-size: 14.5px;
}

/* Contact */
.contact-section {
    padding: 80px 24px;
    background-color: var(--light);
}

.contact-wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

.contact-header-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px auto;
}

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

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 38px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.contact-info-lead {
    font-size: 14px;
    color: #cbd5e0;
    margin-bottom: 25px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #63b3ed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-content strong {
    display: block;
    color: #90cdf4;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item-content p {
    font-size: 14px;
    color: var(--white);
}

.contact-link {
    color: var(--white);
    text-decoration: none;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 38px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.form-header p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
}

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.contact-form-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 12px;
    color: var(--dark);
}

.contact-form-card input, 
.contact-form-card select, 
.contact-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 14px;
    background-color: #f8fafc;
    outline: none;
}

.contact-form-card input:focus, 
.contact-form-card select:focus, 
.contact-form-card textarea:focus {
    border-color: var(--primary-light);
    background-color: var(--white);
}

.form-submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--primary-light);
}

.decoy-buffer-field {
    position: absolute !important;
    left: -9999px !important;
}

/* ==========================================================================
   8. FOOTER & MEDIA QUERIES
   ========================================================================== */
footer {
    background: #1a202c;
    color: var(--gray);
    padding: 40px 24px;
    text-align: center;
    font-size: 14px;
}

.footer-social-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none;
}

.facebook-btn { background-color: #1877F2; }
.instagram-btn { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.maps-btn { background: linear-gradient(135deg, #4285F4 0%, #EA4335 35%, #FBBC05 65%, #34A853 100%); }

.floating-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.cta-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

/* Responsive Mobile Breakpoints */
.mobile-menu-toggle { display: none; }

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .about-grid, .contact-grid, .about-text-grid { grid-template-columns: 1fr; }
    .about-cta-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 34px; }
    .section-title { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }

    #services {
        padding: 60px 15px;
    }

    .services-grid-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-hero-box {
        padding: 30px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle .bar {
        height: 2.5px;
        width: 100%;
        background-color: var(--white);
        border-radius: var(--radius);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-dark);
        flex-direction: column;
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.35s ease-in-out;
    }

    .nav-links.active {
        /* Was a fixed 400px, which clipped the language switcher (and, once the
           Services submenu can open inline, whatever follows it) on smaller
           screens. Size to the viewport instead and let it scroll if it's ever
           taller than that, so nothing is ever cut off. */
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 20px 0;
        opacity: 1;
    }

    .nav-links li { text-align: center; width: 100%; }
    .nav-links li a { display: block; padding: 10px 0; }

    /* .nav-lang-item is a flex container, so the text-align:center above has
       no effect on it — its flex child (the switcher pill) needs its own
       centering, otherwise it hugs the left edge of the dropdown. */
    .nav-links li.nav-lang-item {
        justify-content: center;
        margin-top: 10px;
        padding: 10px 0 4px;
    }
}

/* ==========================================================================
   ANIMATIONS & DYNAMIC EFFECTS
   ========================================================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

.class-scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.class-scroll-animate.is-visible, .class-scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-pulse-btn {
    animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(43, 108, 176, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(43, 108, 176, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 108, 176, 0); }
}

.floating-badge {
    animation: float 4s ease-in-out infinite;
}

.badge-bottom {
    animation-delay: 1.5s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-icon {
    color: var(--accent);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* ==========================================================================
   MINI CTA CARD (Light Frosted Glass with Brand Blue Tint)
   ========================================================================== */
.about-mini-cta-card {
    margin-top: 30px;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.90), rgba(224, 236, 252, 0.80));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.95);
    border-right: 1px solid rgba(164, 202, 254, 0.4);
    border-bottom: 1px solid rgba(164, 202, 254, 0.4);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(43, 108, 176, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.about-mini-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(43, 108, 176, 0.16), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(99, 179, 237, 0.7);
    background: linear-gradient(135deg, rgba(245, 249, 255, 0.95), rgba(230, 240, 254, 0.88));
}

.about-mini-cta-card i {
    font-size: 28px;
    color: #2b6cb0;
    margin-top: 2px;
}

.about-mini-cta-card h4 {
    font-size: 16px;
    color: #1a202c;
    font-weight: 800;
    margin-bottom: 4px;
}

.about-mini-cta-card p {
    font-size: 13.5px;
    color: #4a5568;
    margin-bottom: 12px;
}

.mini-cta-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #2b6cb0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.mini-cta-link:hover {
    gap: 10px;
    color: #1a202c;
}

/* ==========================================================================
   NAVIGATION DROPDOWN & LANGUAGE SELECTOR (Frosted Glass Blue Hue Tint)
   ========================================================================== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

/* Frosted Glass Dropdown Menu Box */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(26, 54, 93, 0.75) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.18) !important;
    border-radius: 10px !important;
    padding: 8px 0 !important;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500 !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--accent, #63b3ed) !important;
}

/* Hover Activation (Desktop) */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Tap Activation (Touch / Mobile) — :hover is unreliable on touchscreens,
   so script.js toggles this class on tap. */
.dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown.dropdown-open .dropdown-toggle i {
    transform: rotate(180deg);
}

/* On mobile the menu is a single column, so a floating overlay submenu sits on
   top of (and hides/blocks) the "Contact" link and language switcher beneath it.
   Make it push the items below it down instead, like a normal accordion. */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        left: auto;
        width: 100%;
        min-width: 0;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        padding: 0 !important;
        overflow: hidden;
        border: none !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.15) !important;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .dropdown.dropdown-open .dropdown-menu {
        max-height: 200px;
        padding: 6px 0 !important;
    }
}

/* ==========================================================================
   IPHONE-STYLE iOS SEGMENTED LANGUAGE SWITCHER
   ========================================================================== */
.nav-lang-item {
    display: flex;
    align-items: center;
    list-style: none;
}

.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px;
    border-radius: 30px;
    width: 140px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.lang-pill-indicator {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: rgba(255, 255, 255, 0.3); /* Semi-transparent frosted glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Glass edge highlight */
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.lang-switcher.is-gr .lang-pill-indicator {
    transform: translateX(100%);
}

.lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
    border-radius: 20px;
    text-decoration: none;
    color: #4a5568;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: color 0.25s ease;
    opacity: 0.75;
}

.lang-btn .flag-icon {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    color: #4492ff;
    opacity: 1;
}

/* ==========================================================================
   PRIVACY NOTICE ON THE CONTACT FORM
   ========================================================================== */
.form-privacy-note {
    font-size: 12.5px;
    color: #718096;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 14px;
}

.form-privacy-note a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.form-privacy-note a:hover {
    color: var(--accent);
}
