/* Global Font Family */
* {
    font-family: 'Space Grotesk', sans-serif;
}

html, body {
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

/* Global Heading Font Override */
h1, h2, h3, h4, h5, h6,
.title, .hero-title, .approach-title, 
.hero-text .title, .why-kaaspro h2,
#typing-text, .services-text h2,
.cta-text h1, .title1, .approach-title,
.text-container1 h2 {
    font-family: 'Space Mono', monospace !important;
}

/* Ensure all text uses Space Grotesk (except navbar/footer) */
p, li, span, div, b, strong, em, i,
.services-summary, .text-container1 li p,
.text-container1 li b, .content-cont b,
.content-cont p, .image-cont,
.hero-text p, .hero-section1 p,
.cta-section p, .cta-text p,
ul li, ol li {
    font-family: 'Space Grotesk', sans-serif !important;
}

/* Specific bold text in lists */
.text-container1 b,
.content-cont b,
li b {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
}


/* Realistic CSS 3D Earth Globe */
.earth-globe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.earth-globe {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    
    /* Hero section-inspired gradient */
    background: 
        /* Primary radial gradient matching hero ::before */
        radial-gradient(ellipse at center,
            rgba(255, 182, 193, 0.6) 0%,     /* Baby pink */
            rgba(138, 43, 226, 0.4) 25%,     /* Purple */
            rgba(0, 191, 255, 0.4) 50%,      /* Cyan */
            rgba(138, 43, 226, 0.3) 75%,     /* Purple */
            rgba(18, 18, 18, 0.8) 100%       /* Dark background */
        ),
        /* Secondary overlay gradient matching hero ::after */
        radial-gradient(ellipse at 30% 70%,
            rgba(0, 191, 255, 0.3) 0%,       /* Cyan */
            rgba(255, 182, 193, 0.2) 40%,    /* Pink */
            rgba(138, 43, 226, 0.2) 70%,     /* Purple */
            transparent 100%
        );
    
    /* 3D lighting and shadow effects */
    box-shadow: 
        /* Inner shadow for sphere depth */
        inset 20px 0 80px 6px rgba(0, 0, 0, 0.8),
        /* Subtle highlight on the right */
        inset -3px 0 6px 2px rgba(255, 255, 255, 0.15),
        /* Outer glow */
        0 0 40px rgba(255, 182, 193, 0.3),
        0 0 80px rgba(255, 182, 193, 0.15);
    
    /* Animation for rotation */
    animation: earthRotation 15s linear infinite;
    
    /* 3D transforms */
    transform-style: preserve-3d;
    
    /* Smooth transitions */
    transition: all 0.3s ease;
}

/* Atmosphere layer */
.earth-globe::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 182, 193, 0.1) 0%, 
        rgba(138, 43, 226, 0.05) 50%, 
        rgba(0, 191, 255, 0.03) 70%,
        transparent 100%);
    z-index: -1;
    animation: atmosphereGlow 8s ease-in-out infinite alternate;
}

/* Additional lighting layer */
.earth-globe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 25% 25%, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 40%, 
        rgba(0, 0, 0, 0.1) 70%, 
        rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* Earth rotation animation */
@keyframes earthRotation {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 0%, 110% 0%, 120% 0%, 130% 0%, 140% 0%, 150% 0%, 160% 0%, 170% 0%;
    }
}

/* Atmosphere glow animation */
@keyframes atmosphereGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Hover effect for interactivity */
.earth-globe:hover {
    transform: scale(1.05);
    box-shadow: 
        inset 20px 0 80px 6px rgba(0, 0, 0, 0.8),
        inset -3px 0 6px 2px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 182, 193, 0.5),
        0 0 120px rgba(255, 182, 193, 0.25);
}

/* Vanilla Three-Globe Container */
#globe-container {
    width: 100%;
    max-width: 531px; /* Custom width */
    height: 550px; /* Custom height */
    position: relative;
    display: flex;
    justify-content: center; /* Center the globe */
    align-items: center;
    overflow: hidden; /* Allow cutting on left/right sides */
    background: transparent;
    border-radius: 10px;
    margin: 0 auto; /* Center the container itself */
}

#globe-container canvas {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    width: 100%; /* Match container width */
    height: 100%; /* Match container height */
    object-fit: contain; /* Scale to fit within container */
    object-position: center center; /* Center the globe */
}

/* Globe responsive behavior */
@media (max-width: 768px) {
    #globe-container {
        height: 500px; /* Reduced canvas height for mobile */
    }
    
    #globe-container canvas {
        width: 100%; /* Match container width */
        height: 100%; /* Match container height */
        object-fit: contain; /* Scale to fit within container */
        object-position: center center; /* Center the globe */
    }
}

@media (max-width: 480px) {
    #globe-container {
        height: 400px; /* Reduced canvas height for small mobile */
    }
    
    #globe-container canvas {
        width: 100%; /* Match container width */
        height: 100%; /* Match container height */
        object-fit: contain; /* Scale to fit within container */
        object-position: center center; /* Center the globe */
    }
}

