/* ==========================================
   CAPUP V2 - Modern Dark Theme Website Styles
   Inspired by dezerv.in design patterns
   ========================================== */

/* CSS Variables for Navy-Blue Light Theme */
:root {
    --bg-primary: #3A5F8A;
    --bg-secondary: #4A6F9A;
    --bg-tertiary: #5A7FAA;
    --bg-card: #4A6F9A;
    --bg-card-hover: #5A7FAA;
    --bg-section-1: #3A5F8A;
    --bg-section-2: #456A95;
    --bg-section-3: #5075A0;
    --bg-section-4: #4A6F9A;
    --text-primary: #ffffff;
    --text-secondary: #E5ECF3;
    --text-muted: #B8C8D8;
    --accent-primary: #2A8FD8;
    --accent-light: #5AAFED;
    --accent-dark: #1A7FC8;
    --accent-coral: #C9A227;
    --accent-gold: #F5A623;
    --border-color: #6A8AB0;
    --border-light: #7A9AC0;
    --gradient-start: #3A5F8A;
    --gradient-end: #4A6F9A;
}

/* Custom Scrollbar - Hidden for cleaner look */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

/* Hide scrollbar for testimonials */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Base body styling */
body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 3D Logo Effect - Matching Debt Funds style */
.logo-3d {
    filter:
        brightness(1.20)
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.275))
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.165))
        drop-shadow(0 3px 0 rgba(0, 0, 0, 0.198))
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.22))
        drop-shadow(0 5px 0 rgba(0, 0, 0, 0.242))
        drop-shadow(0 6px 10px rgba(0, 0, 0, 0.308))
        drop-shadow(0 10px 15px rgba(0, 0, 0, 0.242))
        drop-shadow(0 12px 20px rgba(90, 175, 237, 0.275))
        drop-shadow(0 16px 28px rgba(58, 159, 216, 0.22));
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.logo-3d:hover {
    filter:
        brightness(1.30)
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.33))
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.198))
        drop-shadow(0 3px 0 rgba(0, 0, 0, 0.22))
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.242))
        drop-shadow(0 5px 0 rgba(0, 0, 0, 0.264))
        drop-shadow(0 6px 12px rgba(0, 0, 0, 0.352))
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.286))
        drop-shadow(0 12px 24px rgba(90, 175, 237, 0.33))
        drop-shadow(0 16px 32px rgba(58, 159, 216, 0.275));
    transform: translateY(-3px) scale(1.05);
}

/* Subtle 3D Text Effect - Works with gradient text using drop-shadow */
.text-3d-subtle {
    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.135))
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.108))
        drop-shadow(0 3px 0 rgba(0, 0, 0, 0.126))
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.144))
        drop-shadow(0 5px 0 rgba(0, 0, 0, 0.162))
        drop-shadow(0 6px 8px rgba(0, 0, 0, 0.198))
        drop-shadow(0 10px 12px rgba(0, 0, 0, 0.162))
        drop-shadow(0 12px 18px rgba(201, 162, 39, 0.135))
        drop-shadow(0 15px 22px rgba(245, 166, 35, 0.108));

    transform: translateZ(0);
    transition: all 0.3s ease;
}

.text-3d-subtle:hover {
    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.162))
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.126))
        drop-shadow(0 3px 0 rgba(0, 0, 0, 0.144))
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.162))
        drop-shadow(0 5px 0 rgba(0, 0, 0, 0.18))
        drop-shadow(0 6px 10px rgba(0, 0, 0, 0.225))
        drop-shadow(0 10px 15px rgba(0, 0, 0, 0.18))
        drop-shadow(0 12px 20px rgba(201, 162, 39, 0.162))
        drop-shadow(0 15px 25px rgba(245, 166, 35, 0.135));

    transform: translateY(-1px);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Logo Ribbon / Marquee Animation */
.logo-ribbon-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-ribbon {
    display: flex;
    gap: 4rem;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.logo-ribbon:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    border: 1px solid rgba(90, 175, 237, 0.1);
    transition: all 0.3s ease;
    min-width: 150px;
    height: 100px;
}

.logo-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(90, 175, 237, 0.3);
    box-shadow: 0 8px 32px rgba(90, 175, 237, 0.15);
    transform: translateY(-4px);
}

.logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0.9);
}

.logo-item:hover img {
    filter: brightness(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Reveal on scroll */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.reveal-up[style*="animation-delay: 0.1s"] { transition-delay: 0.1s; }
.reveal-up[style*="animation-delay: 0.2s"] { transition-delay: 0.2s; }
.reveal-up[style*="animation-delay: 0.3s"] { transition-delay: 0.3s; }
.reveal-up[style*="animation-delay: 0.4s"] { transition-delay: 0.4s; }
.reveal-up[style*="animation-delay: 0.5s"] { transition-delay: 0.5s; }
.reveal-up[style*="animation-delay: 0.6s"] { transition-delay: 0.6s; }

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

#header {
    background: rgba(58, 95, 138, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

#header.scrolled {
    background: rgba(58, 95, 138, 0.95);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

/* Mobile menu button animation */
#mobile-menu-btn {
    position: relative;
    z-index: 50;
}

#mobile-menu-btn span {
    background-color: #5AAFED;
}

#mobile-menu-btn.active span {
    background-color: #FFFFFF;
}

#mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Mobile menu overlay */
#mobile-menu-overlay {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile menu styling with glass effect - Modern slide-in */
#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
}

/* Mobile menu close button */
#mobile-menu-close {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#mobile-menu-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.25) !important;
}

#mobile-menu-close svg {
    transition: transform 0.3s ease;
}

.mobile-menu-glass {
    background: linear-gradient(135deg, rgba(44, 74, 110, 0.98) 0%, rgba(58, 95, 138, 0.96) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-left: 1px solid rgba(90, 175, 237, 0.2) !important;
}

.mobile-menu-glass::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
        180deg,
        rgba(58, 159, 216, 0.08) 0%,
        transparent 50%,
        rgba(245, 166, 35, 0.05) 100%
    ) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

#mobile-menu.active {
    transform: translateX(0);
}

#mobile-menu > div {
    position: relative;
    z-index: 10;
}

#mobile-menu nav {
    position: relative;
    z-index: 10;
}

#mobile-menu .mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    position: relative;
    z-index: 10;
    color: #E5ECF3; /* text-text-secondary */
    font-family: 'DM Sans', sans-serif;
    font-weight: 500; /* font-medium */
    font-size: 1.125rem; /* text-lg */
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

/* Hover state - accent gold with slide effect */
#mobile-menu .mobile-nav-link:hover {
    color: #F5A623; /* accent-gold */
    padding-left: 0.5rem;
    border-color: rgba(245, 166, 35, 0.3) !important;
}

/* Active/clicked state - accent gold */
#mobile-menu .mobile-nav-link:active,
#mobile-menu .mobile-nav-link:focus,
#mobile-menu .mobile-nav-link.active {
    color: #F5A623; /* accent-gold */
}

#mobile-menu a {
    position: relative;
    z-index: 2;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Prevent visited link color change for Apply Now buttons */
.btn-primary:visited,
.btn-primary:active,
.btn-primary:focus {
    color: white;
    background-color: inherit;
}

/* ==========================================
   ACCORDION
   ========================================== */

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-top: 0.5rem;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* ==========================================
   STAT CARDS
   ========================================== */

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover::after {
    width: 60%;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--accent-light);
    opacity: 0.15;
    line-height: 1;
}

/* ==========================================
   FORM STYLES
   ========================================== */

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(8, 104, 164, 0.1);
}

/* ==========================================
   PAGE HERO
   ========================================== */

.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-dark) 50%, var(--bg-primary) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(58, 159, 216, 0.3) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float-delayed 12s ease-in-out infinite;
}

