                                  /* Custom CSS  */
/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    /* overflow-x:hidden ; */
}

.navbar a.active {
    color: #1abc9c; /* Green color for active link */
    border-bottom: 2px solid #1abc9c; /* Green bottom border */
    padding-bottom: 5px; /* Add some space between text and bottom line */
}



/* Go to Top Button Styles */
#goToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1abc9c;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

#goToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slide up smoothly */
}

#goToTop:hover {
    background-color: #16a085;
    transform: scale(1.1); /* Slight zoom on hover */
}

#goToTop svg, #goToTop i {
    fill: white; /* For SVG */
    color: white; /* For FontAwesome */
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

#goToTop:hover svg, #goToTop:hover i {
    color: #1abc9c; /* Change icon color on hover */
}

/* Media query for small devices */
@media (max-width: 576px) {
    #goToTop {
        bottom: 20px;
        right: 20px;
        padding: 10px;
    }
}



/* Media query for small devices */
@media (max-width: 576px) {
    #goToTop {
        bottom: 20px;
        right: 20px;
        padding: 10px;
    }
}






/* Loader Container */
 .loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff; 
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
} 
/* Loader Hidden State */
 .loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
} 
 
.loader.hidden {
    display: none; /* Completely remove it from the layout */
}


/* Ripple Style */
    .loader .ripple {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 4px solid #1abc9c; 
    border-radius: 50%;
    animation: ripple 1.2s infinite ease-in-out;
} 

/* Ripple Animation */
 .loader .ripple:nth-child(2) {
    animation-delay: -0.6s;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
} 









/* Navbar Wrapper */
.navbar-wrapper {
    position: fixed;
    width: 100%;
    z-index: 80;
    /* background: rgba(255, 255, 255, 0.9); */
    background: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Navbar Style */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

/* Basic logo styling */
.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    height: 40px;
    display: inline-block;
    transition: color 0.3s ease;
}

.logo img {
    height: 60px;
    transition: transform 0.6s ease;
}

/* Keyframe animation for pulsing */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Apply pulse animation */
.logo a:hover {
    color: #1abc9c; /* Change text color on hover */
}

.logo img:hover {
    animation: pulse 1s ease infinite; /* Pulse animation */
}


/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #1abc9c; /* Green color on hover */
    transform: translateX(5px); /* Translate X effect on hover */
}

.nav-links a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #1abc9c;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-links a:hover::after {
    width: 100%;
}


/* Initial Styles for Navbar Icons */
.navbar-icons {
    display: flex;
    gap: 15px;
    /* Ensure this section is only shown on large devices */
    display: none; /* Hidden by default */
}

.navbar-icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 24px;
    background-color: #1abc9c;
    color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    position: relative;
}

.navbar-icons .icon:hover {
    transform: scale(1.2);
    background-color: #17a589;
}

.navbar-icons .icon i {
    transition: opacity 0.3s ease;
}

.navbar-icons .icon:hover .fa-user {
    opacity: 0; /* Hide the login icon */
}

.navbar-icons .icon:hover .fa-user {
    opacity: 1; /* Show the hiking icon */
    color: white;
}

/* Font Awesome hiking icon hidden initially */
.navbar-icons .icon .fa-hiking {
    opacity: 0; /* Hidden by default */
}

/* Show navbar icons only on large devices */
@media (min-width: 992px) {
    .navbar-icons {
        display: flex;
    }
}




        /* Login Icon Style */
        .login-icon {
            font-size: 1.5rem; /* Adjust size as needed */
            color: #333; /* Default color */
            cursor: pointer;
            transition: color 0.3s ease, transform 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        /* Hover Effect */
        .login-icon:hover {
            color: #1abc9c; /* Light blue color on hover */
            transform: scale(1.1); /* Slight zoom effect */
        }

        /* Change to Hiking Icon on Hover */
        .login-icon:hover .fa-sign-in-alt {
            display: none; /* Hide login icon */
        }

        .login-icon:hover .fa-hiking {
            display: inline; /* Show hiking icon */
        }

        /* Hide Hiking Icon by Default */
        .login-icon .fa-hiking {
            display: none;
        }
/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hide off-screen to the right initially */
        height: 100vh;
        width: 200px;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .fas{
        font-size: 14px;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger-menu {
        display: flex;
    }

    

    /* Active state for mobile menu */
    .nav-active .nav-links {
        right: 0; /* Show side nav from right */
    }

    .nav-active .hamburger-menu span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-active .hamburger-menu span:nth-child(2) {
        opacity: 0;
    }

    .nav-active .hamburger-menu span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 576px) {
    .search-bar{
        display: none;
    }
    

    .hamburger-menu span {
        width: 20px; /* Smaller size for the hamburger icon */
    }

    .nav-links li {
        margin: 1rem 0; /* Adjust spacing for the nav items */
    }
}


/* Top Bar Wrapper */
.topbar-wrapper {
    display: none; /* Hidden by default */
    background-color: #1abc9c; /* Background color */
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Fixed position */
    width: 100%;
    height: 10px;
    top: 0; /* Positioned at the top */
    z-index: 100; /* Ensure it appears above other content */
}

/* Top Bar Styles */
.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: #1abc9c; /* Light background color for the topbar */
}