/* Tailwind-like utility classes for MCP globe container */
.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.aspect-\[1\/1\] {
    aspect-ratio: 1 / 1;
}

.w-full {
    width: 100%;
}

.max-w-\[600px\] {
    max-width: 600px;
}

.top-24 {
    top: 2rem;
}

.-z-100 {
    z-index: 1;
}

.size-full {
    width: 100%;
    height: 100%;
}

.opacity-0 {
    opacity: 0;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-500 {
    transition-duration: 500ms;
}

/* Dark mode inversion */
@media (prefers-color-scheme: dark) {
    .dark\:invert {
        filter: invert(1);
    }
}



/* Technology Stack Section - Services Style Cards */
.tech-stack-section {
    background-color: #121212;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Space Grotesk', sans-serif;
}

.tech-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.tech-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

.tech-category {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    flex: 1;
}

.trending-badge {
    background: linear-gradient(135deg, #ff6b9d, #FFB6C1);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1); /* Ensure scale resets */
    }
    50% { 
        opacity: 0.7;
    }
}

/* Fix: Reset state for pulsing elements */
.trending-badge {
    animation-fill-mode: none;
    transform: scale(1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    cursor: pointer;
    /* Fix: Ensure proper transform reset */
    transform: translateY(0);
    animation-fill-mode: none;
}

.tech-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 182, 193, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-item.spotlight {
    border: 2px solid #FFB6C1;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 182, 193, 0.05) 100%);
    position: relative;
}

.tech-item.spotlight::after {
    content: '⭐ FEATURED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FFB6C1, #ff6b9d);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tech-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

/* Fix: Reset state for tech-icon img */
.tech-icon img {
    transform: scale(1);
    transition: all 0.3s ease;
    animation-fill-mode: none;
}

.ai-icon {
    background: linear-gradient(135deg, #FFB6C1, #ff6b9d);
    border-radius: 12px;
    padding: 1rem;
}

.ai-icon svg {
    width: 32px;
    height: 32px;
}

.tech-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tech-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.popularity-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.popularity-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFB6C1, #ff6b9d);
    transition: width 2s ease;
    animation: fillUp 2s ease-out;
}

@keyframes fillUp {
    0% { width: 0%; }
    100% { width: 95%; }
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #21262d;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #161b22;
    border-radius: 8px;
    border: 1px solid #21262d;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #8b949e;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-stack-section {
        padding: 2rem 1rem;
    }
    
    .tech-title {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .tech-item {
        padding: 0.75rem;
    }
    
    .tech-icon {
        width: 36px;
        height: 36px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .trending-badge {
        align-self: flex-start;
    }
    
    .tech-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.cities-dots circle:nth-child(odd) {
    animation-delay: 0s;
}

.cities-dots circle:nth-child(even) {
    animation-delay: 1.5s;
}

@keyframes cityTwinkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}


    .hero h1 {
        font-family: 'Space Grotesk', sans-serif;
    font-size: 68px;
    font-weight: 600;
    line-height: 35px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    }

    .hero-card {
        flex-direction: column;
        padding: 0 20px 20px 20px; /* Top padding 0 */
        top: 95%;
        text-align: center;
        opacity: 0; /* Hidden on load */
        position: relative;
        z-index: 10;
    }
    
    .hero-card::before {
        content: '';
        position: absolute;
        top: -80px;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to bottom,
            #121212 0%,
            rgba(18, 18, 18, 0.95) 20%,
            rgba(18, 18, 18, 0.8) 40%,
            rgba(18, 18, 18, 0.5) 70%,
            transparent 100%
        );
        z-index: -1;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
    }

    .features{
    display: flex;
    justify-content: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    align-content: center;
    align-items: center;
    }

    .feature{
        text-align: center;
    }

    .services{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap:0rem;
    }

    .service-card{
        width: 100%;
        overflow: hidden;
        position: relative;
        background-color: #000;
    }

    .founder-cards{
        display: flex;
    justify-content: center;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    }

    .hero{
        text-align: center;
    padding: 3rem;
    background: url(../svg/KaasBG.svg) no-repeat center / cover;
    color: #fff;
    min-height: 100vh;
    position: relative;
    padding-top: 120px; /* Space for navbar */
    margin-top: -100px; /* Pull up to start under navbar */
    overflow: visible; /* Allow gradient transition to show */
}

/* Hero Glowing Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center,
        rgba(255, 182, 193, 0.4) 0%,     /* Pink glow */
        rgba(138, 43, 226, 0.3) 25%,     /* Purple */
        rgba(0, 191, 255, 0.3) 50%,      /* Cyan/Blue */
        rgba(138, 43, 226, 0.2) 75%,     /* Purple again */
        transparent 100%
    );
    z-index: 1;
    filter: blur(80px);
    animation: heroGlow 6s ease-in-out infinite alternate;
}

/* Secondary glow for more depth */
.hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(0, 191, 255, 0.3) 0%,       /* Cyan */
        rgba(255, 182, 193, 0.2) 40%,    /* Pink */
        rgba(138, 43, 226, 0.2) 70%,     /* Purple */
        transparent 100%
    );
    z-index: 1;
    filter: blur(60px);
    animation: heroGlow2 8s ease-in-out infinite alternate-reverse;
}

