/* NAVBAR */
.navbar {
    background: #0b1c3d;
}

.navbar-brand img {
    width: 71px;
    height: 69px;
}

.navbar-nav {
    display: flex;
    gap: 40px;
}

.navbar a {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.nav-link:focus,
.nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* HERO */

.hero {
    background: url("../images/banner-img.jpg") center center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0;
    left: -2%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    color: #FFFFFF;
}

/* FEATURE BOX */

.feature-wrapper {
    margin-top: -96px;
    position: relative;
    z-index: 5;
    bottom: -50px;
}

/* Styling for both Mobile and Desktop boxes */
.feature-box,
.feature-box-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.row.text-center.d-none.d-md-flex {
    /* background-color: #0b2b72; */
    margin-top: -114px;
    margin-bottom: 0px;
    position: relative;
    top: 51px;
}


.feature-box img,
.feature-box-mobile img {
    width: 60px;
    /* Adjust based on your icon size */
    margin-bottom: 0;
}

.feature-box span,
.feature-box-mobile p {
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    font-family: "Montserrat", sans-serif;
}

/* Custom Dots for Mobile Carousel */
#featureCarousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0b2b72;
}

.custom-dots {
    position: relative;
    margin-top: 80px;
}

.custom-dots button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: #ffffff !important;
    /* Inactive dot color */
    border: none !important;
}

.custom-dots button.active {
    background-color: #015ABE !important;
}

.feature-box {
    background: #015ABE;
    color: white;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-box:last-child {
    border-right: none;
}

.feature-box img {
    width: 28px;
    margin-right: 10px;
}

/* ABOUT */

.about {
    background: #0b2b72;
    padding: 20px 0 0 0;
    color: #fff;
}

.history-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 50px;
    align-items: center;
}

.history-img {
    position: relative;
}

.feature-box:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.feature-box:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.history-img::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    /* background: #07235d; */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.history-img img {
    width: 100%;
    position: relative;
    z-index: 2;
}

.history-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: start;
    padding: 100px 0;
}

.for-mobile-history-grid {
    display: none;
}

.history-title {
    font-size: 36px;
    font-weight: 700;
    padding-bottom: 50px;
    margin-bottom: 0;
    padding-top: 37px;
    font-family: "Montserrat", sans-serif;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    max-width: 650px;
    text-align: center;
    font-family: "Inter", sans-serif;
}

/* HEALTH SECTION */

.health-section {
    padding: 90px 0;
    /* background: #f5f5f5; */
}

.health-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    justify-items: center;
}

.health-img img {
    width: 489px;
    border-radius: 18px;
    height: 600px;
    object-fit: cover;
}

.sub-title {
    font-size: 16px;
    color: #4DB1E2;
    font-weight: 500;
    margin-right: 60px;
    font-family: "Montserrat", sans-serif;
}

.health-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.health-content h2 {
    font-size: 34px;
    color: #0056c7;
    font-weight: 700;
    margin: 10px 0 15px;
    font-family: "Montserrat", sans-serif;
}

.health-content p {
    font-size: 15px;
    color: #222222;
    line-height: 1.8;
    max-width: 350px;
    text-align: left;
    font-family: "Inter", sans-serif;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    gap: 45px;
    margin-top: 25px;
}

.badge-grid img {
    width: 80px;
}

/* PRODUCTS */
/* MOBILE CAROUSEL STYLING */
.products-section .carousel-item {
    padding: 10px;
}

.products-section .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #753737;
    border: 1px solid #753737;
}

.products-section .carousel-indicators .active {
    background-color: #0b3c6d;
}

/* OPTIONAL: center card nicely on mobile */
.products-section .carousel-item .product-card {
    margin: auto;
    max-width: 320px;
}

/* PRODUCTS SECTION */

.section-title {
    color: #015ABE;
    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    padding: 20px 0;
}

.products-section {
    /* padding: 20px 0; */
    /* background: #f7f7f7; */
}

.product-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #015ABE;
    margin-bottom: 45px;
    font-family: "Montserrat", sans-serif;
}

/* CARD */

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* IMAGE BOX */

