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

:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #00B0E1 0%, #045CA6 100%);
    --bg-gradient: radial-gradient(circle at top, #0A2540 0%, #030F26 100%);
    --cyan-blue: #00B0E1;
    --deep-ocean: #045CA6;
    --soft-lavender: #E3E7FC;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover-bg: rgba(255, 255, 255, 0.1);
    --glass-hover-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(16px);
    
    /* Fonts */
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Outfit', sans-serif;
    
    /* Layout */
    --border-radius-sm: 12px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Screen reader / SEO only text helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-arabic);
    background: #030F26;
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    direction: rtl;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    line-height: 1.6;
}

/* App Container */
.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 40px 20px;
    position: relative;
    z-index: 2;
}

/* Background Blur Lights */
/* Background Blur Lights */
.bg-glow-1 {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: var(--cyan-blue);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    animation: auroraMove1 20s infinite alternate ease-in-out;
}

.bg-glow-2 {
    position: fixed;
    top: 40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: #9b59b6;
    filter: blur(150px);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    animation: auroraMove2 25s infinite alternate ease-in-out;
}

.bg-glow-3 {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: var(--deep-ocean);
    filter: blur(150px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    animation: auroraMove3 18s infinite alternate ease-in-out;
}

/* Quick Action Buttons Bar (Relocated statically in mid-page flow) */
.sticky-actions-wrapper {
    position: relative;
    top: 0;
    z-index: 100;
    width: 100%;
    margin-top: 28px;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.sticky-actions {
    background: rgba(10, 37, 64, 0.4);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 6px 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.action-btn-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.action-btn-circle svg,
.action-btn-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.action-btn-circle:hover {
    transform: translateY(-2px);
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
}

.action-btn-circle:active {
    transform: scale(0.9);
}

/* Specific Brand Colors for Hover/Active in Sticky Bar */
.action-btn-circle.call:hover { background: rgba(0, 176, 225, 0.2); border-color: var(--cyan-blue); color: var(--cyan-blue); }
.action-btn-circle.whatsapp:hover { background: rgba(37, 211, 102, 0.2); border-color: #25D366; color: #25D366; }
.action-btn-circle.instagram:hover { background: rgba(225, 48, 108, 0.2); border-color: #E1306C; color: #E1306C; }
.action-btn-circle.maps:hover { background: rgba(66, 133, 244, 0.2); border-color: #4285F4; color: #4285F4; }
.action-btn-circle.waze:hover { background: rgba(51, 204, 255, 0.2); border-color: #33CCFF; color: #33CCFF; }

/* Header & Brand Identity */
.brand-header {
    text-align: center;
    margin-bottom: 24px;
}

.brand-logo-container {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px auto;
    position: relative;
    animation: floatLogo 6s infinite ease-in-out;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 176, 225, 0.3));
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-english);
}

/* Introduction / Bio */
.intro-text-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.intro-text {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Grid */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-right: 8px;
    border-right: 3px solid var(--cyan-blue);
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: translateY(-3px);
}

/* For services that span full width (like odd counts) */
.service-card.full-width {
    grid-column: span 2;
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px 24px;
    gap: 18px;
    text-align: right;
}

.service-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 176, 225, 0.3);
}

.promo-images-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.promo-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 176, 225, 0.25));
    transition: var(--transition-smooth);
}

.promo-img:hover {
    transform: translateY(-2px) scale(1.01);
}

.service-card.full-width .service-icon-wrapper {
    margin-bottom: 0;
}

.service-icon-wrapper svg {
    width: 22px;
    height: 22px;
    color: #FFFFFF;
}

.service-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-card.full-width .service-title {
    font-size: 15px;
}

/* Main Call to Action (CTA) Buttons */
.cta-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 56px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn svg,
.cta-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cta-btn.primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 176, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn.primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% { transform: translate(-30%, -30%) rotate(30deg); }
    100% { transform: translate(30%, 30%) rotate(30deg); }
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 176, 225, 0.45);
}

.cta-btn.secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.cta-btn.secondary:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: scale(0.97) !important;
}

/* Footer styling */
.brand-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan-blue);
    margin-bottom: 6px;
}