/* ==========================================
   PRODUCT CARDS (Products Page)
   ========================================== */

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.product-card .product-image {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* ==========================================
   PARTNER CARDS
   ========================================== */

.partner-card {
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-light) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.partner-card:hover::before {
    opacity: 0.05;
}

/* ==========================================
   PROCESS STEPS
   ========================================== */

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.process-step:last-child::after {
    display: none;
}

/* ==========================================
   MULTI-STEP FORM
   ========================================== */

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.progress-step {
    position: relative;
}

.progress-step.active > div:first-child,
.progress-step.completed > div:first-child {
    background: var(--accent-primary);
    color: white;
}

.progress-step.active > span,
.progress-step.completed > span {
    color: var(--accent-light);
}

.progress-step.completed > div:first-child {
    background: #10b981;
}

/* Product Selection Cards */
.product-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .glass-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .glass-card {
    border-color: rgba(58, 159, 216, 0.5);
    transform: translateY(-2px);
}

.product-card .product-radio:checked ~ .glass-card {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(8, 104, 164, 0.15) 0%, rgba(58, 159, 216, 0.08) 100%);
    box-shadow:
        0 8px 32px rgba(8, 104, 164, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.product-card .product-radio:checked ~ .glass-card .radio-indicator {
    border-color: var(--accent-primary);
}

.product-card .product-radio:checked ~ .glass-card .radio-indicator > div {
    transform: scale(1);
}

/* ==========================================
   TEAM CARDS
   ========================================== */

.team-card {
    position: relative;
    overflow: hidden;
}

.team-card .team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 104, 164, 0.85), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card .team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.team-card:hover .team-info {
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 1024px) {
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

/* ==========================================
   DARK THEME SPECIFIC STYLES
   ========================================== */

/* Dark Background Sections */
.dark-section {
    background-color: var(--bg-primary);
}

.dark-section-alt {
    background-color: var(--bg-secondary);
}

/* Dark Cards */
.dark-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

/* Gold Accent Text */
.text-gold {
    color: var(--accent-gold);
}

/* Gradient Borders */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Glow Effects */
.glow-primary {
    box-shadow: 0 0 40px rgba(42, 143, 216, 0.25);
}

.glow-accent {
    box-shadow: 0 0 40px rgba(232, 123, 77, 0.2);
}

.glow-gold {
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.15);
}

/* Animated Gradient Background */
.animated-gradient {
    background: linear-gradient(
        135deg,
        var(--bg-primary) 0%,
        var(--bg-secondary) 50%,
        var(--bg-primary) 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Noise Texture Overlay */
.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Hero Vignette Effect */
.hero-vignette::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(44, 74, 110, 0.4) 70%, rgba(44, 74, 110, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Topographic/Contour Lines Pattern */
.topo-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.30;
}

.topo-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%233A9FD8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100,20 L60,70 L80,70 L80,100 L120,100 L120,70 L140,70 Z'/%3E%3Cpath d='M100,110 L70,150 L85,150 L85,175 L115,175 L115,150 L130,150 Z'/%3E%3Cpath d='M30,60 L10,95 L20,95 L20,120 L40,120 L40,95 L50,95 Z'/%3E%3Cpath d='M170,80 L150,115 L160,115 L160,140 L180,140 L180,115 L190,115 Z'/%3E%3Cpath d='M50,140 L35,165 L42,165 L42,185 L58,185 L58,165 L65,165 Z'/%3E%3Cpath d='M150,150 L135,175 L142,175 L142,195 L158,195 L158,175 L165,175 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 200px 200px;
    background-repeat: repeat;
    animation: topoShift 14s linear infinite;
    filter: drop-shadow(0 0 4px rgba(58, 159, 216, 0.25));
}

.topo-pattern::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120%;
    height: 160%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%23F5A623' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M75,10 L45,45 M75,10 L105,45'/%3E%3Cpath d='M75,35 L50,65 M75,35 L100,65'/%3E%3Cpath d='M75,60 L55,85 M75,60 L95,85'/%3E%3Cpath d='M30,50 L15,75 M30,50 L45,75'/%3E%3Cpath d='M120,50 L105,75 M120,50 L135,75'/%3E%3Cpath d='M30,90 L18,110 M30,90 L42,110'/%3E%3Cpath d='M120,90 L108,110 M120,90 L132,110'/%3E%3Cpath d='M75,100 L60,125 M75,100 L90,125'/%3E%3Cpath d='M75,125 L65,145 M75,125 L85,145'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 160px 160px;
    background-repeat: repeat;
    animation: topoShiftReverse 18s linear infinite;
    filter: drop-shadow(0 0 3px rgba(245, 166, 35, 0.2));
}

@keyframes topoShift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-100px, 50px) rotate(5deg); }
}

@keyframes topoShiftReverse {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(80px, -40px) rotate(-3deg); }
}