/* Ensure hero content appears above the glow */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Animation for the main glow */
@keyframes heroGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-45%, -45%) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translate(-55%, -55%) scale(0.9);
        opacity: 0.6;
    }
}

/* Animation for the secondary glow */
@keyframes heroGlow2 {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: translate(-60%, -40%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-40%, -60%) scale(1);
        opacity: 0.4;
    }
}

.hero-image{
    display: none;
}

.why-kaaspro{
    margin-top: 1%;
}

.healthcare-management h2{
    font-size: 26px;
}

.service-content h3{
    font-size: 24px;
}

.service-content p{
    font-size: 16px;
}

.founders h2{
    font-size: 26px;
}
    
    @media (max-width: 400px) {
        .hero{
            min-height: 100vh;
            padding-top: 120px;
            margin-top: -100px;
        }
      
    }
 






    body{
        background-color: #121212;
        color: #fff;
     }
     
     /* Ensure all text elements inherit light colors on dark background */
     h1, h2, h3, h4, h5, h6, p, div, span, li, a {
         color: inherit;
     }
     
     /* Override any dark text that might not be on white backgrounds */
     .text-content, .hero-content, .content, .description {
         color: #fff;
     }
     
     .social-icons a {
         filter: brightness(0) invert(1);
     }
     
     .social-icons img {
         fill: #1E1E1E;
     }
     
     .default-page{
         background-color: #121212;
         overflow-x: hidden !important;
     }
     
     .hero-text {
         text-align: center; /* Center-align text */
     }
     
     .hero-text .title {
         font-size: 26px; /* Half the heading size */
         line-height: 1.4; /* Adjust line spacing */
         text-align: center;
     }
     
     .hero-text p {
         font-size: 16px; /* Reduce paragraph text size */
         line-height: 1.6; /* Adjust line spacing */
         text-align: center;
     }
     
     .hero-image {
         width: 80%; /* Make image responsive */
         height: auto;
         display: none;
     }
     
     
     /* General Reset */
     * {
         margin: 0;
         padding: 0;
         box-sizing: border-box;
         font-family: 'Space Grotesk', sans-serif;
     }

     /* Fix hero section positioning to prevent fixed scroll behavior */
     .hero {
         position: relative !important;
         transform: none !important;
         z-index: auto !important;
     }
      
     .hero {
         background: url('../svg/KaasBG.svg'); /* Updated to KaasBG.svg */
         background-size: cover;
         background-position: center;
         color: white;
         align-items: center;
         justify-content: center;
         min-height: 100vh;
         padding-top: 120px;
         margin-top: -100px;
         position: relative;
        }
    
    /* Smooth gradient transition at bottom of hero section for all pages */
    .hero::after {
        content: '';
        position: absolute !important;
        bottom: 0;
        left: 0;
        right: 0;
        height: 150px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(18, 18, 18, 0.3) 20%,
            rgba(18, 18, 18, 0.6) 40%,
            rgba(18, 18, 18, 0.85) 70%,
            #121212 100%
        ) !important;
        z-index: 10 !important;
        pointer-events: none;
    }
    
     
     /* Container */
     .container {
         display: flex;
         align-items: center;
         justify-content: center;
         max-width: 87.5rem;
         width: 100%;
         position: relative;
         gap: clamp(2rem, 8vw, 2.375rem);
         margin-top: 25px;
         padding: 0 clamp(1rem, 3vw, 2rem);
         z-index: 2; /* Ensure content appears above gradient */
     }
     
     
     /* Text Content */
     .text-content {
         text-align: center;
         opacity: 0.95; /* 95% visible */
         margin: 0 3rem;
         padding: 0 2rem;
         max-width: 1400px;
         gap: 3rem;
     }
     
     .text-content h4 {
         color: #FFF;
         font-family: 'Space Mono', monospace;
         font-size: 72px;
         font-style: normal;
         font-weight: 600;
         line-height: 80px; 
         letter-spacing: -1.44px;
         text-align: center;
     }
     
     .text-content h1 {
         color: #DDD;
         font-family: 'Space Grotesk', sans-serif;
         font-size: 24px;
         font-style: normal;
         font-weight: 600;
         line-height: normal;
     }
     
     .text-content p {
         color: #DDD;
         font-family: 'Space Grotesk', sans-serif;
         font-size: 24px;
         font-style: normal;
         font-weight: 500;
         line-height: normal;
         letter-spacing: 0.72px;
         margin-top: 30px;
         text-align: center;
     }
     
     /* Image Container */
     .image-container {
         position: relative;
         width: min(34.375rem, 90vw);
         aspect-ratio: 1;
         max-width: 100%;
         display: flex;
         justify-content: center;
         align-items: center;
     }
     
     .image-container img {
         width: 100%;
         height: 100%;
         object-fit: contain;
     }
     
     .hero-card{
         width: 100%;
         min-height: clamp(25rem, 50vh, 31.5rem);
         flex-shrink: 0;
         padding: 0 0 clamp(3rem, 6vw, 5rem) 0; /* Top padding 0 */
         opacity: 0; /* Hidden on load */
         position: relative;
         z-index: 10;
     }
     
     .hero-card::before {
         content: '';
         position: absolute;
         top: -40px;
         left: 0;
         right: 0;
         height: 40px;
         background: transparent;
         box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
         z-index: -1;
     }
     
     .hero-text{
         color: #FFF;
         font-family: 'Space Grotesk', sans-serif;
         font-size: 40px;
         font-style: normal;
         font-weight: 600;
         line-height: 48px;
         letter-spacing: -0.8px;
         padding-top: 80px;
         padding-bottom: 80px;
         box-shadow: 0 -5px 100px -5px #282828, 0 5px 100px -5px #282828;
     }
     
     .hero-text .title {
         font-size: 40px;
         line-height: 1.4;
         text-align: center;
     }
     
     .hero-text p{
         color: #DDD;
         text-align: center;
         font-family: 'Space Grotesk', sans-serif;
         font-size: 24px;
         font-style: normal;
         font-weight: 400;
         line-height: normal;
         letter-spacing: 0.72px;
         padding: 30px 320px;
     }
     
     .hero-section1 {
         display: flex;
         justify-content: center;
         align-items: center;
         height: 100%;
         padding-top: 3%; /* Reduced from 10% */
         /* background-color: #121212; */
     }
     
     .hero-content1 {
         display: flex;
         align-items: center;
         gap: 100px;
         max-width: 1200px;
         width: 100%;
         margin: 0 auto;
         padding: 0 0 0 0; /* Removed left padding */
     }
     
     .image-container1 {
         width: min(31.25rem, 90vw);
         height: 800px; /* Match reduced globe container height */
         max-width: 100%;
         /* border-radius: 50%; */
         overflow: visible; /* Allow globe to extend outside */
         display: flex;
         justify-content: center;
         align-items: center;
         /* background-color: #121212; */
         /* box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); */
     }
     
     .image-container1 img {
         width: 100%;
         height: 100%;
         object-fit: cover;
     }
     
     .text-container1 {

        margin-top: -58px;
         max-width: 600px;
     }
     
     .text-container1 h2 {
         font-size: 40px;
         margin-bottom: 20px;
         margin-top: 30px;
         margin-left: 12px;
     }
     
     .text-container1 ul {
         list-style: none; /* Removes bullet points */
         padding: 0;
     }
     
     .text-container1 li {
         display: flex;
         align-items: center;
         gap: 15px; /* Creates space between icon and text */
     }
     
     .text-container1 li b {
         display: block; /* Ensures title is on a separate line */
         font-size: 24px;
         margin-bottom: 10px;
     }
     
     .text-container1 li p {
     line-height: 1.2;}
     
     .image-cont{
     display: flex;
     justify-content: center;
     align-items: center;
     width: 110px !important;
     height: 110px !important;
     flex-shrink: 0;
     }
     
     .content-cont{
         line-height: 1;
         align-items: start;
     }
     
     .broder-emoji{
         height: 80px !important;
         width: 80px !important;
         object-fit: contain !important;
         flex-shrink: 0;
     }
     
     .approach-section {
         text-align: center;
         background-color: #121212;
         padding: 0 0 60px 0;
         overflow: hidden;
         display: flex;
         flex-direction: column;
         align-items: center;
         width: 100%;
     }
     .approach-title{
         padding-bottom: 60px; /* Reduced from 80px */
         padding-top: 60px; /* Reduced from 120px */
         font-size: 40px;
     }
     
     .approach-image {
         width: 100%;
         max-width: none;
         height: auto;
         margin: 0;
         display: block;
         object-fit: cover;
         position: relative;
         z-index: 0;
         opacity: 1;
     }
     
         /* CTA Section */
         .cta-section {
             text-align: center;
             padding: 25px; /* Add padding for better spacing */
             margin: 0 auto;
         }
     
         .cta-text h1 {
             font-size: 40px; /* Reduce heading size */
             padding-bottom: 10px;
         }
     
         .cta-text p {
             font-size: 24px; /* Adjust text size */
             margin-bottom: 15px;
             text-align: center;
         }
     
     .cta-section {
         display: flex;
         flex-direction: column;
         align-items: flex-start;
         justify-content: flex-start;
         border-radius: 24px;
         background: rgba(255, 255, 255, 0.10);
         border: 1px solid rgba(0, 0, 0, 1);
         padding: 65px;
         max-width: 1200px;
         width: 90%;
         margin: 100px auto;
         text-align: left;
     }
     
     /* Text Section */
     .cta-text {
         max-width: 100%;
         text-align: left;
         width: 100%;
     }
     
     .cta-text p {
         color: #ddd;
         font-size: 24px;
         line-height: 1.6;
         padding-bottom: 10px;
         font-weight: 500;
         font-family: 'Space Grotesk', sans-serif;
         text-align: left;
     }
     
     @media(min-width: 760px){
        .approach-image-mobile{
            display: none;
        }

     }
     
     @media (max-width: 1024px) {
     
     .image-container {
         width: min(25rem, 80vw);
         margin-top: 2rem;
     }
     .image-container1 {
         width: min(25rem, 80vw);
         margin-top: 2rem;
     }
     
     }
     @media (max-width: 1024px) {
         .hero {
             flex-direction: column;
             text-align: center;
             padding: 0px 0px !important;
         }
     
         .container {
             flex-direction: column;
             text-align: center;
         }
     
         .text-content h4 {
             font-size: clamp(2rem, 6vw, 3.125rem);
             line-height: 1.2;
         }
     
         .text-content h1, 
         .text-content p {
             font-size: 20px;
         }
         .text-content p {
            margin-top: 1px;
        }
     
         .image-container {
             width: min(25rem, 90vw);
             aspect-ratio: 1;
         }
     
         .cta-section {
             flex-direction: column;
             text-align: center;
             padding: 50px;
             width: 90%;
             gap: 30px;
             margin: 0 auto;
         }
     
         .cta-text {
             text-align: center;
         }
     
         .hero-text {
             color: #FFF;
             font-family: 'Space Grotesk', sans-serif;
             font-size: 40px;
             font-style: normal;
             font-weight: 600;
             line-height: 48px;
             letter-spacing: -0.8px;
             box-shadow: 0 -5px 100px -5px #282828, 0 5px 100px -5px #282828;
             padding: 50px 0px;
         }
         .hero-text .title {
             font-size: 30px;
             line-height: 1.4;
             text-align: center;
         }
     
         .hero-text p {
             color: #DDD;
             text-align: center;
             font-family: 'Space Grotesk', sans-serif;
             font-size: 16px;
             font-style: normal;
             font-weight: 400;
             line-height: normal;
             letter-spacing: 0.72px;
             padding: 25px 75px;
         }
         .hero-section1 {
             display: flex;
             justify-content: center;
             align-items: center;
             height: 100%;
             padding-top: 50px; /* Reduced from 100px */
         }
         
         .hero-content1 {
             flex-direction: column;
             text-align: center;
             gap: 50px;
             padding: 0 0 0 0; /* Removed left padding for mobile */
             max-width: 90%;
         }

         .text-container1 h2 {
            font-size: 30px;
            margin-bottom: 20px;
            margin-top: 30px;
            margin-left: 12px;
        }
         .cta-section {
             margin-top: clamp(3rem, 15vw, 6.25rem);
             flex-direction: column;
             text-align: left;
             padding: clamp(2rem, 5vw, 3.125rem);
             width: min(90%, 75rem);
             gap: clamp(1rem, 4vw, 1.875rem);
         }
         .cta-text h1 {
             font-size: clamp(1.5rem, 4vw, 1.875rem);
             padding-bottom: clamp(0.5rem, 2vw, 0.625rem);
             text-align: center;
             line-height: 1.2;
         }
         .cta-text p {
             color: #fff;
             font-size: 16px;
             line-height: 1.6;
             padding-bottom: 10px;
             font-weight: 500;
             font-family: 'Space Grotesk', sans-serif;
             text-align: center;
         }
         .hero {
             background: url('../svg/KaasBG.svg');
             background-size: cover;
             background-position: center;
             background-attachment: scroll;
             color: white;
             /* padding: 80px 20px; */
             /* display: flex; */
             align-items: center;
             justify-content: center;
             min-height: 100vh;
             padding-top: 120px;
             margin-top: -100px;
         }
         .broder-emoji {
             height: 110px;
             width: 110px;
         }
         .image-cont {
             width: 110px;
             height: 110px;
         }
         .cta-section {
             display: flex
         ;
             align-items: center;
             justify-content: flex-start;
             border-radius: 24px;
             background: rgba(255, 255, 255, 0.10);
             border: 1px solid rgba(0, 0, 0, 1);
             /* border-radius: 15px; */
             padding: 65px;
             max-width: 90%;
             width: 1207px;
             position: relative;
             /* top: 100%; */
             /*left: 50%;*/
             transform: translateX(-50%);
             gap: 70px;
             margin-top: 25%;
             margin-bottom: 80px;
         }
         .approach-title {
            padding-bottom: 50px;
            padding-top: 50px;
            font-size: 30px;
        }
     
     }

     /* Tablet Screens */
     @media (max-width: 768px) {
         .container {
             flex-direction: column;
             text-align: center;
             gap: clamp(1.5rem, 4vw, 2rem);
         }

         .text-content h4 {
             font-size: clamp(1.75rem, 7vw, 3rem);
             line-height: 1.1;
         }

         .text-content p {
             font-size: clamp(0.875rem, 3vw, 1.125rem);
             margin-top: clamp(1rem, 3vw, 1.5rem);
         }

         .hero-text .title {
             font-size: clamp(1.25rem, 5vw, 2rem);
             line-height: 1.3;
         }

         .hero-text p {
             font-size: clamp(0.75rem, 3vw, 1rem);
             padding: clamp(1rem, 3vw, 2rem) clamp(0.5rem, 3vw, 1rem);
         }

         .approach-title {
             font-size: clamp(1.25rem, 5vw, 2rem);
             padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1rem, 3vw, 1.875rem) 0;
         }

         .cta-section {
             margin-top: clamp(2rem, 8vw, 4rem);
             padding: clamp(1.5rem, 4vw, 2.5rem);
             width: 95%;
         }

         .cta-text h1 {
             font-size: clamp(1.25rem, 5vw, 1.75rem);
             text-align: left;
         }

         .cta-text p {
             font-size: clamp(0.875rem, 3vw, 1rem);
         }
     }
     
     /* Mobile Screens */
     @media (max-width: 550px) {
         .text-content h1, .text-content p {
             font-size: clamp(0.875rem, 4vw, 1rem);
             padding: clamp(0.5rem, 2vw, 0.625rem);
         }
         .text-content h4 {
             font-size: clamp(1.5rem, 6vw, 1.875rem);
             line-height: 1.2;
         }
         .hero {
             flex-direction: column;
             padding: 0px 1px;
             min-height: 100vh;
             background-attachment: scroll;
         }
     
         .broder-emoji {
             height: 110px;
             width: 110px;
         }
         .image-cont {
             width: 110px;
             height: 110px;
         }
         .hero-card {
             width: 100%;
             min-height: clamp(20rem, 40vh, 25rem);
             flex-shrink: 0;
             padding: 0 0 clamp(2rem, 5vw, 3.125rem) 0; /* Top padding 0 */
             opacity: 0; /* Hidden on load */
             position: relative;
             z-index: 10;
         }
         
         .hero-card::before {
             content: '';
             position: absolute;
             top: -40px;
             left: 0;
             right: 0;
             height: 40px;
             background: transparent;
             box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
             z-index: -1;
         }
        
         .hero-text {
             font-size: 28px;
             line-height: 36px;
             padding: 35px 0px;
         }
         .hero-text .title {
             font-size: 25px;
             line-height: 1.4;
             text-align: center;
         }
     
         .hero-text p {
             font-size: clamp(0.75rem, 3vw, 0.875rem);
             padding: clamp(1rem, 3vw, 1.25rem) clamp(0.5rem, 2vw, 0.625rem);
         }
     
         .cta-section {
             flex-direction: column;
             padding: 30px;
             width: 90%;
             margin: 0 auto;
             text-align: center;
         }
     
         .cta-text p {
             font-size: 18px;
         }
         
         .text-container1 h2 {
             font-size: 25px;
             margin-bottom: 0px;
             margin-top: 0px;
             margin-left: 12px;
         }
         .text-container1 li b {
             display: block;
             font-size: 16px;
             margin-bottom: 5px;
         }
         .text-container1 li p {
             line-height: 1.2;
             font-size: 12px;
         }
         .text-container1 li {
             margin-bottom: 0px;
             display: flex;
             align-items: center;
             gap: 10px;
         }
         .approach-section {
             text-align: center;
             background-color: #121212;
             padding-bottom: 200px;
         }
         .approach-title {
             padding-bottom: 30px;
             padding-top: 30px;
             font-size: 25px;
         }
         .approach-image-mobile{
            height: auto;
            max-height: 600px;
         }
         .approach-image{
            display: none;
         }
     
         .cta-text h1 {
             font-size: 25px;
             /* padding-bottom: 10px; */
             text-align: center;
         }
         .cta-section {
             flex-direction: column;
             padding: 30px 10px;
             width: 90%;
             margin: 5% auto 60px auto;
             text-align: center;
         }
         .cta-text p {
             font-size: 12px;
             text-align: center;
         }
         
         .hero-section1 {
             display: flex;
             justify-content: center;
             align-items: center;
             height: 100%;
             padding-top: 30px;
         }
         
         .hero-content1 {
             flex-direction: column;
             text-align: center;
             gap: 30px;
             padding: 0 0 0 0; /* Removed left padding for small mobile */
             max-width: 95%;
         }
     
     }
     
     @media(max-width: 365px){
     
         .hero-section1 {
             display: flex;
             justify-content: center;
             align-items: center;
             height: 100%;
             padding-top: 100px;
         }
         
         .hero-content1 {
             flex-direction: column;
             text-align: center;
             gap: 20px;
             padding: 0 0 0 0; /* Removed left padding for smallest mobile */
             max-width: 95%;
         }
     
     }

