/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF85A2; /* Pink for primary color */
    --secondary-color: #56CCF2; /* Sky blue for secondary */
    --dark-color: #4b3f72; /* Softer purple instead of dark blue */
    --light-color: #FFFBE0; /* Soft cream instead of white */
    --gray-color: #7B84A8; /* Softer gray */
    --light-gray: #e9ecef;
    --success-color: #4CAF50; /* Bright green */
    --danger-color: #FF6384; /* Coral red instead of harsh red */
    --accent-color: #FFDE59; /* Yellow accent color */
}

body {
    font-family: 'Comic Sans MS', 'Poppins', sans-serif; /* More kid-friendly font */
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: #f7ea32;
    color: #014995;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    will-change: transform, background-color;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    box-shadow: 0 5px 15px rgba(255, 133, 162, 0.4); /* Soft pink shadow */
}

.btn:hover {
    background-color: var(--accent-color); /* Yellow on hover */
    transform: translateY(-3px) translateZ(0) rotate(2deg); /* Added slight rotation for playfulness */
    box-shadow: 0 10px 20px rgba(255, 222, 89, 0.5); /* Yellow shadow on hover */
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    color: #014995; /* Changed to pink */
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color); /* Changed to yellow */
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px; /* Rounded corners for the underline */
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color, box-shadow, padding;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header.scrolled {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-bottom: 3px solid var(--accent-color); /* Yellow border */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

.logo {
    margin-left: 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: black; /* Changed to black from white */
    text-shadow: none; /* Removed shadow for consistency */
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: color, text-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: block;
}

/* Logo image styles */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(75, 63, 114, 0.5));
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header.scrolled .logo-img {
    filter: none;
}

header.scrolled .logo a {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 133, 162, 0.3);
}

/* Responsive logo sizes */
@media (max-width: 992px) {
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 25px;
    }
}

.nav-icons {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.nav-icons a {
    margin-right: 20px;
    font-size: 1.2rem;
    color: black; /* Changed to black from white */
    text-shadow: none; /* Removed text shadow for better readability */
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s ease;
    will-change: color, text-shadow, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header.scrolled .nav-icons a {
    color: black; /* Changed from var(--dark-color) to black */
    text-shadow: none;
}

.nav-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.2) rotate(5deg); /* Keeping the playful hover effect */
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: black; /* Changed to black from white */
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px; /* Rounded corners */
    box-shadow: none; /* Removed shadow for cleaner look */
    will-change: background-color, box-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

header.scrolled .hamburger span {
    background-color: var(--primary-color);
    box-shadow: none;
}

/* Off-Canvas Navigation */
.off-canvas-nav {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    right: -100%;
    background-color: var(--light-color);
    z-index: 1500;
    padding: 40px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 5px solid var(--primary-color); /* Pink border */
}

/* Off-canvas logo styles */
.off-canvas-logo {
    margin-bottom: 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.05s;
}

.off-canvas-nav.active .off-canvas-logo {
    transform: translateY(0) translateZ(0);
    opacity: 1;
}

.logo-img-mobile {
    height: 50px;
    width: auto;
    filter: brightness(1.2);
}

.off-canvas-nav.active {
    right: 0;
}

.off-canvas-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.1;
    pointer-events: none;
}

.close-nav {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.close-nav:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.nav-links {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
}

.nav-links li {
    margin: 12px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(0.05s * var(--item-index, 0));
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.off-canvas-nav.active .nav-links li {
    transform: translateY(0) translateZ(0);
    opacity: 1;
}

.nav-links a {
    font-size: 2.2rem;
    font-weight: 700;
    color: black;
    padding: 8px 0;
    display: block;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, color;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (min-width: 1200px) {
    .nav-links {
        margin-bottom: 30px;
    }
    
    .nav-links li {
        margin: 8px 0;
    }
    
    .nav-links a {
        font-size: 2rem;
        padding: 6px 0;
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px; /* Thicker underline */
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color)); /* Pink to yellow gradient */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(255, 133, 162, 0.2); /* Subtle shadow */
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color)); /* Pink to yellow gradient */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    transform: scale(1.1) rotate(2deg); /* Slight rotation and scale on hover */
    text-shadow: 2px 2px 4px rgba(255, 133, 162, 0.3); /* Pink shadow */
}

