/* ===== Variables ===== */
:root {
    --primary: #0048b1;
    --primary-dark: #003082;
    --primary-light: #e8f0fe;
    --accent: #ff6b00;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --shadow-sm: 0 2px 12px rgba(0, 72, 177, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f4f6fb;
    padding-top: 80px;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f2f8; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* =====================================================
   NAVBAR CORE
===================================================== */
.custom-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 72, 177, 0.08);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition);
}

.custom-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 72, 177, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.brand-logo {
    height: 48px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,72,177,0.15));
}

.custom-navbar.scrolled .brand-logo { height: 38px; }

/* =====================================================
   NAV LINKS — Desktop Active (Pill Style)
===================================================== */
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
    padding: 8px 16px !important;
    margin: 0 3px;
    border-radius: 50px;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* Active pill with gradient underline dot */
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 800;
}


/* Override Bootstrap's dropdown ::after caret so we can use Remix icon */
.navbar-nav .nav-link.dropdown-toggle::after { display: none; }

/* =====================================================
   DROPDOWN SHARED BASE
===================================================== */
.custom-dropdown {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    background: #fff;
    /* animated entry */
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
    margin-top: 14px !important;
}

/* Invisible bridge to prevent dropdown from closing when hovering gap */
.custom-dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

@media (min-width: 992px) {
    .dropdown:hover > .custom-dropdown,
    .dropdown:focus-within > .custom-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

/* =====================================================
   SERVICES DROPDOWN — Icon Cards
===================================================== */
.services-dropdown {
    min-width: 260px;
}

.services-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.services-dropdown .dropdown-item .svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.services-dropdown .dropdown-item .svc-icon i {
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.services-dropdown .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(-4px);
}

.services-dropdown .dropdown-item:hover .svc-icon {
    background: var(--primary);
}

.services-dropdown .dropdown-item:hover .svc-icon i {
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.services-dropdown .svc-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.services-dropdown .svc-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* =====================================================
   BRANDS MEGA MENU — Icon Grid
===================================================== */
@media (min-width: 992px) {
    .mega-menu {
        width: 700px;
        right: 50% !important;
        left: auto !important;
        transform: translate(50%, 12px) scale(0.97) !important;
    }

    .dropdown:hover > .mega-menu {
        transform: translate(50%, 0) scale(1) !important;
    }
}

.mega-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 12px;
    border-bottom: 1px solid #f0f2f8;
    margin-bottom: 8px;
}

.mega-menu-header i {
    color: var(--primary);
    font-size: 20px;
}

.mega-menu-header span {
    font-weight: 800;
    font-size: 15px;
    color: var(--text-dark);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 4px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    border: 1.5px solid transparent;
    text-align: center;
    background: #fafbff;
}

.brand-card .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.brand-card .brand-icon i {
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
}

.brand-card:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(0, 72, 177, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 72, 177, 0.12);
}

.brand-card:hover .brand-icon {
    background: var(--primary);
}

.brand-card:hover .brand-icon i {
    color: #fff;
    transform: scale(1.1);
}

/* =====================================================
   CALL BUTTON
===================================================== */
.call-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    color: #fff !important;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 72, 177, 0.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.call-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: var(--transition);
}

.call-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 72, 177, 0.45);
    color: #fff !important;
}

.call-btn:hover::after { opacity: 1; }

.pulse-icon {
    animation: phonePulse 1.8s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-10deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.1) rotate(10deg); }
}

/* =====================================================
   NAVBAR TOGGLER — Animated Hamburger
===================================================== */
.navbar-toggler {
    border: none;
    background: var(--primary-light);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    transition: var(--transition);
    padding: 0;
}

.navbar-toggler:hover { background: var(--primary); }
.navbar-toggler:hover i { color: #fff; }

.navbar-toggler i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

/* =====================================================
   MOBILE MENU — Premium Drawer Style
===================================================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        border-radius: var(--radius-md);
        margin-top: 12px;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(0, 72, 177, 0.08);
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Animate collapse open */
    .navbar-collapse.collapsing {
        opacity: 0;
        transform: translateY(-10px);
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-nav { gap: 4px; }

    .navbar-nav .nav-link {
        border-radius: var(--radius-sm);
        padding: 12px 16px !important;
        margin: 0;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-nav .nav-link.active {
        background: var(--primary);
        color: #fff !important;
    }

    .navbar-nav .nav-link.active::before { display: none; }

    /* Mobile Dropdown */
    .custom-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        display: none !important;
        box-shadow: none;
        background: #f8faff;
        border-radius: var(--radius-sm);
        margin: 6px 0 6px 10px !important;
        padding: 8px;
        border: 1px solid rgba(0,72,177,0.08);
    }

    .custom-dropdown.show,
    .dropdown.show > .custom-dropdown { display: block !important; }

    .services-dropdown .dropdown-item {
        padding: 10px 12px;
    }

    /* Mobile Brand Grid 3 cols */
    .brand-grid { grid-template-columns: repeat(3, 1fr); }

    .mega-menu { width: 100% !important; transform: none !important; }

    /* Call button full width mobile */
    .call-btn { width: 100%; justify-content: center; margin-top: 10px; padding: 14px; }

    /* Mobile Divider */
    .nav-mobile-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0,72,177,0.12), transparent);
        margin: 8px 0;
    }
}

