/* ===================================================================
   ستائر وكنب الشاطئ بجدة - Luxury Stylesheet
   Color Palette: Deep Obsidian, Royal Navy, Champagne Warm Gold
   Fully Responsive for iPhone, Android, iPad, and Desktop screens
=================================================================== */

:root {
    --bg-main: #090d16;
    --bg-secondary: #0f1626;
    --bg-card: #141d31;
    --bg-card-hover: #1b2640;
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #a67c1e;
    --gold-gradient: linear-gradient(135deg, #fcebb6 0%, #d4af37 50%, #aa7c11 100%);
    --gold-glow: rgba(212, 175, 55, 0.28);
    --whatsapp-color: #25d366;
    --whatsapp-glow: rgba(37, 211, 102, 0.35);
    --phone-color: #1e88e5;
    --phone-glow: rgba(30, 136, 229, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(212, 175, 55, 0.18);
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Tajawal', sans-serif;
    --font-body: 'Cairo', sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* Text Utilities & Gold Accents */
.text-gold {
    color: var(--gold-primary) !important;
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.65rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-sm {
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.08rem;
    border-radius: var(--radius-md);
}

.btn-xl {
    padding: 1.15rem 2.2rem;
    font-size: 1.18rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #0b0f19;
    box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    color: #000;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #2ae771 0%, #1ea952 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px var(--whatsapp-glow);
}

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

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* Section Header */
.section {
    padding-block: 5.5rem;
    position: relative;
}

.section-subtitle {
    display: inline-block;
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    padding: 0.3rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.section-divider {
    width: 70px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
    margin: 0.85rem auto 1.25rem auto;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}

/* ================= TOP BAR ================= */
.top-bar {
    background: #060910;
    border-bottom: 1px solid var(--border-light);
    padding-block: 0.55rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold-light);
    font-weight: 600;
}

.top-contact-link:hover {
    color: var(--gold-primary);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
}

.location-badge {
    color: var(--text-muted);
}

/* ================= HEADER / NAVBAR ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 990;
    background: rgba(9, 13, 22, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(9, 13, 22, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(212, 175, 55, 0.25);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.85rem;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
}

.logo-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Desktop Nav List */
.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding-block: 0.35rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    cursor: pointer;
    z-index: 1000;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--gold-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 15% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(30, 58, 138, 0.12) 0%, transparent 50%),
                var(--bg-main);
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.28;
    margin-bottom: 1.35rem;
    color: #ffffff;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
    max-width: 620px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.hero-tag i {
    color: var(--gold-primary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-quick-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: rgba(20, 29, 49, 0.75);
    border: 1px solid var(--border-color);
    padding: 1rem 1.35rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    max-width: 580px;
}

.quick-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-card-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quick-card-text strong {
    color: var(--gold-light);
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}

/* Hero Visual Box */
.hero-visual {
    position: relative;
}

.hero-main-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.85rem;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.3) 0%, rgba(20, 29, 49, 0.9) 100%);
    box-shadow: var(--shadow-lg), 0 0 35px rgba(212, 175, 55, 0.15);
}

.featured-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/4.6;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-main-card:hover .featured-img {
    transform: scale(1.04);
}

.image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 15, 27, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.hero-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(15, 22, 38, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 0.8rem 1.15rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: floatSlow 4s ease-in-out infinite alternate;
}

.hero-floating-badge.badge-1 {
    bottom: -15px;
    right: -20px;
}

.hero-floating-badge.badge-2 {
    top: 30px;
    left: -25px;
    animation-delay: -2s;
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-content strong {
    font-size: 0.92rem;
    color: #fff;
}

.badge-content span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

@keyframes floatSlow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* ================= STATS BAR ================= */
.stats-bar {
    margin-top: 4rem;
    padding-block: 2.2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-color);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-3px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1.2;
}

.stat-title {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ================= SERVICES SECTION ================= */
.services-section {
    background: var(--bg-main);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(212, 175, 55, 0.2);
}

.service-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image-box img {
    transform: scale(1.08);
}

.service-icon {
    position: absolute;
    bottom: -18px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gold-gradient);
    color: #0b0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.service-content {
    padding: 2.2rem 1.6rem 1.6rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-features {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.15rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-sm);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.92rem;
}

.service-link:hover {
    background: var(--gold-gradient);
    color: #0b0f19;
    border-color: transparent;
}

/* ================= GALLERY SECTION ================= */
.gallery-section {
    background: var(--bg-secondary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.8rem;
}

.filter-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.94rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold-gradient);
    color: #0b0f19;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.gallery-item {
    transition: var(--transition);
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3.8;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0.6) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--gold-gradient);
    color: #0b0f19;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.gallery-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-zoom-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    align-self: flex-end;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-zoom-btn:hover {
    background: var(--gold-primary);
    color: #0b0f19;
}