/* ==========================================
   ALTERNATE SECTION BACKGROUND PATTERNS
   ========================================== */

/* Pattern 1: Dotted Grid Pattern */
.pattern-dots {
    position: relative;
}

.pattern-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(58, 159, 216, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Pattern 2: Diagonal Lines */
.pattern-diagonal {
    position: relative;
}

.pattern-diagonal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        rgba(201, 162, 39, 0.03) 30px,
        rgba(201, 162, 39, 0.03) 32px
    );
    pointer-events: none;
    z-index: 0;
}

/* Pattern 3: Hexagon Grid */
.pattern-hexagon {
    position: relative;
}

.pattern-hexagon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%233A9FD8' fill-opacity='0.06'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Pattern 4: Circuit/Tech Lines */
.pattern-circuit {
    position: relative;
}

.pattern-circuit::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23F5A623' stroke-width='0.5' opacity='0.08'%3E%3Cpath d='M10 10h80v80H10z'/%3E%3Cpath d='M30 10v20h40V10'/%3E%3Cpath d='M10 50h20v-20'/%3E%3Cpath d='M90 50h-20v20'/%3E%3Cpath d='M50 90v-20'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3Ccircle cx='70' cy='30' r='3'/%3E%3Ccircle cx='30' cy='70' r='3'/%3E%3Ccircle cx='70' cy='70' r='3'/%3E%3Ccircle cx='50' cy='50' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

/* Pattern 5: Wavy Lines */
.pattern-waves {
    position: relative;
}

.pattern-waves::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20' viewBox='0 0 100 20'%3E%3Cpath fill='none' stroke='%235AAFED' stroke-width='0.8' opacity='0.1' d='M0 10c25 0 25-10 50-10s25 10 50 10 25-10 50-10 25 10 50 10'/%3E%3C/svg%3E");
    background-size: 100px 20px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Pattern 6: Plus/Cross Grid */
.pattern-plus {
    position: relative;
}

.pattern-plus::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='1' opacity='0.06'%3E%3Cpath d='M30 20v20M20 30h20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Pattern 7: Concentric Circles */
.pattern-circles {
    position: relative;
}

.pattern-circles::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%233A9FD8' stroke-width='0.5' opacity='0.08'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%233A9FD8' stroke-width='0.5' opacity='0.06'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%233A9FD8' stroke-width='0.5' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

/* Pattern 8: Diamond Grid */
.pattern-diamond {
    position: relative;
}

.pattern-diamond::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23F5A623' stroke-width='0.8' opacity='0.07'%3E%3Cpath d='M24 4L44 24L24 44L4 24z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Pattern 9: Scattered Stars */
.pattern-stars {
    position: relative;
}

.pattern-stars::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(58, 159, 216, 0.45) 2.5px, transparent 2.5px),
        radial-gradient(circle at 80% 20%, rgba(58, 159, 216, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 40% 70%, rgba(58, 159, 216, 0.35) 2.5px, transparent 2.5px),
        radial-gradient(circle at 65% 85%, rgba(58, 159, 216, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 90% 60%, rgba(58, 159, 216, 0.45) 2.5px, transparent 2.5px),
        radial-gradient(circle at 10% 80%, rgba(58, 159, 216, 0.35) 2.5px, transparent 2.5px),
        radial-gradient(circle at 50% 15%, rgba(58, 159, 216, 0.4) 2.5px, transparent 2.5px),
        radial-gradient(circle at 30% 50%, rgba(58, 159, 216, 0.35) 3px, transparent 3px),
        radial-gradient(circle at 75% 45%, rgba(58, 159, 216, 0.4) 2.5px, transparent 2.5px),
        radial-gradient(circle at 5% 35%, rgba(58, 159, 216, 0.45) 2.5px, transparent 2.5px);
    background-size: 250px 250px;
    pointer-events: none;
    z-index: 0;
    animation: flicker-1 4s ease-in-out infinite;
}

.pattern-stars::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 15% 55%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
        radial-gradient(circle at 85% 40%, rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px),
        radial-gradient(circle at 55% 90%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px);
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
    animation: flicker-2 5s ease-in-out infinite;
}

