﻿/* Responsive Typography & Spacing */
:root {
    --primary-blue: #2D9CDB;
    --secondary-yellow: #000000;
    --accent-pink: #EB5757;
    --text-dark: #333333;
    --bg-light: #F9F9F9;
    --footer-bg: #2C2C2C;
    --white: #FFFFFF;
    --hero-bg: var(--primary-blue);
    --section-light: #F8F9FA;
    --border-light: #E9ECEF;
    --text-muted: #6C757D;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition-base: all 0.3s ease;

    /* Fluid Variables */
    --section-py: clamp(3rem, 10vw, 6rem);
    --h1-fs: clamp(2.2rem, 8vw, 3.8rem);
    --h2-fs: clamp(1.8rem, 6vw, 2.8rem);
    --h3-fs: clamp(1.5rem, 4vw, 2rem);
}

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

.primary-btn {
    background-color: var(--primary-blue);
    color: #ffff;
    border: 1px var(--primary-blue);
}

.primary-btn:hover {
    border: 1px var(--primary-blue) solid;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    object-position: center;
}

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

/* Responsive Typography */
:root {
    --h1-font-size: clamp(2rem, 5vw, 3.5rem);
    --h2-font-size: clamp(1.75rem, 4vw, 2.5rem);
    --h3-font-size: clamp(1.5rem, 3vw, 2rem);
}

h1,
.h1 {
    font-size: var(--h1-font-size);
}

h2,
.h2 {
    font-size: var(--h2-font-size);
}

h3,
.h3 {
    font-size: var(--h3-font-size);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Header */
.top-header {
    background-color: var(--primary-blue);
    color: var(--white);
    position: sticky;
    /* CHANGED: Fixed/Sticky */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Optional: Adds depth when sticky */
}

/* Mobile Menu Button - Ensure it's above the menu */
#mobileMenuBtn {
    z-index: 1001;
    font-size: 1.5rem !important;
    padding: 0.25rem 0.5rem;
}

.top-header a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* ── Navbar Dropdown Fix ────────────────────────────────────────
   Problem: .top-header a sets color:white globally, which makes
   dropdown-menu items (white bg) invisible. We override here.
   ────────────────────────────────────────────────────────────── */
.top-header .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    padding: 0.5rem;
    min-width: 200px;
    margin-top: 0.5rem;
}

.top-header .dropdown-menu .dropdown-item {
    color: #1a1a2e !important;
    /* Force dark text on white bg */
    font-weight: 500;
    border-radius: 0.4rem;
    padding: 0.55rem 1rem;
    transition: background 0.15s, color 0.15s;
}

.top-header .dropdown-menu .dropdown-item:hover,
.top-header .dropdown-menu .dropdown-item:focus {
    background: #f0f7ff;
    color: var(--primary-blue) !important;
}

.top-header .dropdown-menu .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.top-header .dropdown-menu .dropdown-item.text-danger:hover {
    background: #fff0f0;
    color: #c0392b !important;
}

.top-header .dropdown-menu .dropdown-divider {
    margin: 0.35rem 0;
    border-color: #f0f0f0;
}

/* ── User Avatar Pill (Desktop Navbar) ──────────────────────── */
.nav-user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2rem;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-user-pill:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

.nav-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

/* ── Mobile Auth Indicator ──────────────────────────────────── */
.mobile-auth-user-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #2D9CDB, #1a7bb9);
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
}

.mobile-auth-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.mobile-auth-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.mobile-auth-email {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
}

.mobile-auth-badge {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.1em 0.4em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: auto;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Start off-screen */
    width: 280px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: right 0.3s ease-in-out;
    padding-top: 20px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.mobile-menu-overlay.open {
    display: block;
}

/* Buttons */
.btn-pink {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    transition: background 0.2s;
}

.btn-pink:hover {
    background-color: #1a7bb9;
    color: var(--white);
}

.btn-green {
    background-color: #27AE60;
    color: white;
    font-weight: bold;
}

/* Hero Section */
.hero-wrapper {
    background: linear-gradient(135deg, #2D9CDB 0%, #1a7bb9 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    color: var(--white);
    font-size: calc(1.8rem + 1.5vw);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem !important;
    }
}

/* Quote Form */
.quote-tabs .nav-link {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-weight: 600;
}

.quote-tabs .nav-link.active {
    background-color: var(--secondary-yellow);
    color: white !important;
    border-radius: 5px 5px 0 0;
}

.quote-form-container {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    border: none !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12) !important;
}

.quote-form-container .input-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.quote-form-container .input-group:focus-within {
    border-color: #2D9CDB;
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.1);
}