.product-img {
    background: #0b3c7c;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.product-img img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

/* TEXT */

.product-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}

/* VIEW MORE */
.products-section .col-lg-4:nth-child(2) {
    margin-top: 100px;
    /* adjust this value as needed */
}

.products-section .product-card:nth-child(2) {
    margin-top: 100px;
}

.product-card a {
    font-size: 14px;
    font-weight: 500;
    color: #0a58ca;
    text-decoration: none;
    align-self: flex-end;
    font-family: "Montserrat", sans-serif;
}

/* Card Container */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Dark Blue Top Image Section */
.product-img-box {
    background-color: #003366;
    /* Deep Navy Blue */
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Info Section */
.product-info {
    padding: 25px;
    flex-grow: 1;
    /* Makes the info section expand */
}

.product-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
}

.product-info p {
    font-size: 14px;
    color: #222222;
    line-height: 1.6;
    font-family: "Inter", sans-serif;

}

/* View More Button */
.view-more {
    text-align: right;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: #0056b3;
    transition: color 0.2s;
}

.view-more {
    color: #015ABE;
}

.view-more:hover {
    color: #015ABE;
}



/* FEATURES */

.features-section {
    /* background: #f4f4f4; */
    padding: 20px 0;
}

.features-title {
    text-align: center;
    color: #015ABE;
    font-weight: 700;
    /* margin-bottom: 50px; */
    font-size: 36px;
    padding: 40px 0;
}

/* GRID */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0px;
    justify-items: center;
    max-width: 100%;
    width: 1366px;
    margin: 0 auto;
}

/* CARD */

.feature-card {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    display: flex;
    gap: 15px;
    align-items: self-start;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    width: 470px;
    height: 200px;
}

/* ICON */

.feature-icon img {
    width: 35px;
}

/* TEXT */

.feature-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: "Montserrat", sans-serif;
    color: #111111;
}

.feature-card p {
    font-size: 16px;
    color: #222222;
    line-height: 1.6;
    margin: 0;
    font-family: "Inter", sans-serif;
}



/* TESTIMONIAL */

.testimonial-section {
    /* background: #f4f4f4; */
    padding: 20px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

/* CARD */

.testimonial-card {
    border-radius: 6px;
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);*/
    position: relative;
}

/* BLUE AREA */

.testimonial-top {
    background: #165fb8;
    color: #fff;
    padding: 40px 25px 60px;
    position: relative;
}

.stars {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
}

/* .quote img {
            font-size: 70px;
            opacity: .3;
            line-height: 1;
        } */
.quote img {
    width: 100px;
}

.testimonial-top p {
    font-size: 14px;
    line-height: 1.6;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    margin: -25px 0 0 20px;
}

/* BLACK AUTHOR STRIP */

.testimonial-bottom {
    background: #222;
    color: #fff;
    padding: 15px 20px;
}

.testimonial-bottom h5 {
    font-size: 14px;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
}

.testimonial-bottom span {
    font-size: 12px;
    opacity: .8;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    color: #ffffff;
}

/* CONNECTOR DOT */

.testimonial-card::after {
    content: "";
    width: 20px;
    height: 20px;
    background: #eee;
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-card:last-child::after {
    display: none;
}

/* connector circles */

.testimonial-card {
    position: relative;
}

/* right connector */

.testimonial-card::after {
    content: "";
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: -13px;
    top: 76%;
    transform: translateY(-50%);
    z-index: 5;
}

/* left connector */

.testimonial-card::before {
    content: "";
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: -13px;
    top: 76%;
    transform: translateY(-50%);
    z-index: 5;
}

/* remove first left connector */

.testimonial-card:first-child::before {
    display: none;
}

/* remove last right connector */

.testimonial-card:last-child::after {
    display: none;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    overflow: visible;
}

/* Container & Card Styling */
.faq-card {
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    margin-bottom: 0;
    background-color: #fff;
    overflow: hidden;
}

.accordion-button {
    background-color: white !important;
    padding: 12px 18px;
    box-shadow: none !important;
    border: none;
}

/* Hide the default Bootstrap arrow icon */
.accordion-button::after {
    display: none;
}

/* The Navy Blue Box */
.blue-box {
    background-color: #003366;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-right: 20px;
}

/* ICON TOGGLE LOGIC */
.faq-icon::before {
    content: "+";
    color: white;
    font-size: 40px;
    font-weight: 400;
}

/* When the button is NOT collapsed (i.e., it is OPEN) */
.accordion-button:not(.collapsed) .faq-icon::before {
    content: "−";
    /* Changes to minus sign */
}

.question-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}