/* =====================================================
   SECTION UTILITIES & BACKGROUNDS
===================================================== */
:root {
    --secondary: #00b4d8; /* Light Blue Accent */
    --secondary-light: #eaf8fc;
    --bg-light: #f8fafc; /* Very soft blue-grey */
}

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

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

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

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

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.section-title {
    font-weight: 800;
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 100px; /* Account for navbar */
    padding-bottom: 60px;
    background-color: #ffffff;
    background-image: url('../imgs/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern or shapes for modern background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
    filter: blur(50px);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

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

.text-accent {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.4;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
}

.custom-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.btn-primary.custom-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 72, 177, 0.25);
}

.btn-primary.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 72, 177, 0.35);
}

.btn-outline-success.custom-btn {
    border: 2px solid #25d366;
    color: #25d366;
    background: transparent;
}

.btn-outline-success.custom-btn:hover {
    background: #25d366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.pulse-btn {
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 72, 177, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 72, 177, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 72, 177, 0); }
}

.hero-image-wrapper {
    perspective: 1000px;
}

.hero-img {
    animation: float 6s ease-in-out infinite;
    border: 8px solid white;
}

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

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 15%;
    right: -20px;
    animation-delay: 1s;
}

.floating-badge.badge-2 {
    bottom: 15%;
    left: -20px;
    animation-delay: 2s;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }
    .floating-badge {
        display: none; /* Hide floating badges on mobile to save space */
    }
}

/* =====================================================
   WHY CHOOSE US SECTION
===================================================== */
.why-us-section {
    overflow: hidden;
}

.feature-card {
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: default;
}

/* Very subtle background gradient animation on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(0, 72, 177, 0.03) 0%, transparent 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 72, 177, 0.08);
    border-color: rgba(0, 72, 177, 0.1);
    background-color: var(--white) !important;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 72, 177, 0.06);
    transition: var(--transition);
    position: relative;
}

/* Dashed border rotation animation */
.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 25px;
    border: 2px dashed rgba(0, 72, 177, 0.3);
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    transform: scale(1.05);
}

.feature-card:hover .feature-icon-wrapper::after {
    opacity: 1;
    transform: scale(1) rotate(180deg);
}

.feature-icon-wrapper i {
    font-size: 38px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper i {
    color: var(--white);
}

.feature-card h4 {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =====================================================
   OUR SERVICES SECTION
===================================================== */
.service-card {
    position: relative;
    border: 1px solid rgba(0, 72, 177, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Gradient line at the top */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(270deg, var(--primary), var(--accent));
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 72, 177, 0.08);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(360deg);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-link {
    color: var(--primary);
    transition: var(--transition);
    opacity: 0.8;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--accent);
    opacity: 1;
}

.service-card:hover .service-link i {
    transform: translateX(-8px);
}

/* =====================================================
   HOW IT WORKS SECTION
===================================================== */
.how-it-works-section {
    overflow: hidden;
}

.step-container {
    padding-top: 20px;
}

.step-line {
    position: absolute;
    top: 45px; /* Center of the icon box */
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 72, 177, 0.2) 20%, rgba(0, 72, 177, 0.2) 80%, transparent);
    z-index: 0;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* RTL animate from right to left */
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 1s ease;
}

.step-card {
    padding: 30px 15px;
    border-radius: var(--radius-lg);
    background: transparent;
    transition: var(--transition);
    z-index: 1;
}

.step-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 72, 177, 0.05);
}

.step-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    border: 5px solid var(--primary-light); /* To cover the line */
}

.step-card:hover .step-icon-box {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 72, 177, 0.15) !important;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 2;
    border: 3px solid white;
}

.step-card h4 {
    color: var(--primary-dark);
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .step-card {
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        margin-bottom: 20px;
        padding: 30px 20px;
    }
}

