/* ==========================================================================
   Naseem Dammam AC - Main Stylesheet
   ========================================================================== */

/* Variables */
:root {
    /* Color Palette */
    --primary-blue: #0A84D8;
    --deep-blue: #0A4E8A;
    --ice-blue: #DDF4FF;
    --soft-sky-blue: #EAF8FF;
    --white: #FFFFFF;
    --light-bg: #F7FBFF;
    --dark-text: #102A43;
    --muted-text: #5F7184;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(10, 132, 216, 0.05);
    --shadow-md: 0 10px 25px rgba(10, 132, 216, 0.1);
    --shadow-lg: 0 20px 40px rgba(10, 132, 216, 0.15);
    
    /* Spacing */
    --section-spacing: 80px;
    --container-padding: 20px;
    
    /* Transitions & Animations */
    --transition-smooth: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    
    /* Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 50px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Animations */
@keyframes acFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

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

html {
    scroll-behavior: smooth; /* Enabled for internal anchors */
}

section[id] {
    scroll-margin-top: 90px;
}

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

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-weight: 800;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 132, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 132, 216, 0.4);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--ice-blue);
    color: var(--deep-blue);
}

.btn-white-primary {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
}

.btn-white-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--ice-blue);
    color: var(--deep-blue);
}

.full-width {
    width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-blue);
}

.logo-icon {
    color: var(--primary-blue);
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--dark-text);
    font-weight: 600;
    position: relative;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--primary-blue);
}

.header-ctas {
    display: flex;
    gap: 10px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-text);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.menu-close {
    background: none;
    border: none;
    color: var(--dark-text);
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ice-blue);
}

.mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

/* Sub-page mobile nav toggle */
.main-nav.active {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.main-nav.active ul {
    flex-direction: column;
    gap: 20px;
}

.main-nav.active a {
    font-size: 1.2rem;
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ice-blue);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    background: var(--white);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(221, 244, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    will-change: transform, opacity;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.3;
    color: var(--deep-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--muted-text);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* AC Visual Area */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

/* The split AC mock structure */
.ac-container {
    position: relative;
    width: 380px;
    height: 160px;
    z-index: 2;
    transform-origin: center center;
}

.ac-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, #fdfdfd 0%, #f0f4f8 100%);
    border-radius: 20px 20px 5px 5px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.03), 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    overflow: hidden;
    will-change: transform;
}

.ac-brand {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #99aab5;
    letter-spacing: 1px;
}

.ac-vent {
    position: absolute;
    bottom: 20px;
    width: 80%;
    height: 8px;
    background: #e1e8ed;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.ac-bottom {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #eef2f5;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 15px 30px rgba(10, 132, 216, 0.1);
    z-index: 2;
    will-change: transform;
}

.ac-base {
    width: 100%;
    height: 100%;
    position: relative;
}

.ac-filters {
    position: absolute;
    top: -110px;
    left: 5%;
    width: 90%;
    height: 90px;
    background: #d1d9e0;
    border-radius: 10px;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(0,0,0,0.03) 5px, rgba(0,0,0,0.03) 10px);
    z-index: 1;
}

.ac-air-waves {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
}

.ac-air-waves span {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 4px;
    opacity: 0.5;
    animation: blowAir 3s infinite ease-in-out alternate;
    will-change: transform, opacity;
}

.ac-air-waves span:nth-child(2) {
    width: 80px;
    animation-delay: 0.5s;
    opacity: 0.4;
}

.ac-air-waves span:nth-child(3) {
    width: 40px;
    animation-delay: 1s;
    opacity: 0.3;
}

@keyframes blowAir {
    0% { transform: translateY(0) scaleX(1); opacity: 0.3; }
    100% { transform: translateY(15px) scaleX(1.3); opacity: 0.6; }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius-pill);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--deep-blue);
    border: 1px solid var(--ice-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
    will-change: transform, opacity;
}

.badge-1 { top: 10%; right: 0; }
.badge-2 { bottom: 25%; right: -10%; }
.badge-3 { top: 20%; left: -5%; }

/* Hero Contact Card */
.hero-contact-card {
    position: absolute;
    bottom: 5%;
    left: 10%;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 4;
    border-right: 4px solid var(--primary-blue);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--ice-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-contact-card .label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-text);
}

.hero-contact-card .number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-blue);
}

/* ==========================================================================
   1. Quick Trust Strip
   ========================================================================== */
.trust-strip {
    background: var(--white);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.trust-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 0.95rem;
}

.trust-item svg {
    color: var(--primary-blue);
}

.separator-wave {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ice-blue), transparent);
    margin-top: 30px;
}

/* ==========================================================================
   2. Detailed Services Section
   ========================================================================== */