.quote-form-container .input-group-text,
.quote-form-container .form-control,
.quote-form-container .form-select {
    border: none !important;
    background: transparent !important;
}

@media (max-width: 576px) {
    .quote-form-container {
        padding: 1rem;
        border-radius: 12px;
    }
}

/* Autocomplete Styles */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: background 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #f8f9fa;
    color: var(--primary-blue);
}

.autocomplete-item .address-city {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Loading Spinner */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner-premium {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(45, 156, 219, 0.1);
    border-left-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 4px solid rgba(0, 0, 0, 0.05);
    border-right-color: var(--secondary-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
}

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

/* Service Grid (Hero Right) - PREMIUM ENHANCEMENT */
.hero-service-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 1.25rem !important;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-service-card .ratio {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-service-card .fw-bold {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
}

.hero-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.hero-service-card:hover .fw-bold {
    transform: scale(1.05);
}

/* Static Service Card for non-hero sections */
.simple-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.simple-service-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.simple-service-card h5 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 700;
}

@media (max-width: 576px) {
    .hero-service-card {
        padding: 0.75rem !important;
        border-radius: 15px !important;
    }

    .hero-service-card .fw-bold {
        font-size: 0.75rem !important;
    }
}

/* Fixed Floating Buttons */
.floating-btn-container {
    position: fixed;
    bottom: 20px;
    z-index: 990;
    /* Below mobile menu (999) */
    display: flex;
    /* Or distinct positioning */
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 28px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
}

.floating-whatsapp {
    background-color: #25D366;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.floating-call {
    background-color: var(--primary-blue);
    position: fixed;
    bottom: 20px;
    left: 20px;
}

/* Recent Moves Slider */
#movesSlider {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE */
    scrollbar-width: none;
    /* Firefox */
}

#movesSlider::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

/* Recent Moves Cards */
.move-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    background: white;
    min-width: 300px;
    /* Ensure cards have width in slider */
}

/* Reasons Section */
.reasons-section {
    background-color: #fff;
    padding: 3rem 0;
}

.gold-frame {
    border: 10px solid #DAA520;
    padding: 5px;
    display: inline-block;
    border-radius: 4px;
}

/* Video Section */
.video-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

/* FAQ / Ask Angus */
.ask-angus-section {
    background-color: #fff;
    padding: 3rem 0;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--primary-blue);
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: #ccc;
    font-size: 0.9rem;
}

.main-footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.main-footer a {
    color: #ccc;
    text-decoration: none;
}

.main-footer a:hover {
    color: var(--white);
}

