/*
   Elrafaicool for Air Conditioning & Refrigeration
   Exact Brand Color Palette System (User Customized)
   
   Palette Tokens:
   #0042a0 - Deep Electric Royal Blue
   #05448c - Royal Navy
   #216aae - Primary Ocean Blue
   #528bc0 - Medium Ice Blue
   #8295b4 - Steel Muted Blue
   #9ebcda - Ice Frost Cyan
   #274c6b - Deep Steel Navy
   #d3d5dd - Silver Metallic Accent
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Exact Provided Hex Palette Tokens */
    --c-0042a0: #0042a0;
    --c-05448c: #05448c;
    --c-216aae: #216aae;
    --c-528bc0: #0284c7;
    --c-8295b4: #64748b;
    --c-9ebcda: #38bdf8;
    --c-274c6b: #0f172a;
    --c-d3d5dd: #e2e8f0;

    /* Theme Variables - Dark Mode (Default) */
    --bg-body: #020914;
    --bg-navbar: rgba(2, 9, 20, 0.94);
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --bg-strip: rgba(15, 23, 42, 0.55);
    --bg-input: #0f172a;

    --text-main: #f1f5f9;
    --text-sub: #94a3b8;
    --text-heading: #ffffff;

    --border-color: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);

    /* Brand Logo Colors */
    --primary: #0284c7;
    --primary-dark: #0042a0;
    --primary-glow: rgba(2, 132, 199, 0.45);

    --cyan: #38bdf8;
    --cyan-dark: #0284c7;
    --cyan-glow: rgba(56, 189, 248, 0.45);

    --accent: #38bdf8;
    --silver: #cbd5e1;

    --gradient-primary: linear-gradient(135deg, #0042a0 0%, #0284c7 100%);
    --gradient-hero: linear-gradient(135deg, #05448c 0%, #020914 100%);
    --gradient-card: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 66, 160, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(2, 9, 20, 0.4) 0px, transparent 50%);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 22px 50px -10px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.25);

    --radius-sm: 0.5rem;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables (High Contrast & Crystal Clear Readability) */
[data-theme="light"] {
    --bg-body: #f8fafc;
    --bg-navbar: rgba(255, 255, 255, 0.98);
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-strip: #f1f5f9;
    --bg-input: #f8fafc;

    --text-main: #0f172a;
    --text-sub: #334155;
    --text-heading: #091e42;

    --border-color: #cbd5e1;
    --glass-border: #94a3b8;

    --cyan: #0284c7;
    --cyan-dark: #0042a0;
    --primary: #0284c7;
    --primary-dark: #0042a0;

    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.09) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 66, 160, 0.07) 0px, transparent 50%);

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.18);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-body);
    background-image: var(--gradient-mesh);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-heading) 30%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan {
    color: #0284c7;
}

[data-theme="dark"] .text-cyan {
    color: #38bdf8;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid var(--border-color);
    color: #0284c7;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 15px;
    animation: pulseGlow 3s infinite alternate;
}

[data-theme="dark"] .section-header .section-tag {
    background: rgba(2, 132, 199, 0.2);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 rgba(82, 139, 192, 0); }
    100% { box-shadow: 0 0 15px rgba(82, 139, 192, 0.35); }
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-sub);
    font-size: 1.12rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Floating Contacts (Desktop) */
.social-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-floating a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.social-floating a.whatsapp-btn { background: #25d366; }
.social-floating a.phone-btn { background: var(--c-0042a0); }

.social-floating a:hover {
    transform: translateY(-6px) scale(1.12);
    box-shadow: var(--shadow-glow);
}

/* Mobile Sticky Bottom Touch Action Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 9999;
    padding: 8px 15px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-bar .bottom-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    height: 100%;
}

.mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-heading);
    transition: var(--transition);
}

.mobile-bottom-bar a i {
    font-size: 1.2rem;
}

.mobile-bottom-bar a.call-action { background: rgba(33, 106, 174, 0.2); color: var(--c-9ebcda); }
.mobile-bottom-bar a.wa-action { background: rgba(37, 211, 102, 0.2); color: #25d366; }
.mobile-bottom-bar a.calc-action { background: rgba(82, 139, 192, 0.2); color: var(--c-528bc0); }

/* Sticky Single-Row Navbar (Zero Wrapping) */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3%;
    z-index: 9999;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 78px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    white-space: nowrap !important;
}

.navbar .logo img {
    height: 68px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(82, 139, 192, 0.55));
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 56px;
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap !important;
}

.navbar .logo-text .brand-name {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.1;
}

