/* Paste this at the very top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #0d5fa2;
    --secondary-color: #f39c12;
    --accent-green: #76a13e;
    --light-gray: #f5f5f5;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.alumni-font {
    font-family: "Alumni Sans", sans-serif !important;
    line-height: 0.75;
}

.showmorefaq {
    display: none;
}

body {
    font-family: 'Noto Sans Devanagari', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    place-items: center;
}

.text-accent {
    color: var(--accent-green);
}

/* Navigation Styling */
/* .site-bar {
    margin-top: 23px;
    position: absolute;
    width: 90%;
    border-radius: 8px;;
} */
 .site-bar {
    width: 90%;
    /* Use margin to add the top gap and center the 90% width navbar horizontally */
    margin: 23px auto 0 auto; 
    border-radius: 8px;
    
    /* Override Bootstrap's default top: 0; so it maintains the gap when stuck */
    top: 23px; 
    
    /* REMOVE: position: absolute; */
}

.stats-section-mobile {
    display: none;
}

.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255,255,255,0.8);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-item .active {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 20px;
}

.nav-link {
    color: #000 !important;
    font-weight: 500;
    font-size: 14px;
    margin-left: 1.5rem;
    transition: var(--transition);
    padding-left: 20px !important;
    padding-right: 20px !important;
}

button:focus, a:focus {
    border-radius: 20px;
    color: white;
    border: 0px;
}

.nav-link:hover:not(.active) {
    color: var(--primary-color) !important;
}

/* Hero Carousel Section */
.hero-carousel-section {
    width: 100%;
    position: relative;
    margin-top: -100px;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.6s;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.hero-slide {
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-color: #EAF1F9;
    padding: 125px 0;
    width: 100%;
    /* Change min-height to a fixed height */
    height: 600px;
    background-position-y: 80px;
    display: flex;
    align-items: center;
}

.hero-slide .container {
    display: flex;
    align-items: center;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
    z-index: 5;
    display: flex;
    justify-content: left;
    align-items: left;
    gap: 0;
    padding-left: 20px;
}

.carousel-indicators [data-bs-target] {
    background-color: transparent;
    border: 2px solid #0d5fa2;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    margin: 10;
    padding: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #f39c12;
    border-color: #f39c12;
    width: 7px;
    height: 7px;
    opacity: 1;
}


.carousel-indicators [data-bs-target] {
    position: relative;
}

/* Carousel Controls - Hidden */
.carousel-control-prev,
.carousel-control-next {
    display: block;
}

.hero-img {
    max-height: 515px;
}

.hero-title {
    /* font-size: 3rem; */
    font-weight: 600;
    line-height: 0.75;
    color: #222;
    /* margin-bottom: 2rem; */
    margin-top: 100px;
}

.hero-title-3 {
    /* font-size: 3rem; */
    font-weight: 600;
    line-height: 0.75;
    color: #222;
}

.highlight {
    font-family: 'Alumni Sans', sans-serif !important;
    color: var(--accent-green);
    font-weight: 600;
}

.family-heading {
    margin-top: 20px;
    margin-left: 40px;
}

.btn-family {
    font-size: 16px;
    box-shadow: #27ae5f4d 0px 4px 15px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-left: 30px;
}

.family-text {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 40px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #084788;
    border-color: #084788;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 95, 162, 0.3);
}

.badge-biofortified {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.badge-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Understanding Section */
.understanding-section {
    width: 100%;
}

.understanding-play {
    display: flex;
    justify-content: flex-end;
    margin-top: -200px;
}

.understanding-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin-bottom: 1.5rem;
}

.highlight-strong {
    color: var(--accent-green);
    font-weight: 600;
}

.understanding-round {
    margin-top: -150px;
}

.understanding-orange-desktop {
    margin-left: 330px;
}

.understanding-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: black;
    margin-top: 20px;
    margin-left: 20px;
}

.understanding-image {
    position: relative;
    display: inline-block;
    width: 100%;
}

.understanding-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Video Overlay Styles */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.video-overlay-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-overlay-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.video-overlay-close:hover {
    color: var(--secondary-color);
}