.services {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--soft-sky-blue);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 132, 216, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--soft-sky-blue);
    color: var(--primary-blue);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--muted-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-points {
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

.service-points li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.service-points li::before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    right: 0;
    font-weight: bold;
}

.services-cta-box {
    background: var(--ice-blue);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.services-cta-content h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.services-cta-content p {
    color: var(--muted-text);
}

.services-cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* ==========================================================================
   3. AC Installation Process Section
   ========================================================================== */
.process {
    padding: var(--section-spacing) 0;
    background: var(--white);
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--soft-sky-blue);
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 4px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.1rem;
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--muted-text);
}

/* ==========================================================================
   4. Problem / Solution Section
   ========================================================================== */
.problem-solution {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

.ps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ps-problems h3 {
    color: var(--dark-text);
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--ice-blue);
    color: var(--muted-text);
    font-weight: 600;
}

.problem-list li svg {
    color: #e67e22; /* Warm warning color, not aggressive red */
}

.ps-solution {
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.ps-solution h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.ps-solution p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.ps-mini-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.ps-mini-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    flex: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ps-mini-card .icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* ==========================================================================
   5. Expanded Why Us Section (Bento Grid)
   ========================================================================== */
.why-us {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
}

.bento-card {
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid var(--ice-blue);
    transition: var(--transition-smooth);
}

.bento-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.bento-card.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--soft-sky-blue);
}

.bento-card.bento-wide {
    grid-column: span 2;
}

