/* ===================================
   Premium Light Theme - Qaryetna
   Modern, Accessible, Beautiful
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enhanced Color Palette */
    --primary: #59886B;
    --primary-light: #7FAA92;
    --primary-lighter: #A4C3A2;
    --primary-dark: #3D5A4A;
    --primary-darker: #2d4238;

    /* Rich Gradients */
    --primary-gradient: linear-gradient(135deg, #59886B 0%, #7FAA92 50%, #A4C3A2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #3D5A4A 0%, #59886B 50%, #7FAA92 100%);
    --accent-gradient: linear-gradient(135deg, #A4C3A2 0%, #D8E8D3 100%);
    --shimmer-gradient: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);

    /* Mesh Background */
    --mesh-gradient: radial-gradient(at 40% 20%, rgba(89, 136, 107, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(127, 170, 146, 0.06) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(164, 195, 162, 0.05) 0px, transparent 50%);

    /* Sophisticated Backgrounds */
    --bg-base: #EBF4DD;
    --bg-lighter: #F5F9EE;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --bg-accent: #D8E8D3;
    --bg-gradient: linear-gradient(180deg, #F5F9EE 0%, #EBF4DD 50%, #D8E8D3 100%);

    /* Rich Text Hierarchy */
    --text: #2C3E37;
    --text-secondary: #4A5D54;
    --text-muted: #6B7F75;
    --text-light: #8A9A91;
    --text-white: #ffffff;

    /* Advanced Borders & Glass */
    --border: rgba(89, 136, 107, 0.2);
    --border-light: rgba(89, 136, 107, 0.1);
    --border-medium: rgba(89, 136, 107, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-strong: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(89, 136, 107, 0.25);

    /* Premium Shadow System */
    --shadow-xs: 0 1px 3px rgba(89, 136, 107, 0.08);
    --shadow-sm: 0 2px 8px rgba(89, 136, 107, 0.1);
    --shadow-md: 0 4px 16px rgba(89, 136, 107, 0.12);
    --shadow-lg: 0 10px 30px rgba(89, 136, 107, 0.15);
    --shadow-xl: 0 20px 50px rgba(89, 136, 107, 0.2);
    --shadow-2xl: 0 30px 70px rgba(89, 136, 107, 0.25);
    --shadow-glow: 0 0 20px rgba(89, 136, 107, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Advanced Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing System */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-gradient);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Advanced Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        var(--mesh-gradient),
        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='%2359886B' fill-opacity='0.03'%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");
    pointer-events: none;
    z-index: -1;
    opacity: 1;
    animation: bgFloat 20s ease-in-out infinite alternate;
}

@keyframes bgFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(15px, 15px);
    }
}

/* Floating Particles Effect */
body::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 25% 35%, rgba(89, 136, 107, 0.15) 0%, transparent 2%),
        radial-gradient(circle at 75% 65%, rgba(127, 170, 146, 0.12) 0%, transparent 2%),
        radial-gradient(circle at 50% 50%, rgba(164, 195, 162, 0.1) 0%, transparent 2%),
        radial-gradient(circle at 15% 80%, rgba(89, 136, 107, 0.13) 0%, transparent 2%);
    background-size: 300% 300%;
    animation: particleFloat 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes particleFloat {

    0%,
    100% {
        background-position: 0% 0%;
        opacity: 0.6;
    }

    50% {
        background-position: 100% 100%;
        opacity: 0.8;
    }
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-lighter);
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient-hover);
    border-width: 1px;
}

/* Loading */
#loading {
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    gap: 1.5rem;
}

#loading.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(89, 136, 107, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

#loading p {
    color: var(--text-secondary);
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

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

/* Premium Header with Advanced Effects */
.header {
    background: var(--primary-gradient);
    color: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.6s var(--transition-bounce);
}

/* Animated Top Accent Line */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A4C3A2 0%, #ffffff 50%, #A4C3A2 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    animation: shimmerFlow 3s linear infinite;
}

@keyframes shimmerFlow {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Shimmer Overlay Effect */
.header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%),
        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.04'%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");
    pointer-events: none;
    animation: patternSlide 30s linear infinite;
}

