/*

Tooplate 2127 Little Fashion

https://www.tooplate.com/view/2127-little-fashion

*/


/*---------------------------------------
CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #FFFFFF;
    --primary-color: #c31f26;
    --section-bg-color: #FBFBFB;
    --dark-color: #000000;
    --grey-color: #d0d1d1;
    --p-color: #717275;
    --body-font-family: 'Inter', sans-serif;
    --h5-font-size: 24px;
    --p-font-size: 20px;
    --copyright-text-font-size: 16px;
    --product-link-font-size: 14px;
    --custom-link-font-size: 12px;
    --font-weight-thin: 100;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    --primary-color-rgb: 195, 31, 38; --primary-color-rgb: 195, 31, 38; /* RGB values for #c31f26 */
}

body,
html {
height: 100%;
}

html {
scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}

body {
background: var(--white-color);
font-family: var(--body-font-family);    
position: relative;
}

/*---------------------------------------
TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
color: var(--dark-color);
line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: var(--font-weight-bold);
}

h1,
h2 {
font-weight: var(--font-weight-black);
}

h1 {
font-size: 64px;
line-height: normal;
}

h2 {
font-size: 42px;
}

h3 {
font-size: 36px;
}

h4 {
font-size: 32px;
}

h5 {
font-size: 24px;
}

h6 {
font-size: 20px;
}

p {
color: var(--p-color);
font-size: var(--p-font-size);
font-weight: var(--font-weight-light);
}

a, 
button {
touch-action: manipulation;
transition: all 0.3s;
}

a {
color: var(--p-color);
text-decoration: none;
}

a:hover {
color: var(--primary-color);
}

.text-primary {
color: var(--primary-color) !important;
}

::selection {
background: var(--primary-color);
color: var(--white-color);
}

/*---------------------------------------
CUSTOM LINK               
-----------------------------------------*/
.custom-link {
color: var(--p-color);
font-size: var(--custom-link-font-size);
font-weight: var(--font-weight-bold);
text-transform: uppercase;
position: relative;
}

.custom-link i {
position: absolute;
opacity: 0;
bottom: 0;
left: 100%;
transition: all 0.3s;
line-height: normal;
}

.custom-link:hover i {
opacity: 1;
left: 101%;
}

.lead {
font-size: 1.5rem;
font-weight: var(--font-weight-thin);
}

b,
strong {
font-weight: var(--font-weight-bold);
}

/*---------------------------------------
PRE LOADER               
-----------------------------------------*/
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
background: none repeat scroll 0 0 var(--white-color);
}

.spinner {
border: 1px solid transparent;
border-radius: 5px;
position: relative;
}

.spinner::before {
content: '';
box-sizing: border-box;
position: absolute;
top: 50%;
left: 50%;
width: 45px;
height: 45px;
margin-top: -10px;
margin-left: -23px;
border-radius: 50%;
border: 1px solid #959595;
border-top-color: var(--white-color);
animation: spinner .9s linear infinite;
}

@keyframes spinner {
to {transform: rotate(360deg);}
}

/*---------------------------------------
CUSTOM BUTTON & ICON              
-----------------------------------------*/
.custom-btn {
background: var(--dark-color);
border-radius: 50px;
color: var(--white-color);
font-size: var(--copyright-text-font-size);
text-transform: uppercase;
padding: 16.50px 20px;
}

.social-btn {
background: transparent;
border: 1px solid var(--grey-color);
color: var(--dark-color);
text-transform: none;
}

.social-btn:hover {
border-color: transparent;
}

.cart-form-select {
border-radius: 0;
padding-top: 15px;
padding-bottom: 15px;
}

.cart-btn {
border-radius: 0;
width: 100%;
font-size: var(--product-link-font-size);
}

.custom-btn:hover,
.slick-slideshow .custom-btn:hover {
background: var(--primary-color);
color: var(--white-color);
}


.custom-icon {
color: var(--p-color);
font-size: 24px;
}

.custom-icon {
display: inline-block;
vertical-align: middle;
}

.bi-bag.custom-icon {
font-size: 17px;
}

.featured-icon {
color: var(--grey-color);
font-size: 52px;
}

/*---------------------------------------
DIV SEPARATOR               
-----------------------------------------*/
.div-separator {
position: relative;
}

.div-separator::before {
content: "";
height: 1px;
background: var(--grey-color);
display: block;
width: 100%;
}

.div-separator span {
position: absolute;
top: 50%;
margin-left: -22.5px;
left: 50%;
text-align: center;
background: var(--white-color);
margin-top: -11px;
color: var(--dark-color);
font-weight: var(--font-weight-bold);
font-size: 14px;
width: 35px;
text-transform: uppercase;
}