.navbar .logo-text .brand-sub {
    font-size: 0.82rem;
    color: #0284c7;
    font-weight: 700;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .navbar .logo-text .brand-sub {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    flex-shrink: 0;
    white-space: nowrap !important;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.96rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
    white-space: nowrap !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: #0284c7;
}

[data-theme="dark"] .nav-links a:hover {
    color: #38bdf8;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid var(--border-color);
    color: #0284c7;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    color: #38bdf8;
}

.theme-toggle-btn:hover {
    transform: rotate(25deg) scale(1.12);
    background: #0284c7;
    color: #fff;
}

/* Language Switcher Button */
.lang-switch-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid var(--border-color);
    color: #0284c7;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

[data-theme="dark"] .lang-switch-btn {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    color: #38bdf8;
}

.lang-switch-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(5, 68, 140, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(33, 106, 174, 0.5);
}

.btn-secondary {
    background: rgba(33, 106, 174, 0.15);
    color: var(--text-heading);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(33, 106, 174, 0.25);
    color: var(--c-9ebcda);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(37, 211, 102, 0.45);
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: var(--text-heading);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 170px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.circle-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.circle-1 {
    top: -100px;
    right: -100px;
    width: 550px;
    height: 550px;
    background: rgba(5, 68, 140, 0.25);
    animation: pulseCircle 8s infinite alternate ease-in-out;
}

.circle-2 {
    bottom: -150px;
    left: -100px;
    width: 650px;
    height: 650px;
    background: rgba(158, 188, 218, 0.18);
    animation: pulseCircle 10s infinite alternate ease-in-out;
}

@keyframes pulseCircle {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(-20px, 20px); }
}

.snowflake-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    color: rgba(158, 188, 218, 0.35);
    font-size: 1.2rem;
    animation: floatParticle 12s infinite linear;
}

@keyframes floatParticle {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(33, 106, 174, 0.15);
    border: 1px solid var(--border-color);
    color: var(--c-9ebcda);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-sub);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features-strip {
    display: flex;
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strip-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(33, 106, 174, 0.15);
    color: var(--c-9ebcda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.strip-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-logo-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 45px 30px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.hero-logo-card img.hero-logo-img {
    max-width: 360px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.ac-temp-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--bg-body);
    border: 1px solid var(--c-216aae);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--c-9ebcda);
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow);
}

.ac-status-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--bg-body);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #10b981;
    font-size: 0.88rem;
}

/* Stats Counter Section */
.stats-section {
    padding: 40px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 22px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(15px);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-528bc0);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    font-size: 2.3rem;
    color: var(--c-528bc0);
    margin-bottom: 12px;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-heading);
    font-family: 'Outfit', 'Cairo', sans-serif;
}

.stat-card .stat-label {
    color: var(--text-sub);
    font-size: 0.98rem;
    font-weight: 600;
}

/* Photo Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-528bc0);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(2, 9, 20, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--c-9ebcda);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.gallery-content {
    padding: 22px 25px;
}

.gallery-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.gallery-content p {
    color: var(--text-sub);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* AC Calculator Widget Section */
.calculator-section {
    padding: 90px 0;
    background: var(--bg-strip);
}

.calc-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.calc-info h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.calc-info p {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-result-box {
    background: rgba(33, 106, 174, 0.15);
    border: 2px dashed var(--c-528bc0);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calc-result-box .hp-val {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--c-9ebcda);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin: 10px 0;
}

/* Official Facebook Community Callout CSS */
.fb-showcase-section {
    padding: 70px 0;
    background: var(--bg-strip);
}

.fb-community-card {
    background: linear-gradient(135deg, #05448c 0%, #0042a0 50%, #0284c7 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 15px 35px rgba(0, 66, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.fb-community-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(60px);
}

.fb-community-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-top: 14px;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.fb-community-content p {
    color: #f1f5f9 !important;
    font-size: 1.08rem;
    max-width: 750px;
    margin-bottom: 22px;
    line-height: 1.7;
}

.community-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.fb-features-list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 0.98rem;
    color: #ffffff !important;
}

.fb-features-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
}

.fb-features-list span i {
    color: #38bdf8 !important;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

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

.service-img-header {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #020914;
}

.service-img-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-body {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--c-528bc0);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(33, 106, 174, 0.15);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--c-9ebcda);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-sub);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card .service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card .service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

.service-card .service-features li i {
    color: var(--c-528bc0);
    font-size: 0.8rem;
}

/* Brands Section */
.brands-section {
    padding: 80px 0;
    background: var(--bg-strip);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 22px 14px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brand-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--c-528bc0);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: rgba(33, 106, 174, 0.2);
}

