/* ========================================
   FLEX LLC - Smart Parking Systems
   HTML/CSS/JS Version
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --radius: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.floating-object {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out;
}

.obj1 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: 10%;
    left: 10%;
}

.obj2 {
    width: 250px;
    height: 250px;
    background: #9333ea;
    top: 50%;
    right: 5%;
    animation-delay: 3s;
}

.obj3 {
    width: 200px;
    height: 200px;
    background: #10b981;
    bottom: 10%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes float {
    0% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-40px)
    }

    100% {
        transform: translateY(0px)
    }
}

html {
    scroll-behavior: smooth;
}

.feature-card,
.pricing-card,
.visual-item {
    transition: all .3s ease;
}

.feature-card:hover,
.pricing-card:hover,
.visual-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #9333ea, #06b6d4);
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s infinite linear;
}

@keyframes gradientMove {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 200%
    }
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 180%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.hidden {
    display: none !important;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f8fafc;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline-transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-transparent:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */

.nav-actions .btn-outline {
    color: #000000 !important;
    border: 1px solid #000000;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}


.nav-actions .btn-outline:hover {
    background-color: #000000;
    color: #ffffff !important;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;

    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: #f8fafc;
}

.nav-link.active {
    color: var(--primary);
    background: #eff6ff;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #475569;
    border-radius: var(--radius);
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border-top: 1px solid var(--border);
    
    /* Add these new lines to fix the dropdown UI */
    position: absolute;
    top: 4rem; /* Drops it right below the nav-container */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); /* Solid white background */
    box-shadow: var(--shadow-md);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    padding: 0.75rem 1rem;
}

.mobile-nav .btn {
    margin-top: 0.5rem;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    align-items: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    padding: 3rem 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 9999px;
    color: #bfdbfe;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #cbd5e1;
    max-width: 36rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* IMPORTANT for mobile */
    text-align: center;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background: #334155;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    border-radius: var(--radius-xl);
    filter: blur(40px);
}

.visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.visual-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-col-offset {
    padding-top: 2rem;
}

.visual-item {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid;
}

.visual-item svg {
    margin-bottom: 0.75rem;
}

.visual-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.visual-text {
    font-size: 0.875rem;
}

.visual-blue {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.visual-blue .visual-text {
    color: #bfdbfe;
}

.visual-blue svg {
    color: #93c5fd;
}

.visual-green {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(52, 211, 153, 0.3);
}

.visual-green .visual-text {
    color: #a7f3d0;
}

.visual-green svg {
    color: #6ee7b7;
}

.visual-purple {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(167, 139, 250, 0.3);
}

.visual-purple .visual-text {
    color: #ddd6fe;
}

.visual-purple svg {
    color: #c4b5fd;
}

.visual-amber {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

.visual-amber .visual-text {
    color: #fde68a;
}

.visual-amber svg {
    color: #fcd34d;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--muted);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.inline-title {
    display: block;
    line-height: 1.4;
}

.text-with-logos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.title-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    transform: translateY(-2px);
    display: inline-block;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: #bfdbfe;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon-blue {
    background: #dbeafe;
    color: var(--primary);
}

.feature-icon-green {
    background: #d1fae5;
    color: #059669;
}

.feature-icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.feature-icon-amber {
    background: #fef3c7;
    color: #d97706;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: white;
    position: relative;
    background: #ffffff;
    z-index: 2;
}

.steps-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    position: relative;
}

.step-number {
    font-size: 3.75rem;
    font-weight: 700;
    color: #dbeafe;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.step-line {
    display: none;
    position: absolute;
    top: 2rem;
    left: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #bfdbfe, transparent);
}

@media (min-width: 1024px) {
    .step-line {
        display: block;
    }
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: var(--muted);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
}

.pricing-highlighted {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-highlighted .pricing-desc {
    color: #bfdbfe;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
}

.period {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-highlighted .period {
    color: #bfdbfe;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.pricing-features svg {
    color: #10b981;
    flex-shrink: 0;
}

.pricing-highlighted .pricing-features svg {
    color: #bfdbfe;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer .logo {
    margin-bottom: 1rem;

}

.footer .logo-text {
    color: white;

}

.footer .logo-icon {
    background: transparent;
    padding: 0;
}

.footer-about {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 20rem;
}



.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links span {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    color: #60a5fa;
    flex-shrink: 0;
}

.footer-contact a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #64748b;
}


/* Page Hero */
.page-hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234f46e5' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .page-hero-title {
        font-size: 3rem;
    }
}

.page-hero-description {
    font-size: 1.125rem;
    color: #cbd5e1;
}

/* About Page */
.about-content {
    padding: 5rem 0;
    background: var(--muted);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-paragraphs p {
    color: var(--muted-foreground);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.about-stats-wrapper {
    position: relative;
}

.about-stats-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: var(--radius-xl);
    filter: blur(20px);
}

.about-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: var(--muted);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-card-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-card-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Mission & Vision */
.mission-vision {
    padding: 5rem 0;
    background: white;
    position: relative;
    background: #ffffff;
    z-index: 2;
}

.mv-grid {
    display: grid;
    gap: 2rem;
    
}

@media (min-width: 768px) {
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mv-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.mv-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mv-icon-blue {
    background: #dbeafe;
    color: var(--primary);
}

.mv-icon-cyan {
    background: #cffafe;
    color: #0891b2;
}

.mv-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.mv-description {
    color: var(--muted-foreground);
    line-height: 1.8;
}

/* Values */
.values {
    padding: 5rem 0;
    background: var(--muted);
}

.values-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #bfdbfe;
}

.value-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.value-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Team */
.team {
    padding: 5rem 0;
    background: var(--muted);
}

.team-grid {
    display: grid;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.team-avatar {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--muted-foreground);
}

/* Partners Page */
.partners-grid-section {
    padding: 5rem 0;
    background: var(--muted);
}

.partners-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-card {
    background: var(--muted);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    z-index: 2;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    width: 5rem;
    height: 5rem;

    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.1);
}

.partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.partner-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: var(--primary);
    font-size: 0.875rem;
    border-radius: 9999px;
}

/* Benefits */
.benefits {
    padding: 5rem 0;
    background: rgb(255, 255, 255);
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    z-index: 2;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: var(--muted);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    z-index: 2;
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #dbeafe;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
    z-index: 2;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    z-index: 2;
}

.benefit-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    z-index: 2;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--muted);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    color: #fbbf24;
}

.testimonial-text {
    color: var(--foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--foreground);
}

.author-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Services Page */
.services-grid-section {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--muted);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    z-index: 2;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: #bfdbfe;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: #dbeafe;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.service-features svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Process */
.process {
    padding: 5rem 0;
    background: var(--muted);
    z-index: 2;
    position: relative;
}

.process-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
}

.process-number {
    font-size: 3.75rem;
    font-weight: 700;
    color: #dbeafe;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.process-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.process-line {
    display: none;
    position: absolute;
    top: 2rem;
    left: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #bfdbfe, transparent);
}

@media (min-width: 1024px) {
    .process-line {
        display: block;
    }
}

/* Support Stats */
.support-stats {
    padding: 5rem 0;
    background: white;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.stats-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item-label {
    color: #bfdbfe;
}




.specific-section-bg {
    position: relative;
    /* Establish positioning context */
    overflow: hidden;
    /* Prevent video overflow */
    width: 100%;
    /* Cover full width */
    height: 100vh;
    /* Set desired section height (e.g., full viewport height) */
    z-index: 0;
    /* Ensure section is positioned correctly relative to other elements */
}

.specific-section-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    /* Stretch video to fill container */
    z-index: 0;
    /* Place video behind overlay and content */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 7);
    /* Semi-transparent black overlay for text readability */
    z-index: -123213213;
    /* Place overlay above video but below content */
}

.specific-section-bg .container {
    position: relative;
    /* Position content above video and overlay */
    z-index: 2;
    /* Ensure content visibility */
    color: #fff;
    /* White text for contrast against dark background */
}


/* Section Styling */
.certificates-section {
    padding: 80px 0;
    background-color: #f8fafc; /* Subtle gray-blue background for contrast */
    position: relative;
    z-index: 2  ; /* Ensures it stays above background particles if needed */
}

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

/* Grid Layout - Perfectly handles 4 or 6 items */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* The "Frame" for the certificates */
.cert-card {
    background: #e6e5e5;
    border-radius: 16px;
    padding: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

.cert-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* --- LIGHTBOX STYLES --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95); /* Deep dark background */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}






.customers-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.customer-stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.customer-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.customer-stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.customer-stat-card p {
    color: var(--muted-foreground);
    font-weight: 500;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.customer-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.customer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.customer-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.customer-card li {
    margin-bottom: 0.4rem;
    color: var(--muted-foreground);
}


/* CUSTOMERS SECTION */

.customers-section {
    padding: 5rem 0;
    background: var(--background);
    z-index: 2;
}


/* BLUE BOX */

.stats-wrapper {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 40px;
    border-radius: var(--radius-xl);
    margin: 40px 0 60px 0;
}

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

.customer-stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.customer-stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.customer-stat-card p {
    color: var(--muted-foreground);
    font-weight: 500;
}



/* GROUP TITLES */

.customer-group {
    margin-bottom: 60px;
}

.group-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-dark);
    text-align: center;
    z-index: 2;
    position: relative;
}



/* LOGO GRID */

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.logo-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
    z-index: 2;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.logo-card img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-card p {
    font-weight: 500;
    color: var(--foreground);
}



/* GLASS HERO STATS */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;

    padding: 35px 50px;
    text-align: center;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);

    min-width: 220px;

    transition: all .35s ease;
}

.hero-stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-stat-card h3 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.hero-stat-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.page-hero-bg {
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e3a5f 50%,
            #0f172a 100%);
}















/* --- Mobile Responsiveness Overrides --- */
@media (max-width: 768px) {
    /* Fix the Hero Title scaling */
    .hero-title {
        font-size: 2.2rem !important; /* Prevents text from being too large */
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    /* Stack buttons vertically for better thumb reach */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    /* Clean up the stats section */
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 40px;
    }

    /* Hide the vertical lines between stats on mobile */
    .stat-divider {
        display: none;
    }

    /* Adjust the badge size */
    .badge {
        width: fit-content;
        padding: 6px 12px;
    }
}



/* Ensure the particles don't block clicks */
#particles-js {
    pointer-events: none; 
}







@media (max-width: 640px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat {
        padding: 10px 0;
    }

    .stat-divider {
        display: none;
    }
}