/*---------------------------------------
FULL IMAGE               
-----------------------------------------*/
    .full-image-img {
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    width: 100%;
    bottom: -120px;
    min-width: 650px;
    }

    @media (min-width: 1600px) {
    .full-image-img {
    bottom: -200px;
    }
    }

    /*---------------------------------------
    NAVIGATION               
    -----------------------------------------*/
    .navbar {
    background: var(--white-color);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 25px 0;
    z-index: 2;
    will-change: transform;
    transition: transform 300ms linear;
    }

    .navbar span, h2 span, h4 span {
    color: var(--primary-color);
    }

    .navbar.headroom--not-top {
    padding: 20px 0;
    }

    .headroom--pinned {
    transform: translate(0, 0);
    }

    .headroom--unpinned {
    transform: translate(0, -150%);
    }

    .navbar-brand {
    color: var(--dark-color);
    font-size: 24px;
    font-weight: var(--font-weight-light);
    margin: 0;
    padding: 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
    display: inline-block;
    padding: 0;
    margin-right: 1.5rem;
    margin-left: 1.5rem;
    }

    .nav-link {
    color: var(--p-color);
    font-size: 16px;
    position: relative;
    }

    .navbar .nav-link::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grey-color);
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
    }

    .navbar .nav-link.active::after, 
    .navbar .nav-link:hover::after {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
    }

    .navbar .nav-link.active,
    .navbar .nav-link:hover {
    color: var(--primary-color);
    }

    .nav-link:focus, 
    .nav-link:hover {
    color: var(--p-color);
    }

    .navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
    }

    .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
    }

.navbar-toggler .navbar-toggler-icon {
background: var(--dark-color);
transition: background 10ms 300ms ease;
display: block;
width: 30px;
height: 2px;
position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
transition: top 300ms 350ms ease, transform 300ms 50ms ease;
transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
position: absolute;
right: 0;
left: 0;
background: var(--dark-color);
width: 30px;
height: 2px;
content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
top: 8px;
}

/*---------------------------------------
SITE HEADER              
-----------------------------------------*/
.site-header {
background-color: var(--section-bg-color);
position: relative;
overflow: hidden;
margin-top: 86px;
}

.site-header.section-padding {
padding-top: 7rem;
padding-bottom: 7rem;
}

.site-header.section-padding-img {
padding-top: 10rem;
padding-bottom: 10rem;
}

.header-image {
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 100%;
object-fit: cover;
}

/*---------------------------------------
SLICK SLIDESHOW               
-----------------------------------------*/
/*@media (min-width: 992px) {
.slick-slideshow {
height: 100vh;
}
}*/

.slick-slideshow {
margin-top: 86px;
}

.slick-title {
color: var(--white-color);
}

.slick-custom {
position: relative;
}

.slick-custom img {
width: 100%;
object-fit: cover;
}

.slick-bottom {
background: linear-gradient(to top, var(--dark-color), transparent 90%);
position: absolute;
z-index: 2;
bottom: 0;
right: 0;
left: 0;
width: 100%;
height: 100%;
}

.slick-bottom .container {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -40%);
}