/* Social Icons on the Left */
.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: #fff; /* White color for the icons */
    font-size: 1.2rem;
    margin-right: 1rem;
    padding: 0.3rem;
    border-radius: 50%; /* Rounded icons */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}


/* Social Icons Hover Effect */
.social-icons a:hover {
    background-color: #1abc9c; /* Change background on hover */
    color: #fff; /* Ensure icon color stays white */
    transform: scale(1.1); /* Slightly enlarge the icon */
}

/* Add Shadow on Hover */
.social-icons a:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

/* Icon-Specific Hover Colors */
.social-icons a.facebook:hover {
    background-color: #1abc9c; /* Green color on hover */
}

.social-icons a.instagram:hover {
    background-color: #1abc9c; /* Green color on hover */
}


/* Icons in Top Bar (Aligned to Right) */
.topbar-icons {
    display: flex;
    align-items: center;
    margin-left: auto; /* Align to the right */
}

/* Topbar Icon Styles */
.topbar-icon {
    font-size: 1.5rem;
    color: #333;
    margin-left: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.topbar-icon:hover {
    color: #1abc9c;
    animation: pulse 1s infinite; /* Creates a pulsing effect */
    transition: color 0.3s ease;
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Scales up slightly */
    }
    100% {
        transform: scale(1);
    }
}



/* Change to Hiking Icon on Hover */
.topbar-icon:hover .fa-sign-in-alt {
    display: none; /* Hide login icon */
}

.topbar-icon:hover .fa-hiking {
    display: inline; /* Show hiking icon */
}

/* Hide Hiking Icon by Default */
.topbar-icon .fa-hiking {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .topbar-wrapper {
        display: block; /* Show top bar on mobile */
    }

    /* Ensure Topbar is above Navbar */
    .navbar-wrapper {
        margin-top: 2.7rem; /* Adjust based on top bar height */
    }
}


/* Hero Section Styles */
.hero {
position: relative;
height: 100vh;
width: 100%;
overflow: hidden;
z-index: 10;
}

.swiper-container {
height: 100%;
width: 100%;
}

.swiper-slide {
position: relative;
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
background-position: center;
}

.swiper-slide:nth-child(1) {
background-image: url('./hero\ bg.jpg'); /* Replace with your image */
}

.swiper-slide:nth-child(2) {
background-image: url('./carousel\ 2.jpg'); /* Replace with your image */
}

.swiper-slide:nth-child(3) {
background-image: url('./carousel\ 3.jpg'); /* Replace with your image */
}

.slide-content {
text-align: center;
color: #fff;
max-width: 800px;
margin-top: 170px;
padding: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
}

.slide-content h1 {
font-size: 3rem;
margin-bottom: 20px;
opacity: 0;
transform: translateY(50px);
}

.slide-content p {
font-size: 1.2rem;
margin-bottom: 30px;
opacity: 0;
transform: translateY(50px);
}

.cta-button {
display: inline-block;
padding: 15px 30px;
font-size: 1rem;
color: #fff;
background-color: #1abc9c;
text-decoration: none;
border-radius: 30px;
opacity: 0;
transform: scale(0.8);
transition: background-color 0.3s ease;
}

.cta-button:hover {
background-color: #16a085;
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
color: #fff;
transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
color: #1abc9c;
}

.swiper-pagination-bullet {
background: rgba(255, 255, 255, 0.7);
opacity: 1;
}

.swiper-pagination-bullet-active {
background: #1abc9c;
}







/* Basic dropdown menu styles */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    width: 160px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f1f1f1;
}
/* Ensuring dropdown containers close properly */
.nav-links li {
    position: relative; /* Make sure each list item is positioned correctly */
}

.nav-links li:hover .dropdown-menu,
.nav-links li:hover .nested-menu {
    display: block; /* Ensure all dropdowns are visible on hover */
}





