/* CSS Variables */
:root {
    --primary: #EC4D25;
    --accent: #2BCFCE;
    --dark: #2A2A2A;
    --muted: #EC4D25;
    --background: #FFFFFF;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.16);
    --glass-border: rgba(255, 255, 255, 0.24);
    --shadow: 0 10px 30px rgba(236, 77, 37, 0.12);
    --shadow-hover: 0 20px 40px rgba(236, 77, 37, 0.16);
    --border-radius: 20px;
    --transition: all 0.3s ease;
    --slide-duration: 0.6s;
    --slide-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --hover-scale: 1.02;
    --hover-lift: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--background);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Glare Effect */
.glare {
    position: relative;
    overflow: hidden;
}

.glare::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
                rgba(255, 255, 255, 0.25), transparent 40%);
    pointer-events: none;
    border-radius: inherit;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.glare:hover::after {
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: var(--muted);
    color: var(--white);
}

.btn-success {
    background: var(--accent);
    color: var(--white);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 4px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(236, 77, 37, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin: -20px 0;
}

.logo {
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(236, 77, 37, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-container:hover .logo {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 16px rgba(236, 77, 37, 0.4));
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    font-size: 15px;
    border: 2px solid transparent;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(43, 207, 206, 0.4);
    background: #1FB8B7;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Banner */
.hero {
    position: relative;
    height: 65vh;
    min-height: 500px;
    max-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Hero Background Medical Icons */
/* Removed scattered medical icons from carousel background for cleaner look */

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    text-align: center;
    color: var(--dark);
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 32px;
    color: var(--muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(236, 77, 37, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(236, 77, 37, 0.4);
    background: #D13D1F;
}

.hero-cta:active {
    transform: translateY(-1px);
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* New Medical Icons - Clean and Simple */
.medical-icon {
    position: absolute;
    opacity: 0.3;
    z-index: 1;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) translateX(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-10px) translateX(15px) rotate(1deg);
    }
}

.medical-icon.capsule {
    top: 15%;
    left: 10%;
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.medical-icon.capsule-pill {
    top: 25%;
    right: 15%;
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.medical-icon.clipboard-pulse {
    bottom: 30%;
    left: 20%;
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.medical-icon.clipboard-pulse-fill {
    bottom: 20%;
    right: 25%;
    width: 26px;
    height: 26px;
    color: var(--accent);
}

/* Additional Medical Icons Positioning */
.medical-icon.file-earmark-medical {
    top: 35%;
    left: 5%;
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.medical-icon.file-medical {
    top: 45%;
    right: 8%;
    width: 30px;
    height: 30px;
    color: var(--accent);
}

.medical-icon.file-medical-fill {
    top: 55%;
    left: 15%;
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.medical-icon.heart-pulse {
    top: 65%;
    right: 20%;
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.medical-icon.heart-pulse-fill {
    top: 75%;
    left: 8%;
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.medical-icon.hospital {
    top: 85%;
    right: 12%;
    width: 34px;
    height: 34px;
    color: var(--accent);
}

.medical-icon.hospital-fill {
    top: 10%;
    left: 25%;
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.medical-icon.journal-medical {
    top: 20%;
    right: 35%;
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.medical-icon.lungs {
    top: 30%;
    left: 35%;
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.medical-icon.lungs-fill {
    top: 40%;
    right: 45%;
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.medical-icon.prescription {
    top: 50%;
    left: 45%;
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.medical-icon.prescription2 {
    top: 60%;
    right: 55%;
    width: 30px;
    height: 30px;
    color: var(--accent);
}

.medical-icon.virus {
    top: 70%;
    left: 55%;
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.medical-icon.virus2 {
    top: 80%;
    right: 65%;
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.medical-icon.activity {
    top: 90%;
    left: 65%;
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.medical-icon.bandaid {
    top: 5%;
    left: 55%;
    width: 30px;
    height: 30px;
    color: var(--accent);
}

.medical-icon:hover {
    opacity: 0.6;
    transform: scale(1.1);
    animation-play-state: paused;
}

/* Medical Equipment Background Icons - Removed old floating icons for cleaner design */

/* Banner Navigation */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.banner-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.banner-nav.prev {
    left: 30px;
}

.banner-nav.next {
    right: 30px;
}

/* Banner Dots */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active,
.dot:hover {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Taglines */
.taglines {
    padding: 60px 0;
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
}

.typewriter-container {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.caret {
    animation: blink 1s infinite;
    color: var(--accent);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Marketing Tiles */
.marketing-tiles {
    padding: 80px 0;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.tile {
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tile:hover {
    transform: translateY(-8px);
}

.tile-icon {
    margin-bottom: 24px;
}

.tile h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.tile p {
    color: var(--muted);
    line-height: 1.6;
}

/* Categories */
.categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #FEF8F7 0%, #FDF2F0 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-chip:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: var(--primary);
}

/* Page Headers */
.page-header {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters {
    padding: 40px 0;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 32px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.filter-input,
.filter-select {
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 77, 37, 0.1);
}

/* Products */
.products {
    padding: 40px 0 80px;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.products-header p {
    color: var(--muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

/* Responsive Products Grid */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 28px;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 350px; /* Base height for desktop */
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
}

/* Specific image adjustments for better fit */
.product-image img[src*="Massager"],
.product-image img[src*="Standard Walker"],
.product-image img[src*="Folding wheelchair"],
.product-image img[src*="Walking Stick"],
.product-image img[src*="walker"] {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
}

/* PNG images with transparent backgrounds - enhanced styling */
.product-image img[src*="removebg-preview.png"] {
    object-fit: contain;
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(236, 77, 37, 0.1);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
}

/* Ensure consistent sizing for all product images */
.product-image img[src*="hospital chair"],
.product-image img[src*="comode chair"],
.product-image img[src*="DVT PUMP"],
.product-image img[src*="BMI MONITOR"] {
    object-fit: cover;
    padding: 4px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}



.product-content {
    padding: 24px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-description {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    color: #FBBF24;
    font-size: 16px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 14px;
    padding: 10px 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.empty-state p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--white);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-content {
    padding: 40px;
}

/* Product Modal Specific Styles */
.product-modal-content {
    text-align: center;
}

.product-modal-image {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-modal-image img {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    object-position: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    transition: transform 0.3s ease;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.product-modal-image img:hover {
    transform: scale(1.05);
}

/* Responsive Modal Images */
@media (max-width: 768px) {
    .product-modal-image img {
        padding: 16px;
        max-width: 90%;
        max-height: 90%;
    }
}

@media (max-width: 480px) {
    .product-modal-image img {
        padding: 12px;
        max-width: 85%;
        max-height: 85%;
    }
}

.product-modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.product-modal-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.product-modal-features {
    margin-bottom: 40px;
    text-align: left;
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(236, 77, 37, 0.1);
}

.product-modal-features h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
    font-weight: 600;
}

.product-modal-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.product-modal-features li {
    padding: 12px 16px;
    background: var(--white);
    border-radius: 8px;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding-left: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-modal-features li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
}

.product-modal-features li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.product-modal-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.product-modal-actions .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 200px;
}

/* Product Modal Rating */
.product-modal-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.product-modal-rating .star {
    color: #FBBF24;
    font-size: 20px;
}

/* Product Modal Info Section - Updated to match website colors */
.product-modal-info {
    background: linear-gradient(135deg, #FEF8F7 0%, #FDF2F0 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid rgba(236, 77, 37, 0.2);
    box-shadow: 0 4px 12px rgba(236, 77, 37, 0.1);
}

.product-modal-info h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
}

.product-modal-info .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    text-align: center;
}

.product-modal-info .grid > div {
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(236, 77, 37, 0.2);
}

.product-modal-info .grid strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-modal-info .grid p {
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

/* Enhanced Modal Typography */
.product-modal-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

.product-modal-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.product-modal-features h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
    font-weight: 600;
}

.product-modal-features li {
    font-family: 'Inter', sans-serif;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 8px;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding-left: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-modal-info h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
}

.product-modal-info .grid strong {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-modal-info .grid p {
    font-family: 'Inter', sans-serif;
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        max-width: 95%;
        margin: 20px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .product-modal-content h2 {
        font-size: 2rem;
    }
    
    .product-modal-features ul {
        grid-template-columns: 1fr;
    }
    
    .product-modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .product-modal-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
    }
    
    .product-modal-content h2 {
        font-size: 1.8rem;
    }
    
    .product-modal-description {
        font-size: 1rem;
    }
}

/* Invoice Styles */
.screen-toolbar {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.screen-toolbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoice-container {
    max-width: 800px;
    margin: 40px auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.invoice-header {
    padding: 40px;
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.company-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.company-details h1 {
    color: var(--primary);
    margin-bottom: 8px;
}

.company-tagline {
    color: var(--muted);
    font-weight: 500;
}

.company-contact p {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--dark);
}

.invoice-meta {
    text-align: right;
}

.invoice-number h2 {
    color: var(--dark);
    margin-bottom: 8px;
}

.invoice-number p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.invoice-dates .date-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.invoice-dates .date-row span:first-child {
    color: var(--muted);
    min-width: 80px;
}

.client-section {
    padding: 32px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #E2E8F0;
}

.client-section h3 {
    margin-bottom: 16px;
    color: var(--dark);
}

.client-section p {
    margin-bottom: 8px;
    color: var(--muted);
}

.rental-details .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.items-section {
    padding: 32px 40px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.invoice-table th,
.invoice-table td {
    padding: 16px 12px;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
}

.invoice-table th {
    background: #F8FAFC;
    font-weight: 600;
    color: var(--dark);
}

.summary-section {
    padding: 32px 40px;
    background: #F8FAFC;
}

.summary-table {
    max-width: 400px;
    margin-left: auto;
}

.summary-table .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 16px;
}

.summary-table .summary-row.total {
    border-top: 2px solid #E2E8F0;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.terms-section {
    padding: 32px 40px;
    border-top: 1px solid #E2E8F0;
}

.terms-section h3 {
    margin-bottom: 16px;
    color: var(--dark);
}

.terms-list {
    list-style: none;
    padding: 0;
}

.terms-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: var(--muted);
    font-size: 14px;
}

.terms-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.invoice-footer {
    padding: 32px 40px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left p {
    margin-bottom: 8px;
    color: var(--dark);
}

.footer-left p:last-child {
    color: var(--muted);
    font-size: 14px;
}

.qr-placeholder {
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 12px;
    color: #CBD5E1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-section ul li a {
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}



.footer-section ul li a {
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-link:hover {
    color: #16A34A;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94A3B8;
    font-size: 14px;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .client-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .invoice-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .invoice-meta {
        text-align: left;
    }
    
    .product-image {
        height: 180px;
    }

}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tiles-grid {
        grid-template-columns: 1fr;
    }
    

    
    .filter-bar {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    

    
    .product-image {
        height: 160px;
    }
    
    .product-image img {
        padding: 6px;
    }
    
    .invoice-container {
        margin: 20px;
        border-radius: 12px;
    }
    
    .invoice-header,
    .client-section,
    .items-section,
    .summary-section,
    .terms-section,
    .invoice-footer {
        padding: 24px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .logo img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    

    
    .page-title {
        font-size: 2rem;
    }
    
    .tile {
        padding: 24px;
    }
    
    .category-chip {
        padding: 20px 16px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .gate-modal {
        padding: 24px;
    }
}

/* Contact Page */
.contact-content {
    padding: 2rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-section {
    padding: 2rem;
}

.contact-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 500;
    color: var(--dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 77, 37, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    margin-bottom: 1rem;
}

.form-success h4 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 0.25rem;
}

/* Business Hours */
.hours-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.emergency {
    color: var(--success);
    font-weight: 600;
}

/* Service Areas */
.service-areas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.area-group h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.area-group p {
    color: var(--gray);
    margin-bottom: 0.25rem;
}

/* WhatsApp CTA */
.whatsapp-cta {
    padding: 2rem;
    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-text h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: var(--gray);
    max-width: 500px;
}

.whatsapp-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .whatsapp-cta {
        padding: 1.5rem;
    }
    
    .cta-content {
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .screen-toolbar,
    .watermark {
        display: none !important;
    }
    
    .invoice-container {
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    .invoice-header,
    .client-section,
    .items-section,
    .summary-section,
    .terms-section,
    .invoice-footer {
        padding: 20px 0;
    }
    
    body {
        background: white;
    }
    
    .page-break {
        page-break-before: always;
    }
    
    .no-break {
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus Styles */
.btn:focus,
.filter-input:focus,
.filter-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}



/* Custom Cursor for Cards */
.product-card:hover,
.tile:hover,
.category-chip:hover,
.blog-card:hover,
.featured-article:hover {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M12 2L13.09 8.26L20 9L13.09 9.74L12 16L10.91 9.74L4 9L10.91 8.26L12 2Z' fill='%23EC4D25'/><path d='M12 2L13.09 8.26L20 9L13.09 9.74L12 16L10.91 9.74L4 9L10.91 8.26L12 2Z' fill='%23EC4D25' opacity='0.3'/><path d='M12 2L13.09 8.26L20 9L13.09 9.74L12 16L10.91 9.74L4 9L10.91 8.26L12 2Z' fill='%23EC4D25' opacity='0.1'/></svg>") 12 12, auto;
}

/* Sliding Hover Effect for Cards */
.product-card,
.tile,
.category-chip,
.blog-card,
.featured-article {
    position: relative;
    overflow: hidden;
}

.product-card::before,
.tile::before,
.category-chip::before,
.blog-card::before,
.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(236, 77, 37, 0.1), 
        transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before,
.tile:hover::before,
.category-chip:hover::before,
.blog-card:hover::before,
.featured-article:hover::before {
    left: 100%;
}

/* Enhanced hover effects with sliding animations */
.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.category-chip:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-hover);
    color: var(--primary);
}

.blog-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.featured-article:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

/* Smooth transitions for all card elements */
.product-card,
.tile,
.category-chip,
.blog-card,
.featured-article {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Additional sliding effect for card content */
.product-card .product-content,
.tile > *,
.category-chip > *,
.blog-card > *,
.featured-article > * {
    position: relative;
    z-index: 2;
}

/* Hover state for card borders */
.product-card:hover,
.tile:hover,
.category-chip:hover,
.blog-card:hover,
.featured-article:hover {
    border-color: var(--primary);
}

/* Enhanced glow effect on hover */
.product-card:hover,
.tile:hover,
.category-chip:hover,
.blog-card:hover,
.featured-article:hover {
    box-shadow: 
        0 20px 40px rgba(236, 77, 37, 0.16),
        0 0 0 1px rgba(236, 77, 37, 0.2),
        0 0 20px rgba(236, 77, 37, 0.1);
}

/* Smooth content animation on hover */
.product-card:hover .product-content,
.tile:hover > *,
.category-chip:hover > *,
.blog-card:hover > *,
.featured-article:hover > * {
    transform: translateY(-2px);
    transition: transform 0.3s var(--slide-timing);
}

/* Enhanced sliding effect with multiple layers */
.product-card::after,
.tile::after,
.category-chip::after,
.blog-card::after,
.featured-article::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(43, 207, 206, 0.05), 
        transparent);
    transition: left 0.8s var(--slide-timing);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::after,
.tile:hover::after,
.category-chip:hover::after,
.blog-card:hover::after,
.featured-article:hover::after {
    left: 100%;
}

/* Staggered animation for card elements */
.product-card:hover .product-image,
.tile:hover .tile-icon,
.category-chip:hover svg,
.blog-card:hover .blog-image,
.featured-article:hover .featured-image {
    transform: scale(1.1); /* Removed rotate(2deg) to prevent twisting */
    transition: transform 0.4s var(--slide-timing);
}

/* Smooth text color transitions */
.product-card:hover .product-name,
.tile:hover h3,
.category-chip:hover span,
.blog-card:hover .blog-title,
.featured-article:hover .article-title {
    color: var(--primary);
    transition: color 0.3s ease;
}

/* Blog Styles */
.blog-content {
    padding: 2rem 0 4rem;
}

/* Featured Article */
.featured-article {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.2;
}

.article-excerpt {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    padding: 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.blog-image .image-placeholder {
    width: 120px;
    height: 120px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Article Meta */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.publish-date {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Article Tags */
.article-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Article Footer */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.read-time {
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    background: var(--white);
    border: 1px solid #E2E8F0;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border: 1px solid transparent;
}

.page-number:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
}

.page-number.active {
    background: var(--primary);
    color: var(--white);
}

.page-dots {
    color: var(--muted);
    font-weight: 500;
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #E8F8F8 0%, #D4F4F4 100%);
}

.newsletter-content {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.newsletter-content p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 77, 37, 0.1);
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .featured-image {
        order: -1;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-content {
        padding: 1rem 0 2rem;
    }
    
    .featured-article {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .featured-text h2 {
        font-size: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card {
        padding: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .page-numbers {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .featured-text h2 {
        font-size: 1.3rem;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    .newsletter-content {
        padding: 1.5rem;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
}

/* Responsive adjustments for product images */
@media (max-width: 1200px) {
    .product-image {
        height: 320px;
    }
    
    .product-image img[src*="removebg-preview.png"] {
        padding: 35px;
        max-width: 88%;
        max-height: 88%;
    }
}

@media (max-width: 1024px) {
    .product-image {
        height: 300px;
    }
    
    .product-image img[src*="removebg-preview.png"] {
        padding: 32px;
        max-width: 85%;
        max-height: 85%;
    }
    
    .product-image img {
        padding: 6px;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 280px;
    }
    
    .product-image img[src*="removebg-preview.png"] {
        padding: 28px;
        max-width: 80%;
        max-height: 80%;
    }
    
    .product-image img {
        padding: 4px;
    }
}

@media (max-width: 640px) {
    .product-image {
        height: 260px;
    }
    
    .product-image img[src*="removebg-preview.png"] {
        padding: 25px;
        max-width: 75%;
        max-height: 75%;
    }
    
    .product-image img {
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 240px;
    }
    
    .product-image img[src*="removebg-preview.png"] {
        padding: 20px;
        max-width: 70%;
        max-height: 70%;
    }
    
    .product-image img {
        padding: 2px;
    }
}

@media (max-width: 360px) {
    .product-image {
        height: 220px;
    }
    
    .product-image img[src*="removebg-preview.png"] {
        padding: 18px;
        max-width: 65%;
        max-height: 65%;
    }
    
    .product-image img {
        padding: 1px;
    }
}

/* Page Transitions and Animations */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    transform: translateY(0);
}

.page-transition-content {
    text-align: center;
    color: var(--white);
    max-width: 400px;
    padding: 2rem;
}

.page-transition-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition-icon {
    width: 100%;
    height: 100%;
    position: relative;
    animation: pulse 2s infinite;
}

.page-transition-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.page-transition-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.page-transition-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 2rem;
}

.page-transition-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.page-transition-progress-bar {
    height: 100%;
    background: var(--white);
    border-radius: 2px;
    width: 0%;
    animation: progress 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.3));
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus Transitions */
*:focus {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Exit Animations */
.page-exit {
    animation: fadeOutDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Enhanced Loading States */
body.loading {
    overflow: hidden;
}

body.loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9998;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Ripple Effect for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Navigation Hover Effects */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Smooth Card Animations */
.product-card,
.tile,
.category-chip,
.blog-card,
.featured-article {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

/* Enhanced Modal Transitions */
.modal-overlay {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    opacity: 0;
}

.modal-overlay.active .modal {
    transform: scale(1);
    opacity: 1;
}

/* Page Content Fade In */
.page-content {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Image Loading */
.product-image img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.product-image img[loading] {
    opacity: 0;
}

.product-image img:not([loading]) {
    opacity: 1;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Performance Optimizations */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.section-animate {
    will-change: transform, opacity;
}

/* Smooth Focus Transitions */
input:focus,
button:focus,
select:focus,
textarea:focus {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Button States */
.btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Page Load Animations */
.page-content {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Navigation Transitions */
.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Enhanced Button Transitions */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Smooth Header Transitions */
.header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Page Section Animations */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-modal-info .grid p {
    color: var(--muted);
    margin: 0;
    font-weight: 500;
}