.slick-overlay {
background: linear-gradient(to top, #000, transparent 120%);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}

@media (min-width: 576px) {
.slick-slideshow {
display:block;
}
}

@media (max-width: 576px) {
.slick-slideshow {
display: none;
}
}


    @media (min-width: 576px) {
        .slick-slideshow .slick-dots {
            max-width: 540px;
        }

        .slick-slideshow .custom-btn {
            font-weight: var(--font-weight-bold);
            display: inline-block;
            padding-right: 32px;
            padding-left: 32px;
        }
    }
    @media (min-width: 576px) {
        .slick-slideshow .slick-dots {
            max-width: 540px;
        }
    }

    @media (min-width: 768px) {
        .slick-slideshow .slick-dots {
            max-width: 720px;
        }
    }

    @media (min-width: 992px) {
        .slick-slideshow .slick-dots {
            max-width: 960px;
        }
    }

    @media (min-width: 1200px) {
        .slick-slideshow .slick-dots {
            max-width: 1140px;
        }
    }

    @media (min-width: 1400px) {
        .slick-slideshow .slick-dots {
            max-width: 1320px;
        }
    }

    .slick-slideshow .slick-dots {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 0;
        right: 0;
        transform: translate(0, -50%);
        margin: 0 auto;
        padding: 0;
    }

        .slick-slideshow .slick-dots li {
            background: transparent;
            border: 5px solid rgba(255, 255, 255, 0.35);
            border-radius: 100%;
            display: block;
            width: 30px;
            height: 30px;
            margin: 10px;
            padding: 5px;
            margin-left: auto;
            cursor: pointer;
        }

        .slick-slideshow .slick-dots button {
            background: transparent;
            border: none;
            color: transparent;
            display: block;
            width: 100%;
            height: 0;
            margin: 0;
            padding: 0;
            outline: none;
            height: 0;
        }

        .slick-slideshow .slick-dots li:hover,
        .slick-slideshow .slick-dots .slick-active {
            background: var(--white-color);
        }

    /*---------------------------------------
CUSTOM CIRCLE IMAGES               
-----------------------------------------*/

    .custom-circle-image {
        border-radius: 100px;
        width: 55px;
        height: 55px;
    }

        .custom-circle-image.team-image {
            width: 85px;
            height: 85px;
        }

    /*---------------------------------------
TESTIMONIAL               
-----------------------------------------*/
    .slick-testimonial .slick-list,
    .slick-testimonial .slick-track {
        height: 100%;
    }

    .slick-testimonial {
        margin: auto;
    }

    .slick-testimonial-caption {
        quotes: '❝' '❞';
        position: relative;
        padding: 5rem 7rem;
    }

        .slick-testimonial-caption::before {
            content: open-quote;
            display: inline-block;
            color: var(--primary-color);
            font-family: auto;
            font-size: 100px;
            height: 0;
            position: absolute;
            top: 0;
            left: 0;
        }

    .slick-testimonial .slick-dots {
        text-align: center;
    }

        .slick-testimonial .slick-dots li {
            background: var(--grey-color);
            display: inline-block;
            vertical-align: top;
            width: 16%;
            height: 1px;
        }

        .slick-testimonial .slick-dots button {
            background: transparent;
            border: none;
            color: transparent;
            display: block;
            width: 100%;
            height: 0;
            margin: 0;
            padding: 0;
        }

        .slick-testimonial .slick-dots li:hover,
        .slick-testimonial .slick-dots .slick-active {
            background: var(--dark-color);
        }

    /*---------------------------------------
SECTION               
-----------------------------------------*/
    section {
        content-visibility: auto;
        contain-intrinsic-size: 700px;
    }

    .section-padding {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    .featured {
        background: var(--section-bg-color);
    }

    /*---------------------------------------
ABOUT               
-----------------------------------------*/
    .about .nav-pills .nav-item {
        width: 100%;
    }

    .about .nav-pills .nav-link {
        color: var(--grey-color);
        font-size: 18px;
        font-weight: var(--font-weight-bold);
        border-left: 1px solid var(--grey-color);
        border-radius: 0;
        padding-right: 0;
    }

        .about .nav-pills .nav-link:hover,
        .about .nav-pills .nav-link.active,
        .about .nav-pills .show > .nav-link {
            background: transparent;
            border-left-color: var(--primary-color);
            color: var(--primary-color);
        }
@media (max-width: 800px) {
    .margin-top-about {
        margin-top: 150px;
       
    }
}

    /*---------------------------------------
ABOUT PAGE - OUR VISION SECTION
-----------------------------------------*/
    .our-vision {
        padding-top: 7rem;
        padding-bottom: 7rem;
        background-color: var(--section-bg-color); /* استخدام نفس لون خلفية الأقسام الأخرى */
    }

        .our-vision .container {
            /* يمكنك إضافة أنماط إضافية للحاوية إذا لزم الأمر */
        }

        .our-vision h2 {
            margin-bottom: 2rem;
            text-align: center; /* توسيط العنوان */
        }

        .our-vision .row {
            display: flex;
            flex-wrap: wrap;
            align-items: center; /* محاذاة العناصر عموديًا في المنتصف */
        }

        .our-vision .col-lg-6 {
            margin-bottom: 2rem; /* إضافة مساحة أسفل كل عمود */
        }

        .our-vision .vision-image {
            width: 100%;
            border-radius: .25rem; /* إضافة حواف دائرية بسيطة للصورة */
            box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15); /* إضافة ظل خفيف للصورة */
        }

        .our-vision .vision-info {
            padding: 2rem;
        }

            .our-vision .vision-info h3 {
                margin-bottom: 1rem;
            }

            .our-vision .vision-info p {
                line-height: 1.7; /* تحسين قابلية قراءة النص */
            }

    /*---------------------------------------
ABOUT PAGE - WHY SOLAR SECTION
-----------------------------------------*/
    .why-solar {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

        .why-solar .container {
            /* يمكنك إضافة أنماط إضافية للحاوية إذا لزم الأمر */
        }

        .why-solar h2 {
            margin-bottom: 2rem;
            text-align: center; /* توسيط العنوان */
        }

        .why-solar .row {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem; /* إضافة مساحة بين العناصر */
        }

        .why-solar .solar-benefit {
            flex: 1 1 300px; /* تحديد الحد الأدنى للعرض والسماح للعناصر بالتوسع */
            background-color: var(--white-color);
            padding: 2rem;
            border-radius: .25rem;
            box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
            text-align: center;
        }

            .why-solar .solar-benefit .bi {
                font-size: 3rem;
                color: var(--primary-color);
                margin-bottom: 1rem;
            }

            .why-solar .solar-benefit h4 {
                margin-bottom: 1rem;
            }

            .why-solar .solar-benefit p {
                font-size: var(--p-font-size);
                font-weight: var(--font-weight-light);
                color: var(--p-color);
                line-height: 1.6;
            }

    /*---------------------------------------
RESPONSIVE STYLES FOR NEW SECTIONS
-----------------------------------------*/
    @media screen and (max-width: 768px) {
        .our-vision .col-lg-6,
        .why-solar .solar-benefit {
            flex: 1 1 100%; /* اجعل العناصر تأخذ عرض 100% على الشاشات الأصغر */
            margin-bottom: 1.5rem;
        }
    }

    /*---------------------------------------
FAQ ACCORDION               
-----------------------------------------*/
    .accordion-item {
        background-color: transparent;
        border-top: 0;
        border-right: 0;
        border-left: 0;
    }

    .accordion-button {
        background-color: transparent;
        box-shadow: none;
    }

        .accordion-button:not(.collapsed) {
            background: transparent;
            box-shadow: none;
        }

    button:focus:not(:focus-visible) {
        border-color: transparent;
        box-shadow: none;
    }

    .accordion-body {
        border-top: 1px solid rgba(0,0,0,.125);
    }

    .accordion-button {
        font-size: 1.5rem;
        font-weight: var(--font-weight-normal);
        padding-top: 1.5rem;
        padding-right: 0;
        padding-bottom: 1.5rem;
        padding-left: 0;
    }

    .accordion-body {
        padding: 2rem 0;
    }

    /*---------------------------------------
TEAM MEMBERS              .team-info {
        width: 100%;
    }     
-----------------------------------------*/
/*---------------------------------------
TEAM MEMBERS (MODIFIED)
-----------------------------------------*/
.team {
    background: var(--section-bg-color);
}

.team-thumb {
    background: var(--white-color);
    position: relative;
    border-radius: .25rem;
    padding: 42px 32px;
    border: 1px solid var(--grey-color); /* Add a default border */
    overflow: hidden; /* Ensure image scaling doesn't break layout */
    /* Add transitions for animation */
    transition: all 0.3s ease-in-out, border-color 0.3s ease-in-out;
    /* Initially hidden for scroll effect */
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    visibility: hidden;
}

    .team-thumb.animate-in {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    /* Specific styling for the team image within the thumb */
    .team-thumb .custom-circle-image.team-image {
        transition: transform 0.3s ease-in-out; /* Add transition for image scaling */
        /* If you have a default border on custom-circle-image, remove it if you want the thumb border to be the only one */
        border: 3px solid transparent; /* Make default transparent, border will be on .team-thumb */
    }


    /* Hover effects for team thumb */
    .team-thumb:hover {
        border-color: var(--dark-color); /* Darker border on hover */
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Subtle shadow on hover */
    }

        /* Image scaling on hover */
        .team-thumb:hover .custom-circle-image.team-image {
            transform: scale(1.08); /* Image becomes 8% larger */
        }

/* Ensure the team-image specific size is still applied, if not already handled by .custom-circle-image.team-image */
.custom-circle-image.team-image {
    width: 85px; /* From your existing CSS */
    height: 85px; /* From your existing CSS */
}

/* Ensure necessary margin for the image is applied as per your HTML */
.ms-5 {
    margin-left: 3rem !important;
}
/* Re-confirm this is what you want for spacing */
.me-4 {
    margin-right: 1.5rem !important;
}

    .custom-modal-btn {
        background: var(--grey-color);
        color: var(--white-color);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto 32px;
        width: 42px;
        height: 42px;
    }

    .modal-body {
        padding: 4rem;
    }

    .modal-header {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }

        .modal-header .btn-close {
            position: absolute;
            top: 0;
            right: 0;
            font-size: 24px;
            margin: 32px;
        }

    #cart-modal .modal-header .btn-close {
        z-index: 2;
        margin: 22px;
    }

    #cart-modal .modal-header {
        border-bottom: 0;
        padding: 0;
    }

    #cart-modal .modal-footer {
        padding: 2rem 4rem;
    }

    /*---------------------------------------
SKILL - PROGRESS BAR               
-----------------------------------------*/
    .skill-thumb strong {
        display: inline-block;
        margin-bottom: 6px;
    }

    .skill-thumb span {
        color: var(--dark-color);
        font-size: 24px;
        font-weight: var(--font-weight-bold);
    }

    .skill-thumb .progress {
        background: var(--white-color);
        box-shadow: none;
        border-radius: 100px;
        height: 1px;
        margin-bottom: 16px;
    }

        .skill-thumb .progress .progress-bar-primary {
            background: var(--grey-color);
        }

 
/*---------------------------------------
PRODUCT               
-----------------------------------------*/
.front-product {
    background: var(--section-bg-color);
}

/* Update the .product-thumb to control its size and internal layout */
.product-thumb {
    background: var(--white-color);
    position: relative;
    transition: all 0.5s ease-out;
    overflow: hidden;
    border-radius: 0.5rem; /* Added for a softer look */
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); /* Added for subtle depth */
    /* Using Flexbox to center the content vertically within the thumb */
    display: flex;
    flex-direction: column;
    height: 100%; /* Important: The containing column should have the height */
}