/* Social icons in off-canvas nav */
.off-canvas-social {
    position: relative;
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 5;
    animation: fadeInUp 0.5s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@media (min-width: 1200px) {
    .off-canvas-social {
        margin-top: 20px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.off-canvas-nav.active .off-canvas-social {
    opacity: 1;
    transform: translateY(0);
}

.off-canvas-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: black; /* Changed from white to black */
    font-size: 1.2rem;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background-color;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
}

.off-canvas-social a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black; /* Added explicit color for the icon */
}

.off-canvas-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px) translateZ(0);
}

.off-canvas-social a:hover i {
    color: white; /* Keep the hover color white */
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin-bottom: 50px;
}

.hero:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 222, 89, 0.3); /* Yellow circle */
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.hero:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 222, 89, 0.2); /* Yellow circle */
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-color); /* Yellow text */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Add floating shapes for kid-friendly appeal */
.floating-shape {
    position: absolute;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    top: 15%;
    left: 20%;
    transform: rotate(20deg);
}

.shape-2 {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 222, 89, 0.2);
    border-radius: 8px;
    top: 30%;
    right: 20%;
    transform: rotate(45deg);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Featured Products */
.featured {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 200px; /* Taller on mobile for better visibility */
    }
}

.product-card {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease;
    border-radius: 20px; /* Rounded corners */
    border: 3px solid var(--light-color); /* Border */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards have same height */
}

.product-card:hover {
    transform: translateY(-10px) rotate(2deg) scale(1.03); /* Added slight rotation */
    box-shadow: 0 15px 30px rgba(86, 204, 242, 0.2); /* Blue shadow */
    border-color: var(--accent-color); /* Yellow border on hover */
}

.product-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 15px; /* Rounded corners for image */
    height: 200px; /* Fixed height for consistency */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 15px; /* Rounded corners for image */
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 133, 162, 0.7); /* Pink overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 15px; /* Match the image border radius */
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 10px 0;
    flex-grow: 1; /* Allow info section to grow and push content to bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    margin: 5px 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    /* Prevent long titles from breaking layout */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.8em; /* Ensure consistent height for titles */
}

.product-category {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color); /* Changed to pink */
    font-size: 1.2rem;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    transform: translateZ(0);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.category-card:hover img {
    transform: scale(1.1) translateZ(0);
}

.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: white;
}

.category-title h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Men's Footwear Slider Section */
.mens-footwear {
    padding: 80px 0;
    background-color: white;
    overflow: hidden;
    position: relative;
}

/* Women's Footwear Slider Section */
.womens-footwear {
    padding: 80px 0;
    background-color: var(--light-gray);
    overflow: hidden;
    position: relative;
}

/* Kids' Footwear Slider Section */
.kids-footwear {
    padding: 80px 0;
    background-color: white;
    overflow: hidden;
    position: relative;
}

/* Common Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
}

.mens-slider,
.womens-slider,
.kids-slider {
    display: flex;
    gap: 30px;
    width: max-content;
    transition: transform 0.5s ease;
    padding: 15px 5px; /* Added padding for spacing */
}

