/********** Template CSS **********/
:root {
    --primary: #32C36C;
    --light: #F6F7F8;
    --dark: #1A2A36;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

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


/*** 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-outline-primary: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 ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    margin: 0px auto;
    width: 1400px;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #075585;
}

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


.video-container video {
    width: 1300px;
    height: auto; /* Maintains the aspect ratio */
    margin: 0px auto;
}


.video-container {
    position: relative; /* Needed for positioning the video */
    width: 1300px;
    height: 80vh; /* 100% of the viewport height */
    overflow: hidden;
    margin: 0px auto;	
}


.video-container video {
    width: 1300px;
    height: auto;
    margin: 0px auto;
    object-fit: cover; /* Fills the container while maintaining aspect ratio (cropping if needed) */
    position: absolute;
    top: 0;
    left: 0;
}

.video-container video {
    width: 1300px;
    height: auto; 
    object-fit: fill; /* Stretches the video to fill the exact dimensions */
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
     width: 100%;
}


.video-container video {
   width: 400px;
    height: auto; /* Maintains the aspect ratio */
    margin: 0px auto;
}


.video-container {
    position: relative; /* Needed for positioning the video */
   width: 400px;
    height: 250px; /* 100% of the viewport height */
    overflow: hidden;
    margin: 0px auto;	
}


.video-container video {
   width: 400px;
    height: auto;
    margin: 0px auto;
    object-fit: cover; /* Fills the container while maintaining aspect ratio (cropping if needed) */
    position: absolute;
    top: 0;
    left: 0;
}

.video-container video {
    width: 400px;
    height: auto; 
    object-fit: fill; /* Stretches the video to fill the exact dimensions */
}


}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


.mt-5{
    margin-top: 0rem !important;
    
}

.border-end {
    border-right: 0px solid #dee2e6 !important; 
}


/*** Team 
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}
***/

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.nh-5{
    text-align: center;
}

.mb-5{
 margin-bottom: 0 !important;   
}

.slider {
   
    margin-bottom: 50px !important;
}

.my-5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: 2.5rem !important ;
    margin-top: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 10px !important;
}

.mb-4{
    margin-top: 0.5rem;
}



/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #d6d6d6;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}



.page-header{
    padding-top: 80px !important;
    padding-bottom: 200px !important;
}

/* Home-Banner*/
.col-lg-8{
    padiing-top: 90px;
    padding-bottom: 200px;
}


.text{
    color:#fff;
    font-size:22px;
    font-weight:500;
    max-width:600px;
    line-height:1.6;
    margin-top:15px;
    opacity:0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease forwards;
    animation-delay:0.5s;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform: translateY(30px);
    }
    to{
        opacity:1;
        transform: translateY(0);
    }
}


.blog-card{
transition: all 0.3s ease;
border-radius:12px;
overflow:hidden;
}

.blog-card:hover{
transform: translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

.blog-card img{
transition:0.4s;
}

.blog-card:hover img{
transform:scale(1.05);
}

.blog-card h4{
font-size:20px;
font-weight:600;
}

.blog-card p{
color:#6c757d;
font-size:14px;
}

.blog-card{
background:#fff;
border-radius:10px;
overflow:hidden;
transition:0.3s;
height:100%;
}

.blog-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}


/* Mobile view */
@media (max-width: 768px) {
  .display-2 {
    font-size: 15px !important;
    font-weight: 700px !important;
    padding-top: 60px !important;
    line-height: 1.2 !important;
  }
  
  
  .btn-lg-square {
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* Add this line to prevent squishing */
}
}


/* HERO SECTION */

.product-hero{
    background-image: url("../img/product-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay{
    background: rgba(0,0,0,0.55);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title{
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle{
    color: #e0e0e0;
    font-size: 18px;
}


/* PRODUCT IMAGE */

.product-image-card{
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: 0.3s;
}

.product-image-card:hover{
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-img{
    width: 100%;
    transition: transform 0.4s ease;
}

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


/* PRODUCT INFO */

.product-info-card{
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-title{
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title{
    font-weight: 600;
    color: #0a5c36;
}


/* BUTTONS */

.product-buttons .btn{
    padding: 10px 22px;
    border-radius: 6px;
}


/* RELATED PRODUCTS */

.related-section{
    background: #f8f9fa;
    padding: 80px 0;
}

.product-card{
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.product-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-card-img{
    overflow: hidden;
}

.product-card-img img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card-body{
    padding: 20px;
}

.product-card-body h5{
    font-weight: 600;
    margin-bottom: 10px;
}


/* RESPONSIVE */

@media (max-width:768px){

.hero-title{
font-size:34px;
}

.hero-subtitle{
font-size:16px;
}

.product-info-card{
margin-top:20px;
}

}









/* ===== GLOBAL FIXES ===== */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
}

/* REMOVE BOOTSTRAP CONFLICTS */
.mb-5, .mb-4 {
    margin-bottom: 1.5rem !important;
}

/* ===== NAVBAR FIX ===== */
.navbar.sticky-top {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== EDIT PRODUCT SECTION ===== */
.edit-product-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    min-height: 100vh;
    padding: 60px 15px;
}

/* CONTAINER WIDTH FIX */
.edit-product-section .container {
    max-width: 1100px;
}

/* ===== CARD DESIGN ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 30px 0;
    transition: 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* ===== HEADER ===== */
.header-banner {
    background: linear-gradient(135deg, #15803d, #22c55e);
    padding: 25px;
    text-align: center;
    color: #fff;
}

.header-banner h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.header-banner p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== INPUT FIELDS ===== */
.custom-label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #334155;
}

.custom-input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    font-size: 14px;
}

.custom-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
    outline: none;
}

/* ===== IMAGE PREVIEW ===== */
.image-preview-box {
    border: 2px dashed #cbd5e1;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    background: #f8fafc;
}

.image-preview-box img {
    max-height: 180px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FILE UPLOAD ===== */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.file-upload-wrapper input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-btn {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #cbd5e1;
    cursor: pointer;
}

.file-upload-btn:hover {
    background: #e2e8f0;
}

/* ===== BUTTON ===== */
.btn-update {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #16a34a, #22c55e);
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-update:hover {
    background: linear-gradient(to right, #15803d, #16a34a);
    transform: translateY(-2px);
}

/* ===== LEFT IMAGE SECTION ===== */
.left-image-section {
    background: #f0fdf4;
    padding: 30px;
    border-right: 1px solid #e2e8f0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    .glass-card {
        border-radius: 12px;
    }

    .header-banner h3 {
        font-size: 20px;
    }

    .custom-input {
        padding: 12px;
    }

    .left-image-section {
        display: none;
    }
}


/* Footer Quick Action Section Strt*/
.button-wrapper {
        display: flex;
    }

    .btn-modern-quote {
        display: inline-flex;
        align-items: center;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        text-decoration: none !important;
        text-transform: uppercase;
        border-radius: 8px;
        background: linear-gradient(145deg, #108a5c, #0d6e4a);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: 0.3s ease;
    }

    .btn-modern-quote:hover {
        background: linear-gradient(145deg, #12a66e, #108a5c);
        transform: translateY(-2px);
        color: #ffffff;
    }

/* Footer Quick Action Section End*/