@keyframes patternSlide {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 100px 100px, 60px 60px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(- 100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Floating Icon Effect */
.header h1 i {
    color: white;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    font-size: 2.75rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(-3deg);
    }

    75% {
        transform: translateY(-4px) rotate(3deg);
    }
}

.header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.25px;
}

/* Header CTA Button */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    z-index: 5;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-cta i {
    font-size: 1rem;
    transition: transform var(--transition);
}

.header-cta:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.header-cta:hover i {
    transform: scale(1.2) rotate(-5deg);
}

.header-cta:active {
    transform: translateY(-1px) scale(0.98);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.4s ease-out;
}

.breadcrumb-item {
    background: white;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 136, 107, 0.15);
    background: var(--bg-lighter);
}

/* Step Sections */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.step h2 {
    font-size: 1.85rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--text);
    font-weight: 800;
    position: relative;
    padding-bottom: 0.75rem;
}

/* Gradient Underline Accent */
.step h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.step h2 i {
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(89, 136, 107, 0.4));
    font-size: 1.75rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(89, 136, 107, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(89, 136, 107, 0.6));
    }
}

/* Premium Search Bar */
.search {
    position: relative;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    overflow: hidden;
    border-radius: var(--radius-full);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.25rem;
    z-index: 2;
    transition: all var(--transition);
    filter: drop-shadow(0 0 8px rgba(89, 136, 107, 0.3));
}

