:root {
    --primary: #214948;
    --accent: #ffc107;
    --text: #333;
    --light: #ffffff;
    --gray: #f5f5f5;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Amazon Ember", Arial, sans-serif;
  }

  body {
    background-color: var(--gray);
    color: var(--text);
  }


.kalp-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 5; /* Z-index to upper layer of header */
}

/* Logo Styles */
.kalp-header .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.kalp-header .navbar-brand img {
    height: 42px;
    width: auto;
}

@media (min-width: 992px) {
    .kalp-header .navbar-brand img {
        height: 50px;
    }
}

/* Navigation Styles */
.kalp-header .nav-link {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.kalp-header .nav-link:hover {
    color: #2d7a64;
}

/* Search Form Styles */
.kalp-header .search-container {
    background: #f8f9fa;
    padding: 0.75rem 0;
    display: none;
}

@media (max-width: 991.98px) {
    .kalp-header .search-container {
        display: block;
    }
}

.kalp-header .search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.kalp-header .search-form input {
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    width: 100%;
    background-color: white;
}

.kalp-header .search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--primary);
    padding: 0.5rem;
}

/* Icon Button Styles */
.kalp-header .icon-button {
    position: relative;
    padding: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.kalp-header .icon-button .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4400;
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* User Dropdown Styles */
.kalp-header .user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.kalp-header .user-dropdown.show {
    display: block;
}

.kalp-header .user-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.kalp-header .user-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .kalp-header .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }

    .kalp-header .desktop-search {
        display: none;
    }

    .kalp-header .user-dropdown {
        position: static;
        box-shadow: none;
        margin-top: 1rem;
    }
}


/* Footer */
/* Footer Styles */
.footer {
    background: var(--primary);
    color: var(--light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}


/* Footer Section Titles Animation */
.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem; /* Spacing between title and content */
    letter-spacing: 1px; /* Slight letter-spacing for better readability */
  
}


/* Keyframes for Fade-in and Slide-up Effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Start below */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}


/* Links Styling */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem; /* Adjust spacing between list items */
}

.footer-links a {
    color: cornsilk;
    text-decoration: none;
    position: relative;
    display: inline-block; /* Restricts underline to text width */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Position the underline just below the text */
    width: 0;
    height: 1px; /* Thickness of the underline */
    background-color: cornsilk;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a:hover::after {
    width: 100%; /* Expands underline smoothly to text width only */
}

.footer-links li a {
    display: inline-flex; /* Keeps icon and text aligned */
    align-items: center;
    transition: color 0.3s ease;
}

.footer-links li a i {
    transition: transform 0.3s ease;
    margin-right: 8px;
}



.footer-bottom {
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-text {
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-text span {
    position: relative;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-text span::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: rgba(255, 255, 255, 0.3); /* Faded color for a subtle divider */
}

.footer-text span:last-child::after {
    content: ""; /* Remove the line after the last item */
}

.footer-bottom i {
    font-size: 1.2em;
}

/* Wrapper for Social Media Icons */
.wrapper {
    display: inline-flex;
    list-style: none;
    padding-top: 1px;
    justify-content: center;
    gap: 15px;
}

/* Social Media Icon Styles */
.wrapper .icon {
    position: relative;
    background: #fff;
    color: #333 !important;
    border-radius: 50%;
    /* padding-top: 8px; */
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wrapper .icon:hover {
    
    color: white !important;
    transform: translateY(-8px);
}

/* Tooltip Styling */
.wrapper .icon .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #007ece;
    color: white;
    padding: 4px 6px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.wrapper .icon:hover .tooltip {
    top: -35px;
    opacity: 1;
    pointer-events: auto;
}

.wrapper .icon .tooltip:before {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    background: #007ece;
    color: #007ece;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}
.logo-main {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 3px;
}

.logo-sub {
    font-size: 0.875rem;
    color: #98ccc1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Media Query */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .search-bar {
        width: 200px;
    }

    .slide {
        grid-template-columns: 1fr;
    }

    .brands {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Footer Media Query */
@media (min-width: 768px) and (max-width: 900px) {
    .footer-logo h1.logo-main {
        font-size: 1.5rem; /* Adjust as needed */
        text-align: center; /* Center align if needed */
    }
    
    .footer-logo p.logo-sub {
        font-size: 1rem; /* Adjust as needed */
    }
    
    .footer .footer-section {
        text-align: center; /* Center align sections if needed */
    }
}