.footer-phone {
    font-size: 15px;
    font-family: var(--font-english);
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.footer-phone:hover {
    color: var(--cyan-blue);
}

.footer-copyright {
    font-size: 11px;
    color: var(--text-muted);
}

/* Desktop layout enhancement */
@media (min-width: 481px) {
    body {
        align-items: center;
        padding: 40px 0;
    }
    
    .app-container {
        min-height: auto;
        border-radius: var(--border-radius-lg);
        background: rgba(10, 37, 64, 0.35);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border: 1px solid var(--glass-border);
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
        padding: 30px;
    }
    
    .sticky-actions-wrapper {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .sticky-actions {
        background: var(--glass-bg);
        border-color: var(--glass-border);
        box-shadow: none;
    }
    
    .bg-glow-1 {
        width: 600px;
        height: 600px;
        filter: blur(250px);
        opacity: 0.12;
    }
}

/* ==========================================================================
   New Premium Upgrades (Animations, Splash Screen, Calculator, FAQ, Location)
   ========================================================================== */

/* 1. Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    transition: width 0.1s ease;
    box-shadow: 0 0 8px var(--cyan-blue);
}

/* 2. Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030F26;
    background-image: radial-gradient(circle at center, #0A2540 0%, #030F26 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 400px;
}

.splash-logo-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
    animation: logoScale 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 176, 225, 0.5));
    animation: logoPulse 2s infinite ease-in-out;
}

.splash-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--cyan-blue);
    filter: blur(45px);
    opacity: 0.35;
    z-index: -1;
    border-radius: 50%;
}

.splash-title {
    font-family: var(--font-english);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6px;
    color: #FFFFFF;
    margin-bottom: 28px;
    opacity: 0;
    animation: titleFadeIn 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards;
    text-shadow: 0 0 15px rgba(0, 176, 225, 0.4);
}

.splash-loading-bar {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.splash-progress {
    width: 0%;
    height: 100%;
    background: var(--primary-gradient);
    box-shadow: 0 0 10px var(--cyan-blue);
    border-radius: 4px;
    animation: progressFill 2.2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

/* 3. Live Business Status Badge */
.status-badge-wrapper {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-badge.open {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.25);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.15);
}

.status-badge.open::before {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
    animation: badgePulse 1.8s infinite alternate ease-in-out;
}

.status-badge.closed {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.25);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.1);
}

.status-badge.closed::before {
    background: #e74c3c;
}