/* Answer Body */
.accordion-body {
    padding: 0 20px 20px 82px;
    /* Align text under the question */
    color: #666;
    line-height: 1.6;
}

.main-footer {
    background: linear-gradient(180deg, #001a33 0%, #000c1a 100%);
    color: white;
    font-family: Arial, sans-serif;
}

.footer-logo {
    max-width: 160px;
    height: auto;
}

/* Headings with Underline */
.footer-heading {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    font-family: "Montserrat", sans-serif;
}

.footer-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Inter", sans-serif;
    margin-bottom: 0;
}

/* SOCIAL ICONS (White Circles) */
.social-wrapper {
    gap: 15px;
}

.social-btn {
    width: 35px;
    height: 35px;
    border: 1.5px solid white;
    /* Circular border from image */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
}

.social-btn:hover {
    background: white;
    color: #001a33;
}

/* Divider */
.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 1;
    margin: 0;
}

/* BOTTOM LINKS with Vertical Separators */
.copyright-text {
    font-size: 13px;
    color: #e0e0e0;
    margin-bottom: 0;
    font-family: "Inter", sans-serif;
}

.footer-bottom-links li {
    position: relative;
    padding: 0 15px;
    font-size: 13px;
}

/* The vertical line separator (|) */
.footer-bottom-links li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a {
    color: #e0e0e0;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
}