.gallery-bottom-cta {
    margin-top: 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-lg);
}

.gallery-bottom-cta p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
}

.gallery-cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.15rem;
}

/* ================= LIGHTBOX MODAL ================= */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 14, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: transparent;
    color: #ffffff;
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--gold-gradient);
    color: #0b0f19;
    border-color: transparent;
}

.lightbox-nav.prev {
    right: 30px;
}

.lightbox-nav.next {
    left: 30px;
}

.lightbox-content {
    max-width: 880px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.lightbox-img-wrapper {
    max-height: 68vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-img-wrapper img {
    max-height: 68vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.lightbox-caption {
    padding: 1.25rem 1.6rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.lightbox-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.lightbox-caption p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ================= FEATURES SECTION ================= */
.features-section {
    background: var(--bg-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--gold-gradient);
    transition: height 0.4s ease;
}

.feature-card:hover {
    border-color: var(--border-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ================= CALCULATOR / FORM SECTION ================= */
.calculator-section {
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.07) 0%, transparent 60%),
                var(--bg-secondary);
}

.calculator-wrapper {
    max-width: 860px;
    margin-inline: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem 2.8rem;
    box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 0, 0, 0.6);
}

.calculator-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.calculator-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.calculator-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

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

.form-group label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #090e1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0.95rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px var(--gold-glow);
    background: #0d1527;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group select option {
    background: #0d1527;
    color: #ffffff;
}

.form-submit-row {
    margin-top: 0.8rem;
}

.form-footer-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

/* ================= REVIEWS SECTION ================= */
.reviews-section {
    background: var(--bg-main);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #f59e0b;
    display: flex;
    gap: 0.25rem;
    font-size: 1.05rem;
    margin-bottom: 1.15rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 1.6rem;
    flex-grow: 1;
    font-style: italic;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info strong {
    font-size: 0.96rem;
    color: #ffffff;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--gold-light);
}

/* ================= KEYWORDS & SEO SECTION ================= */
.keywords-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.keyword-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.keyword-pill:hover {
    color: var(--gold-light);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-2px);
}

.keyword-pill i {
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.districts-coverage-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
}

.districts-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.25rem;
}

.districts-header i {
    font-size: 2.2rem;
}

.districts-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 800;
}

.districts-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.districts-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.district-col h4 {
    color: var(--gold-light);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.district-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.district-col li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    position: relative;
    padding-right: 1.15rem;
}

.district-col li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--gold-primary);
    font-size: 1.2rem;
    line-height: 1;
}

/* ================= MAP SECTION ================= */
.map-section {
    background: var(--bg-main);
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-card-info {
    padding: 2.8rem 2.2rem;
    display: flex;
    flex-direction: column;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    align-self: flex-start;
    margin-bottom: 0.85rem;
}

.map-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.info-text {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.map-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2rem;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.map-info-item i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.map-info-item div {
    display: flex;
    flex-direction: column;
}

.map-info-item strong {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.map-info-item span, .map-info-item a {
    font-size: 0.98rem;
    color: #ffffff;
    font-weight: 600;
}

.map-info-item a:hover {
    color: var(--gold-primary);
}

.map-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.map-frame-box {
    position: relative;
    min-height: 480px;
}

.map-frame-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

.map-overlay-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 15, 27, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.55rem 1rem;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 5;
}

/* ================= FAQ SECTION ================= */
.faq-section {
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 860px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.6rem;
    background: transparent;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-align: right;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold-light);
}

.faq-arrow {
    color: var(--gold-primary);
    transition: transform 0.35s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
    padding: 1.25rem 1.6rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid var(--border-light);
}

/* ================= FOOTER ================= */
.site-footer {
    background: #05070d;
    border-top: 1px solid var(--border-light);
    padding-top: 4.5rem;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 2.8rem;
    padding-bottom: 3.5rem;
}

.brand-col .logo-main {
    font-size: 1.4rem;
}

.footer-about {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold-gradient);
    color: #0b0f19;
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: 0.55rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(-5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.footer-contact-item div {
    display: flex;
    flex-direction: column;
}

.footer-contact-item span:first-child {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-contact-item a, .footer-contact-item span:last-child {
    color: #ffffff;
    font-weight: 600;
}

.footer-contact-item a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    background: #020306;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-block: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bottom-quick-tags {
    color: var(--gold-light);
    font-size: 0.82rem;
}

/* ===================================================================
   MARKETING & GOOGLE ADS/MAPS BANNER (المهندس أبو محمد)
=================================================================== */
.developer-marketing-banner {
    padding-block: 2.2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 22, 38, 0.95) 0%, rgba(6, 9, 16, 0.98) 100%);
    position: relative;
    z-index: 2;
}

