/* =========================================================================
   # VARIABLES & RESET  — الرحال Design System
   ========================================================================= */
:root {
    /* Brand Colors */
    --navy:           #0f2240;
    --navy-mid:       #1a3a5c;
    --gold:           #c8922a;
    --gold-lt:        #e8b44a;
    --paper:          #f7f5f0;
    --ink:            #0e1621;
    --ink-muted:      #4a5c70;
    --wa:             #25D366;
    --wa-hover:       #1db954;
    --teal:           #1a7a6e;
    --rust:           #c94f2a;
    --white:          #ffffff;

    /* Aliases for backward compat */
    --primary-color:  var(--navy);
    --primary-dark:   var(--navy-mid);
    --secondary-color: var(--gold);
    --secondary-hover: var(--gold-lt);
    --text-main:      var(--ink);
    --text-muted:     var(--ink-muted);
    --bg-main:        var(--white);
    --bg-light:       var(--paper);

    /* Fonts */
    --font-heading: 'Tajawal', sans-serif;
    --font-body:    'Cairo', sans-serif;
    --font-primary: 'Tajawal', sans-serif;

    /* Spacing Scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 16px;
    --sp-4: 24px;
    --sp-5: 32px;
    --sp-6: 48px;
    --sp-7: 72px;
    --sp-8: 96px;

    /* Transitions */
    --transition-fast:   all 0.2s ease;
    --transition-normal: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15,34,64,0.08);
    --shadow-md: 0 4px 16px rgba(15,34,64,0.12);
    --shadow-lg: 0 12px 32px rgba(15,34,64,0.16);

    /* Radius */
    --radius-btn:     8px;
    --radius-card:    12px;
    --radius-section: 16px;
    --border-radius:  8px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); font-weight: 700; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* =========================================================================
   # BUTTONS & LINKS — Updated Button System
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-btn);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    letter-spacing: 0.02em;
}

/* Gold Primary CTA */
.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
}
.btn-primary:hover {
    background-color: var(--gold-lt);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,146,42,0.4);
}

/* WhatsApp Button */
.btn-wa {
    background-color: var(--wa);
    color: #fff;
}
.btn-wa:hover {
    background-color: var(--wa-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* Navy Dark Button */
.btn-secondary {
    background-color: var(--navy);
    color: #fff;
}
.btn-secondary:hover {
    background-color: var(--navy-mid);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Nav CTA */
.btn-nav {
    background-color: var(--gold);
    color: var(--navy);
    padding: 9px 22px;
    font-size: 0.95rem;
}
.btn-nav:hover {
    background-color: var(--gold-lt);
    color: var(--navy);
    transform: translateY(-1px);
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    border-color: var(--navy);
    color: var(--navy);
}
.btn-outline:hover {
    background-color: var(--navy);
    color: #fff;
}

/* Light Button */
.btn-light {
    background-color: #fff;
    color: var(--navy);
}
.btn-light:hover {
    background-color: var(--paper);
    color: var(--navy-mid);
}

/* Legacy alias */
.btn-primary-old {
    background-color: var(--wa);
    color: #fff;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-nav {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 8px 20px;
}
.btn-nav:hover {
    background-color: var(--secondary-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}
.btn-light:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
}

/* =========================================================================
   # HEADER & NAVBAR — Sticky Shrink Behavior
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(15,34,64,0.12);
}

.header.scrolled .navbar-container {
    height: 64px;
}

.top-bar {
    background-color: var(--navy);
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
    display: none;
}

@media (min-width: 768px) {
    .top-bar { display: block; }
}

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

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

.contact-info a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-info a:hover {
    color: var(--gold);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}
.logo-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-links a {
    font-weight: 700;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

/* =========================================
   Dropdown Menu Styles
========================================= */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    border-top: 3px solid var(--primary-color);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--ink) !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    font-family: var(--font-body);
}

.dropdown-menu li a:hover {
    background: var(--paper);
    color: var(--navy) !important;
    padding-right: 25px;
}
.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu {
    border-top: 3px solid var(--gold);
}

.submenu-icon {
    font-size: 0.7rem;
    margin-right: 5px;
}

.view-all {
    color: var(--secondary-color) !important;
    font-weight: bold !important;
    text-align: center;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    order: -1;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover span { background-color: var(--gold); }

/* Hide hamburger on desktop */
@media (min-width: 1024px) {
    .hamburger-btn { display: none; }
}

/* Legacy mobile-menu-btn hidden */
.mobile-menu-btn { display: none !important; }

/* Sidebar structure */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* Sidebar open state — use .open class */
.mobile-sidebar.open,
.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--bg-light);
}