/* Features Section Styles */
.features {
padding: 2rem 0;
/* background-color: #f9f9f9; */
background: transparent;
}

.features .container {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 1200px;
margin: auto;
}

.feature-item {
flex: 1 1 200px; /* Flex-grow, flex-shrink, flex-basis */
text-align: center;
margin: 1rem;
padding: 1.5rem;
background-color: #fff;
border-radius: 8px;
/* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
}

.feature-item i {
font-size: 2rem;
color: #1abc9c;
margin-bottom: 1rem;
}

.feature-item h3 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
color: #333;
}

.feature-item p {
font-size: 1rem;
color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
.feature-item {
flex: 1 1 100%;
}
}

@media (max-width: 576px) {
.feature-item i {
font-size: 1.5rem;
}

.feature-item h3 {
font-size: 1rem;
}

.feature-item p {
font-size: 0.875rem;
}
}


.feature-item.visible {
animation: fadeIn 0.6s ease-out forwards;
}



/* Add fade-in animation for the features section */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.features .feature-item {
animation: fadeIn 0.6s ease-out;
opacity: 0;
transform: translateY(20px);
animation-fill-mode: both;
}

/* Delay animations for each feature item */
.feature-item:nth-child(1) {
animation-delay: 0.2s;
}

.feature-item:nth-child(2) {
animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
animation-delay: 0.6s;
}

.feature-item:nth-child(4) {
animation-delay: 0.8s;
}




/* About Us Section */
.about-us {
    transition: background-color 0.5s ease;
    margin-top: 30px;
    margin-bottom: 30px;
    
}






.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add padding for small screens */
}

.about-us-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem;
    align-items: center;
    animation: slideInUp 1s ease-in-out; /* Slide-in animation for the content */
}

.about-us-text {
    flex: 1;
    max-width: 100%;
    animation: fadeInLeft 1s ease-in-out; /* Fade-in and slide-in animation for text */
}

.about-us-text h2 {
    overflow: hidden; /* Ensures the content doesn’t overflow */
    border-right: .15em solid #333; /* The typewriter cursor effect */
    white-space: nowrap; /* Keeps text in a single line */
    animation: typing 3s steps(30, end), blink 0.75s step-end infinite;
    font-size: 37px;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.about-us-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.about-us-image {
    flex: 1;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-in-out; /* Fade-in and slide-in animation for the image */
}

.about-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease; /* Smooth scaling effect */
}

.about-us-image img:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-us-text h2 {
        font-size: 32px;
    }
    .about-us-content {
        gap: 1.5rem; /* Adjust the gap for medium-sized screens */
    }
}

@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column; /* Stack content vertically on smaller screens */
        text-align: center; /* Center text and image */
    }
    .about-us-text h2 {
        font-size: 28px; /* Adjust heading size for smaller screens */
    }
    .about-us-text p {
        font-size: 0.95rem; /* Adjust paragraph size for better readability */
    }
}

@media (max-width: 480px) {
    .about-us-text h2 {
        font-size: 24px; /* Smaller font size for mobile */
    }
    .about-us-text p {
        font-size: 0.9rem; /* Slightly smaller paragraph text */
    }
    .about-us-image img {
        width: 90%; /* Reduce image size on mobile devices */
    }
}




/* Sale Section Styles */
.sale-section {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding: 2rem;
background: #f9f9f9;
}

.sale-card {
width: 550px;
height: 250px;
margin: 1rem;
border-radius: 10px;
position: relative;
overflow: hidden;
background-color: pink; /* Default color */
transition: transform 0.6s ease, box-shadow 0.6s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 1rem;
display: flex;
align-items: center;
color: #fff;
}

.sale-card:nth-of-type(2) {
background-color: lightblue; /* Second card color */
}

.sale-card img {
width: 200px;
height: auto;
position: absolute;
bottom: 30px;
right: 10px;
transition: transform 0.3s ease;
}

.sale-card .text-content {
text-align: left;
flex: 1;
z-index: 4;
padding-left: 3rem; /* Adjust this value as needed */
}


.sale-card h3 {
font-size: 1.5rem;
margin: 0.5rem 0;

}

.sale-card p {
font-size: 1.2rem;
margin: 0.5rem 0;
}

/* Ensure the button is visible and positioned correctly */
.sale-card .btnshop {
border: 2px solid #fff;
background: transparent;
color: #fff;
padding: 0.5rem 1rem;
text-decoration: none;
border-radius: 5px;
display: inline-flex;
align-items: center;
font-size: 1rem;
transition: all 0.3s ease;
position: relative;
z-index: 2;
overflow: hidden;
margin-top: 10px; /* Added margin for spacing */
}