.video-overlay iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-avatar {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.feature-text {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.feature-text strong {
    display: block;
    color: var(--primary-color);
}

/* Nutrition Section */
.nutrition-section {
    padding: 80px 0;
    width: 100%;
    background-image: url("images/section-wave-green.svg");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 800px;
}

.nutrition-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.nutrition-section .text-muted {
    font-size: 1.1rem;
    color: #888 !important;
}

/* Nutrition Carousel Styles */
.nutrition-carousel {
    position: relative;
}

.nutrition-carousel .carousel-inner {
    padding: 20px 0;
}

.nutrition-carousel .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.nutrition-indicators {
    position: absolute;
    left: 30%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.nutrition-indicators [data-bs-target] {
    background-color: transparent;
    border: 2px solid #0d5fa2;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    padding: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
}

.nutrition-indicators .active {
    background-color: #f39c12;
    border-color: #f39c12;
    width: 7px;
    height: 7px;
    opacity: 1;
}

.nutrition-card {
    transition: var(--transition);
    height: 100%;
}

.nutrition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.nutrition-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.neg20deg {
     transform: rotate(-20deg);
}

.pos20deg {
    transform: rotate(20deg);
}

.nutrition-card img {
    width: 550px;
    max-height: 350px;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.badge {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Statistics Box */
.statistics-box {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.statistics-box h3 {
    color: #222;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.statistics-box ul li {
    font-size: 1.1rem;
    color: #666;
    padding-left: 1.5rem;
}

.statistics-box ul li strong {
    color: var(--accent-green);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.stat-circle {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f1a80a 100%);
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.3);
    margin: 0 auto;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 0.95rem;
    text-align: center;
    max-width: 180px;
    font-weight: 600;
}

/* Footer */
footer {
    width: 100%;
}

.footer-div {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color) !important;
}

footer .text-white-50 {
    opacity: 0.6;
}

footer hr {
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .understanding-content h2 {
        font-size: 1.8rem;
    }

    .nutrition-section h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistics-box {
        padding: 30px;
    }

    .stat-circle {
        width: 200px;
        height: 200px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 40px 0;
    }

    .understanding-section,
    .nutrition-section {
        padding: 40px 0;
    }

    .badge-biofortified {
        width: 70px;
        height: 70px;
        bottom: 20px;
        right: 20px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        bottom: -10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .understanding-content h2 {
        font-size: 1.3rem;
    }

    .nutrition-section h2 {
        font-size: 1.3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .statistics-box {
        padding: 20px;
    }

    .stat-circle {
        width: 150px;
        height: 150px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-text {
        font-size: 0.8rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility Improvements */

/* Biofortified Section */
.biofortified-section {
    margin-top: 120px;
    padding: 80px 0;
    width: 100%;
    background-image: url("images/biofortified-ambassador.png");
    background-repeat: no-repeat;  
    background-position: center;
    background-size: contain;
}

.biofortified-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin-bottom: 1.5rem;
}

.section-label-round {
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    margin-bottom: 20px;
}

.section-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.biofortified-benefits {
    margin-top: 2rem;
}

.benefit-item {
    padding: 15px 0;
    background-color: #e4f0feba;
    border-radius: 20px;
    min-width: 280px;
    max-width: 280px;
    min-height: 170px;
    max-height: 170px;
}

.benefit-item-alternate {
    padding: 15px 0;
    background-color: #E8F5D7ba;
    border-radius: 20px;
    min-width: 280px;
    max-width: 280px;
    min-height: 170px;
    max-height: 170px;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-heading {
    margin-left: 25px;
    font-size: 2rem;
    color: black;
    font-weight: 600;
    font-family: 'Alumni Sans', sans-serif !important;
    line-height: 1;
}

.benefit-desc{
    margin-left: 25px;
    color: black;
    font-size: 0.95rem;
    margin-top: 30px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-icon-alternate {
    width: 40px;
    height: 40px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-item div {
    flex-grow: 1;
}

.benefit-item strong {
    display: block;
    color: #222;
    margin-bottom: 5px;
    font-size: 1rem;
}

/* Tracked Section */
.tracked-section {
    padding: 80px 0;
    width: 100%;
    background-image: url("images/section-wave-orange.svg");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 740px;
}

.tracked-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #222;
    margin-bottom: 1.5rem;
}

.tracked-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tracking-features {
    margin-top: 2rem;
}

.track-item h5 {
    color: #222;
    font-weight: 600;
    font-size: 1.1rem;
}

.track-item p {
    margin: 0;
    color: #888;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    width: 100%;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.accordion-button {
    background-color: #f6faff;
    border-radius: var(--border-radius) !important;
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px 20px;
    box-shadow: none;
    transition: var(--transition);
}

.accordion-button::after {
    order: -1;
    margin-left: 0;
    margin-right: 1em;
}

.accordion-button:not(.collapsed)::after {
    font-family: "Alumni Sans", sans-serif !important;
    font-size: 30px;
    font-weight: 600;
    background-color: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 0px 20px rgba(243, 156, 18, 0.6);
    order: -1;
    margin-left: 0;
    margin-right: 1em;
    border-radius: 10px;
    
    /* Fix 1: Center the arrow inside your padded orange box */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.25rem; /* Controls the size of the arrow itself */

    /* Fix 2: Swap the default SVG for a white one (fill='%23fff') */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
    font-family: "Alumni Sans", sans-serif !important;
    font-size: 30px;
    background-color: #ecf5e1;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: none;
    border-color: var(--primary-color);
}

button.accordion-button.collapsed.flex-wrap {
    font-family: "Alumni Sans", sans-serif !important;
    font-size: 30px;
    font-weight: 600;
    color: black;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.accordion-body {
    font-size: 14px;
    font-family: "Noto Sans Devanagari", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: #666;
    margin-left: 50px;
}

/* Statistics Section */
.stats-section {
    background-image: url("images/section-wave-blue.svg");
    padding: 80px 0;
    width: 100%;
    min-height: 760px;
}

.stats-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.leaf-img
{
    margin-top: 20px;
}

.leaf-img-scale {
    margin-left: 20px;
    margin-top: 15px;
}

.trek-img
{
    width: 50px;
}

.stat-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px 20px;
    transition: var(--transition);
    text-align: left;
    min-width: 410px;
    min-height: 180px;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 70px;
    display: block;
    font-weight: 600 !important;
    margin-bottom: 10px;
}

.stat-card p {
    margin: 0;
    color: black !important;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Noto Sans Devanagari';
}

/* Social Buzz Section */
.social-buzz-section {
    padding: 80px 0;
    width: 100%;
}

.social-buzz-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
}

.social-gallery {
    margin-top: 40px;
}

.social-card {
    position: relative;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 660px;
    width: 391px;
    margin-left: 20px;
}

.social-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

/* Social Carousel Styles */
.social-carousel {
    position: relative;
}

.social-indicators-horizontal {
    position: absolute;
    bottom: -60px;
    left: 30%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.social-indicators-horizontal [data-bs-target] {
    background-color: transparent;
    border: 2px solid #0d5fa2;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    padding: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
}

.social-indicators-horizontal .active {
    background-color: #f39c12;
    border-color: #f39c12;
    width: 7px;
    height: 7px;
    opacity: 1;
}

/* Final CTA Section */
.final-cta-section {
    background-image: url("images/family-banner.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0;
    width: 1280px;
    height: 626px;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
    margin-bottom: 1.5rem;
}

.final-cta-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

/* Enhanced Media Queries */
@media (max-width: 768px) {
    .biofortified-content h2,
    .tracked-content h2,
    .faq-section h2,
    .stats-section h2,
    .social-buzz-section h2,
    .final-cta-section h2 {
        font-size: 1.8rem;
    }

    .biofortified-section,
    .tracked-section,
    .faq-section,
    .stats-section,
    .social-buzz-section,
    .final-cta-section {
        padding: 40px 0;
        text-align: center;
    }
    
    h2.alumni-font {
        font-size: 66px !important;
    }
    
    h2.mb-4.alumni-font {
        font-size: 66px !important;
    }

    .hero-title {
        font-size: 66px !important;
    }

    .family-heading {
        margin-left: 0;
    }

    .stats-section-mobile {
        display: block;
    }

    .understanding-orange-desktop {
        margin-left: 0 !important;
    }

    .stats-section-desktop {
        display: none;
    }

    .hero-section {
        text-align: center;
        background-image: url("images/hero-ambassador-mobile.png");
        background-position-y: 380px;
        min-height: 760px;
    }

    .final-cta-section {
        background-image: url("images/family-banner-mobile.png");
        background-size: cover;
        min-height: 710px;
    }

    .understanding-section,
    .biofortified-section {
        text-align: center;
    }

    .nutrition-card img {
        width: 150px;
        max-height: 350px;
        object-fit: contain;
        border-radius: var(--border-radius);
    }


    .family-heading h2 {
        font-size: 36px !important;
    }

    .benefit-item {
        flex-direction: column;
        padding: 12px 0;
    }

    .benefit-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .social-card {
        aspect-ratio: auto;
        min-height: 250px;
    }
}