/* ========== BUTTON COMPONENT SYSTEM ========== */

/* Base Button Component */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    min-height: 44px !important; /* Accessibility: minimum touch target */
    box-sizing: border-box !important;
    
    /* Responsive sizing */
    padding: 15px !important;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
    gap: clamp(0.625rem, 1.5vw, 1rem) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Button Icon Styling */
.btn img {
    width: clamp(1.25rem, 2.5vw, 1.75rem) !important;
    height: auto !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    vertical-align: middle !important;
    transform: rotate(315deg) !important;
}

/* Button Variants */

/* Primary Button (Default) */
.btn-primary {
    background-color: #fff !important;
    color: #333 !important;
    border: 2px solid transparent !important;
}

.btn-primary:hover {
    background-color: #f8f8f8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.btn-primary:hover img {
    transform: rotate(315deg) translateX(4px) !important;
}

/* Secondary Button (Outlined) */
.btn-secondary {
    background-color: transparent !important;
    color: rgba(255, 182, 193, 1) !important;
    border: 2px solid rgba(255, 182, 193, 1) !important;
}

.btn-secondary:hover {
    background-color: rgba(255, 182, 193, 1) !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3) !important;
}

.btn-secondary:hover img {
    transform: rotate(315deg) translateX(4px) !important;
}