.sale-card .btnshop i {
margin-left: 5px;
transition: transform 0.3s ease;
}

.sale-card .btnshop:hover {
background-color: #fff;
color: #000;
border: 2px solid #fff;
}

.sale-card .btnshop:hover i {
transform: translateX(5px);
}

.sale-card:hover img {
transform: translateX(10px);
}

/* Animations on Scroll */
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

.sale-card:nth-of-type(odd) {
transform: translateX(-100%);
}

.sale-card:nth-of-type(even) {
transform: translateX(100%);
}

.sale-card.visible:nth-of-type(odd) {
transform: translateX(0);
}

.sale-card.visible:nth-of-type(even) {
transform: translateX(0);
}





.best-sells-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 30px;
    color: #333;
}

.heading-line {
    content: '';
    display: inline-block;
    width: 50px;
    height: 2px;
    /* background-color: #333; */
    background-color: #16a085;
    margin: 0 15px;
    vertical-align: middle;
}

.best-sells-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.item-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: relative;
    color: #fff; /* Text color to ensure visibility on colored backgrounds */
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.icon-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.icon-overlay i {
    font-size: 1.5rem;
    color: black; /* Default color */
    border-radius: 50%;
    padding: 5px;
    transition: color 0.3s ease-in-out;
}

.icon-overlay i:hover {
    color: #1abc9c; /* Your theme color */
    background-color: white;
}

.item-info {
    padding: 15px;
    text-align: center;
}

.item-info h3 {
    font-size: 1.5rem;
}

.item-info p {
    font-size: 1.2rem;
    margin-top: 5px;
}

.item-card:hover .image-container img {
    transform: scale(1.1);
}

.item-card:hover .icon-overlay {
    opacity: 1;
}

.item-card:hover {
    transform: translateY(-5px);
}

.add-to-cart-btn {
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.add-to-cart-btn i {
    font-size: 1.2rem;
}

.card-light-blue .add-to-cart-btn {
    background-color: #8ac4ff; /* Match button color with card */
}

.card-baby-pink .add-to-cart-btn {
    background-color: #f7a3a3; /* Match button color with card */
}

.card-light-green .add-to-cart-btn {
    background-color: #a3d9a5; /* Match button color with card */
}

.card-light-yellow .add-to-cart-btn {
    background-color: #fdf2b2; /* Match button color with card */
}

.add-to-cart-btn:hover {
    transform: scale(1.05); /* Slightly larger on hover */
}

.card-light-blue .add-to-cart-btn:hover {
    background-color: #6ca9e6; /* Darker shade for hover effect */
}

.card-baby-pink .add-to-cart-btn:hover {
    background-color: #e07e7e; /* Darker shade for hover effect */
}

.card-light-green .add-to-cart-btn:hover {
    background-color: #8ecf8b; /* Darker shade for hover effect */
}

.card-light-yellow .add-to-cart-btn:hover {
    background-color: #f9e7a1; /* Darker shade for hover effect */
}

@media (max-width: 576px) {
    .section-heading {
        font-size: 2rem;
    }

    .item-info h3 {
        font-size: 1.3rem;
    }

    .item-info p {
        font-size: 1rem;
    }
}


 




.explore-collection-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.collection-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.collection-name {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Default overlay color */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
    color: #fff; /* Default text color */
}

.checkout-text {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.checkout-text i {
    margin-left: 8px;
    transition: transform 0.5s linear;
}

.card-light-blue .overlay {
    background-color: rgba(0, 153, 255, 0.7); /* Light Blue overlay */
}

.card-baby-pink .overlay {
    background-color: rgba(255, 182, 193, 0.7); /* Baby Pink overlay */
}

.card-light-green .overlay {
    background-color: rgba(144, 238, 144, 0.7); /* Light Green overlay */
}

.card-light-yellow .overlay {
    background-color: rgba(255, 255, 153, 0.7); /* Light Yellow overlay */
}

.card-light-blue:hover .overlay,
.card-baby-pink:hover .overlay,
.card-light-green:hover .overlay,
.card-light-yellow:hover .overlay {
    opacity: 2;
}

.card-light-blue:hover .checkout-text i,
.card-baby-pink:hover .checkout-text i,
.card-light-green:hover .checkout-text i,
.card-light-yellow:hover .checkout-text i {
    transform: translateX(10px); /* Translate continuously */
    animation: translateXContinuous 1.5s infinite linear; /* Continuous translation */
}

@keyframes translateXContinuous {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px);
    }
}