.close-sidebar {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.sidebar-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-links a {
    display: block;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    border-radius: var(--border-radius);
}

.sidebar-links a:hover, .sidebar-links a.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active,
.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sidebar-links a {
    color: var(--navy) !important;
    font-family: var(--font-body);
}
.sidebar-links a:hover {
    background-color: var(--paper) !important;
    color: var(--gold) !important;
}

/* =========================================================================
   # HERO SECTION — Split Layout (55% text | 45% image) on Desktop
   ========================================================================= */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #23507a 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-container { grid-template-columns: 55fr 45fr; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background-color: rgba(200,146,42,0.15);
    border: 1px solid rgba(200,146,42,0.4);
    color: var(--gold-lt);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.hero-content .badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(200,146,42,0.15);
    border: 1px solid rgba(200,146,42,0.4);
    color: var(--gold-lt);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content h1 .highlight {
    color: var(--gold);
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.8;
    font-family: var(--font-body);
}

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

/* Hero Stats Strip */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

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

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

.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* Trust Indicators (legacy) */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.trust-item i {
    color: var(--gold);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--navy-mid);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    padding: 40px;
    text-align: center;
    gap: 16px;
    min-height: 380px;
}

.hero-image-placeholder i {
    font-size: 4rem;
    color: var(--gold);
}

.floating-img {
    animation: floating 3s ease-in-out infinite alternate;
}

@keyframes floating {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--navy);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

/* =========================================
   Breadcrumbs
========================================= */
.breadcrumb-nav {
    background: #f8fafc;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin: 0 10px;
    color: #94a3b8;
    font-size: 1.2rem;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* =========================================================================
   # SECTION STYLES
   ========================================================================= */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* =========================================================================
   # SERVICES OVERVIEW
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-bottom: 3px solid transparent;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-top: 15px;
}
.service-link:hover {
    gap: 12px;
}

/* =========================================================================
   # CTA BANNER
   ========================================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: #fff;
}

.cta-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

@media (min-width: 992px) {
    .cta-banner-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* =========================================================================
   # LOCATIONS
   ========================================================================= */
.locations-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.location-tag {
    background-color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.location-tag i {
    color: var(--secondary-color);
}

.location-tag:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* =========================================================================
   # WHY CHOOSE US
   ========================================================================= */
.flex-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
@media (min-width: 992px) {
    .flex-row {
        flex-direction: row;
        align-items: center;
    }
    .flex-row > * {
        flex: 1;
    }
    .nav-links li {
        margin: 15px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        display: none;
        border-top: none;
        padding-right: 15px;
        margin-top: 10px;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.features-list li {
    display: flex;
    gap: 15px;
}

.features-list i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 3px;
}

.features-list h4 {
    margin-bottom: 5px;
    color: var(--text-main);
}

.features-list p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.rounded-image {
    border-radius: 16px;
    width: 100%;
}
.shadow {
    box-shadow: var(--shadow-lg);
}

/* =========================================================================
   # FOOTER
   ========================================================================= */
.footer {
    background-color: var(--text-main); /* Dark slate */
    color: #fff;
    padding-top: 80px;
}

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

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-logo {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}
.footer-logo span {
    color: var(--secondary-color);
}

.about-col p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.links-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.links-col a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

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

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.7);
    direction: ltr; /* Ensure numbers maintain format */
    display: inline-block;
}
.contact-list a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 15px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}
.bottom-links a:hover {
    color: #fff;
}

/* =========================================================================
   # FLOATING ACTION BUTTONS
   ========================================================================= */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 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;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-fab {
    background-color: #25d366;
}

.call-fab {
    background-color: var(--primary-color);
    left: 30px;
    right: auto;
    position: fixed; /* Put call on the left side on mobile, maybe? No, let's keep them together */
}

/* On mobile, place one on right, one on left */
@media (max-width: 767px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        left: 20px;
        flex-direction: row-reverse;
        justify-content: space-between;
        pointer-events: none; /* Let clicks pass through empty space */
        width: calc(100% - 40px);
    }
    
    .fab {
        pointer-events: auto; /* Re-enable clicks on buttons */
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    .call-fab {
        position: static;
    }
}

/* Pulse animation for call button */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    animation: pulse 2s infinite;
}

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

/* =========================================================================
   # ANIMATIONS
   ========================================================================= */
[data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation="fade-left"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation].animate {
    opacity: 1;
    transform: translate(0);
}
