/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

html {
  scroll-behavior: smooth;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.text-bg-box {
    background: rgba(255, 255, 255, 0.7); /* soft transparent white */
    backdrop-filter: blur(6px);
    padding: 30px;
    border-radius: 25px;
    max-width: 600px;   /* keeps the box left aligned like a card */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}

.banner-section {
    width: 100%;
    height: 100vh; /* Full screen height */
    background-image: url('/img/main_desk_ban.png'); /* Path to your banner image */
    background-size: cover;      /* Fixes cropping and stretching issues */
    background-position: center; /* Centers image correctly */
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* Optional: Adjust for mobile */
@media (max-width: 768px) {
    .banner-section {
        background-image: url('/img/main_mob_banner.png'); /* Use a different image for mobile if needed */
        height: 75vh;               /* prevent zoom */
        padding-top: 60%;           /* maintain image aspect ratio */
        background-size: cover;   /* full image visible */
        background-position: top center;
         background-repeat: no-repeat;
    background-attachment: scroll;
    }
}




/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
    opacity: 120%;
}

.about-img::before {
    will-change: transform;
    backface-visibility: hidden;
}


.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}

.feature-img {
    width: 100%;
    height: 200px; /* same height for all images */
    object-fit: cover; /* keeps full image visible */
    border-radius: 16px;
    border: 3px solid #e22b8d; /* you can override per image */
}



/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.product-item .product-image-container {
    height: 250px;              /* Set your preferred height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;        /* Optional clean background */
    overflow: hidden;
}

.product-item .product-image-container img {
    height: 100%;
    width: auto;
    object-fit: contain;        /* keeps full product visible */
}


/* Make entire product faded */
.coming-soon {
    opacity: 0.4;
    pointer-events: none;  /* Disable all clicks */
}

/* Center "Coming Soon" text */
.coming-soon-overlay {
    position: relative;
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}

/* Disable link and button styling */
.product-disabled {
    pointer-events: none;
}

.disabled-btn {
    pointer-events: none;
    opacity: 0.6;
}



.whatsapp-chat {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366 !important;
  border: none;
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px; /* bigger WhatsApp icon */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 9999;
  cursor: pointer;
}

/* Highlight top bar icons & text */
.top-bar small,
.top-bar i,
.top-bar a i {
    color: #080808 !important;
    font-weight: 600;
}


/* Pack of 10 pieces bigger */
.pack-text {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #9d3709 !important;
}

/* Free delivery + Call Us horizontal & bigger */
.info-row {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 15px;
}

.info-row p {
    font-size: 20px;
    font-weight: 700;
    color: #9d3709 !important;
}


.whatsapp-chat:hover {
  background-color: #20ba5a !important;
  transform: scale(1.1);
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100vh; /* full screen height */
    object-fit: cover; /* crop instead of shrink */
    object-position: center; /* keep center visible */
}

@media (max-width: 767px) {
    .price-text {
        font-size: 38px !important;   /* smaller but still big */
    }

    .pack-text {
        font-size: 16px !important;
    }
}

/* Mobile Style */
@media (max-width: 767px) {
    .info-row {
        flex-direction: column;     /* stack vertically */
        align-items: flex-start;    /* align left */
        gap: 10px;
    }

    .info-item {
        font-size: 16px !important; /* slightly smaller text */
        margin: 0;
    }

    .info-item i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item img {
        height: 60vh; /* shorter height on mobile */
    }
}  

@media (max-width: 768px) {
    .whatsapp-chat i {
        font-size: 30px !important;  /* bigger icon inside the circle */
    }
}

/* Desktop text size */
.carousel-caption h1 {
    font-size: 55px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
}