/* Unified Page Header Styles */
.page-header {
    background-color: var(--hero-bg);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header .container {
    max-width: 1200px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Unified Breadcrumb Styles */
.breadcrumb-section {
    background-color: var(--section-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-section .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-section .breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-section .breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-section .breadcrumb-item a:hover {
    color: var(--text-dark);
}

/* Unified Content Section */
.content-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.content-section .container {
    max-width: 1200px;
}

/* Unified Sidebar Styles */
.page-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sidebar-nav .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem;
    transition: var(--transition-base);
}

.sidebar-nav .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-nav .list-group-item:hover {
    background-color: var(--section-light);
    color: var(--primary-blue);
}

.sidebar-nav .list-group-item.active {
    background-color: #e7f1ff;
    color: var(--primary-blue);
    font-weight: 600;
}

.sidebar-cta {
    background: var(--section-light);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.sidebar-cta h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sidebar-cta p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Unified Card Styles */
.content-card {
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.content-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.content-card .card-text {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Unified CTA Section */
.cta-section {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section .lead {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

.x-small {
    font-size: 0.75rem;
}

/* =========================================
   GLOBAL OVERRIDES FOR BRAND CONSISTENCY
   ========================================= */

/* Overwrite Bootstrap Button Colors */
.btn-primary {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #2488c0 !important;
    /* Slightly darker shade of brand color */
    border-color: #2488c0 !important;
    color: #fff !important;
}

.btn-secondary,
.btn-dark {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-dark:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
}

.btn-success {
    background-color: var(--primary-blue) !important;
    /* Mapped to Brand Color */
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

.btn-success:hover {
    background-color: #2488c0 !important;
    border-color: #2488c0 !important;
}

.btn-warning {
    background-color: #000000 !important;
    /* Mapped to Black */
    border-color: #000000 !important;
    color: #fff !important;
}

.btn-warning:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #fff !important;
}

.btn-danger {
    background-color: #000000 !important;
    /* Mapped to Black for standard look */
    border-color: #000000 !important;
    color: #fff !important;
}

.btn-info {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* Outline Buttons */
.btn-outline-primary {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
}

.btn-outline-dark,
.btn-outline-secondary {
    color: #000000 !important;
    border-color: #000000 !important;
}

.btn-outline-dark:hover,
.btn-outline-secondary:hover {
    background-color: #000000 !important;
    color: #fff !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary-blue) !important;
}

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

/* Link Colors */
a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    color: #2488c0;
    text-decoration: underline;
}

/* List Item Borders in Job List */
.list-group-item.border-primary {
    border-left-color: var(--primary-blue) !important;
}

/* =========================================
   MOBILE & RESPONSIVENESS PATCHES
   ========================================= */

@media (max-width: 992px) {
    .hero-wrapper>.container>.row {
        flex-direction: column;
        /* Text/Form first, then cards */
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        text-align: left;
    }

    .hero-wrapper {
        text-align: left;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .hero-service-card {
        padding: 0.5rem !important;
    }

    .hero-service-card .fw-bold {
        font-size: 0.65rem !important;
    }
}

/* Mobile Dropdown Visibility Fix */
.mobile-menu .dropdown-menu {
    background-color: #f8f9fa !important;
}

.mobile-menu .dropdown-item,
.mobile-menu .dropdown-toggle {
    color: #333 !important;
    font-weight: 600 !important;
}

.mobile-menu .dropdown-item:hover {
    background-color: #e9ecef !important;
    color: var(--primary-blue) !important;
}

/* Fix for horizontal scroll on some browsers */
.overflow-x-hidden {
    overflow-x: hidden !important;
}

/* Ensure no white space at bottom of pages */
footer {
    margin-top: auto;
}

/* Sticky top fix for mobile */
@media (max-width: 768px) {
    .top-header {
        position: sticky;
        top: 0;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

.py-5 {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

h1 {
    font-size: var(--h1-fs);
}

h2 {
    font-size: var(--h2-fs);
}

h3 {
    font-size: var(--h3-fs);
}

/* Sticky Sidebar Fix */
@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky !important;
        top: 100px !important;
        z-index: 10;
        height: fit-content;
    }
}

/* Global Responsive Utility */
.img-fluid-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* X-Small text utility */
.x-small {
    font-size: 0.75rem !important;
}

/* Mobile Hero Card Improvements */
.hero-service-card .x-small {
    font-size: 0.65rem !important;
}


/* Responsive Navbar Adjustments */
@media (min-width: 992px) and (max-width: 1250px) {
    .nav-responsive {
        gap: 0.5rem !important;
    }

    .nav-responsive a {
        font-size: 0.85rem !important;
        padding: 0.25rem !important;
    }

    .nav-responsive .btn {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
}

/* Pulse Animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.animate-pulse-ring {
    animation: pulse-ring 2s infinite;
}

/* Smooth Border Transitions */
.hero-form-wrapper,
.hero-service-card,
.floating-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-form-wrapper:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hero-service-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* WhatsApp Icon Specific */
.whatsapp-btn {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    border-color: #25D366;
    /* WhatsApp Green */
    transform: scale(1.05);
}

.call-btn:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Premium Enhancements */
.hero-wrapper {
    background: radial-gradient(circle at 20% 30%, #2D9CDB 0%, #1a7bb9 100%) !important;
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
    position: relative;
    z-index: 1;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
    z-index: -1;
}

.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    padding: 2.5rem !important;
    border-radius: 30px !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15) !important;
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-form-wrapper:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2) !important;
}

.hero-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    margin-bottom: 1.25rem !important;
    background: linear-gradient(white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Float Animation */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-service-card {
    margin-top: -3rem;
    animation: float-slow 8s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 1s);
}

.hero-service-card:nth-child(2) {
    --delay: 1;
}

.hero-service-card:nth-child(3) {
    --delay: 2;
}

.hero-service-card:nth-child(4) {
    --delay: 3;
}

.hero-service-card:nth-child(5) {
    --delay: 4;
}

.hero-service-card:nth-child(6) {
    --delay: 5;
}

/* Reasons Section Premium */
.reasons-section {
    padding: 8rem 0 !important;
    background: white;
}

.reasons-section h2 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 2.5rem !important;
    color: var(--text-dark);
}

.reasons-section li {
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.reasons-section li:hover {
    background: var(--bg-light);
    border-color: rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.reasons-section .fw-bold {
    color: var(--primary-blue);
    font-size: 1.25rem !important;
}

.reasons-section img.img-fluid {
    transition: all 0.5s ease;
    border-radius: 30px !important;
}

.reasons-section img.img-fluid:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}