:root {
    --brand-blue: #025091;
    --brand-light-blue: #0b69b5;
    --brand-green: #059637;
    --text-dark: #222222;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --border-color: #eaeaea;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Header & Navbar */
.top-header {
    border-bottom: none;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand-blue, #3b82f6);
    color: var(--white);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-main img{width:160px;}

.logo-main i { color: var(--brand-green, #10b981); font-size: 1.8rem; }
.logo-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.8); font-weight: 600; margin-top: 2px; }

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    max-width: 600px;
    margin: 0 20px;
}

.mobile-seller-btn {
    display: none;
}

.search-box {
    display: flex;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
}

.search-box button {
    background: var(--brand-blue, #3b82f6);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.search-box button:hover { background: var(--brand-light-blue, #60a5fa); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--white);
    text-decoration: none;
}

.action-item i { font-size: 1.2rem; color: rgba(255,255,255,0.8); }
.action-item .text-group { display: flex; flex-direction: column; }
.action-item .text-top { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.action-item .text-bottom { font-weight: 600; color: var(--white); }

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-green, #10b981);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Bottom Nav */
.bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: #013f73;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    color: #ffc107;
    border-bottom-color: #ffc107;
}

.btn-outline-green {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: rgba(255,255,255,0.1);
}

.btn-outline-green:hover {
    background: var(--brand-green, #10b981);
    border-color: var(--brand-green, #10b981);
    color: white;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    aspect-ratio: 1983 / 793;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--brand-blue, #3b82f6);
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.hero-content {
    max-width: 500px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-blue, #3b82f6);
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-title span { color: var(--brand-green, #10b981); }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-solid-green {
    background: var(--brand-green, #10b981);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.btn-solid-green:hover { opacity: 0.9; }

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    height: 400px;
    object-fit: contain;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-blue, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.feature-text {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 120px;
    line-height: 1.3;
}

/* Categories Slider */
.categories-slider {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    min-width: 90px;
    transition: transform 0.2s;
}

.category-item:hover { transform: translateY(-5px); }

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.cat-bg-1 { background: #fdf3e5; color: #f59e0b; }
.cat-bg-2 { background: #e5f6fd; color: #3b82f6; }
.cat-bg-3 { background: #e5fdf4; color: #10b981; }
.cat-bg-4 { background: #fde5ec; color: #ec4899; }
.cat-bg-5 { background: #f5e5fd; color: #8b5cf6; }

.category-name {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Promos */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.promo-card {
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.promo-1 { background: #eef8f3; }
.promo-2 { background: #eff6ff; }
.promo-3 { background: #f5f3ff; }

.promo-title { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }
.promo-subtitle { font-size: 1.1rem; color: var(--brand-green, #10b981); font-weight: 700; margin-bottom: 15px; }
.promo-2 .promo-subtitle { color: var(--brand-blue, #3b82f6); }
.promo-3 .promo-subtitle { color: #8b5cf6; }

.promo-btn {
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: white;
}
.btn-green { background: var(--brand-green, #10b981); }
.btn-blue { background: var(--brand-blue, #3b82f6); }
.btn-purple { background: #8b5cf6; }

/* Product Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title { font-size: 1.5rem; font-weight: 700; }

.product-filters {
    display: flex;
    gap: 20px;
    align-items: center;
}

.product-filters a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.product-filters a.active { color: var(--brand-blue, #3b82f6); font-weight: 600; border-bottom: 2px solid var(--brand-blue, #3b82f6); padding-bottom: 5px; }
.view-all { color: var(--brand-blue, #3b82f6); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 5px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    background: var(--white);
    transition: box-shadow 0.2s;
}

.product-card:hover { box-shadow: var(--shadow); }

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
}

.wishlist-btn:hover { color: #ff4757; }

.product-image-wrapper {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }
.old-price { font-size: 0.85rem; color: var(--text-gray); text-decoration: line-through; }
.discount-badge { background: var(--brand-green, #10b981); color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }

.add-to-cart-btn {
    width: 100%;
    background: var(--brand-blue, #3b82f6);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.add-to-cart-btn:hover { background: var(--brand-light-blue, #60a5fa); }

.mobile-menu-btn, .mobile-menu-header, .mobile-icon, .mobile-overlay {
    display: none;
}

/* ---------------------------------------------------
    RESPONSIVE DESIGN (Media Queries)
----------------------------------------------------- */

@media screen and (max-width: 1024px) {
    .container { padding: 20px; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 3rem; }
}

@media screen and (max-width: 768px) {
    /* Header */
    .top-header { 
        flex-wrap: wrap; 
        padding: 15px; 
        gap: 15px; 
    }
    .logo-container { flex: 1; }
    .header-actions { gap: 15px; }
    .action-item .text-group { display: none; } /* Hide text, show only icons */
    .action-item i { font-size: 1.5rem; }
    
    .search-container { 
        width: 100%; 
        max-width: 100%; 
        order: 3; 
    }
    
    .mobile-seller-btn { 
        display: flex; 
        padding: 12px 15px;
    }
    .desktop-seller-btn { display: none; }
    
    /* Mobile Sidebar Menu */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        margin-left: 5px;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .mobile-overlay.active { display: block; }
    
    .bottom-nav { 
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1000;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 2px 0 15px rgba(0,0,0,0.2);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
    }
    .bottom-nav.active { left: 0; }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 20px;
        background: var(--brand-blue, #3b82f6);
        color: white;
        box-sizing: border-box;
    }
    .mobile-menu-header h3 { margin: 0; font-size: 1.2rem; }
    .close-menu-btn {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav-links { 
        width: 100%; 
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 0; 
    }
    .nav-links a {
        font-size: 1.05rem;
        padding: 15px 20px;
        color: var(--text-dark);
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
    }
    .nav-links a:hover, .nav-links a.active {
        background: var(--bg-light);
        color: var(--brand-blue, #3b82f6);
        border-bottom-color: var(--border-color); /* override desktop active */
    }
    .mobile-icon {
        display: inline-block;
        width: 25px;
        color: var(--brand-green, #10b981);
        margin-right: 12px;
        font-size: 1.1rem;
    }
    
    /* Hero */
    .hero-section {
        aspect-ratio: 16 / 7; /* Give the banner a proper aspect ratio */
        padding: 0;
        min-height: 150px;
        text-align: center;
        border-radius: 0; /* Optional: stretch full width */
        margin-bottom: 5px; /* Reduced margin to bring categories closer */
    }
    .hero-title { font-size: 2.2rem; }
    .hero-content { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .hero-features { display: none; } /* Hide extra features to save space */
    .hero-image { display: none; } /* Hide the other image div if it exists */
    
    /* Products & Categories */
    .categories-slider {
        margin-bottom: 10px;
    }
    .category-item {
        min-width: 65px;
        gap: 5px;
    }
    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    .category-name {
        font-size: 0.7rem;
    }
    
    .promo-grid { 
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }
    
    .promo-card {
        min-width: 0;
        padding: 10px;
        min-height: 100px;
        border-radius: 8px;
    }
    .promo-title { font-size: 0.75rem; margin-bottom: 4px; line-height: 1.1; }
    .promo-subtitle { font-size: 0.65rem; margin-bottom: 8px; }
    .promo-btn { padding: 4px 6px; font-size: 0.65rem; border-radius: 4px; }
    .promo-card i { font-size: 2.5rem !important; right: -8px !important; bottom: -8px !important; }
    
    .section-header { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .section-title { font-size: 1.1rem; }
    
    .product-filters { 
        width: 100%; 
        overflow-x: auto; 
        white-space: nowrap; 
        padding-bottom: 5px; 
    }
    .product-filters a { font-size: 0.8rem; }
    
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }
    
    /* Ensure exactly 2 rows (4 items) are shown on mobile for sections */
    .product-grid:not(.catalog-grid) .product-card:nth-child(n+5) {
        display: none !important;
    }
    .product-card {
        padding: 8px;
        border-radius: 8px;
    }
    .product-image-wrapper {
        height: 80px;
        margin-bottom: 8px;
    }
    .product-image {
        height: 100%;
        margin-bottom: 0;
    }
    .product-title {
        font-size: 0.8rem;
        height: auto;
        min-height: 28px;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    .product-price-row {
        gap: 4px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }
    .current-price { font-size: 0.85rem; }
    .old-price { font-size: 0.65rem; }
    .discount-badge { font-size: 0.6rem; padding: 2px 4px; }
    .add-to-cart-btn {
        padding: 6px;
        font-size: 0.8rem;
    }
    .wishlist-btn {
        top: 8px;
        right: 8px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.95rem; }
}

/* =========================================================
   SERVICES MODULE STYLING
   ========================================================= */

/* Highlighted Services Header Button */
.btn-highlight-service,
.btn-highlight-service:link,
.btn-highlight-service:visited {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}

.btn-highlight-service * {
    color: #ffffff !important;
}

.btn-highlight-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.55);
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #ffffff !important;
}

.btn-highlight-service.active-service {
    box-shadow: 0 0 0 2px #ffffff, 0 6px 20px rgba(234, 88, 12, 0.6);
}

.badge-sparkle {
    background: #ffffff;
    color: #ea580c;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    text-transform: uppercase;
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Services Hero Banner */
.services-hero {
    background: linear-gradient(135deg, #023e7d 0%, #0353a4 50%, #001845 100%);
    color: #ffffff;
    padding: 45px 30px;
    border-radius: 16px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 62, 125, 0.25);
}

.services-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.services-hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.services-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.services-hero-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.services-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 25px;
}

.services-search-bar {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px;
    max-width: 580px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 0.95rem;
    color: #1f2937;
}

.services-search-bar button {
    background: linear-gradient(135deg, #059637 0%, #047857 100%);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.services-search-bar button:hover {
    background: #047857;
}

.services-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-trust-badge i {
    color: #fbbf24;
}

/* Service Card Styles */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-img-wrap {
    height: 175px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.05);
}

.service-badge-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.service-rating-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ffffff;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.service-rating-badge i {
    color: #f59e0b;
}

.service-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.service-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 12px;
    flex: 1;
}

.service-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.service-price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: #059637;
}

.service-price-old {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.service-discount {
    font-size: 0.72rem;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
}

.service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-book-service {
    background: #025091;
    color: #ffffff;
    border: none;
    padding: 9px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-book-service:hover {
    background: #0b69b5;
}

.btn-enquire-service {
    background: #f0fdf4;
    color: #059637;
    border: 1px solid #86efac;
    padding: 9px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-enquire-service:hover {
    background: #dcfce7;
    border-color: #4ade80;
}

/* Service Why Section */
.service-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 35px 0 50px 0;
}

.service-why-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    transition: transform 0.2s;
}

.service-why-box:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.service-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 14px auto;
}

.service-why-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.service-why-text {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

/* Booking Modal */
.service-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
}

.service-modal-backdrop.show {
    display: flex;
}

.service-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.service-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.service-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.service-modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
}

.service-modal-body {
    padding: 22px;
}

.service-modal-summary {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-form-group {
    margin-bottom: 15px;
}

.modal-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    font-family: inherit;
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: #025091;
    box-shadow: 0 0 0 3px rgba(2, 80, 145, 0.15);
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-submit-booking {
    width: 100%;
    background: linear-gradient(135deg, #059637 0%, #047857 100%);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(5, 150, 55, 0.25);
}

.btn-submit-booking:hover {
    background: #047857;
    transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
    .services-hero {
        padding: 30px 20px;
    }
    .services-hero-title {
        font-size: 1.6rem;
    }
    .services-hero-desc {
        font-size: 0.9rem;
    }
    .services-search-bar {
        flex-direction: column;
        background: transparent;
        padding: 0;
        box-shadow: none;
        gap: 8px;
    }
    .services-search-bar input {
        background: #ffffff;
        border-radius: 8px;
    }
    .services-search-bar button {
        justify-content: center;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .service-card {
        padding: 8px;
        border-radius: 8px;
    }
    .service-img-wrap {
        height: 90px;
    }
    .service-title {
        font-size: 0.8rem;
        min-height: 26px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    .service-desc {
        display: none; /* Hide description on mobile to keep it compact */
    }
    .service-meta-row {
        gap: 6px;
        margin-bottom: 8px;
        padding-bottom: 8px;
        font-size: 0.7rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .service-price-current {
        font-size: 0.95rem;
    }
    .service-price-old {
        font-size: 0.7rem;
    }
    .btn-book-service, .btn-enquire-service {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
    .service-actions {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .modal-form-row {
        grid-template-columns: 1fr;
    }
}