/* Create a new image wrapper to control the image size within the thumb */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    /* This height will determine the visible size of the image */
    height: 350px; /* ADJUST THIS VALUE TO MAKE THE THUMBNAILS BIGGER */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The actual image inside the wrapper */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without distortion */
    transition: all 0.5s ease-out;
}

.product-thumb:hover .product-image {
    transform: scale(1.05); /* Slight zoom on hover */
    filter: brightness(0.9);
}

/* The product-info overlay and other elements */
.product-info {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.product-thumb:hover .product-info {
    opacity: 1;
}

/* ... keep your other CSS rules below this ... */

/*.product-thumb {
    background: var(--white-color);
    position: relative;
    transition: all 0.5s ease-out;
    overflow: hidden;*/ /* Prevent content overflow */
    /*height: 300px;*/ /* Set a fixed height for the product image */
/*}

.product-image {
    transition: all 0.5s ease-out;
}

.product-thumb:hover .product-image {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
    filter: brightness(0.8);*/ /* Optional: dim the image on hover */
/*}


.product-info {
    opacity: 0;*/ /* Hide initially */
    /*transition: opacity 0.5s ease;
    position: absolute;*/ /* Position it over the image */
    /*top: 0;*/ /* Align to the top of the product image */
    /*left: 0;
    right: 0;
    bottom: 0;*/ /* Stretch to the bottom */
    /*padding: 10px;
    background: rgba(255, 255, 255, 0.8);*/ /* Semi-transparent background */
/*}

.product-thumb:hover .product-info {
    opacity: 1;*/ /* Show on hover */
/*}*/

.product-top {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 20px;
}

.product-description,
.product-cart-thumb {
    padding: 0 20px;
}

.product-icon {
    color: var(--white-color);
}

.product-title-link {
    color: var(--dark-color);
}

.product-additional-link {
    display: inline-block;
    vertical-align: top;
    font-size: var(--product-link-font-size);
    margin-top: 32px;
    margin-right: 12px;
}

.product-alert {
    background: var(--white-color);
    color: var(--p-color);
    font-size: var(--custom-link-font-size);
    font-weight: var(--font-weight-bold);
    padding: 3px 10px;
}

.product-p {
    font-size: var(--product-link-font-size);
}

    .view-all {
        text-transform: uppercase;
        color: var(--p-color);
        font-size: 13px;
        font-weight: var(--font-weight-bold);
        border-bottom: 2px solid var(--grey-color);
        padding-bottom: 6px;
    }

    /*---------------------------------------
CONTACT              
-----------------------------------------*/
    .contact-info {
        padding: 40px;
    }

    .contact-form .form-control {
        border-color: var(--grey-color);
        font-weight: var(--font-weight-normal);
    }

    .form-floating > label {
        color: var(--grey-color);
        font-weight: var(--font-weight-normal);
    }

    .contact-form button[type='submit'] {
        background: var(--dark-color);
        border: none;
        border-radius: 100px;
        color: var(--white-color);
        font-weight: var(--font-weight-bold);
        text-transform: uppercase;
        padding: 16px;
    }

        .contact-form button[type='submit']:hover {
            background: var(--primary-color);
        }

    /*---------------------------------------
SITE FOOTER               
-----------------------------------------*/
    .site-footer {
        background: var(--dark-color);
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .footer-menu {
        margin: 0;
        padding: 0;
    }

    .footer-menu-item {
        display: block;
        width: 50%;
    }

    .footer-menu-link {
        color: #6c757d;
        font-weight: var(--font-weight-light);
        display: inline-block;
        vertical-align: top;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .site-footer .social-icon-link {
        margin-top: 4px;
    }

        .site-footer .social-icon-link:hover,
        .footer-menu-link:hover {
            color: var(--white-color);
        }

    .copyright-text {
        font-size: var(--copyright-text-font-size);
    }

    /*---------------------------------------
SOCIAL ICON               
-----------------------------------------*/
    .social-icon {
        margin: 0;
        padding: 0;
    }

        .social-icon li {
            list-style: none;
            display: inline-block;
            vertical-align: top;
        }

    .social-icon-link {
        color: #6c757d;
        font-size: 1rem;
        display: inline-block;
        vertical-align: top;
        margin-bottom: 4px;
        margin-right: 15px;
    }

        .social-icon-link:hover {
            color: var(--primary-color);
        }

    /*---------------------------------------
RESPONSIVE STYLES               
-----------------------------------------*/
    @media screen and (max-width: 1200px) {
        h1 {
            font-size: 62px;
        }
    }

    @media screen and (max-width: 991px) {
        h1 {
            font-size: 42px;
            margin-bottom: 0;
        }

        h2 {
            font-size: 36px;
        }

        h3 {
            font-size: 32px;
        }

        h4 {
            font-size: 28px;
        }

        h5 {
            font-size: 24px;
        }

        h6 {
            font-size: 20px;
        }

        .lead {
            font-size: 16px;
        }

        .navbar-expand-lg .navbar-nav .nav-link {
            margin-top: 1rem;
        }

        .site-header {
            background-position: bottom;
        }

        #cart-modal .modal-header .btn-close {
            margin: 22px 14px;
        }

        .custom-btn {
            font-size: 14px;
            padding: 13.5px 20px;
        }

        .slick-slideshow .custom-btn {
            padding-right: 27px;
            padding-left: 27px;
        }

        .social-login,
        .div-separator {
            width: 75% !important;
        }

        #cart-modal .modal-footer .row {
            width: 100% !important;
        }

        .site-header.section-padding,
        .section-padding {
            padding-top: 4rem;
            padding-bottom: 4rem;
        }

        .site-header-image.section-padding {
            padding-bottom: 0;
        }

        .header-info {
            padding-top: 50px;
            padding-bottom: 100px;
        }

        .header-image {
            position: relative;
            top: auto;
            bottom: 0;
            left: 0;
            width: auto;
            height: auto;
        }

        .slick-testimonial-caption {
            padding: 6rem 3rem 4rem 3rem;
        }

        .slick-slideshow .slick-dots li {
            width: 25px;
            height: 25px;
        }

        .modal-header {
            padding-top: 6rem;
            padding-bottom: 2rem;
        }

        .modal-body {
            padding: 2rem;
        }

        #cart-modal .modal-footer {
            padding-right: 0;
            padding-left: 0;
        }

        #cart-modal .modal-body {
            padding: 4rem 2rem 2rem 2rem;
        }

        .full-image-img {
            bottom: 0;
        }
    }

    /*  my added styles */

    .logo:hover {
        transform: rotate(5deg); /* Rotate 5 degrees to the right */
    }