/* =====================================================
   REVIEWS & FAQ SECTION
===================================================== */
.review-card {
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid transparent;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 72, 177, 0.1);
    box-shadow: 0 15px 30px rgba(0, 72, 177, 0.08) !important;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px; /* RTL left */
    font-size: 80px;
    color: var(--primary-light);
    opacity: 0.5;
    z-index: 0;
    line-height: 1;
}

.review-text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.8;
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
    background-color: var(--white);
    transition: var(--transition);
}

.custom-accordion .accordion-button {
    color: var(--text-dark);
    background-color: var(--white);
    box-shadow: none !important;
    padding: 20px 25px;
    font-size: 1.1rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--primary-light);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z' fill='rgba(0,0,0,0.5)'/%3E%3C/svg%3E");
    transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z' fill='%230048b1'/%3E%3C/svg%3E");
}

.custom-accordion .accordion-body {
    padding: 0 25px 25px 25px;
    background-color: var(--primary-light);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* =====================================================
   FLOATING ACTION BUTTONS (Right Side, Fixed)
===================================================== */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-actions .fab {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
}

.floating-actions .fab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: -1;
    animation: fab-pulse 2.2s ease-out infinite;
}

.floating-actions .fab:hover {
    transform: translateY(-3px) scale(1.06);
    color: #fff;
}

.fab-call {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.fab-call::before { background: rgba(0, 72, 177, 0.45); }

.fab-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}
.fab-whatsapp::before { background: rgba(37, 211, 102, 0.45); }

.fab-mobile {
    background: linear-gradient(135deg, var(--accent), #d9580b);
}
.fab-mobile::before { background: rgba(255, 107, 0, 0.45); }

@keyframes fab-pulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    80%  { transform: scale(1.55); opacity: 0;   }
    100% { transform: scale(1.55); opacity: 0;   }
}

.fab-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-dark);
}

.floating-actions .fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-2px);
}

@media (max-width: 576px) {
    .floating-actions { right: 12px; bottom: 18px; gap: 10px; }
    .floating-actions .fab { width: 50px; height: 50px; font-size: 24px; }
    .fab-tooltip { display: none; }
}

/* =====================================================
   FOOTER
===================================================== */
.footer-section {
    background: #0a1530;
    color: #c8d2e4;
    margin-top: 0;
}

.footer-section .footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main { color: #c8d2e4; }

.footer-logo {
    height: 56px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #a8b3c7;
    margin: 0;
}

.footer-about strong { color: #fff; }

.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Hotline highlight */
.footer-hotline {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(0, 72, 177, 0.25), rgba(255, 107, 0, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-hotline:hover {
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-hotline i {
    font-size: 28px;
    color: var(--accent);
}

.footer-hotline span { display: flex; flex-direction: column; line-height: 1.2; }
.footer-hotline small { font-size: 0.75rem; color: #a8b3c7; }
.footer-hotline strong { font-size: 1.4rem; letter-spacing: 1px; color: #fff; }

/* Numbers grid */
.footer-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin: 0;
}

.footer-numbers li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c8d2e4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px 0;
    direction: ltr;
    justify-content: flex-end;
    transition: var(--transition);
}

.footer-numbers li a i {
    color: var(--accent);
    font-size: 16px;
}

.footer-numbers li a:hover {
    color: #fff;
    transform: translateX(-4px);
}

/* Quick links */
.footer-links { margin: 0; }

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c8d2e4;
    text-decoration: none;
    padding: 7px 0;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links li a i {
    color: var(--accent);
    font-size: 18px;
}

.footer-links li a:hover {
    color: #fff;
    transform: translateX(-4px);
}

/* Social icons */
.footer-social .social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #a8b3c7;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #c8d2e4;
    text-decoration: none;
    transition: var(--transition);
}

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

@media (max-width: 575.98px) {
    .footer-numbers { grid-template-columns: 1fr; }
    .footer-title { text-align: center; }
    .footer-title::after { left: 50%; right: auto; transform: translateX(-50%); }
}

/* =====================================================
   MOBILE STICKY CTA BAR (shared across all pages)
===================================================== */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 12px;
    z-index: 1040;
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-cta-bar .row-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-cta-bar .call-link {
    background: var(--device-gradient, linear-gradient(135deg, var(--primary), var(--primary-dark)));
    color: #fff;
}
.mobile-cta-bar .wa-link {
    background: #25d366;
    color: #fff;
}
@media (max-width: 767px) {
    .mobile-cta-bar { display: block; }
    body { padding-bottom: 80px; }
    .floating-actions { bottom: 90px; }
}