/* Large Button Size */
.btn-large {
    padding: clamp(1rem, 3vw, 1.25rem) clamp(2rem, 5vw, 2.5rem) !important;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
    min-height: 48px !important;
}

/* Small Button Size */
.btn-small {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem) !important;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem) !important;
    min-height: 40px !important;
}

/* Button Focus States (Accessibility) */
.btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Disabled Button State */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover,
.btn.disabled:hover {
    transform: scale(1) translateY(0) !important;
    box-shadow: none;
}

/* Fix: Ensure buttons reset properly */
.btn {
    transform: scale(1) translateY(0) !important;
    animation-fill-mode: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn img {
        transition: none;
    }
    
    .btn:hover img {
        transform: none;
    }
}

/* Button in CTA Section - Additional Specificity */
.cta-section .btn,
.cta-text .btn {
    display: inline-flex !important;
    text-align: center !important;
    margin: 0 !important;
    vertical-align: top !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
}

/* Ensure CTA button large variant works */
.cta-section .btn-large,
.cta-text .btn-large {
    padding: clamp(1rem, 3vw, 1.25rem) clamp(2rem, 5vw, 2.5rem) !important;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
    min-height: 48px !important;
}

/* ========== GLOBAL ANIMATION FIXES ========== */

/* Critical Fix: Ensure all animated elements reset properly */
*[class*="animate"],
*[class*="hover"],
.feature,
.feature:nth-child(4),
.tech-item:nth-child(4),
.card:nth-child(4),
.box1:nth-child(4),
.approach-step:nth-child(4) {
    animation-fill-mode: none !important;
}