/* Custom Styles for Categories Page */

/* Main Majors Filter Section */
.major-filter-container {
    padding: 3rem 0; /* Adjust padding as needed */
    background-color: var(--section-bg-color);
    border-top: 1px solid var(--grey-color);
    margin-top: 120px
}

.major-filter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px; /* Soften edges */
    margin: 0 15px; /* Spacing between items */
    width:300px;
}

    .major-filter-item:hover {
        background-color: rgba(var(--primary-color-rgb), 0.05); /* Light hover background */
        transform: translateY(-5px); /* Subtle lift effect */
    }

    .major-filter-item.active {
        background-color: var(--primary-color);
        color: var(--white-color);
        box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    }

        .major-filter-item.active .major-filter-name {
            color: var(--white-color); /* Text color for active item */
        }

        .major-filter-item.active .custom-circle-image {
            border: 3px solid var(--white-color); /* White border for active image */
        }

    .major-filter-item img {
        /* Reusing custom-circle-image, but ensuring it's slightly larger for majors */
        width: 80px; /* Larger size for major images */
        height: 80px;
        object-fit: cover;
        border-radius: 50%; /* Ensure perfect circle */
        border: 3px solid var(--grey-color); /* Default border */
        transition: border-color 0.3s ease;
    }

.major-filter-name {
    margin-top: 10px;
    font-size: 18px; /* Slightly larger font for major names */
    font-weight: var(--font-weight-bold);
    color: var(--dark-color); /* Default text color */
    transition: color 0.3s ease;
}

