/* Add Instrument Serif font */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:wght@400;700&display=swap');

/* Add Instrument Sans font */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* Update heading font styles */
h1, h2 {
    font-family: 'Instrument Serif', serif;
}

/* Make all h3 subheadings consistent */
h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600; /* SemiBold */
    color: var(--primary-pink);
}

/* Global Styles */
:root {
    /* Primary Colors */
    --primary-orange: #FF7136;
    --primary-pink: #FF487F;
    --primary-blue: #7076FF;
    --primary-light-blue: #00A3FF;
    --primary-pink-transparent: #ff487f2e;
    
    /* Supporting Colors */
    --black: #000000;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    
    /* Gradient Definitions */
    --gradient-warm: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-pink) 100%);
    --gradient-cool: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light-blue) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-pink) 33%, var(--primary-blue) 66%, var(--primary-light-blue) 100%);
    
    /* Agent image control variables */
    --agent-image-top-offset: -187px;
    --agent-image-right-position: 20%;
    --agent-image-width: 230px;
    
    /* New variable for white top section */
    --agents-white-top-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Instrument Sans', 'Arial', sans-serif;
    ;
}

body {
    overflow-x: hidden;
    background-color: var(--white);
}

section {
    padding: 80px 0;
    width: 100%;
}

/* 1. Hero Section */
#hero {
    position: relative;
    height: 90vh;
    overflow: visible;
    padding: 0;
    margin-bottom: 0;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide:first-child {
    opacity: 1;
}

.slide-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 70%;
    max-width: 700px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
    color: var(--black);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 100;
    pointer-events: auto;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    z-index: 101;
}

.dot.active {
    background-color: var(--primary-pink);
}

/* Hero Section Background Styles */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-background.active {
    opacity: 1;
    transform: translateX(0);
}

/* First background should be visible on page load without animation */
.bg1 {
    background-image: url('assets/abs1.jpg');
}

/* Set the first background to be visible initially */
.hero-background:first-child {
    opacity: 1;
    transform: translateX(0);
}

.bg2 {
    background-image: url('assets/abs2.jpg');
}

.bg3 {
    background-image: url('assets/abs3.jpg');
}

.card {
    background: transparent;
    padding: 20px;
    border-radius: 15px;
}

/* Unified Button Styling */
.hero-cta,
.learn-more-btn,
.read-more-btn,
.explore-btn,
.cta-button {
    background: var(--gradient-warm);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Hover effect for all buttons */
.hero-cta:hover,
.learn-more-btn:hover,
.read-more-btn:hover,
.explore-btn:hover,
.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    color: var(--white);
}

/* Remove any button-specific styling that conflicts */
#agents .read-more-btn {
    background: var(--gradient-warm);
}

#agents .read-more-btn:hover {
    background: var(--gradient-warm);
    opacity: 0.9;
}

.explore-btn {
    margin-top: 20px;
}

.explore-btn:hover {
    background: var(--gradient-warm);
}

/* Hero CTA specific adjustments to maintain its larger size */
.hero-cta {
    font-size: 1.1rem;
    padding: 12px 30px;
}

/* 2. GenAI Section - Updated */
#genai {
    background-color: var(--white);
    padding-top: 50px;
    padding-bottom: 100px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.genai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.genai-card-container {
    background-color: var(--black);
    background-image: url('assets/dark_bg_waves.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Add a subtle overlay to ensure text remains readable */
.genai-card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Ensure content appears above the overlay */
.genai-content {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 2;
}

.left-column {
    flex: 1;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-column h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.left-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.left-column p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.learn-more-btn {
    background-color: var(--primary-pink);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.learn-more-btn:hover {
    background-color: var(--primary-light-blue);
}

.right-column {
    flex: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.genai-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s;
}

.genai-card:hover {
    transform: translateY(-5px);
}

.card-logo {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-pink);
}

.genai-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.genai-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 3. Agents Section - Updated with black background and image */
#agents {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0 150px;
    position: relative;
    margin-top: 50px;
    border-top: 80px solid var(--white);
    /* Remove the mask that was causing issues */
    mask-image: none;
    -webkit-mask-image: none;
}

/* Add a separate gradient element instead of using mask */
#agents::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Height of the gradient */
    background: linear-gradient(to bottom, var(--black), transparent);
    pointer-events: none;
}

/* Ensure agent image container has proper z-index */
.agent-image-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: var(--agent-image-top-offset);
    width: var(--agent-image-width);
    z-index: 20; /* Increased z-index to ensure visibility */
    transition: width 0.3s ease, top 0.3s ease;
    filter: none;
}

/* Create a pseudo-element for the shadow */
.agent-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/agent.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(15px) brightness(0.3);
    transform: scale(0.9) translateY(10px);
    opacity: 0.7;
}

.agent-image-container img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: none;
}

/* Update agents-content for responsive order */
.agents-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Style for the right column content in agents section */
#agents .right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

#agents .right-column h2 {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

#agents .right-column h3 {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-bottom: 20px;
}

#agents .right-column p {
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 500px;
}