.brand-logo-box {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 10px 14px;
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.brand-logo-box img {
    max-height: 44px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-logo-box img {
    transform: scale(1.08);
}

.brand-card .brand-status {
    font-size: 0.8rem;
    color: var(--c-9ebcda);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Brands Slider / Marquee */
.brands-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 35px;
    padding: 15px 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 25px;
    width: max-content;
    animation: brandsTicker 45s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-marquee-item {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 8px 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-marquee-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(33, 106, 174, 0.25);
}

.brand-marquee-item img {
    max-height: 38px;
    max-width: 110px;
    object-fit: contain;
}

@keyframes brandsTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-card {
    display: flex;
    gap: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 24px;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-528bc0);
}

.why-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 18px;
    background: rgba(33, 106, 174, 0.15);
    border: 1px solid var(--border-color);
    color: var(--c-9ebcda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.why-info h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.why-info p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Coverage Cities */
.cities-section {
    padding: 100px 0;
    background: var(--bg-strip);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.city-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.city-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-528bc0);
    box-shadow: var(--shadow-lg);
}

.city-icon {
    font-size: 2.5rem;
    color: var(--c-528bc0);
    margin-bottom: 15px;
}

.city-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.city-card p {
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* Booking & Contact Section */
.booking-section {
    padding: 100px 0;
    padding-bottom: 130px;
}

.booking-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    box-shadow: var(--shadow-lg);
}

.booking-info h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.booking-info p {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-item-box {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    background: var(--bg-strip);
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-item-box i {
    font-size: 1.4rem;
    color: var(--c-9ebcda);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(33, 106, 174, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-box .info-label {
    font-size: 0.8rem;
    color: var(--text-sub);
    display: block;
}

.contact-item-box .info-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-heading);
    direction: ltr;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-heading);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-528bc0);
    box-shadow: 0 0 15px rgba(33, 106, 174, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 3px;
    background: var(--c-216aae);
    border-radius: 2px;
}

.footer-col p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-sub);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--c-9ebcda);
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* Web Mobile & Responsive Rules */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-navbar);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
        transition: right 0.4s ease;
        z-index: 1001;
    }

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

    .menu-toggle {
        display: block;
        z-index: 1002;
    }

    .social-floating {
        display: none;
    }

    .mobile-bottom-bar {
        display: block;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-wrapper,
    .booking-wrapper,
    .calc-card,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {
    .stats-grid,
    .brands-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.95rem;
    }

    .booking-wrapper,
    .calc-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Comprehensive Dark / Light High-Contrast Typography & Surface Styles
   ========================================================================== */

/* Light Mode Overrides (Vivid, Ultra-Crisp & High-Contrast) */
[data-theme="light"] {
    color: #0f172a;
    background-color: #f8fafc;
}

[data-theme="light"] .text-cyan {
    color: #0284c7 !important;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1.5px solid #cbd5e1;
}

[data-theme="light"] .navbar .brand-name {
    color: #091e42;
}

[data-theme="light"] .navbar .brand-sub {
    color: #0284c7;
}

[data-theme="light"] .nav-links a {
    color: #0f172a;
    font-weight: 800;
}

[data-theme="light"] .nav-links a:hover {
    color: #0284c7;
}

[data-theme="light"] .btn-secondary {
    background: #f0f9ff;
    color: #0284c7;
    border: 1.5px solid #0284c7;
    font-weight: 800;
}

[data-theme="light"] .btn-secondary:hover {
    background: #e0f2fe;
    color: #0042a0;
}

[data-theme="light"] .lang-switch-btn {
    background: #f0f9ff;
    color: #0284c7;
    border: 1.5px solid #0284c7;
    font-weight: 800;
}

[data-theme="light"] .lang-switch-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

[data-theme="light"] .theme-toggle-btn {
    background: #f0f9ff;
    border: 1.5px solid #0284c7;
    color: #0284c7;
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

/* Hero Light Mode */
[data-theme="light"] .hero-content .hero-badge {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    border: 1.5px solid #7dd3fc !important;
    font-weight: 800;
}

[data-theme="light"] .hero-content .hero-badge i {
    color: #0284c7 !important;
}

[data-theme="light"] .hero-content h1 {
    color: #091e42 !important;
    font-weight: 900;
}

[data-theme="light"] .hero-content p {
    color: #1e293b !important;
    font-weight: 600;
    font-size: 1.22rem;
}

[data-theme="light"] .hero-features-strip {
    border-top: 1.5px solid #cbd5e1;
}

[data-theme="light"] .hero-features-strip .strip-item {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #091e42;
    padding: 8px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .hero-features-strip .strip-item i {
    background: #e0f2fe;
    color: #0284c7;
}

[data-theme="light"] .hero-features-strip .strip-item span {
    color: #091e42;
    font-weight: 800;
}

[data-theme="light"] .hero-logo-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .ac-temp-badge {
    background: #ffffff;
    border: 1.5px solid #0284c7;
    color: #0284c7;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .ac-status-badge {
    background: #ffffff;
    border: 1.5px solid #10b981;
    color: #047857;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

/* Sections Light Mode */
[data-theme="light"] .section-header .section-tag {
    background: #e0f2fe !important;
    border: 1.5px solid #7dd3fc !important;
    color: #0284c7 !important;
    font-weight: 800;
}

[data-theme="light"] .section-header h2 {
    color: #091e42 !important;
    font-weight: 900;
}

[data-theme="light"] .section-header p {
    color: #334155 !important;
    font-weight: 600;
}

/* Cards Light Mode */
[data-theme="light"] .gallery-card,
[data-theme="light"] .service-card,
[data-theme="light"] .why-card,
[data-theme="light"] .city-card,
[data-theme="light"] .calc-card,
[data-theme="light"] .booking-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07) !important;
}

[data-theme="light"] .gallery-badge {
    background: #0042a0 !important;
    color: #ffffff !important;
    border: 1px solid #0284c7;
    font-weight: 800;
}

[data-theme="light"] .gallery-content h3,
[data-theme="light"] .service-card h3,
[data-theme="light"] .why-info h4,
[data-theme="light"] .city-card h3,
[data-theme="light"] .calc-info h2,
[data-theme="light"] .booking-info h2 {
    color: #091e42 !important;
    font-weight: 800;
}

[data-theme="light"] .gallery-content p,
[data-theme="light"] .service-card p,
[data-theme="light"] .why-info p,
[data-theme="light"] .city-card p,
[data-theme="light"] .calc-info p,
[data-theme="light"] .booking-info p {
    color: #334155 !important;
    font-weight: 500;
    line-height: 1.7;
}

[data-theme="light"] .service-icon,
[data-theme="light"] .why-icon {
    background: #e0f2fe;
    color: #0284c7;
    border: 1.5px solid #bae6fd;
}

[data-theme="light"] .service-card .service-features li {
    color: #0f172a !important;
    font-weight: 700;
}

[data-theme="light"] .service-card .service-features li i {
    color: #0284c7;
}

/* Calculator Light Mode */
[data-theme="light"] .calc-result-box {
    background: #f0f9ff !important;
    border: 2px dashed #0284c7 !important;
}

[data-theme="light"] .calc-result-box .hp-val {
    color: #0042a0 !important;
    font-weight: 900;
}

[data-theme="light"] .calc-controls label,
[data-theme="light"] .booking-form label {
    color: #091e42 !important;
    font-weight: 800;
}

[data-theme="light"] .calc-controls select,
[data-theme="light"] .booking-form input,
[data-theme="light"] .booking-form select,
[data-theme="light"] .booking-form textarea {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #091e42 !important;
    font-weight: 600;
}

[data-theme="light"] .contact-item-box {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
}

[data-theme="light"] .contact-item-box i {
    background: #e0f2fe;
    color: #0284c7;
}

[data-theme="light"] .contact-item-box .info-label {
    color: #0284c7 !important;
    font-weight: 800;
}

[data-theme="light"] .contact-item-box .info-val {
    color: #091e42 !important;
    font-weight: 900;
}

/* Brands Light Mode */
[data-theme="light"] .brands-section {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

[data-theme="light"] .brand-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .brand-card .brand-status {
    color: #0284c7 !important;
    font-weight: 800;
}

/* Footer Light Mode */
[data-theme="light"] .footer {
    background: #f1f5f9;
    border-top: 1.5px solid #cbd5e1;
}

[data-theme="light"] .footer .brand-name {
    color: #091e42;
}

[data-theme="light"] .footer-col h4 {
    color: #091e42;
    font-weight: 900;
}

[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-bottom p {
    color: #334155;
    font-weight: 600;
}

[data-theme="light"] .footer-links a:hover {
    color: #0284c7;
}

[data-theme="light"] .mobile-bottom-bar {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1.5px solid #cbd5e1;
}

[data-theme="light"] .mobile-bottom-bar a {
    color: #091e42;
}

/* Dark Mode Optimal Contrast Check */
[data-theme="dark"] {
    color: #f1f5f9;
}

[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .gallery-content h3,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .why-info h4,
[data-theme="dark"] .city-card h3,
[data-theme="dark"] .calc-info h2,
[data-theme="dark"] .booking-info h2 {
    color: #ffffff;
}

[data-theme="dark"] .hero-content p,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .gallery-content p,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .why-info p,
[data-theme="dark"] .city-card p,
[data-theme="dark"] .calc-info p,
[data-theme="dark"] .booking-info p {
    color: #94a3b8;
}

[data-theme="dark"] .service-features li {
    color: #f1f5f9;
}

[data-theme="dark"] .contact-item-box .info-label {
    color: #38bdf8;
}

[data-theme="dark"] .contact-item-box .info-val {
    color: #ffffff;
}

[data-theme="dark"] .nav-links a {
    color: #f1f5f9;
}

[data-theme="dark"] .nav-links a:hover {
    color: #38bdf8;
}