/* Categories Grid Section */
.categories-grid-container {
    padding: 3rem 0;
}

.category-card {
    background-color: var(--white-color);
    border: 1px solid var(--grey-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

    .category-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        transform: translateY(-3px);
    }

.category-card-image {
    width: 100%;
    height: 200px; /* Fixed height for category images */
    object-fit: cover;
    border-bottom: 1px solid var(--grey-color);
}

.category-card-body {
    padding: 20px;
    flex-grow: 1; /* Allows content to push footer down */
    display: flex;
    flex-direction: column;
}

    .category-card-body h4 {
        font-size: var(--h5-font-size); /* Reusing h5 font size */
        margin-bottom: 10px;
        color: var(--dark-color);
    }

    .category-card-body p {
        font-size: var(--p-font-size); /* Reusing p font size */
        color: var(--p-color);
        flex-grow: 1; /* Allow description to take available space */
    }

.category-card-link {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .category-card-link:hover {
        text-decoration: underline;
    }

/* Utility for hiding/showing sections */
.major-categories-section {
    display: none; /* Hidden by default, shown by JS */
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .major-filter-item {
        margin: 0 10px 20px 10px; /* More vertical space on small screens */
    }

    .major-filter-container {
        padding: 2rem 0;
    }

    .category-card-image {
        height: 150px; /* Smaller images on small screens */
    }
}

/* Ensure primary-color-rgb variable is defined if not already */
:root {
    --primary-color-rgb: 195, 31, 38; /* RGB values for #c31f26 */
}


/* Custom Styles for Activities Index Page */

.activity-item {
    background: var(--white-color);
    overflow: hidden; /* Ensures image and text stay within bounds */
    display: flex; /* Use flexbox for side-by-side content */
    align-items: center; /* Vertically align image and text */
    margin-bottom: 2rem; /* Spacing between activity rows */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    padding-left:20px
}

    .activity-item:hover {
        background-color: var(--section-bg-color); /* Lighter background on hover */
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* More pronounced shadow */
    }

.activity-item-image-container {
    flex: 0 0 40%; /* Image takes 40% width */
    max-width: 40%;
    height: 250px; /* Fixed height for consistency */
    overflow: hidden; /* Hide overflowing parts of scaled image */
    position: relative; /* Needed for absolute positioning of the image */
}

.activity-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    transition: transform 0.3s ease-in-out; /* Transition for zoom effect */
}

.activity-item:hover .activity-item-image {
    transform: scale(1.05); /* Slight zoom on hover */
}

.activity-item-content {
    flex: 1; /* Content takes remaining space */
    padding: 20px 30px; /* Padding around text content */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.activity-date {
    font-size: var(--copyright-text-font-size); /* Reusing a smaller font size */
    color: var(--p-color);
    margin-bottom: 0.5rem;
    display: block; /* Ensures it's on its own line */
}

.activity-title {
    font-size: 28px; /* Slightly larger for emphasis */
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    text-decoration: none; /* Remove default underline */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

    .activity-title:hover {
        color: var(--primary-color); /* Primary color on hover */
    }

.activity-description {
    font-size: var(--p-font-size);
    color: var(--p-color);
    /* Limit description to a few lines if needed */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show maximum 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.activity-read-more {
    color: var(--primary-color);
    font-size: var(--product-link-font-size);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start; /* Aligns link to the start of the flex item */
    transition: all 0.3s ease;
}

    .activity-read-more i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .activity-read-more:hover {
        color: var(--dark-color);
        text-decoration: underline;
    }

        .activity-read-more:hover i {
            transform: translateX(5px); /* Slight arrow movement on hover */
        }


/* Responsive Adjustments */
@media (max-width: 991.98px) { /* Adjust for medium screens */
    .activity-item {
        flex-direction: column; /* Stack image and content vertically */
    }

    .activity-item-image-container {
        flex: none;
        max-width: 100%;
        height: 200px; /* Adjust height for smaller screens */
    }

    .activity-item-content {
        padding: 20px;
        text-align: center; /* Center text when stacked */
    }

    .activity-read-more {
        align-self: center; /* Center link when stacked */
    }
}

@media (max-width: 767.98px) { /* Adjust for small screens */
    .activity-item-image-container {
        height: 180px;
    }

    .activity-title {
        font-size: 24px;
    }

    .activity-description {
        font-size: 16px;
    }
}


/* Custom Styles for Activity Details Page */

.activity-details-section {
    padding-top: 6rem; /* Match section-padding */
    padding-bottom: 4rem; /* Match section-padding */
    background-color: var(--section-bg-color);
}

.activity-main-image-container {
    margin-bottom: 2rem;
    border-radius: .5rem; /* Slightly larger border-radius for main image */
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); /* Subtle shadow for main image */
}

.activity-main-image {
    width: 100%;
    height: 500px; /* Fixed height for consistency on larger screens */
    object-fit: cover;
    display: block;
}

/* Responsive adjustment for main image height */
@media (max-width: 991.98px) {
    .activity-main-image {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .activity-main-image {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .activity-main-image {
        height: 250px;
    }
}

.activity-thumbnails-wrapper {
    margin-bottom: 2rem;
    overflow-x: auto; /* Allow horizontal scrolling if many thumbnails */
    white-space: nowrap; /* Keep thumbnails in a single line */
    padding-bottom: 10px; /* Space for scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--primary-color) var(--grey-color); /* Firefox */
}

    /* Customize scrollbar for Webkit browsers */
    .activity-thumbnails-wrapper::-webkit-scrollbar {
        height: 8px;
    }

    .activity-thumbnails-wrapper::-webkit-scrollbar-track {
        background: var(--grey-color);
        border-radius: 10px;
    }

    .activity-thumbnails-wrapper::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 10px;
        border: 2px solid var(--grey-color);
    }


.activity-thumbnail-item {
    display: inline-block; /* Allows items to sit side-by-side */
    width: 120px; /* Fixed width for thumbnails */
    height: 90px; /* Fixed height for thumbnails */
    border: 2px solid transparent; /* Default transparent border */
    border-radius: .25rem;
    overflow: hidden;
    cursor: pointer;
    margin-right: 15px; /* Spacing between thumbnails */
    transition: all 0.2s ease-in-out;
    position: relative;
}

    .activity-thumbnail-item:last-child {
        margin-right: 0; /* No margin on the last item */
    }

    .activity-thumbnail-item:hover,
    .activity-thumbnail-item.active {
        border-color: var(--primary-color);
        box-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.5); /* Glowing effect */
    }

    .activity-thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.activity-content-block {
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: .25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

    .activity-content-block h2 {
        font-size: 38px; /* Slightly smaller than h2, but prominent */
        color: var(--dark-color);
        margin-bottom: 1rem;
    }

    .activity-content-block .activity-date {
        font-size: 18px; /* For date text */
        color: var(--p-color);
        font-weight: var(--font-weight-normal);
        margin-bottom: 1.5rem;
        display: block; /* Ensure it takes its own line */
    }

    .activity-content-block p {
        font-size: var(--p-font-size);
        line-height: 1.8;
        color: var(--p-color);
        margin-bottom: 1.5rem;
    }


/* Custom Styles for Fields Page */
/* Custom Styles for Fields Page (Revised) */

.fields-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--section-bg-color);
}

.field-item {
    position: relative;
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px; /* Fixed height to prevent shaking */
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    text-align: center;
    display: flex; /* Use flexbox for centering content */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Initial state for hover and scroll animation */
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    /* Initial state for scroll effect */
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    visibility: hidden;
}

    .field-item.animate-in {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .field-item:hover {
        box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.2);
        transform: translateY(-5px); /* Lift effect on hover */
    }

/* Overlay for readability */
.field-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.4s ease-in-out;
    z-index: 1;
}

.field-item:hover .field-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay on hover */
}