.search input {
    width: 100%;
    padding: 1.25rem 4rem 1.25rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    color: var(--text);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.search input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

/* Hover State */
.search:hover input {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Focus State with Premium Effects */
.search input:focus {
    outline: none;
    border-color: transparent;
    background: var(--primary-gradient);
    color: white;
    box-shadow:
        var(--shadow-xl),
        0 0 0 4px rgba(89, 136, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.01);
}

.search input:focus::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Icon Animation on Focus */
.search:focus-within i {
    color: white;
    transform: translateY(-50%) scale(1.2) rotate(15deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

/* Shimmer Effect on Hover */
.search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--shimmer-gradient);
    transition: left 0.6s ease;
    pointer-events: none;
    border-radius: var(--radius-full);
    z-index: 1;
}

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

/* Premium Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

/* Premium Cards with 3D Effects */
.card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    animation: cardEntry 0.6s ease-out both;
    transform-style: preserve-3d;
}

/* Staggered Entry Animation */
.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.15s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

.card:nth-child(4) {
    animation-delay: 0.25s;
}

.card:nth-child(5) {
    animation-delay: 0.3s;
}

.card:nth-child(6) {
    animation-delay: 0.35s;
}

.card:nth-child(n+7) {
    animation-delay: 0.4s;
}

@keyframes cardEntry {
    from {
        opacity: 0;
        transform: translateY(20px) rotateX(10deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Gradient Top Bar - Hidden by Default */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    z-index: 2;
}

/* Radial Glow Effect */
.card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(89, 136, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

/* Hover State - 3D Lift */
.card:hover {
    border-color: var(--primary);
    transform: translateY(-12px) rotateX(5deg);
    box-shadow:
        var(--shadow-xl),
        var(--shadow-glow),
        0 20px 40px -10px rgba(89, 136, 107, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #F5F9EE 100%);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    width: 200%;
    height: 200%;
    opacity: 1;
}

/* Active/Press State */
.card:active {
    transform: translateY(-8px) scale(0.98);
    transition-duration: 0.1s;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(89, 136, 107, 0.25));
    transition: all var(--transition);
    display: inline-block;
    position: relative;
    z-index: 1;
}

.card:hover .card-icon {
    transform: scale(1.15) rotate(8deg) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(89, 136, 107, 0.4));
}

.card-name {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.card:hover .card-name {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Services Grid Container */
#servicesList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Service Card */
.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
    background: var(--bg-lighter);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 800;
}

.service-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(89, 136, 107, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border: 1px solid rgba(89, 136, 107, 0.2);
    font-weight: 600;
}

.service-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.btn {
    flex: 1;
    padding: 0.9rem;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.btn i {
    font-size: 1.1rem;
}

.btn:active {
    transform: scale(0.95);
}

.btn-call {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(89, 136, 107, 0.3);
}

.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(89, 136, 107, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-back {
    background: white;
    border: 2px solid var(--border);
    color: var(--text);
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.btn-back:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-lighter);
}

/* Service Notes */
.service-notes {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.75rem;
    background: rgba(89, 136, 107, 0.08);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary);
}

/* Empty */
.empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-light);
    background: white;
    border-radius: 1.5rem;
    border: 2px dashed var(--border);
    margin: 2rem 0;
}

.empty i {
    font-size: 5rem;
    opacity: 0.3;
    margin-bottom: 1.5rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.empty h3 {
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.empty p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Services Title */
#servicesTitle {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    color: var(--text);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#servicesTitle::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background: var(--primary-gradient);
    border-radius: 10px;
}

/* Staggered animations */
.service-card:nth-child(1) {
    animation-delay: 0s;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(n+6) {
    animation-delay: 0.5s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .header h1 {
        font-size: 1.6rem;
    }

    .step h2 {
        font-size: 1.4rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.75rem;
    }

    .card {
        padding: 1.2rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    /* Services grid - 1 column on mobile */
    #servicesList {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {

    /* Services grid - 2 columns on tablets */
    #servicesList {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
.card:focus-visible,
.btn:focus-visible,
.search input:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ===================================
   Governorate Selection Page Styles
   (Based on Reference Design)
   =================================== */

/* Page Title Section */
.page-title {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.page-title h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.page-title p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Headers with Bullet Points */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 2.5rem 0 1.5rem;
}

.section-header::before {
    content: '•';
    color: var(--primary);
    font-size: 1.5rem;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    z-index: 3;
}

.popular-badge::before {
    content: '⭐';
    font-size: 0.85rem;
}

/* Location Pin Icon Container */
.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(45, 212, 191, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all var(--transition);
}

.location-icon i {
    color: var(--primary);
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(89, 136, 107, 0.2));
}

.card:hover .location-icon {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.25), rgba(45, 212, 191, 0.2));
    transform: scale(1.1) translateY(-3px);
}

.card:hover .location-icon i {
    color: var(--primary-dark);
    filter: drop-shadow(0 4px 8px rgba(89, 136, 107, 0.3));
}

/* Governorate Name */
.gov-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: all var(--transition);
}

.card:hover .gov-name {
    color: var(--primary-dark);
}

/* Service Count */
.service-count {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

/* Coming Soon Badge - Friendly Alternative to "0 Services" */
.service-count.coming-soon {
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.08));
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
    margin-top: 0.25rem;
}

.service-count.coming-soon i {
    font-size: 0.75rem;
    color: #0ea5e9;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Compact Grid for More Items */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    .gov-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .gov-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .gov-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Popular Governorate Cards - Special Styling */
.card.popular {
    border-color: var(--primary);
    box-shadow:
        var(--shadow-md),
        0 0 0 1px rgba(89, 136, 107, 0.1);
}

.card.popular::before {
    transform: scaleX(1);
}

/* Compact Card Variant - Smaller for More Items */
.card.compact {
    padding: 1.25rem 1rem;
}

.card.compact .location-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
}

.card.compact .location-icon i {
    font-size: 1.5rem;
}

.card.compact .gov-name {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.card.compact .service-count {
    font-size: 0.85rem;
}

/* Location Search Bar Variant */
.search.location-search i {
    left: 1.5rem;
    right: auto;
    color: var(--text-light);
    font-size: 1.25rem;
}

.search.location-search input {
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    text-align: right;
}

.search.location-search input::placeholder {
    color: var(--text-light);
    font-weight: 500;
}

/* Results Counter */
.results-counter {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* ===================================
   Service Cards - Premium Design
   =================================== */

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
    animation: fadeIn 0.6s ease-out;
}

/* ===================================
   Premium Service Provider Card
   =================================== */
.provider-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdfb 100%);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(89, 136, 107, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Right Accent Border (RTL) */
.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 0 20px 20px 0;
}

.provider-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(89, 136, 107, 0.18), 0 0 40px rgba(89, 136, 107, 0.12);
}