@media (max-width: 576px) {
    .section-heading {
        font-size: 1.7rem;
    }

    .collection-name {
        font-size: 1rem;
    }

    .checkout-text {
        font-size: 1.2rem;
    }
}






/* New Arrival Section Styles */
.new-arrival-section {
    padding: 2rem;

    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align cards horizontally */
}





/* Card Styles */
.arrival-card {
    width: 300px;
    margin: 1rem;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0; /* Hidden initially */
    transform: translateY(30px); /* Start slightly off-screen */
    transition: transform 0.6s ease, opacity 0.6s ease;
    position: relative;
}

/* Card Image */
.arrival-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card Text Content */
.arrival-card .text-content {
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.arrival-card .text-content h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #333;
}

.arrival-card .text-content p {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #777;
}

.arrival-card .pricing {
    margin: 1rem 0;
}

.new-price {
    font-size: 1.5rem;
    color: #27ae60;
}

/* Overlay Styles */
.arrival-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 231, 161, 0.8); /* Updated color with opacity */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex-direction: column;
    padding: 1rem;
}

.arrival-card:hover .overlay {
    opacity: 1;
}

.arrival-card .overlay a {
    color: #fff;
    text-decoration: none;
    background-color: #e3cd0a;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0.5rem 0;
    width: 80%;
    text-align: center;
}

.arrival-card .overlay a:hover {
    background-color:  #8a7d02;
    transform: scale(1.1);
}

/* Loading Spinner */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .arrival-card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .arrival-card {
        width: 100%;
    }

    .arrival-card .text-content {
        padding: 0.5rem;
    }
}






/* Community & Events Section */
.community-events {
    padding: 2rem;
    background: linear-gradient(to right, #ff9a9e, #fad0c4); /* Colorful gradient background */
    text-align: center;
    color: #fff;
}

.community-events .section-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    animation: fadeInUp 1s ease-in-out; /* Animation on heading */
}

/* Events Container */
.events-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Event Card */
.event-card {
    width: 300px;
    margin: 1rem;
    border-radius: 10px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    opacity: 0; /* Hidden initially */
    transform: translateY(20px);
}

.event-card:hover {
    transform: scale(1.05); /* Slightly larger on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Event Card Image */
.event-card .event-image {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.1); /* Slightly zoom in image on hover */
}

/* Event Card Heading */
.event-card h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

/* Event Card Paragraph */
.event-card p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background-color: #e07e7e; /* Original color */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #c07d7d; /* Slightly darker color on hover */
    transform: scale(1.05); /* Bouncy hover effect */
}

.btn-primary {
    background-color: #e07e7e !important;
}

.btn-primary:hover {
    background-color: #c07d7d !important;
}


/* Responsive Design */
@media (max-width: 768px) {
    .event-card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .event-card {
        width: 100%;
    }
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden Class for Animation */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}





/* Free Books Section */
.free-books-section {
    padding: 4rem 1rem;
    background: #f5f5f5;
    text-align: center;
    overflow: hidden; /* Ensures animations do not overflow */
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Card Container and Animation */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 22%; /* Adjusted width to fit 4 cards per row */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUpCard 1s ease-out forwards;
}

.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Card Colors */
.card-blue {
    background: #e3f2fd; /* Light Blue */
}

.card-green {
    background: #e8f5e9; /* Light Green */
}

.card-orange {
    background: #fff3e0; /* Light Orange */
}

.card-purple {
    background: #f3e5f5; /* Light Purple */
}

/* Overlay Colors for Each Card */
.card-blue .overlay {
    background: rgba(0, 123, 255, 0.6); /* Blue Overlay */
}

.card-green .overlay {
    background: rgba(56, 142, 60, 0.6); /* Green Overlay */
}

.card-orange .overlay {
    background: rgba(255, 152, 0, 0.6); /* Orange Overlay */
}

.card-purple .overlay {
    background: rgba(156, 39, 176, 0.6); /* Purple Overlay */
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #1abc9c;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Default dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .overlay {
    opacity: 1;
}

.icon-button {
    color: #fff;
    font-size: 2rem;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Icon Colors on Hover */
.card-blue .icon-button:hover {
    color: #0d6efd; /* Blue */
}

.card-green .icon-button:hover {
    color: #388e3c; /* Green */
}

.card-orange .icon-button:hover {
    color: #ffa000; /* Orange */
}

.card-purple .icon-button:hover {
    color: #ab47bc; /* Purple */
}

.icon-button {
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-button:hover {
    transform: scale(1.2);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 500px;
    }
}



/* Section Title Animation */
.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInUp 1s ease-out forwards, textGlow 1.5s ease-in-out infinite;
}

