/* Basic Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Using Vidhi Analytica's green from your logo for primary */
    --primary-color: #39C050; /* A vibrant green */
    --primary-dark: #2a8e3c;
    --secondary-color: #6c757d;
    --dark-bg: #212529; /* Dark background like Aifiesta's footer */
    --light-bg: #f8f9fa;
    --text-color: #343a40;
    --white-color: #ffffff;
    /* Aifiesta-inspired gradient, adjust for Vidhi's brand */
    --gradient-start: #39C050;
    --gradient-end: #007bff; /* Mixing with a techy blue */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-small {
    padding: 40px 0;
}

.text-white {
    color: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px; /* Aifiesta uses rounded buttons */
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    align-items: center;
    justify-items: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end)); /* Aifiesta style gradient */
    color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); /* Adjusted for primary color */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Navbar */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 0; /* Slightly reduced padding */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none; /* remove underline for logo link */
}

.navbar .logo .header-logo {
    height: 40px; /* Adjust logo size */
    margin-right: 10px;
}

.navbar .logo .logo-text {
    font-family: var(--font-primary);
    font-size: 1.5em; /* Adjusted size */
    font-weight: 700;
    color: var(--text-color);
}

.navbar nav .nav-links {
    list-style: none;
    display: flex;
}

.navbar nav .nav-links li {
    margin-left: 30px;
}

.navbar nav .nav-links a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav .nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: #e9f2ee; /* A light green/blue background */
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* For responsiveness */
}

.hero-content {
    flex: 1;
    min-width: 450px;
    margin-right: 40px;
}

.hero-content h1 {
    font-size: 3.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero-content .tagline {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content .description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.hero-content .btn {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
    min-width: 400px;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Incubated Section */
.incubated-section {
    text-align: center;
    background-color: var(--white-color);
    border-bottom: 1px solid #eee;
}

.incubated-section h3 {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.2em;
    font-weight: 600;
}

.incubator-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.incubator-logo {
    max-height: 80px; /* Adjust as needed */
    width: auto;
    filter: grayscale(80%); /* Optional: to make them blend */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.incubator-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header .subtitle {
    font-size: 1.3em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-section .about-content-full {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
}

.about-section .highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.about-section .highlight-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.highlight-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-item h4 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Products Section (with gradient background) */
.products-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); /* Example gradient */
    color: var(--white-color);
}

.products-section .section-header h2,
.products-section .section-header .subtitle {
    color: var(--white-color);
}

.product-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-item.reverse {
    flex-direction: row-reverse;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h3 {
    color: var(--white-color);
    font-size: 2.2em;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-info .product-logo {
    height: 50px; /* Adjust size */
    margin-right: 15px;
}

.product-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.product-info h4 {
    color: var(--white-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.product-info ul {
    list-style: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.product-info ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    font-size: 1em;
}

.product-info ul li::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color); /* Green checkmark */
    position: absolute;
    left: 0;
    top: 0;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Team Section */
.team-section {
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.team-member {
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 1em;

}

/* Partner Section */
.partner_container {
    display: flex;
    width:100%;
    overflow:auto;
    padding: 15px;
  }
.partner_logo {
    width:20%;  
    float:left;
    padding: 1em;
  }
.partner_name {
    width:30%;  
    float:left;
    padding: 1em;
  }
.partner_details {
    width:50%;  
    float:left;
    padding: 1em;
  }



  /* Footer Section */
.footer-container {
    display: flex;
    width:100%;
    overflow:auto;
    padding: 15px;
  }
.footer-div1 {
    width:50%;  
    float:left;
    padding: 1em;
  }
.footer-div2 {
    width:40%;  
    float:left;
    padding: 1em;
  }
.footer-div3 {
    width:10%;  
    float:left;
    padding: 1em;
  }

  .contact-section {
    padding: 80px 0; /* More vertical padding */
    background-color: #ffffff; /* White background for the section */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    border-radius: 10px; /* Slightly rounded corners for the section */
    margin: 40px auto; /* Center the section and add margin */
    max-width: 900px; /* Max width for better readability */
}

.form-container {
    padding: 30px;
    background-color: #fdfdfd; /* Slightly off-white for the form area */
    border-radius: 8px;
    border: 1px solid #e0e0e0; /* Light border */
}

/* Input and Textarea Styling */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px; /* More padding inside inputs */
    border: 1px solid #ced4da; /* Light grey border */
    border-radius: 6px; /* Slightly rounded corners for inputs */
    font-size: 1.1em; /* Slightly larger font size */
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    background-color: #f8f9fa; /* Light background for inputs */
}



/* General Body and Font Styles (ensure these are present from previous examples) */
/* body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; */
}

/* Section Styling (ensure these are present) */
.carousel-section {
    padding: 80px 0;
    background-color: #f1f6fc;
    text-align: center;
}

/* .container {
    max-width: 800px; /* Constrain content width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header (ensure these are present) */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8em;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}

.section-header p { /* Added this for the description below the H2 */
    font-size: 1.2em;
    color: #555;
    max-width: 700px;
    margin: 15px auto 60px auto; */
}

/* Carousel Specific Styles */
.carousel-container {
    position: relative;
    max-width: 100%; /* Adjust based on your design */
    margin: 0 auto;
    overflow: hidden; /* Crucial for hiding overflowing items */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.carousel-track {
    display: flex;
    /* --- KEY ADDITION FOR AUTOMATIC SLIDING --- */
    /* Adjust total duration (e.g., 20s for 4 slides, 5s per slide) */
    /* The transform property is now controlled by the animation */
    animation: slideShow 20s infinite ease-in-out; /* 20s total, 5s per slide */
    width: fit-content;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    text-align: left;
    background-color: #ffffff;
    padding-bottom: 10px;
}

.carousel-item img {
    width: 0%;
    height: auto;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
}

.item-caption {
    padding: 25px 35px;
    color: #333;
}

.item-caption h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.item-caption p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.5;
}

/* --- KEYFRAMES FOR AUTOMATIC SLIDING --- */
/* This defines the animation for 4 slides.
   Each slide gets 20% of the time to be visible, and 5% to transition.
   Total time = 20s. Each slide visible for ~4s, transitions for ~1s. */
@keyframes slideShow {
    0% { transform: translateX(0%); } /* Show first slide */
    20% { transform: translateX(0%); } /* Hold first slide */
    25% { transform: translateX(-100%); } /* Slide to second */
    45% { transform: translateX(-100%); } /* Hold second slide */
    50% { transform: translateX(-200%); } /* Slide to third */
    70% { transform: translateX(-200%); } /* Hold third slide */
    75% { transform: translateX(-300%); } /* Slide to fourth */
    95% { transform: translateX(-300%); } /* Hold fourth slide */
    100% { transform: translateX(0%); } /* Loop back to first */
}

/* Pause animation on hover for better user experience */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}


/* Responsive Adjustments (ensure these are present) */
@media (max-width: 768px) {
    .carousel-section {
        padding: 60px 0;
    }

    .section-header p {
        font-size: 1.05em;
        margin-bottom: 40px;
    }

    .carousel-container {
        border-radius: 0;
        box-shadow: none;
    }

    .carousel-item img {
        border-radius: 0;
    }

    .item-caption {
        padding: 20px 25px;
    }

    .item-caption h3 {
        font-size: 1.5em;
    }

    .item-caption p {
        font-size: 0.95em;
    }
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    font-size: 20px;   /* adjust icon size */
    color: #39c050;    /* LinkedIn blue */
  }

  }