/* Verification Badge */
.provider-card .verification-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--bg-lighter);
    color: var(--primary-dark);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1.5px solid var(--primary-lighter);
    transition: all 0.2s ease;
}

.provider-card:hover .verification-badge {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Service Icon Container */
.provider-card .icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}

.provider-card .icon-container {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, rgba(89, 136, 107, 0.1) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-lighter);
}

.provider-card .icon-container i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.2s ease;
}

.provider-card:hover .icon-container {
    transform: scale(1.08) rotate(-3deg);
    background: linear-gradient(135deg, rgba(89, 136, 107, 0.15) 0%, rgba(89, 136, 107, 0.25) 100%);
}

/* Provider Info */
.provider-card .provider-info {
    text-align: center;
    margin-bottom: 1rem;
}

.provider-card .provider-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.65rem;
}

.provider-card .service-type {
    display: inline-flex;
    background: var(--bg-lighter);
    color: var(--primary-dark);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1.5px solid var(--primary-lighter);
    transition: all 0.2s ease;
}

.provider-card:hover .service-type {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Rating Section */
.provider-card .rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.provider-card .rating-star {
    color: #f59e0b;
    font-size: 1.15rem;
}

.provider-card .rating-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f59e0b;
}

.provider-card .rating-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Details Section */
.provider-card .details-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.provider-card .detail-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.provider-card .detail-row i {
    color: var(--primary);
}

/* Service Areas */
.provider-card .areas-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.provider-card .areas-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
}

.provider-card .areas-label i {
    color: var(--primary);
}

.provider-card .area-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.provider-card .area-chip {
    background: #f3f4f6;
    color: var(--text-secondary);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.provider-card .area-chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Experience Badge */
.provider-card .experience-badge {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

/* Action Buttons */
.provider-card .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.provider-card .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    border: none;
}

.provider-card .btn i {
    font-size: 1.15rem;
}

.provider-card .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(89, 136, 107, 0.3);
}

.provider-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(89, 136, 107, 0.4);
}

.provider-card .btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.provider-card .btn-secondary:hover {
    background: var(--bg-lighter);
    transform: translateY(-3px);
}

/* Service Notes */
.service-notes {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border-right: 3px solid var(--primary);
}