/* Fix: Reset transforms for commonly animated elements */
.feature,
.tech-item,
.card,
.box1,
.approach-step {
    transform: scale(1) translateY(0) translateX(0) !important;
    transition: all 0.3s ease;
}

/* Fix: Specific reset for 4th child elements - exclude list items in animations */
.feature:nth-child(4),
.tech-item:nth-child(4),
.card:nth-child(4),
.box1:nth-child(4),
.approach-step:nth-child(4),
.service-card:nth-child(4) {
    animation-fill-mode: none !important;
}

/* Don't interfere with Why Kaaspro list item animations */
.text-container1 li:nth-child(4) {
    /* Allow normal animation behavior */
}

/* ========== GLOBAL IMAGE FIXES ========== */

/* Prevent all images from squishing and maintain aspect ratios */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Ensure background images don't squish */
[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

.hero-image,
.founder-card img,
.service-image,
.service-image-1,
.service-image-2 {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: auto !important;
}

/* Fix service image containers */
.service-image,
.service-image-1,
.service-image-2 {
    aspect-ratio: 16/9 !important;
    min-height: 200px !important;
}

/* Preserve aspect ratio for logos and icons */
.hero-image {
    object-fit: contain !important;
}

/* Ensure all Why Kaaspro icons are consistently sized */
.broder-emoji {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    object-position: center !important;
    flex-shrink: 0;
}

/* Additional text color fixes for any missed dark text */
.hero-section1 h2,
.hero-section1 p,
.hero-section1 li,
.hero-section1 b,
.approach-title,
.cta-text h1,
.cta-text p {
    color: #fff !important;
}

.text-container1 li b {
    color: #fff !important;
}

.text-container1 li p {
    color: #ddd !important;
}

/* ========== TYPING ANIMATION ========== */

.typing-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 4em; /* Increased space for typing text */
    height: auto;
    margin: 2rem 0; /* Added vertical margin for more breathing room */
}