#agents .read-more-btn {
    background-color: var(--primary-pink);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#agents .read-more-btn:hover {
    background-color: var(--primary-light-blue);
}

.agent-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.agent-card h3 {
    margin-bottom: 10px;
    color: var(--primary-pink);
}

/* Placeholder styles for remaining sections */
#knowledge-bases, #voice, #ml, #clients, #testimonials, #about-us {
    padding: 80px 20px;
    text-align: center;
    min-height: 300px;
}

#knowledge-bases {
    background-color: var(--black);
    background-image: url('assets/dark_bg_blur.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Adjust to overlap with agents section */
    margin-top: -100px; /* Increased overlap */
    padding-top: 150px; /* Add more padding at top to account for overlap */
}

/* Add a gradient overlay at the top of knowledge bases section */
#knowledge-bases::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Height of the gradient */
    background: linear-gradient(to bottom, var(--black) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Ensure the knowledge base content appears above both overlays */
.knowledge-container {
    position: relative;
    z-index: 3;
}

.knowledge-heading {
    margin-bottom: 50px;
}

.knowledge-heading h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.knowledge-heading h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-pink);
}

.knowledge-heading p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.knowledge-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.kb-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1;
    max-width: 400px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: left;
}

.kb-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.kb-card-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.kb-card h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-pink);
}

.kb-card p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white);
}

.kb-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.kb-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.kb-features li i {
    color: var(--primary-pink);
    margin-right: 10px;
}

.explore-btn {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
    margin-top: 20px;
}

.explore-btn:hover {
    background-color: var(--primary-pink);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .knowledge-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .kb-card {
        max-width: 100%;
        width: 100%;
    }
}

/* 5. Voice Section - Updated with smaller radius and reduced gap */
#voice {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0 100px; /* Reduced bottom padding from 150px to 100px */
    position: relative;
    border-bottom-left-radius: 25px; /* Reduced from 50px to 25px */
    border-bottom-right-radius: 25px; /* Reduced from 50px to 25px */
    margin-bottom: -30px; /* Reduced overlap from -50px to -30px */
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Ensure the next section (ML) has proper positioning and color */
#ml {
    padding: 100px 0;
    background-image: url('assets/pale_pink_blue.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates the parallax effect */
    color: var(--black); /* Changed to black for better contrast */
    position: relative;
    overflow: hidden; /* Prevent content from causing scrollbar jumps */
}

/* Adjust voice container to maintain proper spacing */
.voice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reduce bottom margin of voice card to minimize gap */
.voice-card {
    background-color: var(--white);
    color: var(--black);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 0; /* Ensure no extra margin at bottom */
}

.voice-content {
    display: flex;
    gap: 40px;
}

.voice-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voice-left h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--black);
}

.voice-left h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-pink);
}

.voice-left p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.voice-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.voice-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.voice-features li i {
    color: var(--primary-orange);
    margin-right: 10px;
    font-size: 1.2rem;
}

.voice-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.voice-right img {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

/* Responsive adjustments for Voice section */
@media (max-width: 992px) {
    .voice-content {
        flex-direction: column;
    }
    
    .voice-left {
        margin-bottom: 40px;
    }
    
    .voice-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .voice-right img {
        max-width: 50%;
    }
}

#clients {
    background-color: var(--white);
    color: var(--black);
}

#testimonials {
    background-color: var(--primary-pink);
    color: var(--white);
}

#about-us {
    background-color: var(--white);
    color: var(--black);
}

/* Footer */
#footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .genai-card-container {
        padding: 30px;
    }
    
    .genai-content, .agents-content {
        flex-direction: column;
    }
    
    .left-column {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .hamburger-menu {
        display: flex !important;
        position: relative;
        z-index: 1002;
        margin-left: auto;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
        padding: 50px 0;
        gap: 30px;
    }
    
    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links {
        flex-wrap: nowrap;
    }
    
    .logo {
        max-width: 120px;
        margin-right: auto;
    }
    
    :root {
        --agent-image-top-offset: -146px;
        --agent-image-width: 180px;
        --agents-white-top-height: 60px;
    }
    
    /* Make right column appear first in mobile view */
    .agents-content .right-column {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        width: 100%;
    }
    
    .genai-card-container {
        padding: 25px;
    }
    
    .slide-content {
        width: 85%;
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    :root {
        --agent-image-top-offset: -120px;
        --agent-image-width: 150px;
        --agents-white-top-height: 50px;
    }
    
    /* Remove the previous transform that was positioning it */
    .agent-image-container {
        transform: translateX(-50%);
    }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
    :root {
        --agent-image-top-offset: -97px;
        --agent-image-width: 120px;
        --agents-white-top-height: 40px;
    }
}

/* Floating Navbar */
.floating-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 150px;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-button {
    background: var(--gradient-warm);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold !important;
}

.cta-button:hover {
    opacity: 0.9;
    color: var(--white) !important;
}

/* Remove the scroll indicator */
.scroll-indicator {
    display: none;
}

/* Mobile menu styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Add a gradient transition between hero and genai sections */
.section-transition {
    position: relative;
    height: 100px;
    margin-top: -120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.8),  rgba(255,255,255,1));
    z-index: 10;
    pointer-events: none;
}