/* Service Actions */
.service-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-contact {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-phone {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

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

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

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

/* Responsive Service Cards */
@media (max-width: 640px) {
    .service-actions {
        flex-direction: column;
    }

    .btn-contact {
        width: 100%;
    }
}

/* ===================================
   Category Filters
   =================================== */

.category-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* Space for scrollbar if visible, or touch area */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.category-filters::-webkit-scrollbar {
    display: none;
}

.category-chip {
    background: white;
    border: 2px solid var(--border);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.category-chip i {
    font-size: 0.9rem;
}

.category-chip:hover {
    border-color: var(--primary);
    background: var(--bg-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.category-chip.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.category-chip.active:hover {
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Empty State
   =================================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-lighter);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ===================================
   Rating Display
   =================================== */

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 0.75rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.rating-display .stars {
    display: flex;
    gap: 0.15rem;
    color: #ffc107;
    font-size: 0.95rem;
}

.rating-display .stars i {
    filter: drop-shadow(0 1px 2px rgba(255, 193, 7, 0.3));
}

.rating-display .rating-value {
    font-weight: 800;
    color: var(--text);
    font-size: 1.1rem;
}

.rating-display .review-count {
    color: var(--text-light);
    font-size: 0.85rem;
}

.rating-display.no-rating {
    background: var(--bg-lighter);
    border-color: var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating-display.no-rating i {
    color: var(--text-light);
    opacity: 0.5;
}

/* ===================================
   📱 COMPREHENSIVE RESPONSIVE DESIGN
   =================================== */

/* 🎯 Fluid Typography */
:root {
    font-size: clamp(14px, 2vw, 16px);
}

/* 📱 Mobile First (< 640px) */
@media (max-width: 640px) {

    /* Header */
    .header h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        padding: 0 1rem;
    }

    .header p {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    .header-cta {
        padding: 0.75rem 1.25rem;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    /* Container */
    .container {
        padding: 1rem;
        max-width: 100%;
    }

    /* Page Title */
    .page-title h1 {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }

    .page-title p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    /* Location Grid */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .location-card {
        padding: 1rem;
    }

    .location-card h3 {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    .location-card .service-count {
        font-size: clamp(0.8rem, 2.5vw, 0.85rem);
    }

    /* Service Cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-card h3 {
        font-size: clamp(1rem, 4vw, 1.15rem);
    }

    .service-info p {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    /* Buttons */
    .btn-contact {
        padding: 0.75rem 1rem;
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    }

    /* Search */
    .search input {
        padding: 0.875rem 1rem 0.875rem 3rem;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .search i {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: clamp(0.75rem, 2.25vw, 0.85rem);
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    /* Category Filters */
    .category-filters {
        gap: 0.5rem;
    }

    .category-chip {
        padding: 0.5rem 0.875rem;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    /* Empty State */
    .empty-state {
        padding: 2.5rem 1rem;
    }

    .empty-state i {
        font-size: 3rem;
    }

    .empty-state h3 {
        font-size: clamp(1.15rem, 4vw, 1.35rem);
    }

    /* Footer */
    .footer {
        padding: 1.5rem 1rem;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }
}

/* 📱 Mobile Landscape / Small Tablet (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {

    .location-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .page-title h1 {
        font-size: 1.65rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }
}

/* 💻 Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .header h1 {
        font-size: 2.25rem;
    }

    .page-title h1 {
        font-size: 1.85rem;
    }
}

/* 🖥️ Desktop (> 1024px) */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .location-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 🖥️ Large Desktop (> 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .location-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 📱 Extra Small Devices (< 375px) */
@media (max-width: 374px) {
    .header h1 {
        font-size: 1.35rem;
    }

    .page-title h1 {
        font-size: 1.25rem;
    }

    .location-card,
    .service-card {
        padding: 0.875rem;
    }

    .service-card h3 {
        font-size: 0.95rem;
    }

    .btn-contact {
        padding: 0.65rem 0.875rem;
        font-size: 0.8rem;
    }

    .category-chip {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* 🎨 Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .location-card,
    .service-card,
    .btn-contact,
    .category-chip {
        min-height: 44px;
        /* Apple's recommended touch target */
    }

    .location-card:active,
    .service-card:active {
        transform: scale(0.97);
    }

    .btn-contact:active {
        transform: scale(0.95);
    }
}

/* 🌐 Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 1rem 0;
    }

    .page-title {
        margin-bottom: 1rem;
    }

    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-state i {
        font-size: 2.5rem;
    }
}

/* ♿ Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .location-card:hover,
    .service-card:hover,
    .btn-contact:hover {
        transform: none;
    }
}

/* 🌙 Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Uncomment when implementing dark mode
    :root {
        --bg: #1a1a1a;
        --text: #e5e5e5;
        --card: #2d2d2d;
    }
    */
}

/* 🎯 Print Styles */
@media print {

    .header-cta,
    .search,
    .category-filters,
    .btn-contact,
    body::before {
        display: none !important;
    }

    .service-card,
    .location-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .page-title {
        page-break-after: avoid;
    }
}

/* 📱 iOS Input Zoom Fix */
@media (max-width: 768px) {

    input,
    select,
    textarea,
    .form-group input,
    .select-wrapper select {
        font-size: 16px !important;
    }
}

/* ===================================
   👨‍💻 Modern Developer Footer
   =================================== */

.main-footer {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.copyright {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.developers-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dev-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.dev-cards-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dev-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.25rem;
    border-radius: 3rem;
    /* Pill shape */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.dev-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(89, 136, 107, 0.2);
}

.dev-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dev-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.dev-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* English font */
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.2;
}

.dev-role {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}