/* Content styling */
.field-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    padding: 1.5rem; /* Reduced padding slightly */
    transition: all 0.4s ease-in-out;
}

    .field-content h1 {
        font-size: 38px;
        margin-bottom: 1rem;
        color: var(--white-color);
        /* Optional: text-shadow for readability */
        /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    }

    .field-content p {
        font-size: var(--p-font-size);
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9); /* Slightly more opaque white */
        opacity: 0; /* Initially hidden */
        max-height: 0; /* Keep it collapsed */
        overflow: hidden; /* Hide overflow */
        transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
    }

.field-item:hover .field-content p {
    opacity: 1; /* Show on hover */
    max-height: 150px; /* Allow enough height for typical descriptions, adjust as needed */
    /* If max-height is still causing issues, consider making it a fixed-height container or showing as overlay */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .field-item {
        height: 300px; /* Adjust height for medium screens */
    }

    .field-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .field-item {
        height: 280px; /* Adjust height for small screens */
    }

    .field-content h1 {
        font-size: 28px;
    }

    .field-content p {
        font-size: 16px;
    }
}

/* Custom Styles for Products Page (Revised) */

/* Header Text (Changed) */
.products-header-title {
    font-size: 3.5rem; /* Adjust as needed for your desired scale */
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--dark-color);
}

.products-header-subtitle {
    font-size: 1.5rem;
    color: var(--p-color);
    margin-top: 1rem;
    font-weight: var(--font-weight-normal);
}

/* Product Item Hover Effect */
.product-thumb {
    position: relative;
    overflow: hidden; /* Crucial for hover effects */
    border-radius: .5rem; /* Consistent border-radius */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease-in-out;
    background-color: var(--white-color); /* Ensure a background color */
    height: 100%; /* Make sure product cards are of equal height */
    display: flex;
    flex-direction: column;
}

    .product-thumb:hover {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
        transform: translateY(-5px); /* Lift effect */
    }

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 100%;
    height: 250px; /* Fixed height for product images */
}

    .product-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
        display: block;
    }

.product-thumb:hover .product-image-wrapper img {
    transform: scale(1.05); /* Slight zoom on image hover */
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1; /* Allows info to push details/features down */
    display: flex;
    flex-direction: column;
}

.product-title {
    margin-bottom: 0.5rem;
}

.product-title-link {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.5rem; /* Slightly larger title */
    font-weight: var(--font-weight-bold);
}

    .product-title-link:hover {
        color: var(--primary-color);
    }