.status-badge.loading {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.status-badge.loading::before {
    background: var(--text-muted);
    animation: badgePulse 1s infinite alternate ease-in-out;
}

/* 4. Installment Calculator Section */
.calculator-section {
    margin-bottom: 32px;
}

.calculator-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    padding: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.calc-description {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: center;
}

.calc-input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 4px;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.price-input-wrapper input {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0 16px 0 50px;
    color: #FFFFFF;
    font-family: var(--font-english);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.price-input-wrapper input:focus {
    outline: none;
    border-color: var(--cyan-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 176, 225, 0.2);
}

/* Hide spin buttons on number inputs */
.price-input-wrapper input::-webkit-outer-spin-button,
.price-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.price-input-wrapper input[type=number] {
    -moz-appearance: textfield;
}

.currency-label {
    position: absolute;
    left: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan-blue);
}

.calc-input-group select {
    width: 100%;
    height: 50px;
    background: rgba(10, 37, 64, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0 16px;
    color: #FFFFFF;
    font-family: var(--font-arabic);
    font-size: 14px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 18px center;
    background-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-input-group select:focus {
    outline: none;
    border-color: var(--cyan-blue);
    box-shadow: 0 0 12px rgba(0, 176, 225, 0.2);
}

.calculator-results {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-row.detail-row {
    opacity: 0.75;
}

.result-label {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.result-value {
    font-size: 15.5px;
    font-weight: 700;
    color: #FFFFFF;
}

#monthly-installment {
    font-size: 20px;
    color: var(--cyan-blue);
    text-shadow: 0 0 10px rgba(0, 176, 225, 0.25);
    font-family: var(--font-arabic);
}

.calc-submit-btn {
    width: 100%;
    margin-top: 8px;
}

/* 5. FAQ Accordion Section */
.faq-section {
    margin-bottom: 32px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--glass-hover-border);
    background: var(--glass-hover-bg);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
    font-family: var(--font-arabic);
    font-size: 14.5px;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--cyan-blue);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
}

.faq-item.active {
    border-color: rgba(0, 176, 225, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-content-inner {
    padding: 0 20px 16px 20px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 12px;
}

/* 6. Location Card Section */
.location-section {
    margin-bottom: 32px;
}

.location-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.location-card.flex-column {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.location-map-container {
    width: 100%;
    height: 220px;
    border-bottom: 1px solid var(--glass-border);
}

.location-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(0.95) contrast(1.05); /* enhance style fit */
}

.location-card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.location-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 176, 225, 0.3);
}

.location-icon-wrapper svg {
    width: 22px;
    height: 22px;
    color: #FFFFFF;
}

.location-details {
    flex-grow: 1;
}

.location-details h3 {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.location-address {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.5;
}

.location-hours {
    font-size: 12px;
    color: var(--cyan-blue);
    font-weight: 600;
}

/* 7. Website Animations & Micro-interactions */
.bg-glow-1 {
    animation: auroraMove 15s infinite alternate ease-in-out;
}

/* Staggered entrance animations for elements on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards specific animations */
.service-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s, border-color 0.3s, transform 0.3s;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Normal hover card (Desktop) override */
@media (min-width: 481px) {
    .service-card.visible:hover {
        transform: translateY(-3px) !important;
    }
}

/* On-load animations (for Header items) */
.animate-on-load {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-on-load.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glow Pulses and Shimmers */
.action-btn-circle {
    position: relative;
    overflow: hidden;
}

.action-btn-circle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmerCircle 6s infinite linear;
}

@keyframes shimmerCircle {
    0% { transform: translate(-30%, -30%) rotate(30deg); }
    30% { transform: translate(30%, 30%) rotate(30deg); }
    100% { transform: translate(30%, 30%) rotate(30deg); }
}

/* Keyframes definitions */
@keyframes logoScale {
    0% { transform: scale(0.65); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 176, 225, 0.5)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 28px rgba(0, 176, 225, 0.8)); }
}

@keyframes titleFadeIn {
    0% { opacity: 0; transform: translateY(12px); letter-spacing: 2px; }
    100% { opacity: 1; transform: translateY(0); letter-spacing: 6px; }
}

@keyframes progressFill {
    0% { width: 0%; }
    20% { width: 30%; }
    45% { width: 65%; }
    75% { width: 88%; }
    100% { width: 100%; }
}

@keyframes badgePulse {
    0% { opacity: 0.45; box-shadow: 0 0 2px #2ecc71; }
    100% { opacity: 1; box-shadow: 0 0 10px #2ecc71; }
}

@keyframes auroraMove {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translateX(-40%) translateY(8%) scale(1.15);
        opacity: 0.22;
        background: #045CA6;
    }
    100% {
        transform: translateX(-60%) translateY(-4%) scale(0.95);
        opacity: 0.12;
        background: var(--cyan-blue);
    }
}

/* ==========================================================================
   Upgrades V2: Services Card V2, Floating Keyframes, warning validation, Font fix
   ========================================================================== */

/* 1. Services V2 Design */
.services-section {
    margin-bottom: 32px;
}
.services-main-title {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.title-decor {
    width: 4px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--cyan-blue);
}
.title-text-animated {
    background: linear-gradient(120deg, #FFFFFF, var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.services-ticker-container {
    width: 100%;
    overflow: hidden;
    background: rgba(10, 37, 64, 0.25);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    padding: 16px 0;
    margin-top: 16px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    direction: ltr; /* Force LTR context for smooth layout and infinite scroll math */
}

/* Gradient shadows on sides to fade out content */
.services-ticker-container::before,
.services-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.services-ticker-container::before {
    right: 0;
    background: linear-gradient(to left, #030F26 0%, rgba(3, 15, 38, 0) 100%);
}
.services-ticker-container::after {
    left: 0;
    background: linear-gradient(to right, #030F26 0%, rgba(3, 15, 38, 0) 100%);
}

.services-ticker-inner {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 32s linear infinite;
}

.services-ticker-inner:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.08); /* changed to border-right for LTR alignment */
    white-space: nowrap;
    direction: rtl; /* Restore RTL for correct Arabic text layout inside ticker item */
}

.ticker-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 176, 225, 0.25);
    flex-shrink: 0;
}

.ticker-icon svg {
    width: 18px;
    height: 18px;
    color: #FFFFFF;
}

.ticker-text {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.ticker-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

@keyframes tickerScroll {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* 2. Fonts Override for inputs and buttons */
.calculator-card select,
.calculator-card input,
.calculator-card button,
.calc-submit-btn,
.calc-submit-btn span {
    font-family: var(--font-arabic) !important;
}

/* 3. Calculator Warning messages */
.price-warning-msg {
    font-size: 12px;
    color: #ff4757;
    font-weight: 600;
    margin-top: 4px;
    display: none;
    animation: fadeIn 0.3s ease forwards;
    text-shadow: 0 0 8px rgba(255, 71, 87, 0.2);
}

.price-input-wrapper.error input {
    border-color: #ff4757 !important;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.25) !important;
}

/* 4. New Keyframes for float and aurora moves */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 4px 12px rgba(0, 176, 225, 0.3));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 10px 22px rgba(0, 176, 225, 0.45));
    }
}