/* Card Title Animation */
.card-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards, textGlow 1.5s ease-in-out infinite;
}

/* Card Description Animation */
.card-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards, textGlow 1.5s ease-in-out infinite;
}

/* Button Animation */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    color: #fff;
    background-color: #1abc9c;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards, buttonPulse 1.5s ease-in-out infinite;
}

/* Keyframes for Text Glow Animation */
@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    }
}

/* Keyframes for Button Pulse Animation */
@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Hover Effects for Text and Buttons */
/* Base CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    color: #fff;
    background-color: #1abc9c; /* Default color */
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* CTA Button Hover Effect */
.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Button Colors for Different Cards */

/* Blue Card */
.card-blue .cta-button {
    background-color: #1e88e5; /* Dark Blue */
}

.card-blue .cta-button:hover {
    background-color: #1565c0; /* Darker Blue */
}

/* Green Card */
.card-green .cta-button {
    background-color: #388e3c; /* Dark Green */
}

.card-green .cta-button:hover {
    background-color: #2c6d3f; /* Darker Green */
}

/* Orange Card */
.card-orange .cta-button {
    background-color: #fb8c00; /* Dark Orange */
}

.card-orange .cta-button:hover {
    background-color: #e65100; /* Darker Orange */
}

/* Purple Card */
.card-purple .cta-button {
    background-color: #8e24aa; /* Dark Purple */
}

.card-purple .cta-button:hover {
    background-color: #6a1b9a; /* Darker Purple */
}


/* Base Card Heading Styles */
.card-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* Heading Colors for Different Cards */

/* Blue Card */
.card-blue .card-content h3 {
    color: black; /* Blue */
}

.card-blue .card-content h3:hover {
    color: #1565c0; /* Darker Blue */
}

/* Green Card */
.card-green .card-content h3 {
    color: black; /* Green */
}

.card-green .card-content h3:hover {
    color: #2c6d3f; /* Darker Green */
}

/* Orange Card */
.card-orange .card-content h3 {
    color: black; /* Orange */
}

.card-orange .card-content h3:hover {
    color: #e65100; /* Darker Orange */
}

/* Purple Card */
.card-purple .card-content h3 {
    color: black; /* Purple */
}

.card-purple .card-content h3:hover {
    color: #6a1b9a; /* Darker Purple */
}


.card-content p:hover {
    color: #555; /* Slightly darker color on hover */
}











.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    --overlay-color: rgba(0, 0, 0, 0.6); /* Default overlay color */
}

.gallery-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Media queries for responsive behavior */
@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(6, 1fr);
    }
}

.gallery-item::before {
    content: "\f06e"; /* FontAwesome icon code for 'eye' */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Ensure this matches the style of the icon you are using */
    position: absolute;
    bottom: -100%; /* Start below the item */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color); /* Use the variable for color */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.4s ease-in-out;
    font-size: 24px; /* Adjusted size for better visibility */
    opacity: 0; /* Initially hidden */
    backdrop-filter: blur(8px); /* Add blur effect */
}

.gallery-item:hover::before {
    bottom: 0; /* Slide up to cover the item */
    opacity: 1; /* Make the text visible */
}

.gallery-item:hover img {
    opacity: 0.3; /* Dim the image on hover */
}

/* Specific colors for different items */
.gallery-item:nth-child(1) {
    --overlay-color: #1abc9c;; /* Red overlay */
}

.gallery-item:nth-child(2) {
    --overlay-color: #f5cc25 ; /* Green overlay */
}

.gallery-item:nth-child(3) {
    --overlay-color: #ef6eb7; /* Blue overlay */
}

.gallery-item:nth-child(4) {
    --overlay-color:#5f7ebd ; /* Yellow overlay */
}

.gallery-item:nth-child(5) {
    --overlay-color:#e2b8a2 ; /* Orange overlay */
}

.gallery-item:nth-child(6) {
    --overlay-color:#a8d8ea; ; /* Orange overlay */
}

.gallery-item:nth-child(7) {
    --overlay-color: #d1e8e2;; /* Orange overlay */
}

.gallery-item:nth-child(8) {
    --overlay-color:#ffb3ba ; /* Orange overlay */
}

.gallery-item:nth-child(9) {
    --overlay-color: #ffdfba ; /* Orange overlay */
}