.product-p {
    font-size: var(--p-font-size);
    color: var(--p-color);
    margin-bottom: 1rem;
    display: -webkit-box; /* For multiline truncation */
    -webkit-line-clamp: 2; /* Limit description to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features Overlay */
.product-features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.9); /* Primary color overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align text to left */
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* Start from bottom */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
    z-index: 5; /* Above product info */
}

.product-thumb:hover .product-features-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slide up into view */
}

.product-features-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Ensure ul takes full width */
}

.product-features-overlay li {
    color: var(--white-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

    .product-features-overlay li span {
        font-weight: var(--font-weight-bold);
        margin-right: 5px;
    }

    .product-features-overlay li b {
        font-weight: var(--font-weight-normal); /* Value should not be bold if name is */
    }

/* Pagination Styling */
.pagination {
    margin-top: 3rem; /* Space above pagination */
}

.page-item .page-link {
    background-color: var(--white-color);
    border-color: var(--grey-color);
    color: var(--dark-color);
    border-radius: .25rem; /* Consistent border-radius */
    margin: 0 5px; /* Spacing between pagination items */
    transition: all 0.3s ease-in-out;
}

    .page-item .page-link:hover {
        background-color: rgba(var(--primary-color-rgb), 0.1); /* Light primary tint on hover */
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 3px 10px rgba(var(--primary-color-rgb), 0.3);
}

.page-item.disabled .page-link {
    background-color: var(--grey-color);
    border-color: var(--grey-color);
    color: var(--p-color);
    opacity: 0.6;
}

/* Custom CSS for Hero Section Slick Slideshow - REVISED */

/* Ensure the main container for each slide has relative positioning
   and a defined height for absolute children to reference. */
.slick-custom {
    position: relative; /* CRUCIAL: Enables absolute positioning for children */
    height: 600px; /* IMPORTANT: Define a fixed height for your slides */
    overflow: hidden; /* Ensures nothing spills out of the slide area */
    display: block; /* Ensures it behaves as a block element */
}

    /* Ensure the image within each slide covers the space correctly */
    .slick-custom img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures image covers the area without distortion */
        position: absolute; /* Positions image to fill the .slick-custom space */
        top: 0;
        left: 0;
        z-index: 1; /* Places the image behind the text content */
    }

/* The container for your text and button content */
.slick-bottom {
    position: absolute; /* Positions relative to .slick-custom */
    bottom: 0; /* Anchor to the bottom of .slick-custom */
    left: 0;
    width: 100%;
    padding: 50px 0; /* Add consistent vertical padding (top and bottom) */
    /* text-align: center; /* Optional: if you want content centered horizontally */
    z-index: 10; /* Ensures it's above the image */
    pointer-events: auto; /* Re-enable clicks/selection for this container */
    box-sizing: border-box; /* Include padding in element's total width and height */
    /* Optional: add a subtle gradient background for readability */
    /* background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); */
}

    /* Ensure the actual text and buttons are clickable and selectable */
    .slick-bottom .container,
    .slick-bottom .col-lg-6,
    .slick-bottom .slick-title,
    .slick-bottom p.lead,
    .slick-bottom .custom-btn {
        position: relative; /* Create a new stacking context for children */
        z-index: 11; /* Ensure these are above any potential overlay from slick-bottom */
        pointer-events: auto; /* Explicitly re-enable pointer events */
    }

/* Make sure slick-list and slick-track allow clicks to pass through */
.slick-list,
.slick-track {
    pointer-events: none; /* Make these elements ignore mouse events */
}

/* Ensure the overall slider container allows interaction */
.slick-slider {
    pointer-events: auto; /* Re-enable pointer events for the main slider element */
    z-index: 1; /* General z-index for the slider itself */
}
.slick-bottom .lead span {
    background-color: rgba(0, 0, 0, 0.7); /* Light gray background for the paragraph block */
    word-wrap:anywhere;
    line-height:17px;
     
}
.slick-bottom  .custom-btn {
    margin-top: 30px;
    display: inline-block;
}

/* ========================================================= */
/* --- PRODUCT DETAILS PAGE --- */
/* ========================================================= */

.product-details {
    background-color: var(--section-bg-color);
    padding-top:200px;
}

.product-details-image {
    max-height: 500px; /* Constrain image height for consistent look */
    object-fit: contain; /* Prevents stretching and shows the whole image */
    background-color: var(--white-color); /* Clean background for the image container */
    padding: 1.5rem; /* Padding inside the card-like container */
    border: 1px solid var(--border-color); /* Light border */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.product-details-content {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: .5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 100%; /* Make the content card equal height to the image container */
}

.product-details-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-details-date {
    font-size: var(--small-font-size);
    margin-bottom: 2rem;
    color: var(--p-color);
}

.product-details-description {
    font-size: var(--p-font-size);
    color: var(--p-color);
    line-height: 1.8;
}

.product-details-features-heading {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.product-details-features-list {
    list-style: none;
    padding-left: 0;
}

    .product-details-features-list li {
        font-size: var(--p-font-size);
        color: var(--p-color);
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
    }

        .product-details-features-list li .feature-icon {
            color: var(--primary-color);
            font-size: 1.25rem;
            margin-right: 1rem;
        }

/* --- RELATED PRODUCTS SECTION --- */
.related-products-heading {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
}

/* Re-use existing product-thumb and product-info styles from other pages */
/* The styles for .product-thumb, .product-image-wrapper, .product-info,
   and their children should already be in your CSS file from our previous discussions.
   We don't need to duplicate them here. */