.typing-container {
    min-height: 4em;
    margin: 2rem 0;
}

.typing-text {
    display: inline;
    white-space: pre-wrap;
    word-wrap: break-word;
    height: auto;
    line-height: 1.2;
}

.typing-cursor {
    display: inline-block;
    width: 0.5em;
    height: 0.9em;
    background-color: rgba(255, 182, 193, 1);
    left: -0.25em; /* Very small gap from text */
    vertical-align: text-bottom; /* Align with text baseline */
    position: relative;
    top: -0.2em;
    animation: blink-cursor 2000ms infinite;
}

@keyframes blink-cursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}


@keyframes hide-cursor {
    100% {
        opacity: 0;
    }
}

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

/* Progressive enhancement - ensure content is visible before JS loads */
.animate-fade-up:not(.animate-hidden),
.animate-fade-in:not(.animate-hidden),
.animate-slide-left:not(.animate-hidden),
.animate-slide-right:not(.animate-hidden),
.animate-scale:not(.animate-hidden) {
    opacity: 1 !important;
}

/* CRITICAL FIX: Ensure all content is visible by default until animations initialize */
body:not(.animations-initialized) [class*="animate-"] {
    opacity: 1 !important;
    transform: none !important;
}

/* Base styles for animated elements - visible by default for progressive enhancement */
.animate-fade-up,
.animate-fade-in,
.animate-slide-left,
.animate-slide-right,
.animate-scale {
    opacity: 1;
    transition: all 0.6s ease-out;
}