.gallery-item:nth-child(10) {
    --overlay-color: #ffffba ; /* Orange overlay */
}

.gallery-item:nth-child(11) {
    --overlay-color: #baffc9 ; /* Orange overlay */
}

.gallery-item:nth-child(12) {
    --overlay-color: #bae1ff;  /* Orange overlay */
}

/* Add more as needed */

/* Keyframes for fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Adjust the distance as needed */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add the animation class */
.fade-up {
    opacity: 0; /* Initial state */
    animation: fadeUp 1s forwards; /* Animation effect */
}

/* Apply staggered delays for each item */
.fade-up:nth-child(1) {
    animation-delay: 0.1s;
}
.fade-up:nth-child(2) {
    animation-delay: 0.2s;
}
.fade-up:nth-child(3) {
    animation-delay: 0.3s;
}
.fade-up:nth-child(4) {
    animation-delay: 0.4s;
}
.fade-up:nth-child(5) {
    animation-delay: 0.5s;
}
.fade-up:nth-child(6) {
    animation-delay: 0.6s;
}
.fade-up:nth-child(7) {
    animation-delay: 0.7s;
}
.fade-up:nth-child(8) {
    animation-delay: 0.8s;
}
.fade-up:nth-child(9) {
    animation-delay: 0.9s;
}
.fade-up:nth-child(10) {
    animation-delay: 1s;
}
.fade-up:nth-child(11) {
    animation-delay: 1.1s;
}
.fade-up:nth-child(12) {
    animation-delay: 1.2s;
}











.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from { transform: scale(0) }
    to { transform: scale(1) }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

















/* Newsletter Section */
.newsletter {
    padding: 4rem;
    background: linear-gradient(to right, #f0f0f0, #ffffff); /* Subtle gradient background */
    text-align: center;
    color: #333;
    position: relative;
    overflow: hidden; /* Ensure background elements don't overflow */
}

/* Section Heading */
.newsletter .section-heading {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
    animation: fadeInUp 1s ease-in-out; /* Animation on heading */
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* Ensure contents fit within the form */
}

/* Newsletter Form Input */
.newsletter-form input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    border-color: #27ae60; /* Green border on focus */
    outline: none;
    transform: translateY(-7px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Shadow on focus */
}

/* Newsletter Form Button */
.newsletter-form button {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background-color: #e07e7e; /* Original color */
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px; /* Ensure button fits within the form */
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 0;
}

.newsletter-form button:hover::before {
    transform: scaleX(1);
}

.newsletter-form button:hover {
    background-color: #c07d7d; /* Slightly darker on hover */
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.newsletter-form button span {
    position: relative;
    z-index: 1;
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        width: 100%;
    }
}

/*//////////////////////////// Contact Form Section ///////////////////*/

.contact-form {
    padding: 2rem;
    background: #ffffff;
    color: #333;
}

/* Section Heading */
.contact-form .section-heading {
    font-size: 2rem; /* Adjust font size for better responsiveness */
    margin-bottom: 1rem;
    color: #333;
    animation: fadeInUp 1s ease-in-out; /* Animation on heading */
}

/* Form Description */
.contact-form p {
    margin-bottom: 1rem; /* Increase margin for better spacing */
    color: #555;
}

/* Container for Contact Details, Form, and Map */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem; /* Adjust gap for better spacing */
    justify-content: center;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: -4rem;
    flex: 1;
    max-width: 100%; /* Ensure it doesn't exceed container width */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

/* Contact Item */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Increase gap for better spacing */
    max-width: 100%; /* Ensure it doesn't exceed container width */
    text-align: left;
}

.contact-item i {
    font-size: 1.5rem;
    color: #1abc9c;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
}

/* Contact Form */
.form {
    flex: 2.4;
    max-width: 100%; /* Ensure it fits within the container */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form Group */
.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Label Animation */
.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: none;
    background: #ffffff; /* Prevent label from blending into input background */
    padding: 0 0.25rem;
}

/* Input Styles */
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem; /* Adjust padding for better responsiveness */
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Placeholder Effect */
.form-group input::placeholder, .form-group textarea::placeholder {
    color: transparent; /* Hide default placeholder text */
}

/* Focus and Hover Effects */
.form-group input:focus, .form-group textarea:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.5);
    transform: translateY(-2px);
}

/* Floating Label on Focus */
.form-group input:focus + label, .form-group textarea:focus + label {
    top: -0.75rem; /* Move label up */
    left: 0.75rem;
    font-size: 0.75rem;
    color: #1abc9c;
    background: #ffffff; /* Ensure label background stays white */
    padding: 0 0.25rem;
}

