:root {
    --dark-blue: #0A0F1E;
    --dark-gray: #1A1A2E;
    --black: #000000;
    --translucent-white: rgba(255, 255, 255, 0.1);
    --translucent-white-light: rgba(255, 255, 255, 0.15);
    --translucent-white-text: rgba(255, 255, 255, 0.85);
    --text-color-light: rgba(255, 255, 255, 0.7);
    --text-color-lighter: rgba(255, 255, 255, 0.5);
    --accent-color: #6A85EE; /* A vibrant blue for contrast */
    --accent-color-hover: #526EDA;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --spacing-unit: 1rem; /* 16px */
    --font-poppins: 'Poppins', sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-poppins);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    color: var(--text-color-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; /* Prevent horizontal scroll from subtle glow effects */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--accent-color-hover);
    transform: translateY(-2px);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--translucent-white-text);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 3.2rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphic Card Base */
.glass-card {
    background: var(--translucent-white);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(106, 133, 238, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 133, 238, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--translucent-white-text);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 133, 238, 0.4);
}

/* Header & Navigation */
.header {
    background: var(--translucent-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--translucent-white-text);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden; /* For glow effects */
}

/* Fade-in animation */
.fade-in {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    min-height: 70vh; /* Compact height */
    display: flex;
    align-items: center;
    text-align: center;
    padding: 4rem 0; /* Reduced padding */
    background: url('images/image_5.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Subtle overlay for text readability */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--translucent-white-text);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission Section - Stats Focus */
.mission-section {
    text-align: center;
}

.mission-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    text-align: left;
    margin-top: 3rem;
}

.mission-text {
    flex: 2;
}

.mission-text ul {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 0;
}

.mission-text ul li {
    background: var(--translucent-white-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.8rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--translucent-white-text);
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.mission-text ul li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr; /* Stacks by default, will be grid later if needed */
    gap: 1.5rem;
}

.stat-card {
    @extend .glass-card; /* Inherit glass-card styles */
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(106, 133, 238, 0.6);
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--translucent-white-text);
    margin-bottom: 0;
}

/* Solutions Section - Step by Step */
.solutions-section {
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    color: var(--text-color-lighter);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-card {
    @extend .glass-card;
    text-align: left;
    position: relative;
    padding-top: 3.5rem;
}

.step-card .step-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 1;.7;
    text-shadow: 0 0 10px rgba(106, 133, 238, 0.4);
}

.step-card h3 {
    color: var(--translucent-white-text);
    margin-top: 0.5rem;
}

.step-card ul {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}

.step-card ul li {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-color-light);
}

/* Clients Section - Quote Focus */
.clients-section {
    text-align: center;
}

.quote-container {
    background: var(--translucent-white-light);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem 4rem;
    margin: 3rem auto 2.5rem auto;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.quote-container blockquote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--translucent-white-text);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    position: relative;
    padding: 0 1rem;
}

.quote-container blockquote::before,
.quote-container blockquote::after {
    content: "“";
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    line-height: 1;
}

.quote-container blockquote::before {
    top: -1rem;
    left: -1rem;
}

.quote-container blockquote::after {
    content: "”";
    bottom: -3rem;
    right: -1rem;
}


.quote-container .author {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 1rem;
    display: block;
}

/* Showcase Section - Highlights Grid */
.showcase-section {
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    @extend .glass-card;
    text-align: left;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.highlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-card h4 {
    color: var(--translucent-white-text);
    font-weight: 600;
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--text-color-lighter);
}

/* FAQ Section - Category Sections (Answers Visible) */
.faq-section {
    text-align: center;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.faq-category {
    @extend .glass-card;
    padding: 2.5rem;
}

.faq-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.15rem;
    color: var(--translucent-white-text);
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-color-light);
}

/* Support Section - Side by Side (Adapted) */
.support-section {
    text-align: center;
}

.support-grid {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.support-left, .support-right {
    flex: 1;
    @extend .glass-card;
    text-align: left;
    padding: 2.5rem;
}

.support-left h3, .support-right h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.support-left .btn {
    margin-top: 1.5rem;
}

.support-right .map-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 1;.8;
    filter: grayscale(50%) blur(2px);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.support-right .map-image:hover {
    filter: grayscale(0%) blur(0px);
    opacity: 1;
}

/* Newsletter Section (Adapted to Stay Updated) */
.newsletter-section {
    text-align: center;
    padding: 5rem 0;
}

.newsletter-section h2 {
    margin-bottom: 1.5rem;
}

.newsletter-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: var(--text-color-lighter);
}

/* Footer */
.footer {
    background: var(--translucent-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    text-align: left;
    flex: 1;
    min-width: 200px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--translucent-white-text);
    margin-bottom: 0.8rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-color-lighter);
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    gap: 4rem;
    flex: 2;
    justify-content: flex-end;
    min-width: 300px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-nav ul li {
    margin-bottom: 0.7rem;
}

.footer-nav ul li a {
    color: var(--text-color-light);
    font-size: 1rem;
    font-weight: 400;
}

.footer-nav ul li a:hover {
    color: var(--accent-color);
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .mission-content {
        flex-direction: column;
        gap: 3rem;
    }
    .mission-text, .stats-grid {
        flex: none;
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 for wider small screens */
    }
    .faq-categories {
        grid-template-columns: 1fr;
    }
    .support-grid {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand, .footer-nav {
        text-align: center;
        width: 100%;
    }
    .footer-nav {
        justify-content: center;
        gap: 2rem;
    }
    .footer-nav ul {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links for simplicity on mobile, or implement hamburger menu */
    }
    .main-nav {
        justify-content: center;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    section {
        padding: 4rem 0;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .stats-grid {
        grid-template-columns: 1fr; /* Stack stats on smaller mobile */
    }
    .steps-grid,
    .highlights-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    .quote-container {
        padding: 2.5rem 2rem;
    }
    .quote-container blockquote {
        font-size: 1.4rem;
    }
    .quote-container blockquote::before,
    .quote-container blockquote::after {
        font-size: 3rem;
    }
    .faq-category h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }
    .hero-section p {
        font-size: 0.95rem;
    }
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-nav ul {
        width: 100%;
    }
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
