/* ==========================================================================
   CSS Custom Properties & Base Setup
   ========================================================================== */

:root {
    /* Color Palette - Premium Dark */
    --bg-main: #060608;
    --bg-surface: #101014;
    --bg-surface-elevated: #1a1a22;
    --bg-card: rgba(26, 26, 34, 0.4);

    /* Neon Accents - Vibrant Green & Blue */
    --accent-primary: #00e676;
    /* Neon Green */
    --accent-primary-dim: rgba(0, 230, 118, 0.2);
    --accent-primary-glow: rgba(0, 230, 118, 0.5);

    --accent-secondary: #2979ff;
    /* Neon Blue */
    --accent-secondary-dim: rgba(41, 121, 255, 0.2);
    --accent-gradient: linear-gradient(135deg,
            var(--accent-primary),
            var(--accent-secondary));

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #6b6b77;

    /* Typography */
    --font-heading: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index */
    --z-canvas: -1;
    --z-normal: 1;
    --z-sticky: 100;
    --z-overlay: 1000;
    --z-loader: 2000;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

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

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.block {
    display: block;
}

/* Arabic Text Adjustments */
.ar-text {
    font-family: Arial, sans-serif;
    /* Fallback for Arabic */
    direction: rtl;
    line-height: 1.8;
}

.ar-text-inline {
    font-family: Arial, sans-serif;
    direction: rtl;
    display: inline-block;
    vertical-align: middle;
}

.ar-text-medium {
    font-size: 1.25rem;
    color: var(--text-secondary);
    direction: rtl;
    font-family: Arial, sans-serif;
}

.ar-text-small {
    font-size: 0.95rem;
    color: var(--text-muted);
    direction: rtl;
    font-family: Arial, sans-serif;
    margin-bottom: 0.5rem;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-main);
}

.btn-primary:hover {
    background: #00c853;
    transform: translateY(-2px);
}

.btn-glow {
    background: var(--accent-primary);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--accent-primary-dim);
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--accent-primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-loader);
    transition: opacity var(--transition-slow);
}

.loader-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    color: var(--bg-main);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-normal);
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 991px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 14, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-normal);
        text-align: center;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        pointer-events: auto;
    }

    .nav-links:not(.active) {
        pointer-events: none;
    }

    .nav-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-link {
        padding: 0.5rem;
        display: block;
    }

    .nav-link::after {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    background-image: url("../assets/riyadhtowingservice.avif");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(6, 6, 8, 0.72) 0%, rgba(6, 6, 8, 0.5) 45%, rgba(6, 6, 8, 0.38) 100%),
        linear-gradient(180deg, rgba(6, 6, 8, 0.35) 0%, rgba(6, 6, 8, 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--accent-primary-dim);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 230, 118, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

.hero-title {
    font-size: clamp(3rem, 5vw + 1rem, 5rem);
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

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

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero {
        background-position: 65% center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .contact-cta {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s forwards;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(0, 230, 118, 0.06),
            transparent 40%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bg-surface-elevated);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-primary);
    color: var(--bg-main);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-title-ar {
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Our Work Gallery Section
   ========================================================================== */

.work {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.01));
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.work-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-surface);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.work-card h3 {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.25rem;
    z-index: 1;
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.work-card:hover img {
    transform: scale(1.04);
}

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

/* ==========================================================================
   Values / Why Choose Us Section
   ========================================================================== */

.values {
    background: var(--bg-surface);
    position: relative;
}

.values::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right,
            rgba(41, 121, 255, 0.05),
            transparent 70%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-elevated);
    border-radius: 50%;
    color: var(--accent-secondary);
    font-size: 2rem;
    position: relative;
}

.value-icon::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px dashed var(--accent-secondary-dim);
    animation: rotate 10s linear infinite;
}

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

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

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

.faq-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    gap: 1rem;
}

.faq-question .ar-text-inline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: normal;
    font-family: Arial, sans-serif;
    margin-left: auto;
    margin-right: 1rem;
    text-align: right;
    flex-grow: 1;
}

.faq-icon {
    color: var(--accent-primary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
    }

    .faq-question .ar-text-inline {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0.5rem;
        text-align: left;
        width: 100%;
    }

    .faq-icon {
        position: absolute;
        top: 1.25rem;
        right: 1.5rem;
    }

    .faq-question {
        position: relative;
    }
}

/* ==========================================================================
   Contact & Footer
   ========================================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-surface);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
    border-color: var(--accent-primary-dim);
    background: rgba(0, 230, 118, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-primary-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-details strong {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.contact-visual {
    position: relative;
}

.contact-cta {
    padding: 4rem;
    text-align: center;
    background: linear-gradient(135deg,
            rgba(26, 26, 34, 0.8),
            rgba(10, 10, 14, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            var(--accent-primary-dim) 0%,
            transparent 60%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.map-wrapper {
    margin-top: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    height: 400px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .section-header {
        margin-bottom: 2.75rem;
    }

    .services-grid,
    .values-grid {
        gap: 1.25rem;
    }

    .service-card,
    .value-card {
        padding: 1.5rem;
    }

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

    .work-card {
        min-height: 280px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-wrapper {
        height: 350px;
        margin-top: 3rem;
    }
}

.footer {
    background: #000;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.65rem 0;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .logo .ar-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .mobile-menu-btn {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .section-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        min-height: 92vh;
        padding-top: 88px;
        padding-bottom: 24px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

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

    .service-title {
        font-size: 1.25rem;
    }

    .work-card {
        min-height: 240px;
    }

    .work-card h3 {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        font-size: 1.35rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .contact-item {
        gap: 1rem;
        padding: 1rem;
    }

    .contact-details strong {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .map-wrapper {
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .section-padding {
        padding: 48px 0;
    }

    .logo {
        gap: 0.6rem;
    }

    .logo .ar-text {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.8rem, 9vw, 2.3rem);
        letter-spacing: -0.5px;
    }

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

    .btn,
    .btn-large {
        padding: 0.8rem 1.1rem;
        font-size: 0.95rem;
    }

    .work-card {
        min-height: 210px;
    }

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

    .faq-question {
        font-size: 1rem;
    }

    .faq-question .ar-text-inline {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 0.85rem;
    }

    .map-wrapper {
        height: 250px;
        margin-top: 2rem;
    }
}

/* ==========================================================================
   AOS (Animate On Scroll) Custom Styles
   ========================================================================== */

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 30px, 0);
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

.aos-init.aos-animate {
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}