@keyframes auroraMove1 {
    0% { transform: translateX(-50%) translateY(0) scale(1); }
    100% { transform: translateX(-30%) translateY(12%) scale(1.15); }
}

@keyframes auroraMove2 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-15%) scale(1.1) translateX(-8%); }
}

@keyframes auroraMove3 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(12%) scale(1.15) translateX(8%); }
}

/* Responsive adjustment for services */
@media (max-width: 440px) {
    .services-grid-v2 {
        grid-template-columns: 1fr;
    }
    .service-card-v2.full-width-v2 {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 5. Tooltip Tour styling */
.tooltip-tour {
    position: absolute;
    background: var(--primary-gradient);
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 176, 225, 0.4);
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
    font-family: var(--font-arabic);
}

.tooltip-tour::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent #00B0E1 transparent;
}

.tooltip-tour.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 6. Chatbot Widget Styling */
.chat-widget-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    font-family: var(--font-arabic);
}

.chat-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 176, 225, 0.4);
    position: relative;
    transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 10px 35px rgba(0, 176, 225, 0.55);
}

.chat-icon-svg {
    width: 26px;
    height: 26px;
}

.chat-btn-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--cyan-blue);
    animation: chatPulse 2s infinite;
    pointer-events: none;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.chat-window {
    position: absolute;
    bottom: 72px;
    left: 0;
    width: 340px;
    height: 480px;
    background: rgba(10, 37, 64, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    transform-origin: bottom left;
}

.chat-window.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: var(--primary-gradient);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #030F26;
}

.avatar-letter {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.chat-title-wrapper {
    display: flex;
    flex-direction: column;
}

.chat-bot-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.chat-bot-status {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.8);
}

.chat-close-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition-smooth);
    line-height: 1;
}

.chat-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.chat-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Chat bubble styling */
.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
    animation: chatMsgFade 0.3s ease forwards;
}

@keyframes chatMsgFade {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    align-self: flex-start;
    border-bottom-right-radius: 4px;
    text-align: right;
}

.chat-msg.user {
    background: var(--primary-gradient);
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 176, 225, 0.2);
    text-align: right;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    align-self: flex-start;
    border-bottom-right-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Quick Replies Buttons */
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(10, 37, 64, 0.4);
}

.quick-reply-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-family: var(--font-arabic);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quick-reply-btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 176, 225, 0.3);
}

/* Input Area styling */
.chat-input-area {
    display: flex;
    padding: 12px 16px;
    background: rgba(10, 37, 64, 0.6);
    border-top: 1px solid var(--glass-border);
    align-items: center;
    gap: 10px;
}

.chat-input-area input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 10px 16px;
    color: #FFFFFF;
    font-size: 13.5px;
    font-family: var(--font-arabic);
    outline: none;
    transition: var(--transition-smooth);
}

.chat-input-area input:focus {
    border-color: var(--cyan-blue);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 8px rgba(0, 176, 225, 0.2);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 176, 225, 0.25);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 176, 225, 0.45);
}

.chat-send-btn svg {
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

/* Responsive adjustment for chat window */
@media (max-width: 400px) {
    .chat-window {
        width: 300px;
        height: 440px;
    }
}

