/* ============================================================
   home.css — Page-specific styles for home.html & index.php
   ============================================================ */

/* ----------------------------------------------------------
   Hero / Banner Slider
   ---------------------------------------------------------- */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.slider {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.slide.active {
    display: block;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.slide-content {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.slider-controls .prev,
.slider-controls .next {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    background: rgba(18, 46, 145, 0.548);
    border-radius: 50%;
}

.slider-controls .prev {
    left: 16px;
}

.slider-controls .next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 11;
    text-align: center;
    line-height: normal;
    pointer-events: none;
    user-select: none;
}

.slider-dots span {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    opacity: 0.6;
    pointer-events: auto;
    user-select: none;
}

.slider-dots span.active {
    opacity: 1;
    background-color: orange;
}

/* ----------------------------------------------------------
   Vision & Mission Section
   ---------------------------------------------------------- */
.col-lg-4.bg-color {
    background-image: url("../assets/space-tablets.png") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.vision-mission .bg-color {
    background: #000056;
}

/* ----------------------------------------------------------
   Product Categories Slider — Item Overrides
   ---------------------------------------------------------- */
.product-categories-cont .item .img-cont img {
    border-radius: 10px 10px 0px 0px !important;
}

.product-categories-cont .item p {
    background: transparent !important;
    border-radius: 0px 0px 10px 10px;
    font-weight: 600;
}

/* ----------------------------------------------------------
   CEO / Leadership Section
   ---------------------------------------------------------- */
.ceo h4 {
    font-size: 18px;
    font-weight: 600;
}

.leadership-cont .text-1 {
    align-items: normal !important;
    margin-top: 25px;
}

.col-lg-4.col-sm-6.col-12.item p {
    max-width: 300px;
    font-weight: 500;
}

.col-lg-4.col-sm-6.col-12.item img {
    width: auto;
    height: 120px;
}

/* ----------------------------------------------------------
   Count Section Cards
   ---------------------------------------------------------- */
.grid-count .card {
    background-image: linear-gradient(#a4bcfd, #dae2ff, #abc5fd);
}

/* ----------------------------------------------------------
   Hero Product Slider (Owl Carousel)
   ---------------------------------------------------------- */
.products .owl-stage-outer .owl-stage .owl-item {
    margin-right: 0px !important;
}

.item.hero-products {
    width: 100%;
    padding: 10px;
    height: 100%;
}

.product-categories-slider .item {
    text-align: center;
    padding: 10px 0;
}

.product-categories-slider .img-cont {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease-in-out;
}

.product-categories-slider .img-cont img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease-in-out;
}

.item.hero-products .img-cont p {
    min-height: 48px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-categories-slider .img-cont:hover img {
    transform: scale(1.05);
}

/* Fix alignment and prevent wrapping */


/* Navigation button style */
.owl-nav button {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: white !important;
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* ----------------------------------------------------------
   Our Stores Slider — img-cont layout
   ---------------------------------------------------------- */
.product-categories-slider .item .img-cont {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}

/* ----------------------------------------------------------
   Responsive — Tablet (max 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------------------------
   Responsive — Mobile (max 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .join-team-cont form {
        padding: 20px 12px !important;
    }

    div.col-xxl-5.text-center.d-flex.flex-column.justify-content-center {
        display: none !important;
    }

    .modal-footer .btn {
        width: 100% !important;
    }

    div.modal-body div.container.px-4 {
        padding-left: 0px !important;
    }

    .modal-header {
        padding-left: 0px !important;
    }
}

@media screen and (max-width: 768px) {
    .slider-controls .prev,
    .slider-controls .next {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }

    .slider-controls .prev {
        left:10px;
    }

    .slider-controls .next {
        right:10px;
    }

    .slider-dots {
        bottom: 12px;
    }

    .justify-content-center {
        padding: 0 25px !important;
    }

    div.one.text-center {
        padding: 0px 20px;
    }

    div.row.premium-cont.py-5 {
        padding-top: 1em !important;
    }

    div.count-sec.py-lg-4 {
        padding: 0 20px;
    }

    .partner-cont .two {
        display: none;
    }

    .partner-cont {
        height: auto;
    }

    ul.list-unstyled.d-flex.justify-content-center.align-items-center {
        padding: 0px !important;
    }

    #career {
        padding-right: 5px;
        padding-left: 5px;
    }

    .premium-cont .right .inner .box h4 {
        font-size: 13px;
        font-weight: bold;
    }

    .premium-cont .right .inner .box {
        height: 130px !important;
        width: 100% !important;
    }

    div.col-lg-2.bg-color.right-txt {
        display: none;
    }

    .generic-remedy-cont .headeing h2 {
        font-size: 30px;
    }
}


/* ----------------------------------------------------------
   Partner Section — responsive overrides
   ---------------------------------------------------------- */
@media only screen and (min-width: 776px) and (max-width: 1920px) {
    .footer-partner-img2 {
        max-width: 500px;
        height: auto;
        padding-right: 50px;
    }

    .footer-partner-img3 {
        width: 15% !important;
        right: 450px !important;
    }
}

@media screen and (max-width: 600px) {
    .slider-controls .prev,
    .slider-controls .next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .slider-controls .prev {
        left:0px;
    }

    .slider-controls .next {
        right:0px;
    }

    .slider-dots {
        bottom: 10px;
    }

    .slider-dots span {
        height: 10px;
        width: 10px;
        margin: 0 4px;
    }

    div.row.premium-cont.py-5 {
        padding-top:0 !important;
    }
}


/* ----------------------------------------------------------
   Media Gallery Section
   ---------------------------------------------------------- */
.media-gallery {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.gallery-lightbox .modal-content {
    border: 0;
}

.gallery-lightbox .carousel-inner,
.gallery-lightbox .carousel-item {
    min-height: 240px;
}

.gallery-lightbox-image {
    max-height: 80vh;
    object-fit: contain;
}

@media (max-width: 600px) {
    .gallery-lightbox .carousel-inner,
    .gallery-lightbox .carousel-item {
        min-height: 180px;
    }

    .media-gallery {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ----------------------------------------------------------
   Testimonials / Video Grid
   ---------------------------------------------------------- */
.video-grid {
    width: 100%;
}

.video-card {
    aspect-ratio: 9 / 16;
    /* padding: 0 10px; */
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 0;
}

.testimonial-video-slider .owl-nav button {
    width: 34px;
    height: 34px;
}

.testimonial-video-slider .owl-nav .owl-prev {
    left: -4px;
}

.testimonial-video-slider .owl-nav .owl-next {
    right: -4px;
}

/* ----------------------------------------------------------
   Partner Section — CTA Button
   ---------------------------------------------------------- */
button.btn.large.mt-lg-5.mt-3 {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    border-radius: 4px;
    border-bottom: 4px solid #FF9700 !important;
}

button.btn.large.mt-lg-5.mt-3:hover {
    background: #fff;
    color: #000;
    font-weight: 500;
    font-size: 18px;
    border-bottom: 4px solid #FF9700 !important;
    border-radius: 4px;
}

/* ----------------------------------------------------------
   Modal / Form Overrides (index.php specific)
   ---------------------------------------------------------- */
.form-control {
    font-size: 12px !important;
}

.modal-dialog-scrollable .modal-body {
    padding-bottom: 0px;
}

.mb-lg-4.mb-4.text-primary.fw-semibold {
    font-size: 18px;
    color: rgb(0 36 195) !important;
}