@media (max-width: 991px) {
    .social-wrapper {
        flex-direction: row !important;
        justify-content: center;
        margin-top: 20px;
    }

    .footer-heading {
        margin-top: 20px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .footer-bottom-links li:last-child::after {
        display: none;
    }

}

/* MOBILE */


@media(max-width:768px) {

    .hero {
        min-height: 380px;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    /* .carousel-item.active {
                background-color: #0b2b72;
            } */

    .feature-wrapper {
        margin-top: -80px;
        position: relative;
        z-index: 5;
        bottom: 0;
        padding: 0;
    }

    .about {
        display: none;
    }

    .for-mobile-history-grid {
        display: block;
    }

    .feature-box img,
    .feature-box-mobile img {
        width: 35px;
        margin-bottom: 15px;
    }

    .feature-box span,
    .feature-box-mobile p {
        font-weight: 600;
        line-height: 1.4;
        color: #fff;
        font-size: 16px;
    }

    .desktop-product {
        display: none;
    }

    .feature-box,
    .feature-box-mobile {
        display: flex;

        gap: 15px;

    }

    .desktop-testimonial {
        display: none;
    }

    .navbar-nav {
        display: flex;
        gap: 10px;
    }

    .footer-logo {
        max-width: 100px;
        height: auto;
    }

    .footer-bottom-links li {
        position: relative;
        padding: 0 10px;
        font-size: 13px;
    }

    .health-img img {
        width: auto;
        border-radius: 0;
        height: 500px;
        object-fit: cover;
        margin-top: -90px;
    }

    .about-text {
        font-size: 18px;
        line-height: 1.8;
        max-width: max-content;
        margin-bottom: 0;
    }

    .history-img img {
        width: 100%;
        position: relative;
        z-index: 2;
        height: 500px;
    }

    .feature-card h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 9px;
    }

    .feature-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .feature-card {
        background: #fff;
        border-radius: 25px;
        padding: 35px;
        display: flex;
        gap: 15px;
        align-items: flex-start;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        width: 350px;
        height: 180px;
    }

    .health-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    /* 1. Create the container look for the row */
    .feature-wrapper .row.d-md-flex {
        border: none;
        /* Light gray border */
        border-radius: 20px;
        /* Match your design's roundness */
        overflow: hidden;
        /* Crops children to the rounded corners */
        background-color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        /* Subtle depth */
    }

    /* 2. Style the individual boxes */
    .feature-box {
        padding: 30px;
        border-right: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    /* 3. Remove the last vertical divider */
    .feature-box:last-child {
        border-right: none;
    }

    /* 4. Target specific corners for the first and last child */
    .feature-box:first-child {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .feature-box:last-child {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    /* 5. Optional Hover Effect */


    .health-section {
        padding: 0;
        background: #f5f5f5;
    }

    .history-grid {
        /* grid-template-columns: 1fr;
                text-align: center;
                gap: 40px; */
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .history-img::before {
        width: 200px;
        height: 200px;
    }

    /* .about-text {
                max-width: 100%;
            } */

    .health-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .health-content p {
        max-width: 100%;
    }

    .badge-grid {
        justify-content: center;
    }

    .product-card {
        text-align: center;
    }

    .product-card a {
        align-self: center;
    }

    .products-section .col-md-4:nth-child(2) {
        margin-top: 0;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 20px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .history-content {

        padding: 0;
    }


    .testimonial-card::before,
    .testimonial-card::after {
        display: none;
    }

    /* ROUND DOTS */
    .testimonial-section .carousel-indicators {
        gap: 6px;
    }

    .testimonial-section .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        /* makes it round */
        background-color: #ccc;
        border: none;
        opacity: 1;
        margin: 0;
    }

    /* ACTIVE DOT */
    .testimonial-section .carousel-indicators .active {
        background-color: #1b5fa7;
    }

    .testimonial-section .testimonial-top::before {
        content: "";
        position: absolute;
        bottom: -12px;
        left: -12px;
        width: 24px;
        height: 24px;
        background: #fff;
        /* same as section bg */
        border-radius: 50%;
    }

    /* RIGHT CURVE */
    .testimonial-section .testimonial-top::after {
        content: "";
        position: absolute;
        bottom: -12px;
        right: -12px;
        width: 24px;
        height: 24px;
        background: #fff;
        /* same as section bg */
        border-radius: 50%;
    }

    .stars {

        font-size: 20px;
    }


    .testimonial-top {
        padding: 40px 20px 50px;
        position: relative;
    }

    .product-title {
        text-align: center;
        font-size: 28px;

        margin-bottom: 25px;
    }

    .faq-question {
        font-size: 14px;
    }

    .icon {
        width: 30px;
        height: 30px;
        margin-right: 12px;
    }

    .faq-answer {
        padding-left: 57px;
    }

    .footer-heading {
        font-size: 16px;
        margin-top: 20px;
    }

    .footer-links li {
        border-right: none !important;
        display: block;
        margin-bottom: 10px;
    }

}

@media(max-width:767px) {
    .desktop-testimonial {
        display: none;
    }

    .health-content h2 {
        font-size: 28px;
        margin: 10px 50px 15px 0px;

        text-align: left;
    }

    .health-content {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        justify-content: center;
        padding-bottom: 30px;
    }

    .products-section .carousel-item {
        padding: 40px 0;
    }

    .sub-title {
        font-size: 16px;

        margin-right: 100px;

    }

    .history-title {
        font-size: 28px;
        padding-bottom: 30px;

    }

    .about-text {
        max-width: 90%;
        font-size: 16px;
        margin-bottom: 0;
    }

    .health-content p {

        margin-left: 25px;
    }

    .section-title {
        text-align: center;
        color: #015ABE;
        font-weight: 700;
        margin-bottom: 0;
        font-size: 28px;

    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature-card {

        width: 100%;

    }
}

@media (max-width: 576px) {
    .blue-box {
        width: 38px;
        height: 38px;
        min-width: 38px;
        margin-right: 12px;
    }

    .faq-icon::before {
        font-size: 36px;
    }

    .accordion-body {
        padding-left: 68px;
        font-size: 14px;
    }

    .question-text {
        font-size: 15px;

    }
}

@media(max-width:320px) {
    .health-content h2 {
        font-size: 20px;

    }

    .feature-card p {
        font-size: 13px;

    }

    .product-info h3 {
        font-size: 22px;

    }
    .history-img img {
    height: 350px;
}
}