/* Button spacing fix */
.carousel-caption a {
    font-size: 18px;
}
    /* Accordion Margin Structure Styles */
    .margin-accordion .accordion-item {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
    }
    
    .margin-accordion .accordion-item:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }
    
    .margin-accordion .accordion-button {
        background-color: #f8f9fa;
        color: #495057;
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
        border: none;
        box-shadow: none;
        transition: all 0.3s ease;
    }
    
    .margin-accordion .accordion-button:not(.collapsed) {
        background-color: var(--primary);
        color: white;
        box-shadow: none;
    }
    
    .margin-accordion .accordion-button:not(.collapsed) i {
        color: white;
    }
    
    .margin-accordion .accordion-button i {
        font-size: 1.3rem;
        color: var(--primary);
        transition: all 0.3s ease;
    }
    
    .margin-accordion .accordion-button:hover {
        background-color: #e9ecef;
    }
    
    .margin-accordion .accordion-button:not(.collapsed):hover {
        background-color: var(--primary);
        opacity: 0.95;
    }
    
    .margin-accordion .accordion-button::after {
        filter: brightness(0) saturate(100%);
        transition: all 0.3s ease;
    }
    
    .margin-accordion .accordion-button:not(.collapsed)::after {
        filter: brightness(0) invert(1);
    }
    
    .margin-accordion .accordion-body {
        padding: 2rem 1.5rem;
        background-color: white;
    }
    
    .margin-card {
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .margin-card:hover {
        border-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .benefit-card {
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .benefit-card:hover {
        border-color: var(--primary);
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    }
    
    .eligibility-card {
        border: 2px solid #e9ecef;
    }
    
    .accordion-collapse {
        transition: height 0.35s ease;
    }
    
    @media (max-width: 768px) {
        .margin-accordion .accordion-button {
            font-size: 1rem;
            padding: 1rem;
        }
        
        .margin-accordion .accordion-button i {
            font-size: 1.1rem;
        }
        
        .margin-accordion .accordion-body {
            padding: 1.5rem 1rem;
        }
         /* CTA Button */
    .btn-lg {
        font-size: 14px !important;
        padding: 12px 24px !important;
    }
    }



/* Mobile adjustments */
@media (max-width: 768px) {

    .carousel-caption {
        text-align: left;
        bottom: 20%; /* moves caption upward for mobile */

    }

  .carousel-caption h1 {
    width: 60%;
    font-size: 25px;
        padding-left: 0 !important;
        padding-top: 60px; /* optional, reduce on mobile */
        text-align: left;
    }

    .carousel-caption a {
        font-size: 14px;
    
    }
}
/* Mobile size */
@media (max-width: 768px) {
    .logo-img {
        height: 90px;   /* reduce logo height */
    }
}

/* Extra small screens (optional) */
@media (max-width: 480px) {
    .logo-img {
        height: 75px;
    }
}
@media (max-width: 768px) {
    .navbar-brand {
        margin-left: 0 !important;  /* removes left spacing */
    }
}

/* ---------------------------------
      MOBILE RESPONSIVE STYLES
-----------------------------------*/
@media (max-width: 767px) {

    /* ---------- NAVBAR ---------- */
    .top-bar {
        display: none !important;
    }

    .navbar {
        padding: 1px 1px !important;
    }

    .navbar-brand img {
        height: 90px !important;    /* Reduce big logo */
    }

    .navbar-collapse {
        background: #fff;
        padding: 20px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        font-size: 16px;
    }

    /* ---------- PAGE HEADER ---------- */
    .section-header h1 {
        font-size: 21px !important;
        line-height: 32px;
        max-width: 500px !important;
    }

    .section-header p {
        font-size: 14px !important;
    }

    @media (max-width: 767px) {
    .container-xxl.mobile-padding-fix {
        padding-top: 120px !important;   /* adjust as needed */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

    /* ---------- PRODUCT BANNER IMAGE ---------- */
    .product-banner img,
    img[alt="Margin Structure"] {
        width: 100% !important;
        height: auto !important;
        border-radius: 0;
    }

    /* ---------- GENERAL SPACING ---------- */
    .container-xxl {
  
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .py-6 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* ---------- ACCORDION ---------- */
    .accordion-button {
        font-size: 15px !important;
        padding: 12px !important;
    }

    .accordion-body {
        padding: 15px !important;
    }

    .margin-card,
    .benefit-card,
    .eligibility-card {
        padding: 15px !important;
    }

    .benefit-card i {
        font-size: 40px !important;
        margin-bottom: 10px !important;
    }

    /* ---------- GRID FIXES ---------- */
    .col-md-6,
    .col-md-4,
    .col-sm-6 {
        width: 100% !important;
    }

    .row.g-3 > div {
        margin-bottom: 15px !important;
    }

    /* ---------- FIRM VISIT SECTION ---------- */
    .bg-icon {
        padding: 40px 15px !important;
        text-align: center;
    }

    .bg-icon h1 {
        font-size: 26px;
    }

    .bg-icon p {
        font-size: 14px;
    }

    .bg-icon .btn {
        margin-top: 20px;
    }

    /* Add these CSS rules to fix the footer */

/* Footer stretching and alignment fixes */
.footer {
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.footer .row {
    margin: 0;
    width: 100%;
}

.footer .col-lg-4,
.footer .col-md-6,
.footer .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure all footer columns have equal height */
.footer .row.g-5 {
    display: flex;
    flex-wrap: wrap;
}

/* Mobile responsive footer fixes */
@media (max-width: 767px) {
    .footer .col-lg-4,
    .footer .col-md-6 {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    .footer .d-flex {
        justify-content: center !important;
    }
    
    .footer p {
        text-align: center !important;
    }
    
    .footer img {
        height: 110px !important;
        margin: 0 auto;
    }
    
    .footer h4 {
        margin-top: 20px;
    }
}

.footer-credit {
    font-size: 1px;
    opacity: 0.01;
}



/* Desktop alignment */
@media (min-width: 768px) {
    .footer .col-lg-4:first-child {
        text-align: left !important;
    }
    
    .footer .col-lg-4:nth-child(2) {
        text-align: left !important;
    }
    
    .footer .col-lg-4:last-child {
        text-align: center !important;
    }
}

/* Copyright section full width */
.footer .container-fluid.border-top {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.footer .container-fluid .container {
    max-width: 100%;
}


}