/* Input Focus Glow Effect */
.form-group input:focus {
    border-color: #1abc9c; /* Green border color */
    outline: none; /* Remove default outline */
    box-shadow: none; /* Remove the glow effect */
    border-width: 2px; /* Set border width */
    border-style: solid; /* Solid border style */
    transition: border-color 0.3s ease, border-width 0.3s ease; /* Smooth transition */
    color: #333; /* Text color */
}




/* Button Styles */
.btn-primary1 {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background-color: #1abc9c;
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary1:hover {
    background-color: #2ecc71;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Map Container */
.map-container {
    flex: 1;
    max-width: 100%;
    max-height: 320px; /* Ensure it fits within the container */
    overflow: hidden;
    border-radius: 10px;
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Social Icons */
.social-icons {
    display: flex;
    justify-content: flex-start; /* Align icons to the left */
    gap: 0.5rem; /* Space between icons */
    margin-left: 0; /* Reset any previous margin */
    padding: 0; /* Reset any previous padding */
}

/* Individual Social Icon */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Adjusted size for better responsiveness */
    height: 40px; /* Adjusted size for better responsiveness */
    border-radius: 50%;
    color: white;
    font-size: 1.25rem; /* Adjusted size for better responsiveness */
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Facebook */
.social-icon.fb {
    background-color: #3b5998;
}

/* Instagram */
.social-icon.insta {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* TikTok */
.social-icon.tiktok {
    background-color: #010101;
}

/* Twitter */
.social-icon.twitter {
    background-color: #1da1f2;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }

    .contact-container {
        flex-direction: column; /* Stack elements vertically on smaller screens */
    }

    .contact-details, .form, .map-container {
        max-width: 100%; /* Ensure full width on small screens */
    }

    .social-icons {
        justify-content: center; /* Center icons on small screens */
    }
}

@media (max-width: 480px) {
    .contact-form .section-heading {
        font-size: 1.5rem; /* Smaller font size for very small screens */
    }

    .form-group input, .form-group textarea {
        font-size: 0.875rem; /* Adjust font size for small screens */
    }

    .btn-primary {
        padding: 0.5rem 1rem; /* Adjust button size for small screens */
        font-size: 0.875rem;
    }

    .social-icon {
        width: 35px; /* Adjust size for very small screens */
        height: 35px;
        font-size: 1rem;
    }
}


/* Main Button Styling */
.btn-primary1 {
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.btn-primary1:hover {
    background-color: #16a085;
}

/* Popup Screen Styling */
.popup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

/* Popup Box Styling */
.popup-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Show Popup */
.popup-screen.active {
    visibility: visible;
    opacity: 1;
}

.popup-screen.active .popup-box {
    transform: scale(1);
}

/* Popup Content Styling */
.popup-content i {
    font-size: 3em;
    color: #1abc9c;
    margin-bottom: 15px;
}

.popup-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

/* Close Button Styling */
.popup-box .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-box .close-btn:hover {
    color: #000;
}

/* Close Button in Content */
.popup-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.popup-content .btn:hover {
    background-color: #16a085;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-box {
        max-width: 90%;
        padding: 20px;
    }

    .popup-content h2 {
        font-size: 1.5em;
    }

    .popup-content p {
        font-size: 1em;
    }
}





/* Testimonials Section */
.testimonials {
    padding: 3rem 1.5rem;
    background: #f4f4f4;
    color: #333;
}

/* Section Heading */
.testimonials .section-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    font-weight: 700;
    animation: fadeInUp 1s ease-in-out;
}

/* Owl Carousel */
.owl-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonial Item */
.testimonial-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.5s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Testimonial Text */
.testimonial-item p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Testimonial Author */
.testimonial-item h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Testimonial Position */
.testimonial-item span {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}












/* Footer Styles */
.footer {
    background: #333;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo .logo {
    width: 200px;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-section {
    margin: 1rem;
    flex: 1;
    min-width: 200px;
}

.nav-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #f9e7a1;
}

.nav-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-section a:hover {
    color: #f9e7a1;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom-links {
    margin-top: 1rem;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #f9e7a1;
}

.footer-social {
    margin-bottom: 1.5rem;
}

.social-icon1 {
    display: inline-block;
    margin: 0 0.5rem;
    transition: transform 0.3s ease;
}



.social-icon1:hover {
    transform: scale(1.1); /* Slightly enlarge icons on hover */
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-form input {
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    width: 200px;
}

.newsletter-form button {
    background-color: #27ae60;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #2ecc71;
}

































