﻿/* ========================================
   زاد للمنظفات - Zad Cleaning Company
   Custom Stylesheet
   ======================================== */

/* ===== CSS Variables / Design Tokens ===== */
:root {
    --primary: #0d9488;
    --primary-dark: #0a7b70;
    --primary-light: #14b8a6;
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0ea5e9 100%);
    --secondary: #1e293b;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #22c55e;
    --bg-light: #f0fdfa;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Remove max-width constraint on form elements */
input,
select,
textarea {
    max-width: 100%;
}

/* ===== Navbar ===== */
#mainNavbar {
    background: linear-gradient(135deg, rgba(13,148,136,0.95) 0%, rgba(14,165,233,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1050;
    border-bottom: none;
}

#mainNavbar.navbar-scrolled {
    background: rgba(13,148,136,0.98) !important;
    padding: 6px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.brand-icon {
    font-size: 1.8rem;
    color: var(--accent);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
}

.brand-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.navbar-nav .nav-link i {
    margin-left: 4px;
    font-size: 0.85rem;
}

.navbar-cta .btn {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-width: 2px;
}

.navbar-cta .btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

/* ===== Sections Common ===== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 4px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.section-bg {
    background-color: var(--bg-light);
}

/* ===== Hero Carousel ===== */
.hero-carousel {
    margin-top: 0;
    position: relative;
}

.hero-carousel .carousel-item {
    height: 85vh;
    min-height: 500px;
    max-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.85) 0%, rgba(30,41,59,0.8) 100%);
    z-index: 1;
}

.hero-carousel .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-carousel .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-carousel .carousel-caption p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-carousel .carousel-caption .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    background: var(--accent);
    color: var(--secondary);
    border: none;
    padding: 12px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn:hover {
    background: var(--accent-light);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    backdrop-filter: blur(5px);
    z-index: 3;
}

.carousel-control-prev {
    right: auto;
    left: 20px;
}

.carousel-control-next {
    left: auto;
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.3);
}

.carousel-indicators {
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    transition: var(--transition);
}

.carousel-indicators .active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-content .highlight {
    color: var(--primary);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 3px;
}

.about-feature h6 {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--secondary);
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--primary-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== Clients & Partners ===== */
.clients-section,
.partners-section {
    padding: 80px 0;
}

.client-card,
.partner-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.client-card:hover,
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.client-card i,
.partner-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.client-card h6,
.partner-card h6 {
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== Contact Page ===== */
.contact-hero {
    background: var(--primary-gradient);
    padding: 140px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.contact-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-info-card .icon-wrap {
    width: 65px;
    height: 65px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.contact-info-card:hover .icon-wrap {
    background: var(--primary-gradient);
}

.contact-info-card .icon-wrap i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card:hover .icon-wrap i {
    color: #fff;
}

.contact-info-card h5 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: var(--primary);
}

/* ===== Map ===== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* ===== Contact Form ===== */
.contact-form-section {
    padding: 80px 0;
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-card h3 {
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating .form-control,
.contact-form-card .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fafbfc;
}

.form-floating .form-control:focus,
.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
    background: var(--bg-white);
}

.form-floating label {
    font-family: 'Cairo', sans-serif;
    color: var(--text-muted);
}

.btn-submit {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cairo', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13,148,136,0.4);
    color: #fff;
}

.alert-success-custom {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    border: 1px solid #86efac;
    border-radius: var(--radius-md);
    color: #166534;
    padding: 16px 20px;
    font-weight: 600;
}

/* ===== Products Page ===== */
.products-hero {
    background: var(--primary-gradient);
    padding: 140px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.products-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
}

.products-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Category Filter */
.filter-section {
    padding: 40px 0 20px;
    background: var(--bg-light);
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.filter-btn {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(13,148,136,0.3);
}

/* Product Cards */
.products-grid {
    padding: 50px 0 80px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body h5 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.product-card-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    flex-grow: 1;
    margin-bottom: 15px;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}

.btn-details {
    background: var(--bg-light);
    color: var(--primary);
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.btn-details:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-3px);
}

/* ===== Product Details Page ===== */
.product-details-section {
    padding: 120px 0 80px;
}

.product-details-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.product-details-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-details-info {
    padding: 10px 0;
}

.product-details-info .category-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(13,148,136,0.2);
}

.product-details-info h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.product-details-info .price-tag {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-details-info .description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.specs-list li i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(13,148,136,0.15);
}

.btn-back {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(3px);
}

/* Related Products */
.related-products {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    background: var(--secondary);
    color: #fff;
    margin-top: 0;
}

.footer-wave {
    color: var(--secondary);
    line-height: 0;
    margin-top: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-content {
    padding: 50px 0 30px;
}

.footer-brand h3 {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.footer-brand h3 i {
    color: var(--accent);
    margin-left: 8px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13,148,136,0.4);
}

.footer-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 5px;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.7rem;
    color: var(--primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: var(--primary-light);
    margin-top: 5px;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 2.2rem;
    }

    .hero-carousel .carousel-caption p {
        font-size: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .contact-form-card {
        padding: 25px;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        height: 50vh;
        min-height: 350px;
    }

    .hero-carousel .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .products-hero,
    .contact-hero {
        padding: 120px 0 60px;
    }

    .products-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }

    .product-details-info h1 {
        font-size: 1.6rem;
    }

    .product-details-info .price-tag {
        font-size: 1.4rem;
    }

    .filter-section {
        position: static;
    }
}

/* ===== Page top padding for fixed navbar ===== */
.page-top {
    padding-top: 76px;
}

/* ===== Captcha ===== */
.captcha-wrap {
    margin: 15px 0;
}

/* ===== Loading animation for product cards ===== */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card {
    animation: cardEntrance 0.5s ease both;
}

.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }
.product-card:nth-child(5) { animation-delay: 0.4s; }
.product-card:nth-child(6) { animation-delay: 0.5s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
