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

/* ----------------------------------------------------------
   Hero / Banner Slider
   ---------------------------------------------------------- */
.slider-container {
    position: relative;
    overflow: hidden;
    height: 95vh;
}

.slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 95vh;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
}

.slide.active {
    display: flex;
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

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

.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: 420px !important;
    padding: 0px !important;
    margin-right: 0px !important;
}

.product-categories-slider .products {
    width: 100%;
}

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

.product-categories-slider .img-cont {
    width: 400px !important;
    height: 100% !important;
    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: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
}

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

/* Fix alignment and prevent wrapping */
.owl-carousel .owl-stage {
    display: flex;
    flex-wrap: nowrap !important;
}

/* 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-container {
        height: auto !important;
    }

    .slider {
        height: auto !important;
    }

    .slide {
        height: auto !important;
        min-height: unset !important;
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        aspect-ratio: 16 / 9;
    }

    .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;
    }

    .video-card {
        width: 45% !important;
        margin: auto;
    }

    .video-grid {
        display: flex !important;
        flex-wrap: wrap !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 only screen and (min-width: 769px) and (max-width: 1440px){

    .slider-container {
        height: auto !important;
    }
    .slider {
        height: 500px !important;
    }

    .slide {
        height: auto !important;
    }
}

@media only screen and (min-width: 1441px) and (max-width: 1700px){

    .slider-container {
        height: 85vh !important;
    }
    .slider {
        height: 85vh !important;
    }

    .slide {
        height: 85vh !important;
    }
}
@media screen and (max-width: 600px) {
    .slider-container {
        height: 249px !important;
    }

    .slider {
        height: 220px !important;
    }

    .slide {
        height: 200px !important;
        min-height: unset !important;
    }
    .slider-controls {
        top: 42%;
        padding: 0 10px;
        font-size: 1rem;
    }
    div.row.premium-cont.py-5 {
        padding-top:0 !important;
    }
}
.owl-carousel.owl-drag .owl-item {
    width: 500px !important;
    height: auto;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    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 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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);
}

/* ----------------------------------------------------------
   Testimonials / Video Grid
   ---------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    aspect-ratio: 9 / 16;
}

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

/* ----------------------------------------------------------
   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;
}