/* Random flicker animation - Layer 1 */
@keyframes flicker-1 {
    0% { opacity: 0.6; }
    10% { opacity: 0.9; }
    15% { opacity: 0.4; }
    20% { opacity: 0.85; }
    30% { opacity: 0.5; }
    40% { opacity: 1; }
    50% { opacity: 0.55; }
    60% { opacity: 0.9; }
    65% { opacity: 0.35; }
    75% { opacity: 0.8; }
    85% { opacity: 0.5; }
    90% { opacity: 0.95; }
    100% { opacity: 0.6; }
}

/* Random flicker animation - Layer 2 (offset timing) */
@keyframes flicker-2 {
    0% { opacity: 0.5; }
    8% { opacity: 0.8; }
    18% { opacity: 0.3; }
    25% { opacity: 0.9; }
    35% { opacity: 0.45; }
    45% { opacity: 0.85; }
    55% { opacity: 0.4; }
    62% { opacity: 1; }
    72% { opacity: 0.5; }
    80% { opacity: 0.75; }
    88% { opacity: 0.35; }
    95% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Pattern 10: Gradient Mesh */
.pattern-mesh {
    position: relative;
}

.pattern-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(8, 104, 164, 0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(201, 162, 39, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(58, 159, 216, 0.04) 25%, transparent 25%),
        linear-gradient(315deg, rgba(245, 166, 35, 0.03) 25%, transparent 25%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 0, 40px -40px, 0 40px;
    pointer-events: none;
    z-index: 0;
}

/* Dark Form Inputs */
.dark-input {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.dark-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(76, 165, 209, 0.1);
}

.dark-input::placeholder {
    color: var(--text-muted);
}

/* Dark Footer */
.dark-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

/* ==========================================
   MODERN SECTION STYLES WITH SOFT TRANSITIONS
   ========================================== */

/* Section with gradient backgrounds */
.section-gradient-1 {
    background: linear-gradient(180deg, #2C4A6E 0%, #334F73 100%);
    position: relative;
}

.section-gradient-2 {
    background: linear-gradient(180deg, #334F73 0%, #3A5A82 50%, #35567D 100%);
    position: relative;
}

.section-gradient-3 {
    background: linear-gradient(180deg, #4A6F9A 0%, #3A5F8A 100%);
    position: relative;
}

.section-gradient-4 {
    background: linear-gradient(180deg, #3A5F8A 0%, #4A6F9A 100%);
    position: relative;
}

/* Soft rounded section containers */
.section-soft {
    position: relative;
    overflow: hidden;
}

.section-soft::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 120px;
    background: inherit;
    border-radius: 0 0 50% 50%;
    z-index: 1;
}

/* Wave divider styles */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    filter: drop-shadow(0 -6px 20px rgba(42, 143, 216, 0.35)) drop-shadow(0 -2px 8px rgba(90, 175, 237, 0.25));
}

.wave-divider-top {
    top: -1px;
    filter: drop-shadow(0 6px 20px rgba(42, 143, 216, 0.35)) drop-shadow(0 2px 8px rgba(90, 175, 237, 0.25));
}

.wave-divider-bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-divider svg path {
    transition: fill 0.3s ease;
}

.wave-divider .shape-fill-dark {
    fill: #2E547C;
    filter: brightness(1) drop-shadow(0 0 8px rgba(42, 143, 216, 0.4));
}

.wave-divider .shape-fill-secondary {
    fill: #3E6A98;
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(90, 175, 237, 0.35));
}

.wave-divider .shape-fill-tertiary {
    fill: #4E80B0;
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(90, 175, 237, 0.3));
}

/* Smaller wave variant */
.wave-divider.wave-sm svg {
    height: 70px;
}

/* Curved section tops */
.curved-section {
    position: relative;
    border-radius: 48px 48px 0 0;
    margin-top: -48px;
    z-index: 5;
}

.curved-section-bottom {
    border-radius: 0 0 48px 48px;
    margin-bottom: -48px;
}

/* Soft gradient overlays for sections */
.gradient-overlay-top {
    position: relative;
}

.gradient-overlay-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(58, 95, 138, 0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.gradient-overlay-bottom {
    position: relative;
}

.gradient-overlay-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg, rgba(53, 86, 125, 0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Blob/organic shape decorations */
.blob-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.blob-primary {
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}

.blob-accent {
    background: radial-gradient(circle, var(--accent-coral) 0%, transparent 70%);
}

/* Glass morphism cards - White Frosted Glass Effect */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 255, 255, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Enhanced Glass morphism - More pronounced glass effect */
.glass-card-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(255, 255, 255, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(255, 255, 255, 0.08);
}

.glass-card-enhanced:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(245, 166, 35, 0.08) 50%, rgba(201, 162, 39, 0.12) 100%);
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-8px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(201, 162, 39, 0.15),
        inset 0 2px 4px rgba(245, 166, 35, 0.2),
        inset 0 -1px 2px rgba(201, 162, 39, 0.1);
}

/* Modern card with gradient border */
.modern-card {
    position: relative;
    background: linear-gradient(145deg, #324E74 0%, #2C4A6E 100%);
    border-radius: 24px;
    padding: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(145deg, rgba(58, 159, 216, 0.5) 0%, rgba(232, 123, 77, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-card:hover::before {
    opacity: 1;
}

.modern-card-inner {
    background: linear-gradient(145deg, #324E74 0%, #2C4A6E 100%);
    border-radius: 22px;
    padding: 2rem;
    height: 100%;
}

/* Floating animation for decorative elements */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

.float-medium {
    animation: floatMedium 6s ease-in-out infinite;
}

/* Shimmer effect for CTAs */
.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.shimmer-btn:hover::after {
    left: 100%;
}

/* Soft shadow utilities */
.shadow-soft {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.shadow-glow-primary {
    box-shadow: 0 10px 40px -10px rgba(42, 143, 216, 0.4);
}

.shadow-glow-accent {
    box-shadow: 0 10px 40px -10px rgba(232, 123, 77, 0.4);
}

/* Responsive wave heights */
@media (max-width: 768px) {
    .wave-divider svg {
        height: 80px;
    }

    .wave-divider {
        filter: drop-shadow(0 -4px 12px rgba(42, 143, 216, 0.3)) drop-shadow(0 -2px 6px rgba(90, 175, 237, 0.2));
    }

    .curved-section {
        border-radius: 32px 32px 0 0;
        margin-top: -32px;
    }
}

/* ==========================================
   INDIA MAP SECTION STYLES
   ========================================== */

/* India Map SVG Styling */
.india-map-svg {
    filter: drop-shadow(0 10px 40px rgba(42, 143, 216, 0.4));
    transition: all 0.5s ease;
}

.india-map-svg:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 15px 50px rgba(90, 175, 237, 0.5));
}

.india-map-svg path {
    transition: all 0.4s ease;
}

.india-map-svg:hover path {
    filter: brightness(1.1);
}

/* Pulse animation for city markers */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseSmall {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pulse-marker {
    animation: pulse 2s ease-in-out infinite;
    transform-origin: center;
}

.pulse-marker-small {
    animation: pulseSmall 2.5s ease-in-out infinite;
    transform-origin: center;
}

/* Staggered animation delays for city markers */
.city-marker:nth-child(1) .pulse-marker { animation-delay: 0s; }
.city-marker:nth-child(2) .pulse-marker { animation-delay: 0.3s; }
.city-marker:nth-child(3) .pulse-marker { animation-delay: 0.6s; }
.city-marker:nth-child(4) .pulse-marker { animation-delay: 0.9s; }
.city-marker:nth-child(5) .pulse-marker { animation-delay: 1.2s; }
.city-marker:nth-child(6) .pulse-marker { animation-delay: 1.5s; }
.city-marker:nth-child(7) .pulse-marker-small { animation-delay: 0.2s; }
.city-marker:nth-child(8) .pulse-marker-small { animation-delay: 0.5s; }
.city-marker:nth-child(9) .pulse-marker-small { animation-delay: 0.8s; }

/* Connection lines animation */
.connection-lines path {
    stroke-dashoffset: 100;
    animation: drawLine 3s ease-in-out infinite alternate;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.2;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.5;
    }
}

/* City marker hover effect */
.city-marker {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.city-marker:hover {
    transform: scale(1.2);
}

/* Responsive adjustments for India map */
@media (max-width: 768px) {
    .india-map-svg {
        max-width: 320px;
        margin: 0 auto;
    }
}