.slide {
    min-width: 280px;
    max-width: 280px; /* Added max-width to ensure consistent card size */
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide:hover {
    transform: translateY(-10px) translateZ(0);
}

.mens-slider .product-card,
.womens-slider .product-card,
.kids-slider .product-card {
    width: 100%;
    height: 100%; /* Ensure consistent height */
    margin: 0; /* Reset any margins */
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Keep existing styles but avoid the transformations from regular product cards */
    transition: box-shadow 0.3s ease;
    border-radius: 20px;
    border: 3px solid var(--light-color);
    display: flex;
    flex-direction: column;
}

.mens-slider .product-card:hover,
.womens-slider .product-card:hover,
.kids-slider .product-card:hover {
    transform: none; /* No transform on hover */
    box-shadow: 0 8px 20px rgba(86, 204, 242, 0.3); /* Still enhance shadow */
    border-color: var(--accent-color); /* Yellow border on hover */
}

/* Fix for product images in sliders */
.mens-slider .product-image,
.womens-slider .product-image,
.kids-slider .product-image {
    height: 180px; /* Fixed height for consistent product image display */
    margin-bottom: 10px;
    border-radius: 15px;
    overflow: hidden;
}

.mens-slider .product-image img,
.womens-slider .product-image img,
.kids-slider .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Enhanced slider navigation controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.slider-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.2);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--light-gray);
    color: var(--light-gray);
    background-color: #f8f9fa;
    transform: none;
    box-shadow: none;
}

.slider-btn.prev {
    margin-right: 10px;
}

.slider-btn.next {
    margin-left: 10px;
}

/* Alternatively, you can position the buttons on the sides of the slider */
@media (min-width: 992px) {
    .slider-container {
        padding: 20px 60px;
    }
    
    .slider-controls {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 80px; /* Increase padding to move buttons inward */
        margin-top: 0;
        pointer-events: none; /* Allow clicking through the control container */
    }
    
    .slider-btn {
        pointer-events: auto; /* Make buttons clickable */
        position: relative;
        z-index: 5;
    }
    
    .slider-btn.prev {
        margin-left: 10px; /* Adjust from -25px to move inward */
    }
    
    .slider-btn.next {
        margin-right: 10px; /* Adjust from -25px to move inward */
    }
}

/* Remove the continuous scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* Responsive styles for men's slider */
@media (max-width: 992px) {
    .slide {
        min-width: 250px;
        max-width: 250px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .slide {
        min-width: 220px;
        max-width: 220px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        height: 150px;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .product-category {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .slide {
        min-width: 220px;
        max-width: 220px;
    }
    
    .mens-slider,
    .womens-slider,
    .kids-slider {
        padding: 10px 3px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        height: 150px;
        padding: 8px;
    }
    
    .mens-slider .product-info,
    .womens-slider .product-info,
    .kids-slider .product-info {
        padding: 10px 5px;
    }
    
    .product-card {
        margin-bottom: 10px;
    }
    
    .mens-slider .product-card,
    .womens-slider .product-card,
    .kids-slider .product-card {
        width: 100%;
        border-width: 2px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    .product-overlay .btn-small {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Promotion Banner */
.promotion {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1515955656352-a1fa3ffcd111');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.promo-content {
    max-width: 600px;
    margin: 0 auto;
}

.promotion h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.promotion p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(86, 204, 242, 0.3);
}

.stars {
    color: gold;
    margin-bottom: 15px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.customer .name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive testimonials for tablet */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 20px;
    }
    
    .testimonial {
        padding: 25px;
    }
}

/* Responsive testimonials for mobile */
@media (max-width: 576px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonials .container {
        padding: 0 15px;
    }
    
    .testimonial-slider {
        gap: 15px;
        max-width: 100%;
    }
    
    .testimonial {
        padding: 20px;
        border-radius: 8px;
    }
    
    .testimonial p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .stars {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .customer .name {
        font-size: 0.95rem;
    }
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px dashed var(--accent-color); /* Playful dashed yellow border */
    border-bottom: 3px dashed var(--accent-color);
}

.newsletter:before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 133, 162, 0.1); /* Light pink circle */
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 1;
}

.newsletter:after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(86, 204, 242, 0.1); /* Light blue circle */
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #014995; /* Pink heading */
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 3px solid #f7ea32; /* Pink border */
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--accent-color); /* Yellow border on focus */
    box-shadow: 0 0 10px rgba(255, 222, 89, 0.3); /* Yellow glow */
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 0 30px;
    background-color: #f7ea32; /* Pink button */
    border: 3px solid #f7ea32;
    border-left: none;
    font-size: 1rem;
}

.newsletter-form .btn:hover {
    background-color: var(--accent-color); /* Yellow on hover */
    border-color: var(--accent-color);
}

/* Responsive styles for newsletter section */
@media (max-width: 768px) {
    .newsletter {
        padding: 60px 0;
    }
    
    .newsletter h2 {
        font-size: 1.8rem;
    }
    
    .newsletter p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .newsletter-form {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .newsletter {
        padding: 40px 0;
    }
    
    .newsletter h2 {
        font-size: 1.5rem;
    }
    
    .newsletter p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        width: 100%;
        margin-bottom: 0;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .newsletter-form .btn {
        border-radius: 30px;
        width: 100%;
        margin-top: 0;
        font-size: 0.9rem;
        padding: 12px 15px;
    }
}

/* New Footer - Creative & Unique Design */
.new-footer {
    position: relative;
    background-color: var(--light-color);
    color: var(--dark-color);
    margin-top: 80px;
    overflow: hidden;
    border-top: 5px solid var(--accent-color); /* Yellow top border */
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

/* Curved Separator */
.footer-separator {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
}

.footer-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    fill: var(--primary-color); /* Pink waves */
}

/* Main Content Wrapper */
.footer-content-wrapper {
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    padding-bottom: 0;
    overflow: hidden;
}

/* Angled Background Element */
.footer-bg-angled {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), transparent 50%);
    transform: skewY(-3deg);
    transform-origin: top left;
    pointer-events: none;
    z-index: 1;
}