.marketing-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.2rem;
    padding: 2rem 2.4rem;
    background: radial-gradient(circle at 10% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
                rgba(20, 29, 49, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.12);
    transition: var(--transition);
}

.marketing-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.2);
}

.marketing-content {
    max-width: 680px;
}

.marketing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.28rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.marketing-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 0.55rem;
}

.marketing-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.marketing-desc strong {
    color: var(--gold-light);
    font-weight: 700;
}

.marketing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.btn-marketing {
    padding: 0.95rem 1.65rem;
    font-size: 0.98rem;
    box-shadow: 0 4px 20px var(--whatsapp-glow);
    white-space: normal;
    text-align: center;
}

.btn-marketing:hover {
    transform: translateY(-3px) scale(1.02);
}

.marketing-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.98rem;
    transition: var(--transition);
}

.marketing-phone-link:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

@media (max-width: 950px) {
    .marketing-card {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem 1.4rem;
        gap: 1.5rem;
    }

    .marketing-actions {
        width: 100%;
    }

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

/* ===================================================================
   FIXED FLOATING BUTTONS ON THE LEFT (زرين اتصال وواتساب ثابتة على اليسار)
=================================================================== */
.fixed-floating-actions {
    position: fixed;
    bottom: 25px;
    left: 20px; /* Fixed strictly on the left as requested by user */
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.floating-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.12);
}

.btn-floating-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 8px 25px var(--whatsapp-glow);
}

.btn-floating-call {
    background: var(--gold-gradient);
    color: #0b0f19;
    box-shadow: 0 8px 25px var(--gold-glow);
}

.floating-tooltip {
    position: absolute;
    left: 72px; /* Appears to the right of the button since it's on the left */
    background: rgba(10, 15, 27, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.floating-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent rgba(10, 15, 27, 0.95) transparent transparent;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulsating Animation Rings */
.pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    pointer-events: none;
    animation: pulseWave 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.pulse-green {
    border: 2px solid #25d366;
}

.pulse-gold {
    border: 2px solid var(--gold-primary);
    animation-delay: 1.1s;
}

@keyframes pulseWave {
    0% {
        transform: scale(0.9);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(20, 29, 49, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-gradient);
    color: #0b0f19;
    border-color: transparent;
}

/* ===================================================================
   RESPONSIVE DESIGN (IPHONE, ANDROID, TABLET, DESKTOP)
=================================================================== */

/* Large Tablets & Medium Laptops */
@media (max-width: 1080px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }

    .hero-visual {
        max-width: 520px;
        margin-inline: auto;
    }

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

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

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

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

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

    .map-wrapper {
        grid-template-columns: 1fr;
    }

    .map-frame-box {
        min-height: 380px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Small Tablets & Large Phones */
@media (max-width: 860px) {
    .top-bar {
        display: none; /* Clean mobile view */
    }

    .mobile-toggle {
        display: flex;
    }

    .d-none-mobile {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 340px;
        height: 100vh;
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 5rem 2rem 2rem;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 998;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.35rem;
        width: 100%;
    }

    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        padding-block: 0.5rem;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .section-title {
        font-size: 1.95rem;
    }

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

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper {
        padding: 2rem 1.4rem;
    }
}

/* Mobile Phones (iPhone & Android) */
@media (max-width: 580px) {
    .section {
        padding-block: 3.8rem;
    }

    .container {
        padding-inline: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.35;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .gallery-title {
        font-size: 0.88rem;
    }

    .gallery-desc {
        display: none; /* Preserve space on mobile */
    }

    .gallery-overlay {
        padding: 0.85rem;
    }

    .districts-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.85rem;
    }

    /* Fixed buttons mobile optimization */
    .fixed-floating-actions {
        bottom: 20px;
        left: 14px;
        gap: 10px;
    }

    .floating-btn {
        width: 54px;
        height: 54px;
        font-size: 1.55rem;
    }

    .floating-tooltip {
        display: none; /* Hide hover tooltips on mobile touch screens */
    }

    .back-to-top {
        bottom: 20px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .lightbox-nav.prev {
        right: 10px;
    }

    .lightbox-nav.next {
        left: 10px;
    }
}