.bento-card:not(.bento-large):not(.bento-wide) {
    grid-column: span 1;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bento-card h3 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.bento-large h3 {
    font-size: 1.8rem;
}

.bento-card p {
    color: var(--muted-text);
}

/* ==========================================================================
   6. Dammam Service Areas Section
   ========================================================================== */
.service-areas {
    padding: var(--section-spacing) 0;
    background: var(--white);
    border-top: 1px solid var(--ice-blue);
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.area-chip {
    background: var(--light-bg);
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    color: var(--deep-blue);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--ice-blue);
    transition: var(--transition-smooth);
    cursor: default;
}

.area-chip:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.areas-footer {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.areas-footer p {
    color: var(--muted-text);
    margin-bottom: 20px;
}

/* ==========================================================================
   7. Fast Response CTA
   ========================================================================== */
.fast-response {
    padding: 20px 0;
}

.fast-response-box {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.fr-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.fr-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 800;
}

.fr-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.fr-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.fr-note {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.fr-visual {
    position: absolute;
    left: -20px;
    bottom: -20px;
    z-index: 1;
    opacity: 0.2;
}

/* ==========================================================================
   8. Work Quality / Installation Standards Section
   ========================================================================== */
.quality-standards {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

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

.standard-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ice-blue);
    transition: var(--transition-smooth);
}

.standard-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.st-icon {
    width: 40px;
    height: 40px;
    background: var(--soft-sky-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.st-text h3 {
    color: var(--deep-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* ==========================================================================
   9. Customer Scenarios Section
   ========================================================================== */
.scenarios {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

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

.scenario-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
}

.scenario-card:hover {
    background: var(--soft-sky-blue);
}

.sc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.scenario-card h3 {
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.scenario-card p {
    color: var(--muted-text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.sc-link {
    color: var(--primary-blue);
    font-weight: bold;
    display: inline-block;
}

.sc-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   10. FAQ Section
   ========================================================================== */
.faq-section {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--ice-blue);
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 20px;
    font-weight: 700;
    color: var(--deep-blue);
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-left: 40px; /* Space for custom arrow on RTL */
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: "−"; /* Minus sign */
}

.faq-content {
    padding: 0 20px 20px;
    color: var(--muted-text);
    border-top: 1px solid var(--light-bg);
    margin-top: 10px;
    padding-top: 20px;
}

/* ==========================================================================
   11. Final CTA Section
   ========================================================================== */
.final-cta {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.final-cta-box {
    background: var(--deep-blue);
    border-radius: var(--border-radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 132, 216, 0.4) 0%, transparent 70%);
}

.final-cta-box h2, .final-cta-box p, .final-cta-buttons {
    position: relative;
    z-index: 2;
}

.final-cta-box h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.final-cta-box p {
    color: var(--ice-blue);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Footer & FAB (Unchanged mostly, just re-included)
   ========================================================================== */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--ice-blue);
    padding-top: 80px;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-weight: 800;
}

.footer-brand p {
    color: var(--muted-text);
    padding-left: 40px;
}

.footer-links h4, .footer-services h4, .footer-contact h4 {
    color: var(--deep-blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul li, .footer-services ul li {
    margin-bottom: 12px;
}

.footer-links a, .footer-services a {
    color: var(--muted-text);
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary-blue);
    padding-right: 5px;
}

.footer-contact p {
    color: var(--muted-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: var(--primary-blue);
    font-weight: 700;
}

.footer-bottom {
    background: var(--light-bg);
    padding: 20px 0;
    text-align: center;
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* FABs */
.fab-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.fab-whatsapp { background-color: #25D366; }
.fab-call { background-color: var(--primary-blue); }

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons { justify-content: center; }
    
    .ps-layout { grid-template-columns: 1fr; }
    .ps-solution { order: -1; } /* Bring solution to top on mobile */
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav, .header-ctas .btn { display: none; }
    .menu-toggle { display: block; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .floating-badge { display: none; }
    
    .hero-contact-card {
        bottom: -20px;
        left: 50%;
        transform: translateX(50%);
        width: 90%;
        justify-content: center;
    }
    
    .ac-container { transform: scale(0.8); }
    
    .trust-strip-inner { justify-content: center; }
    
    .services-cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .process-line {
        left: 30px;
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-step {
        display: flex;
        align-items: flex-start;
        text-align: right;
        gap: 20px;
    }
    
    .process-step .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .fast-response-box {
        padding: 40px 25px;
        text-align: center;
    }
    
    .fr-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.bento-large, .bento-card.bento-wide { grid-column: span 1; }
    
    .final-cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
    .site-footer { padding-bottom: 80px; }
    .footer-container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.8rem; }
    .section-header h2, .final-cta-box h2 { font-size: 1.8rem; }
    .fab-container { bottom: 20px; left: 20px; }
    .fab { width: 50px; height: 50px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Internal Pages (Phase 3)
   ========================================================================== */

/* Inner Hero */
.inner-hero {
    padding: 140px 0 60px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.inner-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.inner-hero p {
    font-size: 1.2rem;
    color: var(--ice-blue);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}



/* Breadcrumbs */
.breadcrumb {
    padding: 20px 0;
    background: var(--white);
    border-bottom: 1px solid var(--ice-blue);
    font-size: 0.95rem;
    color: var(--muted-text);
}

.breadcrumb a {
    color: var(--primary-blue);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--muted-text);
}

/* Internal Main Content */
.internal-content {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
}

.internal-content h2 {
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 25px;
}

.internal-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark-text);
}

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

.related-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--ice-blue);
}

@media (max-width: 768px) {
    .inner-hero {
        padding: 100px 0 40px;
    }
    .inner-hero h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   12. Phase 4 - Support Pages (Contact, Gallery, Legal)
   ========================================================================== */

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--ice-blue);
    box-shadow: var(--shadow-sm);
}

.contact-card h4 {
    color: var(--deep-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--muted-text);
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-form-container {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ice-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-text);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--ice-blue);
    border-radius: var(--border-radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--light-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(10, 132, 216, 0.1);
}

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

.form-note {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-top: 15px;
    text-align: center;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ice-blue);
    transition: var(--transition-smooth);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Legal Pages (Privacy & Terms) */
.legal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--ice-blue);
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.legal-content p {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-right: 20px;
}

.legal-content li {
    color: var(--dark-text);
    margin-bottom: 8px;
    list-style-type: disc;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 25px 15px;
    }
}

/* ==========================================================================
   13. Offer & Branding Updates
   ========================================================================== */

/* Top Offer Bar */
.top-offer-bar {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1002;
    position: relative;
}

.top-offer-bar a {
    color: var(--ice-blue);
    text-decoration: underline;
    margin-right: 10px;
    font-weight: 700;
}

.top-offer-bar a:hover {
    color: var(--white);
}

/* Update Header position if Top Bar is present */
.has-top-bar .site-header {
    top: 38px;
}

.has-top-bar .site-header.scrolled {
    top: 0;
}

@media (max-width: 768px) {
    .has-top-bar .site-header {
        top: auto;
    }
}

/* AC Brands Section */
.ac-brands-section {
    padding: var(--section-spacing) 0;
    background: var(--white);
    position: relative;
}

.ac-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.brand-chip {
    background: var(--light-bg);
    border: 1px solid var(--ice-blue);
    border-radius: var(--border-radius-sm);
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.brand-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-blue);
    background: var(--white);
}

.brand-chip-icon {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.brand-chip-ar {
    font-weight: 700;
    color: var(--deep-blue);
    font-size: 1.1rem;
}

.brand-chip-en {
    color: var(--muted-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-chip-note {
    font-size: 0.75rem;
    color: var(--primary-blue);
    margin-top: 5px;
}

.legal-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted-text);
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    border: 1px dashed var(--ice-blue);
}

/* Offer Badges & Cards */
.offer-badge {
    background: #ffecb3;
    color: #f57f17;
    padding: 5px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    border: 1px solid #ffe082;
}

.premium-offer-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.premium-offer-card h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.premium-offer-card p {
    color: var(--ice-blue);
    margin-bottom: 20px;
}

.premium-offer-card .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