/* Brand Section */
.footer-brand-section {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
    text-align: center;
}

.brand-content {
    max-width: 500px;
    margin: 0 auto;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(255, 133, 162, 0.4)); /* Pink shadow */
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg); /* Playful hover effect */
}

.tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(255, 133, 162, 0.2); /* Subtle pink shadow */
}

.brand-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    border-radius: 50%;
    margin: 0 8px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-color); /* Yellow border */
    transition: all 0.3s ease;
}

.social-icon i {
    position: relative;
    z-index: 10;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color); /* Yellow background on hover */
    transition: all .3s ease;
    border-radius: 50%;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(10deg) scale(1.1); /* Added rotation for playfulness */
}

/* Main Grid Section */
.footer-grid-section {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-grid-item {
    padding: 0 15px;
}

.footer-heading {
    margin-bottom: 25px;
    position: relative;
}

.footer-heading h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.heading-underline {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover:before {
    width: 100%;
}

/* Contact Info */
.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-contact-info .contact-icon {
    width: 35px;
    height: 35px;
    min-width: 30px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-top: 0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    position: relative;
}

.footer-contact-info .contact-icon i {
    font-size: 14px;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-contact-info li:hover .contact-icon {
    background-color: var(--primary-color);
}

.footer-contact-info li:hover .contact-icon i {
    color: white;
}

.footer-contact-info .contact-text {
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    height: 30px; /* Match the height of the icon */
    margin-top: -15px;
}

.footer-contact-info .contact-text a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact-info .contact-text a:hover {
    color: var(--primary-color);
}

/* Newsletter Form */
.newsletter-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-newsletter-form .form-group {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    display: flex;
}

.footer-newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form input:focus {
    outline: none;
}

.footer-newsletter-form button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 30px 30px 0;
}

.footer-newsletter-form button:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Newsletter Benefits */
.newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Payment Methods */
.payment-methods {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.payment-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 15px;
}

.payment-icons i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
    background: #1a2530;
    padding: 20px 0;
    position: relative;
}

.bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: absolute;
    right: 40px;
    bottom: 15px;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-to-top a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .footer-separator {
        top: -70px;
        height: 70px;
    }
    
    .footer-separator svg {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .footer-brand-section {
        padding: 40px 0 30px;
    }
    
    .bottom-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        right: 20px;
    }
    
    .footer-separator {
        top: -50px;
        height: 50px;
    }
    
    .footer-separator svg {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .products-grid, .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links a {
        padding: 8px 15px;
    }
    
    .off-canvas-social {
        flex-wrap: wrap;
    }
    
    .off-canvas-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .close-nav {
        width: 30px;
        height: 30px;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .contact-info li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .shoe-model-container {
        height: 40vh;
    }
}

/* Footer media queries */
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-content {
        max-width: 100%;
    }
    
    .payment-wrapper {
        flex-direction: column;
    }
    
    .footer-grid-item {
        text-align: center;
    }
    
    .heading-underline {
        margin: 0 auto;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-contact-info li {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .newsletter-benefits {
        justify-content: center;
    }
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1460353581641-37baddab0fa2');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: 0;
    position: relative;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: white;
}

.breadcrumb span {
    color: var(--primary-color);
}

/* Contact Banner Specific Styles */
.contact-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/1456706/pexels-photo-1456706.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.6));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Media queries for banner responsiveness */
@media (max-width: 768px) {
    .contact-banner {
        padding: 140px 0 80px;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-banner {
        padding: 120px 0 60px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.filter-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.filters {
    position: relative;
}

.filter-btn {
    background-color: white;
    border: 1px solid var(--light-gray);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-dropdown {
    position: absolute;
    top: 50px;
    left: 0;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 100;
    display: none;
}

.filters:hover .filter-dropdown {
    display: block;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-color);
    cursor: pointer;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.price-range input {
    width: 100%;
    margin-bottom: 10px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.sort select {
    padding: 10px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

.pagination a:hover:not(.active) {
    background-color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid, .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        font-size: 1.6rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .products-grid, .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links a {
        padding: 10px 20px;
    }
    
    .close-nav {
        top: 20px;
        right: 20px;
    }
    
    header .container {
        padding: 0 20px;
    }
    
    header.scrolled {
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .products-grid, .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links a {
        padding: 8px 15px;
    }
    
    .off-canvas-social {
        flex-wrap: wrap;
    }
    
    .off-canvas-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .close-nav {
        width: 30px;
        height: 30px;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .contact-info li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .shoe-model-container {
        height: 40vh;
    }
}

/* JavaScript classes */
.mobile-nav-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-active li {
    margin: 10px 0;
}

/* Contact Page Styles */
.contact-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1595909315417-21384a6ba78b');
    background-position: center;
    background-size: cover;
    margin-top: 0;
    padding: 150px 0 80px;
}

.contact-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, var(--light-gray) 0%, transparent 25%);
    pointer-events: none;
    opacity: 0.4;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 40px 30px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-info > p {
    margin-bottom: 30px;
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.icon-circle {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-top: 0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    position: relative;
}

.icon-circle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.method-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-method:hover .icon-circle {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.contact-method:hover .icon-circle i {
    color: white;
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-details p a {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}
.method-details p  {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-connect {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-info .social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-info .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background-color;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
}

.contact-info .social-icons a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--primary-color);
}

.contact-info .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px) translateZ(0);
}

.contact-info .social-icons a:hover i {
    color: white;
}

.contact-form-container {
    padding: 40px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 107, 0.1));
    border-radius: 50%;
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray-color);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
}

.map-section {
    padding: 0 0 80px 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Media Queries for Contact Page */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 120px 0 60px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        gap: 30px;
    }
    
    .contact-info, 
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-section {
        padding: 0 0 60px 0;
    }
}

@media (max-width: 576px) {
    .contact-banner {
        padding: 100px 0 50px;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-info h2, 
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .icon-circle {
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Improve animation performance for major animated elements */
.product-card,
.category-card,
.btn,
.off-canvas-nav,
header,
.hamburger span,
.nav-links a,
.social-icons a,
.off-canvas-social a {
    transform: translate3d(0, 0, 0);
}

/* Fix for footer's contact info section */
.footer-col:last-child {
    display: flex;
    flex-direction: column;
}

.footer-col:last-child .contact-info {
    margin-top: 5px;
    width: 100%;
}

/* Fix footer responsiveness at small screens */
@media (max-width: 767px) {
    .footer-content {
        gap: 20px;
    }
}

/* Add special styling for the Customer Service footer link to Contact Us page */
.footer-col ul li a[href="contact.html"] {
    position: relative;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.footer-col ul li a[href="contact.html"]:hover {
    padding-left: 5px;
}

/* Fix for document's contact icon section */
.contact i.fas {
    color: var(--primary-color);
    font-size: 24px;
}

.contact {
    padding: 60px 0;
    background-color: #ffffff;
    color: var(--dark-color);
}

.contact h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
    font-weight: 600;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
}

.contact-card:hover .contact-icon i {
    color: white;
}

.contact-card p {
    color: var(--dark-color);
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-card a {
    color: var(--dark-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* Responsive styles for contact cards */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Fix for contact card in main contact section (not in footer) */
.contact-section .contact-card,
.contact-cards .contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Contact info styles */
.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-info li:last-child {
    margin-bottom: 0;
}

.contact-info i {
    margin-right: 12px;
    color: var(--primary-color);
    /* min-width: 20px;
    margin-top: 4px; */
}

.contact-info li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.contact-info li a:hover {
    color: var(--primary-color);
}

/* Contact Info Section Styles */
.contact-info-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: var(--dark-color);
}

.contact-info-section h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
    font-weight: 600;
}

.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.info-icon i {
    color: var(--primary-color);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-card:hover .info-icon {
    background-color: var(--primary-color);
}

.info-card:hover .info-icon i {
    color: white;
}

.info-card p {
    color: var(--dark-color);
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-card a {
    color: var(--dark-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.info-card a:hover {
    color: var(--primary-color);
}

/* Responsive styles for info cards */
@media (max-width: 992px) {
    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Fix for footer's contact info section */
.footer-contact-info .contact-icon i {
    font-size: 16px;
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content {
        margin: 0 0 30px 0;
        width: 80%;
        text-align: center;
    }
    
    .shoe-model-container {
        width: 100%;
        height: 50vh;
        margin-right: 0;
    }
}

/* CSS styles for other features will be added here */ 

/* Responsive styles for sliders */
@media (max-width: 992px) {
    .slide {
        min-width: 250px;
        max-width: 250px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .slide {
        min-width: 220px;
        max-width: 220px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        height: 150px;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .product-category {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .slide {
        min-width: 180px;
        max-width: 180px;
    }
    
    .mens-slider,
    .womens-slider,
    .kids-slider {
        padding: 10px 3px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        height: 130px;
        padding: 5px;
    }
    
    .mens-slider .product-info,
    .womens-slider .product-info,
    .kids-slider .product-info {
        padding: 8px 3px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
    z-index: 1;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.1);
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 2;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50%;
    max-width: 600px;
    text-align: left;
    color: white;
    padding: 20px;
}

.hero-slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.2s;
}

.hero-slide-content h1 span {
    color: var(--accent-color);
}

.hero-slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.4s;
}

.hero-slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.6s;
}

.hero-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-slider-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Responsive Hero Slider */
@media (max-width: 992px) {
    .hero {
        height: 500px;
    }
    
    .hero-slide-content {
        width: 70%;
    }
    
    .hero-slide-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 450px;
    }
    
    .hero-slide-content {
        width: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    
    .hero-slide-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 100vh;
        min-height: 450px;
    }
    
    .hero-slide-content {
        width: 90%;
    }
    
    .hero-slide-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-slider-controls {
        bottom: 20px;
    }
    
    .hero-slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    /* Existing mobile styles should be above this line */
    
    .product-overlay .btn-small {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .mens-slider .product-card,
    .womens-slider .product-card,
    .kids-slider .product-card {
        border-width: 2px;
        border-radius: 15px;
    }
    
    .mens-slider .product-image,
    .womens-slider .product-image,
    .kids-slider .product-image {
        border-radius: 12px;
    }
}

@media (max-width: 380px) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-slide-content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .hero-slide-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .hero-slide-content .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .hero-slider-controls {
        bottom: 15px;
    }
}