/* Fade up animation */
.animate-fade-up {
    transform: translateY(0);
}

.animate-fade-up.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-up.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in animation */
.animate-fade-in {
    transform: translateY(0);
}

.animate-fade-in.animate-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.animate-fade-in.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.animate-slide-left {
    transform: translateX(0);
}

.animate-slide-left.animate-hidden {
    opacity: 0;
    transform: translateX(-50px);
}

.animate-slide-left.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.animate-slide-right {
    transform: translateX(0);
}

.animate-slide-right.animate-hidden {
    opacity: 0;
    transform: translateX(20px);
}

.animate-slide-right.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Float up animation (replaces scale animation) */
.animate-scale {
    transform: translateY(0);
}

.animate-scale.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.animate-scale.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transition override for hide animations */
.animate-fade-up.animate-hidden,
.animate-fade-in.animate-hidden,
.animate-slide-left.animate-hidden,
.animate-slide-right.animate-hidden,
.animate-scale.animate-hidden {
    transition: all 0.4s ease-in;
}

/* Hero animations on page load */
.hero-animate-text {
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.hero-animate-image {
    animation: heroFadeInRight 0.8s ease-out forwards;
    animation-fill-mode: forwards;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered list animations - Progressive Enhancement */
.text-container1 li {
    opacity: 1; /* Start visible by default */
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* List items only hidden when explicitly marked */
.text-container1 li.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.text-container1 li.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .animate-fade-in,
    .animate-slide-left,
    .animate-slide-right,
    .animate-scale {
        transition: none;
    }
    
    .hero-animate-text,
    .hero-animate-image,
    .text-container1 li.animate-visible,
    .text-container1 li,
    .floating-text {
        animation: none;
        opacity: 1;
        transform: scale(1) translateY(0) translateX(0) !important;
        transition: none;
    }
    
    /* Fix: Ensure reduced motion still maintains correct positioning */
    *:nth-child(4) {
        transform: scale(1) translateY(0) translateX(0) !important;
    }
}

/* ========== FLOATING TEXT ANIMATION ========== */
.floating-text {
    color: #FFB6C1; /* Baby pink */
    display: inline-block;
    animation: floatIn 2s ease-out forwards;
    animation-delay: 0.3s; /* Small delay to avoid conflicts */
    animation-fill-mode: both;
    position: relative;
    white-space: nowrap;
    transform: translateY(20px);
    opacity: 0;
}

@keyframes floatIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========== APPROACH PATH ANIMATION ========== */

.approach-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 500px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.approach-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.approach-svg .dash {
    opacity: 0;
    filter: drop-shadow(0 0 2px rgba(255,182,193,0.6));
}

.approach-step {
    position: absolute;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease-out;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Fix: Ensure proper animation completion */
    animation-fill-mode: none;
}

/* Fix: Ensure approach steps return to correct final state */
.approach-step.animate-step {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Text positioning based on line direction */
.approach-step.text-above {
    flex-direction: column-reverse;
}

.approach-step.text-below {
    flex-direction: column;
}

.step-text {
    margin: 15px 0;
}

.step-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.step-text p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

/* Responsive positioning to match SVG coordinates */
@media (max-width: 1400px) {
    .step-discovery {
        left: calc(20% - 50px) !important;
        top: calc(30% - 50px) !important;
    }
    
    .step-strategy {
        left: calc(37% - 50px) !important;
        top: calc(65% - 50px) !important;
    }
    
    .step-execute {
        left: calc(60% - 50px) !important;
        top: calc(25% - 50px) !important;
    }
    
    .step-deploy {
        left: calc(96% - 50px) !important;
        top: calc(45% - 50px) !important;
    }
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.step-icon svg {
    z-index: 2;
    position: relative;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,182,193,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease-out;
}


/* Animation states - Fixed */
.animate-step {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: fadeInStep 0.8s ease-out forwards;
    animation-fill-mode: both; /* Ensure final state is maintained */
}

@keyframes fadeInStep {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-step .step-icon::before {
    opacity: 1;
}

.animate-dash {
    animation: showDash 0.3s ease-in-out forwards;
}

@keyframes showDash {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Pulse animation for active steps */
.step-active .step-icon {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 4px 30px rgba(255,182,193,0.4);
    }
}

/* Remove old image styles */
/* .approach-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: cover;
    opacity: 1;
} */

/* Mobile styles */
@media (max-width: 768px) {
    .approach-container {
        display: none;
    }
    
    .approach-image-mobile {
        display: block;
        /* width: 100%; */
        height: auto;
    }
}

@media (min-width: 769px) {
    .approach-image-mobile {
        display: none;
    }
}