/********** Template CSS **********/
:root {
    /* --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D; */

    --primary: #c95400;
    --lightprimary: #fbab72;
    --fadedprimary: #ffede0;

    --secondary: #714329;
    --lightsecondary: #B08463;
    --fadedsecondary: #D0B9A7;

    --light: #ffffff;
    --dark: #1d120c;
}

body {
    background: var(--light);
    font-family: "Poppins", sans-serif;
}

.primary_color {
    color: var(--primary);
}

.lightprimary {
    color: var(--lightprimary);
}

.primary_faded {
    color: var(--fadedprimary);
}

.background_color {
    background-color: #e6e6e6
}

.primary_color_dark {
    color: var(--dark);
}

.secondary_color {
    color: var(--secondary);
}

.secondary_light {
    color: var(--lightsecondary);
}

.secondary_faded {
    color: var(--fadedsecondary);
}



.gray_color {
    color: #aeaeae;
}

.bg-main-color {
    background-color: var(--lightprimary);
}

.bg-dark-color {
    background-color: var(--dark);
}

.main_btn {
    font-weight: 700;
    transition: 0.5s;
    background-color: var(--primary);
}

.main_btn:hover,
.main_btn2:hover,
.main_btn3:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
    background-color: var(--lightprimary);
}

.main_btn2 {
    font-weight: 700;
    transition: 0.5s;
    background-color: var(--secondary);
}

.main_btn3 {
    font-weight: 700;
    transition: 0.5s;
    background-color: var(--dark);
}

.btn-primary {
    color: var(--light) !important;
    background-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.big-bg {
    background-color: var(--lightprimary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}


/* Main Menu */
/* Default navbar: transparent */
.sticky-top {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background: transparent !important;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar after scroll */
.navbar.scrolled {
    background: var(--light) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link {
    font-family: "Jost", sans-serif;
    position: relative;
    padding: 25px 10px 10px 10px;
    font-size: 18px;
    font-weight: 400;
    color: var(--dark);
    outline: none;
    transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Navbar links when transparent */
.navbar .nav-link {
    color: var(--lightprimary) !important;
    /* white text over video/image */
    transition: color 0.3s ease;
}

/* Navbar links after scroll */
.navbar.scrolled .nav-link {
    color: var(--dark) !important;
    /* dark text on white background */
}

/* End of Main Menu */

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    margin: 0;
    padding: 0;
    position: relative;
}

.darkened-image {
    filter: brightness(60%);
}



.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: 0.5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--fadedprimary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #ffffff;
    font-size: 22px;
    border-radius: 45px;
    transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

/* product card */
.product img {
    width: 100%;
}

.product-card {
    padding: 10px 20px 30px;
    height: 200px;
}

.product-card h5 {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.product-card h3 {
    font-size: 16px;
}

.product-card p {
    font-size: 18px;
    color: gray;
}

.product-card {
    background: linear-gradient(to left, #f8f8f8 50%, #332f2e 50%) right;
    background-size: 200% 100%;
    transition: 0.5s ease-out;
}

.product:hover .product-card {
    color: #eff5f9;
    background-position: left;
}

.product:hover h3 {
    color: #eff5f9;
}

.product:hover p {
    color: #eff5f9;
}

/* events */
.events img {
    width: 100%;
}

.event_body {
    padding: 20px;
}

/* ///////////////////////////  ADMIN /////////////////////////////////// */

.our_partners {
    background-image: url(../img/banner_grey3.jpg);
}



#about_body {
    background-image: url(../img/banner_grey5.jpeg);

}

.gray_background {
    background-image: url(../img/banner_grey3.jpg);
    /* opacity: 0.4; */

}

.event_content {
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.product_image img {
    width: 100%;
    height: 250px;
}

.partner_logo img {
    width: 100px;
    height: 100px;
}

.newsletter_image img {
    height: 250px;
}

.form_box {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;

}

/* Hero Carousel */
.carousel-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* scales between 2rem and 3.5rem */
    color: var(--primary);
    /* Bootstrap green */
    font-weight: 700;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    /* white outline */
    margin-bottom: 0.5rem;
}

/* Responsive subtitle */
.carousel-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    color: #000;
    font-weight: 600;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    margin-bottom: 1rem;
}

/* Responsive body text */
.carousel-body {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    color: #f8f9fa;
    max-width: 800px;
    padding: 0 15px;
}

/* Ensure video always covers */
.hero-header video {
    object-fit: cover;
}

/* WHo We Are */
.service-icon {
    transition: transform 0.3s ease-in-out;
}

.service-icon:hover {
    transform: scale(1.1);
}

/* Image hover zoom */

.image-card img {

    transition: transform 0.6s ease-in-out;

}

.image-card:hover img {
    transform: scale(1.1);
}

.aims_objective_card {
    border-left: 10px solid var(--lightsecondary);
    border-bottom: 10px solid var(--lightsecondary);
}

/* Special Products */
.card-img-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* semi-transparent black overlay */
    padding: 0.75rem;
}

/* End of special product */


/* Product Card Base */
.product_card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Hover Effect: lift + shadow */
.product_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Product Image Container */
.product-image-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Product Image Zoom */
.product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product_card:hover .product-card-img {
    transform: scale(1.1);
}

/* Responsive Text */
@media (max-width: 576px) {

    .card-body h5,
    .card-body h6 {
        font-size: 14px;
    }

    .card-body p {
        font-size: 11px;
    }
}



/* Partners */
.partner_item {}

.partner_item:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* News letter */
.newsletter_section {
    position: relative;
}

.newsletter_card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.newsletter-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.newsletter_card:hover .newsletter-img {
    transform: scale(1.1);
}

/* Optional: Card text background for readability */
.newsletter_card .card-body {
    background: rgba(255, 255, 255, 0.95);
}

/* CEO Image */
.ceo-image-wrapper {
    transition: transform 0.5s ease;
}

.ceo-image-wrapper:hover {
    transform: scale(1.1) rotate(3deg);
}

/* Card Hover */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}


/* Special Products */
/* New Code */
.banner-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/sample1.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0;
}

.carousel-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.carousel-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.carousel-img {
    height: 300px;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
}

/* Wnd of Special products */

/* Special Products */
.card_lift {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


.card_lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .12);
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-color: rgba(var(--card-accent), .25);
}