/* Update agents section to use the variable */
#agents {
    border-top-width: var(--agents-white-top-height);
}

/* Improved Accelerators Dropdown Styles */
.accelerators-dropdown {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1010;
    padding: 40px;
    display: none;
    opacity: 0;
    transform: translateY(-20px) translateX(-50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 20px;
}

.accelerators-dropdown.visible {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
}

.dropdown-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.dropdown-category {
    flex: 1 0 calc(25% - 30px); /* 4 columns by default */
    min-width: 200px;
}

.dropdown-category h3 {
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.dropdown-category ul {
    list-style: none;
    padding: 0;
}

.dropdown-category ul li {
    margin-bottom: 10px;
}

.dropdown-category ul li a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-category ul li a:hover {
    color: var(--primary-blue);
}

/* Hide close button in desktop mode */
.accelerators-dropdown .close-button {
    display: none;
}

/* Only show close button in mobile view */
@media (max-width: 992px) {
    .accelerators-dropdown {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        max-width: none;
        transform: none !important;
        border-radius: 0;
        overflow-y: auto;
        z-index: 1010;
        padding: 80px 20px 40px;
    }
    
    .accelerators-dropdown.visible {
        transform: none !important;
        opacity: 1;
    }
    
    /* Show close button in mobile view */
    .accelerators-dropdown .close-button {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: var(--primary-pink);
        cursor: pointer;
        z-index: 1011;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .dropdown-category {
        flex: 1 0 calc(50% - 30px); /* 2 columns */
    }
    
    .accelerators-dropdown {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .dropdown-category {
        flex: 1 0 100%; /* 1 column */
    }
    
    .accelerators-dropdown {
        padding: 20px;
        width: 95%;
    }
}

/* Consulting Dropdown Styles */
.consulting-dropdown {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1010;
    padding: 40px;
    display: none;
    opacity: 0;
    transform: translateY(-20px) translateX(-50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 20px;
}

.consulting-dropdown.visible {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
}

.consulting-container {
    width: 100%;
}

.consulting-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.consulting-logo {
    margin-bottom: 20px;
}

.consulting-logo img {
    max-width: 200px;
    height: auto;
}

.consulting-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--black);
}

.consulting-text ul {
    text-align: left;
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.consulting-text li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--black);
}

.consulting-button {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.consulting-button:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
}

/* Hide close button in desktop mode */
.consulting-dropdown .close-button {
    display: none;
}

/* Only show close button in mobile view */
@media (max-width: 992px) {
    .consulting-dropdown {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        max-width: none;
        transform: none !important;
        border-radius: 0;
        overflow-y: auto;
        z-index: 1010;
        padding: 80px 20px 40px;
    }
    
    .consulting-dropdown.visible {
        transform: none !important;
        opacity: 1;
    }
    
    /* Show close button in mobile view */
    .consulting-dropdown .close-button {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: var(--primary-pink);
        cursor: pointer;
        z-index: 1011;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .consulting-logo img {
        max-width: 150px;
    }
    
    .consulting-text p {
        font-size: 1rem;
    }
    
    .consulting-text li {
        font-size: 0.9rem;
    }
}

/* Machine Learning Section Styles - Updated for pale pinkish-blue background */
#ml {
    padding: 100px 0;
    background-image: url('assets/pale_pink_blue.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates the parallax effect */
    color: var(--black); /* Changed to black for better contrast */
    position: relative;
    overflow: hidden; /* Prevent content from causing scrollbar jumps */
}

/* Remove the dark overlay since we have a lighter background now */
#ml::before {
    content: none;
}

.ml-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ml-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.ml-left-column {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.ml-left-column h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--black); /* Darker blue for heading */
}

.ml-left-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-pink); /* Keep pink for subtitle */
}

.ml-left-column p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--black); /* Changed to black for better contrast */
}

.ml-right-column {
    flex: 1;
    min-width: 300px;
}

/* Accordion Styles - Updated for better contrast */
.accordion {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
    
}

.accordion-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 18px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Lighter background */
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: background-color 0.3s ease;
    color: var(--black); /* Changed to black for better contrast */
    text-align: left;
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--black); /* Changed to black for better contrast */
}

.accordion-item.active .accordion-header::after {
    content: '−';
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2); /* Lighter background */
    text-align: left;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 200px;
}

.accordion-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    color: var(--black); /* Changed to black for better contrast */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .ml-content {
        flex-direction: column;
    }
    
    .ml-left-column, .ml-right-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #ml {
        padding: 60px 0;
    }
    
    .ml-left-column h2 {
        font-size: 2rem;
    }
    
    .ml-left-column h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .accordion-header {
        font-size: 1rem;
        padding: 15px;
    }
    
    .accordion-item.active .accordion-content {
        padding: 15px;
    }
}

/* Gradient Text Effect */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 700;
  text-shadow: none;
  animation: gradient-shift 10s ease infinite;
}