.favorite-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .10);
    transition: transform .2s ease, background .2s ease;
}

.favorite-btn:hover {
    transform: scale(1.06);
    background: #fff;
}



/* End of Special products */


/* ADMIN DASHBOARD */
/* Sidebar */
#sidebar {
    width: 250px;
    min-height: 100vh;
    /* position: fixed; */
    /* top: 100px; */
    left: 0;
    background: var(--dark);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

/* Sidebar links */
#sidebar .nav-link {
    color: #ddd;
    padding: 10px;
    border-radius: 5px;
}

#sidebar .nav-link:hover {
    background: var(--secondary);
    color: var(--fadedsecondary);
}

#sidebar .nav-link.active {
    background: var(--fadedsecondary);
    color: var(--dark);
}


/* Hide sidebar on small screens */
@media (max-width: 991px) {
    #sidebar {
        transform: translateX(-100%);
    }

    #sidebar.active {
        transform: translateX(0);
    }
}

/* Glass Card Design */
.glass-card {
    padding: 1.25rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(8, 8, 30, 0.35);
    color: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 36px rgba(8, 8, 30, 0.45);
}

.text_field_transparent {
    color: #fff !important;
    /* background-color: transparent; */
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid white;
}

.text_field_transparent:focus {
    border: none !important;
    outline: none !important;
    border: 3px solid var(--primary) !important;
}

/* End of Glass */

.special_badge {
    background-color: var(--secondary);
    padding: 5px 10px !important;
    border-radius: 2px !important;
}

.status_badge {
    color: var(--dark);
    background-color: var(--fadedsecondary);
    padding: 5px 10px !important;
    border-radius: 2px !important;
}

/* Profile page */
.profile-header {
    background: linear-gradient(139deg, var(--lightsecondary), var(--dark));
    color: var(--fadedprimary);
    padding: 3rem 1rem;
    border-radius: 0 0 30px 30px;
    text-align: center;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light);
    margin-top: -75px;
    background: #fff;
}



.stats-card {
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

/* Additional Images in Detail page */
.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.main-image {
    object-fit: cover;
    border: 3px solid #f5f5f5;
}

.caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.95rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}