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

:root {
    --primary-color: #F26E22; /* Logo Orange */
    --primary-hover: #D85D1A;
    --accent-color: #FFFFFF; /* White */
    --bg-dark: #0A1C32; /* Deep Navy from logo */
    --bg-darker: #05101E; /* Darker Navy */
    --bg-card: rgba(10, 28, 50, 0.7);
    --text-color: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Coastal Towing Reference System Palette */
    --navy-dark: #0B1730;
    --navy-deep: #071225;
    --white: #FFFFFF;
    --blue-primary: #2785F5;
    --blue-hover: #1671df;
    --blue-light: #EAF3FF;
    --body-text: #687386;
    --light-bg: #F5F7FB;
    --font-condensed: 'Oswald', 'Roboto Condensed', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--navy-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #FFD166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typography */
h1 { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Navbar & Cinematic Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    background: rgba(5, 11, 20, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(4, 9, 18, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 121, 0, 0.3);
}

/* Travelling Accent Edge Line across Bottom */
.header-bottom-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #FF7900 20%, 
        #FF3B30 50%, 
        #FF7900 80%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: headerAccentFlow 5s linear infinite;
    opacity: 0.85;
    pointer-events: none;
}

@keyframes headerAccentFlow {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.nav-container {
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left Section: Logo & Status Indicator */
.nav-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    animation: logoFadeIn 0.8s ease-out forwards;
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(255, 121, 0, 0.4));
}

.logo-svg {
    width: 42px;
    height: 42px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-svg {
    transform: scale(1.06) rotate(-2deg);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    font-family: var(--font-heading);
}

.logo-title span { color: #FFFFFF; }
.logo-title span.orange-accent,
.logo-title span.primary-color { color: #FF7900; }

.logo-subtitle {
    font-size: 0.6rem;
    color: #94A3B8;
    letter-spacing: 1.8px;
    font-weight: 700;
    margin-top: 2px;
}

/* 24/7 Animated Status Indicator Pill */
.status-indicator-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 121, 0, 0.08);
    border: 1px solid rgba(255, 121, 0, 0.28);
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #FF7900;
    white-space: nowrap;
    box-shadow: 0 0 14px rgba(255, 121, 0, 0.12);
    transition: all 0.3s ease;
}

.status-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #10B981; }
    50% { opacity: 0.4; transform: scale(1.35); box-shadow: 0 0 14px #10B981; }
}

@media (max-width: 420px) {
    .status-indicator-pill {
        padding: 3px 8px;
        font-size: 0.68rem;
    }
    .status-text {
        display: none;
    }
    .status-indicator-pill::after {
        content: "24/7";
    }
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #FF7900;
    background: rgba(255, 121, 0, 0.08);
}

/* Emergency Call Button (Desktop & Mobile) */
.btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FF7900 0%, #E05600 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(255, 121, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-emergency:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(255, 121, 0, 0.6);
}

/* Breathing / Soft Pulse Effect for Emergency Call Button */
.pulse-breathing {
    animation: breathingPulse 2.5s ease-in-out infinite;
}

@keyframes breathingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 121, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 121, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 121, 0, 0);
    }
}

/* Mobile Header Actions */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.mobile-call-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7900 0%, #E05600 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(255, 121, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: transform 0.25s ease;
}

.mobile-call-btn:active {
    transform: scale(0.92);
}

/* Hamburger Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.25s ease;
}

.mobile-menu-btn:hover {
    background: #E2E8F0;
    border-color: #94A3B8;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--navy-dark);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn.active .top-line {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--blue-primary);
}

.mobile-menu-btn.active .mid-line {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .bot-line {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--blue-primary);
}

/* ==========================================================================
   FULL-SCREEN UBER-STYLE MOBILE DRAWER MENU
   ========================================================================== */

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1001;
    background: rgba(5, 11, 20, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    visibility: hidden;
    overflow-y: auto;
}

.mobile-drawer-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.25s ease;
}

.drawer-close-btn:hover {
    background: rgba(39, 133, 245, 0.2);
    color: var(--blue-primary);
}

.drawer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(30px);
}

.mobile-drawer-overlay.active .drawer-nav-item {
    animation: drawerItemSlide 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.06s * var(--stagger));
}

@keyframes drawerItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
    background: rgba(39, 133, 245, 0.15);
    border-color: rgba(39, 133, 245, 0.45);
    color: var(--blue-primary);
    transform: translateX(4px);
}

.nav-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 121, 0, 0.15);
    color: #FF7900;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.drawer-nav-item:hover .nav-item-icon {
    background: #FF7900;
    color: #000000;
    box-shadow: 0 0 12px rgba(255, 121, 0, 0.5);
}

.nav-item-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nav-item-text .item-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #FFFFFF;
}

.nav-item-text .item-sub {
    font-size: 0.78rem;
    color: #94A3B8;
    margin-top: 2px;
}

.chevron-icon {
    color: #64748B;
    transition: transform 0.25s ease, color 0.25s ease;
}

.drawer-nav-item:hover .chevron-icon {
    color: #FF7900;
    transform: translateX(3px);
}

/* Drawer Footer Emergency Dispatch Action */
.drawer-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-emergency-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 121, 0, 0.2) 0%, rgba(224, 86, 0, 0.1) 100%);
    border: 1px solid rgba(255, 121, 0, 0.4);
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.drawer-emergency-card:active {
    transform: scale(0.98);
}

.emergency-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FF7900;
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(255, 121, 0, 0.6);
    flex-shrink: 0;
}

.emergency-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.emergency-card-info .card-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #FF7900;
    letter-spacing: 1px;
}

.emergency-card-info .card-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    font-family: var(--font-heading);
}

.call-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    background: #FF7900;
    color: #000000;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Contact Inquiry Container Styling */
.inquiry-container {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* Footer specific logo styling to make it a bit smaller */
.footer .logo-svg {
    width: 36px;
    height: 36px;
}

.footer .logo-title {
    font-size: 1.3rem;
}

.footer .logo-subtitle {
    font-size: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.5rem;
    margin-left: auto;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Services Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1) rotate(-5deg);
}

.service-card.image-card {
    padding: 0;
    display: flex;
    height: 320px; /* Fixed height on desktop to align grid */
}

.service-card.image-card img {
    width: 40%; /* 40/60 split for better text space */
    height: 100%;
    object-fit: cover;
}

.service-card.image-card .card-content {
    padding: 2rem;
    width: 60%; /* 40/60 split for better text space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* About Section */
.dark-section {
    background: var(--bg-dark);
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(245, 158, 11, 0.2);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.875rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .plus {
    color: var(--text-color);
}

.stat-label {
    font-weight: 500;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-darker);
    overflow: hidden;
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    min-width: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(245, 158, 11, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: var(--font-heading);
    z-index: -1;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.author-info .stars {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: #000;
}

/* Contact CTA */
.cta-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9)), url('assets/hero_tow_truck.png') center/cover;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15), transparent 60%);
}

.cta-text {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    margin-bottom: 0.5rem;
}

.cta-text p {
    margin-bottom: 0;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer h4 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-text {
    overflow-wrap: anywhere;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-contact-text a {
    color: var(--text-muted);
}

.footer-contact-text a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Forms */
.inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.inquiry-form-grid .full-width {
    grid-column: 1 / -1;
}

/* Responsive Design - Simple & Modern Mobile Header (Blur Only) */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.85rem 0;
        background: rgba(2, 6, 23, 0.75);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .navbar.scrolled {
        padding: 0.7rem 0;
        background: rgba(2, 6, 23, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .logo-svg {
        width: 38px;
        height: 38px;
    }

    .logo-title {
        font-size: 1.35rem;
    }

    .logo-subtitle {
        font-size: 0.52rem;
        letter-spacing: 1.2px;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: var(--primary-color);
        color: #ffffff !important;
        border: none;
        border-radius: 50%;
        box-shadow: none;
        transition: transform 0.2s ease;
        z-index: 1002;
    }

    .mobile-call-btn:active {
        transform: scale(0.94);
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 38px;
        height: 38px;
        background: #F1F5F9;
        border: 1px solid #CBD5E1;
        border-radius: 8px;
        gap: 5px;
        cursor: pointer;
        z-index: 1002;
        transition: transform 0.2s ease;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
        background-color: var(--navy-dark);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--blue-primary);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--blue-primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(2, 6, 23, 0.92);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        padding: 5rem 1.5rem 2.5rem 1.5rem;
        transition: right 0.35s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn) {
        font-family: var(--font-heading);
        font-size: 1.35rem;
        font-weight: 500;
        color: #e2e8f0;
        padding: 0.5rem 1.5rem;
        text-align: center;
        border: none;
        background: transparent;
        box-shadow: none;
        transition: color 0.25s ease;
    }

    .nav-links a:not(.btn):hover,
    .nav-links a.active:not(.btn) {
        color: var(--primary-color);
        font-weight: 700;
        background: transparent;
        box-shadow: none;
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    .nav-links .nav-btn {
        width: 80%;
        max-width: 280px;
        padding: 0.85rem;
        font-size: 1rem;
        font-weight: 700;
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
        box-shadow: none;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    .hero-content { margin-left: 0; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card.image-card { grid-column: span 1; flex-direction: column; height: auto; }
    .service-card.image-card img { width: 100%; height: 250px; }
    .service-card.image-card .card-content { width: 100%; padding: 2rem; }
    .about-content { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; text-align: center; gap: 2rem; padding: 3rem 2rem; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .inquiry-form-grid {
        grid-template-columns: 1fr;
    }
    
    .inquiry-container,
    .partner-form-container {
        padding: 2rem;
    }
    
    .testimonials-track {
        gap: 1rem;
    }
    
    .testimonial-card {
        min-width: 100%;
        width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .inquiry-container,
    .partner-form-container {
        padding: 1.5rem;
    }
    
    .page-header {
        padding-top: 100px;
        padding-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-box {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 400px) {
    .logo-svg {
        width: 38px;
        height: 38px;
    }
    
    .logo-title {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
    
    .mobile-call-btn {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }
    
    .mobile-call-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* AI Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

.chatbot-toggler {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
    position: relative;
}

.chatbot-toggler:hover {
    transform: scale(1.05);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.chatbot-toggler::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chatbot-toggler svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.chatbot-container.show-chat .chatbot-toggler svg.open-icon {
    display: none;
}

.chatbot-container:not(.show-chat) .chatbot-toggler svg.close-icon {
    display: none;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: rgba(10, 28, 50, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-container.show-chat .chatbot-window {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    padding: 1.2rem;
    background: rgba(5, 16, 30, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.chat-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: var(--font-heading);
}

.chat-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #10B981;
}

.close-chat {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-chat:hover {
    color: var(--primary-color);
}

.chat-body {
    flex: 1;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 85%;
}

.message-bot {
    align-self: flex-start;
}

.message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-user .message-avatar {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.message-content {
    background: var(--bg-darker);
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.95rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.message-user .message-content {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    border-radius: 16px 16px 4px 16px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
}

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

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

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

.chat-footer {
    padding: 1rem;
    background: rgba(5, 16, 30, 0.9);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 20px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.send-btn:hover {
    background: var(--primary-hover);
    transform: rotate(-10deg);
}

.send-btn svg {
    width: 20px;
    height: 20px;
    margin-left: -2px;
}

@media (max-width: 500px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: 500px;
        bottom: 70px;
    }
}

/* Hero Side Poster Slider Styling */
.hero-slider-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider-wrap .slider-container {
    position: relative;
    width: 100%;
    max-width: 440px; /* Perfect poster display size */
    aspect-ratio: 1 / 1; /* Match square dimension of the assets (2048x2048) */
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(242, 110, 34, 0.15);
    border: 6px solid rgba(10, 28, 50, 0.9); /* Framed Style */
    outline: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--bg-darker);
}

.hero-slider-wrap .slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slider-wrap .slide {
    min-width: 100%;
    height: 100%;
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.hero-slider-wrap .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.hero-slider-wrap .slide:hover img {
    transform: scale(1.04);
}

.hero-slider-wrap .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 16, 30, 0) 50%, rgba(5, 16, 30, 0.3) 100%);
    pointer-events: none;
    transition: var(--transition);
}

.hero-slider-wrap .slide:hover::after {
    background: linear-gradient(to bottom, rgba(5, 16, 30, 0) 50%, rgba(5, 16, 30, 0.1) 100%);
}

/* Slider Controls */
.hero-slider-wrap .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 28, 50, 0.75);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-slider-wrap .slider-btn:hover {
    background: var(--primary-color);
    color: #000000;
    box-shadow: 0 0 20px rgba(242, 110, 34, 0.6);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

.hero-slider-wrap .slider-btn svg {
    transition: transform 0.3s ease;
    width: 18px;
    height: 18px;
}

.hero-slider-wrap .prev-btn {
    left: 16px;
}

.hero-slider-wrap .prev-btn:hover svg {
    transform: translateX(-2px);
}

.hero-slider-wrap .next-btn {
    right: 16px;
}

.hero-slider-wrap .next-btn:hover svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .hero-slider-wrap .slider-btn {
        width: 44px;
        height: 44px;
    }
    .hero-slider-wrap .prev-btn { left: 12px; }
    .hero-slider-wrap .next-btn { right: 12px; }
}

@media (max-width: 576px) {
    .hero-slider-wrap .slider-btn {
        display: none; /* Hide arrow navigation on tiny screens to avoid blocking the slide view */
    }
}

/* Indicators */
.hero-slider-wrap .slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-wrap .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.hero-slider-wrap .indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Responsive Redesigned Hero */
@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-slider-wrap .slider-container {
        max-width: 380px;
    }
}

@media (max-width: 576px) {
    .hero-slider-wrap .slider-container {
        max-width: 300px;
        border-width: 4px;
    }
}

/* Modal Popup Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: rgba(10, 28, 50, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(242, 110, 34, 0.1);
    overflow: hidden;
    z-index: 10;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-wrapper {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.modal-close:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-container {
    height: 100%;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 500px;
}

.modal-image-panel {
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

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

.modal-content-panel {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(242, 110, 34, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(242, 110, 34, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.modal-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #FFFFFF, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.modal-info-section {
    margin-bottom: 1.5rem;
}

.modal-info-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.modal-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.modal-features-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
    background: rgba(5, 16, 30, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-action-btn {
    flex: 1;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
}

/* Make entire cards have cursor pointer and a CTA hint */
.service-card {
    cursor: pointer;
}

.service-card .card-content {
    position: relative;
}

.card-cta-link {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
    transition: var(--transition);
}

.service-card:hover .card-cta-link {
    opacity: 1;
    transform: translateX(4px);
}

/* Responsive Modal styling */
@media (max-width: 992px) {
    .modal-wrapper {
        max-width: 650px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image-panel {
        height: 220px;
    }
    
    .modal-content-panel {
        padding: 2rem;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .modal-wrapper {
        width: 95%;
        border-radius: 20px;
    }
    
    .modal-content-panel {
        padding: 1.5rem;
    }
    
    .modal-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}

/* Service Notice Modal Styles */
.notice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.notice-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.notice-modal-card {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: rgba(10, 28, 50, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem 2rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(242, 110, 34, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.notice-modal-overlay.active .notice-modal-card {
    transform: scale(1) translateY(0);
}

.notice-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.notice-modal-close:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.notice-modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(242, 110, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    border: 1px solid rgba(242, 110, 34, 0.2);
    animation: pulseNotice 2s infinite;
}

@keyframes pulseNotice {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 110, 34, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(242, 110, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 110, 34, 0);
    }
}

.notice-modal-body h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-family: var(--font-heading);
}

.notice-modal-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.notice-modal-body p strong {
    color: #FFFFFF;
}

.notice-modal-body .notice-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.notice-modal-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* Symmetrical 2x2 layout for services grid cards */
.services-grid .service-card {
    grid-column: span 1;
}

/* Contact Page Redesign */
.contact.section {
    padding-top: 2rem;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(10, 28, 50, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-info-panel {
    padding: 3.5rem 3rem;
    background: rgba(5, 16, 30, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
}

.contact-info-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #FFD166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.contact-info-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(242, 110, 34, 0.08);
    border: 1px solid rgba(242, 110, 34, 0.2);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-detail-value {
    font-size: 1.05rem;
    color: #FFFFFF;
    font-weight: 500;
}

.contact-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-social-icons a:hover {
    background: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 110, 34, 0.4);
}

/* Form Panel */
.contact-form-panel {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 28, 50, 0.2);
}

.contact-form-title {
    font-size: 2.2rem;
    margin-bottom: 1.75rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.contact-form-panel .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.contact-form-panel label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(5, 16, 30, 0.4);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(242, 110, 34, 0.15);
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: #000000;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(242, 110, 34, 0.3);
}

.contact-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 110, 34, 0.5);
}

/* Margin between contact grid and emergency CTA */
.contact .cta-box {
    margin-top: 3.5rem;
}

/* Responsive Grid styling */
@media (max-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem 1.75rem;
    }
    
    .contact-form-panel {
        padding: 2.5rem 1.75rem;
    }

    .contact .cta-box {
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .cta-text {
        max-width: 100%;
    }
}

/* ==========================================================================
   Feedback & Comments Section
   ========================================================================== */

.feedback-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feedback-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: rgba(10, 25, 47, 0.3);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feedback-info-panel {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.feedback-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feedback-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feedback-stats-hint {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(242, 110, 34, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.hint-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1;
}

.hint-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hint-text strong {
    color: #FFFFFF;
    font-size: 1.05rem;
}

.hint-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Feedback Form Panel */
.feedback-form-panel {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 28, 50, 0.2);
}

.feedback-form-panel .form-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.feedback-form-panel .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.75rem;
}

.feedback-form-panel label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-form-panel input,
.feedback-form-panel textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(5, 16, 30, 0.4);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.feedback-form-panel input:focus,
.feedback-form-panel textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(242, 110, 34, 0.15);
}

/* Star Rating Interaction */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    color: #475569; /* Slate default color */
    cursor: pointer;
    user-select: none;
    width: max-content;
}

.star-rating .star {
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-rating .star:hover {
    transform: scale(1.2);
}

.star-rating .star.hovered {
    color: #fbbf24; /* Warm yellow hover color */
}

.star-rating .star.active {
    color: var(--primary-color); /* Main theme primary orange */
    text-shadow: 0 0 8px rgba(242, 110, 34, 0.4);
}

.feedback-submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: #000000;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(242, 110, 34, 0.3);
}

.feedback-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 110, 34, 0.5);
}

.feedback-submit-btn:disabled {
    background: #334155;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.feedback-status-message {
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 1rem;
    text-align: center;
    min-height: 24px;
    transition: all 0.3s ease;
}

/* Responsive Grid styling */
@media (max-width: 992px) {
    .feedback-layout-grid {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    
    .feedback-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 3rem 2rem;
    }
    
    .feedback-form-panel {
        padding: 3rem 2rem;
    }
}



/* Service Area Regional Coverage Notice Popup */
.notice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 16, 30, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 1.5rem;
}

.notice-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notice-modal-card {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.notice-modal-overlay.active .notice-modal-card {
    transform: translateY(0) scale(1);
}

.notice-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notice-modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.notice-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.notice-modal-body h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.notice-modal-body p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notice-modal-body .notice-subtext {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1.75rem;
}

.notice-modal-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
}

/* General Modal Dialogs & Dispatch Request Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.5rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 16, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.modal-card {
    position: relative;
    z-index: 2;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Floating Emergency Request Dispatch Action Button (Bottom Right) */
.floating-dispatch-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    left: auto;
    background: linear-gradient(135deg, #ff6b00 0%, #ff3d00 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.45), 0 0 20px rgba(255, 107, 0, 0.25);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseGlow 3s infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.floating-dispatch-btn .dispatch-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: beaconPulse 1.8s infinite ease-in-out;
}

.floating-dispatch-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.floating-dispatch-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.65), 0 0 30px rgba(255, 107, 0, 0.4);
    background: linear-gradient(135deg, #ff7a14 0%, #ff4d14 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.floating-dispatch-btn:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.floating-dispatch-btn:active {
    transform: translateY(-1px) scale(0.98);
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(255, 107, 0, 0.45), 0 0 0 0 rgba(255, 107, 0, 0.4);
    }
    50% {
        box-shadow: 0 15px 30px rgba(255, 107, 0, 0.65), 0 0 0 12px rgba(255, 107, 0, 0);
    }
}

@keyframes beaconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .floating-dispatch-btn {
        bottom: 20px;
        right: 20px;
        left: auto;
        padding: 0.75rem 1.15rem;
        font-size: 0.88rem;
    }
}

/* Responsive Dispatch Modal Form Grid & Mobile Viewport Styles */
.dispatch-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

#dispatch-modal .modal-card {
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

#dispatch-modal input,
#dispatch-modal select,
#dispatch-modal textarea {
    font-size: 16px !important; /* Prevents automatic page zooming on mobile iOS Safari */
}

@media (max-width: 600px) {
    .dispatch-form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    #dispatch-modal .modal-card {
        padding: 1.25rem 1rem !important;
        width: 92%;
        margin: 0 auto;
    }

    .floating-dispatch-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.65rem 1rem;
        font-size: 0.82rem;
    }
}

/* ==========================================
   Language Switcher & Google Translate Clean Overrides
   ========================================== */
.goog-te-banner-frame,
.goog-te-banner,
.skiptranslate iframe,
#goog-gt-tt,
.goog-te-balloon-text,
.goog-te-spinner-pos,
.VIpgJd-yDsffb-Lg-Sk,
.VIpgJd-yDsffb-Lg-Sk-WW1vp2,
.goog-te-gadget-icon {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
    position: static !important;
}

#google_translate_element {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

.lang-switcher-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(10, 28, 50, 0.85);
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23FF7900' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding: 6px 28px 6px 14px;
    border: 1px solid rgba(255, 121, 0, 0.4);
    color: #F8FAFC;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    font-family: var(--font-body);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.lang-select-btn:hover,
.lang-select-btn:focus {
    border-color: #FF7900;
    background-color: rgba(255, 121, 0, 0.18);
    box-shadow: 0 0 15px rgba(255, 121, 0, 0.35);
    color: #FFFFFF;
}

.lang-select-btn option {
    background-color: #05101E;
    color: #F8FAFC;
    padding: 10px;
    font-weight: 500;
}

.mobile-lang-switcher {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.mobile-lang-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   INTERACTIVE GOOGLE BUSINESS PROFILE & MAP EMBED SECTION
   ========================================================================== */
.service-map-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(5, 16, 30, 0.6) 0%, rgba(10, 28, 50, 0.9) 50%, rgba(5, 16, 30, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.map-header-wrap {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.map-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 121, 0, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(255, 121, 0, 0.3);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.map-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 1.8s infinite;
}

/* Interactive Hub Tabs / Selector */
.map-hub-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .map-hub-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .map-hub-nav {
        grid-template-columns: 1fr;
    }
}

.hub-btn {
    background: rgba(10, 28, 50, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 6px;
    backdrop-filter: blur(12px);
    position: relative;
    color: var(--text-color);
}

.hub-btn:hover {
    border-color: rgba(255, 121, 0, 0.5);
    background: rgba(255, 121, 0, 0.08);
    transform: translateY(-2px);
}

.hub-btn.active {
    border-color: #FF7900;
    background: linear-gradient(135deg, rgba(255, 121, 0, 0.16) 0%, rgba(10, 28, 50, 0.95) 100%);
    box-shadow: 0 0 20px rgba(255, 121, 0, 0.25);
}

.hub-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #FF7900;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 8px #FF7900;
}

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

.hub-btn-title {
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    font-family: var(--font-heading);
}

.hub-btn-eta {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    white-space: nowrap;
}

.hub-btn-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Map Grid: GBP Card + Interactive Map */
.map-display-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .map-display-grid {
        grid-template-columns: 1fr;
    }
}

/* Google Business Profile Showcase Card */
.gbp-card {
    background: rgba(10, 28, 50, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
}

.gbp-top-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gbp-google-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.gbp-title-wrap h3 {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-badge-icon {
    color: #38BDF8;
    display: inline-flex;
}

.gbp-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.gbp-rating-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gbp-stars-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
}

.gbp-rating-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-right: 4px;
}

.gbp-review-count {
    font-size: 0.8rem;
    color: #94A3B8;
}

.gbp-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.88rem;
}

.gbp-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #E2E8F0;
}

.gbp-info-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.gbp-active-hub-pill {
    background: rgba(255, 121, 0, 0.12);
    border: 1px solid rgba(255, 121, 0, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.gbp-active-hub-pill strong {
    color: #FF7900;
    display: block;
    margin-bottom: 2px;
}

.gbp-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-gbp-primary {
    background: #FF7900;
    color: #05101E;
    font-weight: 700;
    padding: 0.8rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.92rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-gbp-primary:hover {
    background: #FF9433;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.4);
}

.btn-gbp-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-gbp-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
}

/* Map Iframe Container */
.map-iframe-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 121, 0, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: #05101E;
    min-height: 480px;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    display: block;
    filter: brightness(0.92) contrast(1.08);
}

.map-overlay-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(5, 16, 30, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 121, 0, 0.4);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.8rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   LOCAL SEO HIGH-INTENT LANDING TARGETS SECTION
   ========================================================================== */
.local-seo-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    position: relative;
}

.local-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .local-seo-grid {
        grid-template-columns: 1fr;
    }
}

.seo-target-card {
    background: rgba(10, 28, 50, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.seo-target-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 121, 0, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 121, 0, 0.15);
}

.seo-target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF7900, #FFB703);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seo-target-card:hover::before {
    opacity: 1;
}

.seo-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(255, 121, 0, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 121, 0, 0.25);
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.seo-card-title {
    font-size: 1.35rem;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.seo-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.seo-card-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.seo-card-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #CBD5E1;
}

.seo-card-points li svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.seo-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.seo-card-footer .btn {
    flex: 1;
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
}

/* Local SEO FAQ Accordion - Coastal Light Theme */
.seo-faq-section {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(11, 23, 48, 0.04);
    padding: 3rem;
    margin-top: 3.5rem;
}

@media (max-width: 768px) {
    .seo-faq-section {
        padding: 2rem 1.25rem;
    }
}

.seo-faq-header {
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.seo-faq-header h3 {
    font-family: var(--font-condensed);
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
}

.seo-faq-header p {
    color: var(--body-text);
    font-size: 0.95rem;
    margin: 0;
}

.seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.seo-faq-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.seo-faq-item:hover {
    border-color: #CBD5E1;
    background: #FFFFFF;
}

.seo-faq-item.active {
    background: #FFFFFF;
    border-color: var(--blue-primary);
    box-shadow: 0 4px 16px rgba(39, 133, 245, 0.08);
}

.seo-faq-question {
    padding: 1.15rem 1.4rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-condensed);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.seo-faq-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--blue-primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

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

.seo-faq-answer {
    padding: 0 1.4rem 1.25rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
    display: none;
}

.seo-faq-item.active .seo-faq-answer {
    display: block;
}

/* ==========================================================================
   LEGAL POLICIES STYLING (Privacy, Terms, Cancellation)
   ========================================================================== */
.policy-page {
    padding-top: 100px;
    padding-bottom: 5rem;
    min-height: 100vh;
}

.policy-hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3.5rem;
    background: radial-gradient(circle at 50% 0%, rgba(255, 121, 0, 0.08) 0%, transparent 70%);
}

.policy-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.policy-breadcrumbs a {
    color: var(--text-muted);
}

.policy-breadcrumbs a:hover {
    color: var(--primary-color);
}

.policy-breadcrumbs span.current {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.policy-meta-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.policy-meta-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 4px 14px;
    color: #CBD5E1;
}

.policy-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .policy-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* Sticky Table of Contents */
.policy-toc {
    position: sticky;
    top: 90px;
    background: rgba(10, 28, 50, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}

.policy-toc-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #FFFFFF;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-toc-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: block;
}

.policy-toc-link:hover,
.policy-toc-link.active {
    color: var(--primary-color);
    background: rgba(255, 121, 0, 0.1);
    font-weight: 600;
}

/* Policy Content Document */
.policy-doc-card {
    background: rgba(10, 28, 50, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .policy-doc-card {
        padding: 2rem 1.25rem;
    }
}

.policy-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h2 span.sec-num {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.policy-section p {
    color: #CBD5E1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.policy-section ul,
.policy-section ol {
    margin: 0 0 1.5rem 1.5rem;
    color: #CBD5E1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.95rem;
}

.policy-section li {
    line-height: 1.6;
}

.policy-callout {
    background: rgba(255, 121, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.policy-callout strong {
    color: #FFFFFF;
    display: block;
    margin-bottom: 0.35rem;
}

.policy-callout p {
    color: #CBD5E1;
    margin-bottom: 0;
    font-size: 0.92rem;
}

.policy-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.policy-table th {
    background: rgba(5, 16, 30, 0.8);
    color: #FFFFFF;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   COASTAL TOWING REFERENCE REDESIGN STYLES (NEXORA RECOVERY SRI LANKA)
   ========================================================================== */

/* Top Slim Information Bar */
.top-info-bar {
    background-color: var(--navy-dark);
    color: #CBD5E1;
    font-size: 0.82rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1010;
}
.top-info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.top-info-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.top-info-left i {
    color: var(--blue-primary);
    font-size: 0.85rem;
}
.top-info-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.top-info-email {
    color: #94A3B8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}
.top-info-email:hover {
    color: #FFFFFF;
}
.top-info-email i {
    color: var(--blue-primary);
}

/* Clean White Main Navigation Bar */
.navbar-coastal {
    background-color: var(--white);
    color: var(--navy-dark);
    box-shadow: 0 2px 14px rgba(11, 23, 48, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.25s ease;
    border-bottom: 1px solid #E2E8F0;
}
.nav-coastal-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.brand-coastal-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--navy-dark);
    flex-shrink: 0;
}
.brand-coastal-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1.5px solid #E2E8F0;
}
.brand-coastal-text {
    display: flex;
    flex-direction: column;
}
.brand-coastal-name {
    font-family: var(--font-condensed);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--navy-dark);
    text-transform: uppercase;
}
.brand-coastal-name .blue-accent {
    color: var(--blue-primary);
}
.brand-coastal-sub {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--blue-primary);
    text-transform: uppercase;
    margin-top: 2px;
}
.nav-coastal-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;
}
.nav-coastal-link {
    color: #334155;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.2s ease;
}
.nav-coastal-link:hover {
    color: var(--blue-primary);
}
.nav-coastal-link.active {
    color: var(--blue-primary);
}
.nav-coastal-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--blue-primary);
    border-radius: 2px;
}
.nav-coastal-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.nav-phone-button {
    background-color: var(--blue-primary);
    color: #FFFFFF !important;
    font-family: var(--font-condensed);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 14px rgba(39, 133, 245, 0.35);
    transition: all 0.25s ease;
}
.nav-phone-button:hover {
    background-color: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(39, 133, 245, 0.45);
}
.nav-phone-button i {
    font-size: 0.95rem;
}

/* Cinematic Reference Hero Section */
.coastal-hero-section {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: var(--navy-deep);
    background-size: cover;
    background-position: 75% 42%;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 4.5rem 0 5.5rem 0;
}
.coastal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(7, 18, 37, 0.95) 0%, 
        rgba(7, 18, 37, 0.88) 45%, 
        rgba(7, 18, 37, 0.45) 80%, 
        rgba(7, 18, 37, 0.2) 100%
    );
    z-index: 1;
}
.coastal-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}
.coastal-hero-content {
    max-width: 620px;
}
.coastal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-condensed);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 0.85rem;
}
.coastal-eyebrow-square {
    width: 9px;
    height: 9px;
    background-color: var(--blue-primary);
    border-radius: 1.5px;
    display: inline-block;
}
.coastal-headline {
    font-family: var(--font-condensed);
    font-size: clamp(2.6rem, 4.8vw, 4.1rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}
.coastal-headline .headline-highlight {
    color: var(--blue-primary);
    display: block;
}
.coastal-description {
    color: #E2E8F0;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 2rem;
}
.coastal-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-coastal-primary {
    background-color: var(--blue-primary);
    color: #FFFFFF;
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 2rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 6px 20px rgba(39, 133, 245, 0.4);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.btn-coastal-primary:hover {
    background-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(39, 133, 245, 0.55);
}
.btn-coastal-outline {
    background: transparent;
    color: #FFFFFF;
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 1.85rem;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-coastal-outline:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.btn-coastal-outline i {
    color: #25D366;
    font-size: 1.25rem;
}

/* Floating Four-Column Benefits Panel */
.floating-benefits-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -42px;
    padding: 0 1.5rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}
.benefits-card-container {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 16px 36px -4px rgba(11, 23, 48, 0.12), 0 0 1px rgba(11, 23, 48, 0.1);
    border: 1px solid #EAF0F6;
    overflow: hidden;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.benefit-col {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid #EDF2F7;
    transition: background 0.2s ease;
}
.benefit-col:last-child {
    border-right: none;
}
.benefit-col:hover {
    background-color: #F8FAFD;
}
.benefit-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--blue-light);
    color: var(--blue-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.95rem;
}
.benefit-heading {
    font-family: var(--font-condensed);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
}
.benefit-description {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--body-text);
    margin: 0;
}

/* Light Background Content Sections */
.main-canvas-light {
    background-color: var(--light-bg);
    color: var(--navy-dark);
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}
.content-clean-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section-header-clean {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}
.section-badge-clean {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-primary);
    background: var(--blue-light);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}
.section-title-clean {
    font-family: var(--font-condensed);
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy-dark);
    line-height: 1.15;
    margin-bottom: 0.85rem;
}
.section-title-clean .blue-accent {
    color: var(--blue-primary);
}
.section-subtitle-clean {
    font-size: 1.05rem;
    color: var(--body-text);
    line-height: 1.6;
}

/* Clean Services Cards Grid */
.services-clean-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4.5rem;
}
.service-clean-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(11, 23, 48, 0.04);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-clean-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 23, 48, 0.09);
    border-color: #CBD5E1;
}
.service-card-top-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--blue-light);
    color: var(--blue-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}
.service-card-title {
    font-family: var(--font-condensed);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 0.65rem;
    letter-spacing: 0.3px;
}
.service-card-desc {
    font-size: 0.92rem;
    color: var(--body-text);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}
.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.service-card-features li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-card-features li i {
    color: #10B981;
    font-size: 0.85rem;
}
.service-card-cta {
    background-color: #F1F5F9;
    color: var(--navy-dark);
    font-family: var(--font-condensed);
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    display: block;
}
.service-clean-card:hover .service-card-cta {
    background-color: var(--blue-primary);
    color: #FFFFFF;
}

/* About Nexora Clean Section */
.about-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(11, 23, 48, 0.05);
    margin-bottom: 4.5rem;
}
.about-clean-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(11, 23, 48, 0.1);
}
.about-clean-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 380px;
}
.about-clean-text h3 {
    font-family: var(--font-condensed);
    font-size: 2.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.about-clean-text p {
    color: var(--body-text);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.about-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
.about-point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}
.about-point-item i {
    color: var(--blue-primary);
    font-size: 1.1rem;
    margin-top: 3px;
}
.about-point-item div strong {
    display: block;
    font-family: var(--font-condensed);
    font-size: 1rem;
    color: var(--navy-dark);
    text-transform: uppercase;
}
.about-point-item div span {
    font-size: 0.82rem;
    color: var(--body-text);
}


/* Contact Clean CTA Banner */
.contact-clean-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 12px 32px rgba(11, 23, 48, 0.2);
}
.contact-clean-text h3 {
    font-family: var(--font-condensed);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}
.contact-clean-text p {
    color: #CBD5E1;
    font-size: 1.05rem;
    margin: 0;
    max-width: 580px;
}
.contact-clean-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dark Navy Reference Footer */
.footer-coastal {
    background-color: var(--navy-dark);
    color: #94A3B8;
    padding: 4.5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-coastal-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
.footer-coastal-brand .footer-brand-title {
    font-family: var(--font-condensed);
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}
.footer-coastal-brand .footer-brand-title span {
    color: var(--blue-primary);
}
.footer-coastal-brand p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #94A3B8;
    margin-top: 0.75rem;
}
.footer-coastal-col h4 {
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-coastal-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--blue-primary);
}
.footer-coastal-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-coastal-col ul li {
    margin-bottom: 0.65rem;
}
.footer-coastal-col ul li a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.footer-coastal-col ul li a:hover {
    color: var(--blue-primary);
    transform: translateX(3px);
}
.footer-coastal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
    font-size: 0.92rem;
}
.footer-coastal-contact-item i {
    color: var(--blue-primary);
    font-size: 1rem;
    margin-top: 3px;
}
.footer-coastal-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: #64748B;
}
.footer-bottom-policy-links {
    display: flex;
    gap: 1.25rem;
}
.footer-bottom-policy-links a {
    color: #94A3B8;
    text-decoration: none;
}
.footer-bottom-policy-links a:hover {
    color: var(--blue-primary);
}

/* Responsive Breakpoints for Coastal Towing Layout */
@media (min-width: 901px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefit-col:nth-child(2) {
        border-right: none;
    }
    .benefit-col:nth-child(1),
    .benefit-col:nth-child(2) {
        border-bottom: 1px solid #EDF2F7;
    }
    .footer-coastal-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .about-clean-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .nav-coastal-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .top-info-inner {
        flex-direction: row;
        justify-content: center;
        text-align: center;
        padding: 0.35rem 1rem;
    }
    .top-info-right {
        display: none;
    }
    .top-info-left {
        font-size: 0.8rem;
        justify-content: center;
    }
    .nav-coastal-container {
        padding: 0.65rem 1rem;
        gap: 0.5rem;
        justify-content: space-between;
    }
    .nav-coastal-right {
        gap: 0.5rem;
    }
    #nav-phone-text {
        display: none;
    }
    .nav-phone-button {
        padding: 0.55rem 0.75rem;
        font-size: 0.95rem;
    }
    .brand-coastal-img {
        width: 38px;
        height: 38px;
    }
    .brand-coastal-name {
        font-size: 1.3rem;
    }
    .brand-coastal-sub {
        font-size: 0.6rem;
    }
    .lang-switcher-wrap .lang-select-btn {
        padding: 0.45rem 0.5rem;
        font-size: 0.82rem;
    }
    .coastal-hero-section {
        min-height: 480px;
        padding: 3.5rem 0 4.5rem 0;
        background-position: center 40%;
    }
    .coastal-headline {
        font-size: 2.3rem;
    }
    .floating-benefits-wrapper {
        margin-top: -30px;
        padding: 0 1rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-col {
        border-right: none !important;
        border-bottom: 1px solid #EDF2F7;
    }
    .benefit-col:last-child {
        border-bottom: none;
    }
    .about-clean-grid {
        padding: 1.75rem;
    }
    .about-points-grid {
        grid-template-columns: 1fr;
    }
    .contact-clean-banner {
        padding: 2.25rem 1.5rem;
    }
    .footer-coastal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-coastal-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-coastal-container {
        padding: 0.5rem 0.75rem;
        gap: 0.35rem;
    }
    .nav-coastal-right {
        gap: 0.4rem;
    }
    .brand-coastal-img {
        width: 34px;
        height: 34px;
    }
    .brand-coastal-name {
        font-size: 1.15rem;
    }
    .brand-coastal-sub {
        font-size: 0.55rem;
    }
    .lang-switcher-wrap .lang-select-btn {
        padding: 0.4rem 0.4rem;
        font-size: 0.78rem;
    }
    .coastal-cta-row {
        flex-direction: column;
        width: 100%;
    }
    .btn-coastal-primary,
    .btn-coastal-outline {
        width: 100%;
        justify-content: center;
    }
    .floating-dispatch-btn {
        bottom: 16px;
        right: 16px;
        padding: 0.65rem 0.95rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   COASTAL TOWING SUBPAGE DESIGN SYSTEM (SERVICES, ABOUT, CONTACT, PARTNER, LEGAL)
   ========================================================================== */

/* Subpage Hero Banner */
.coastal-subpage-hero {
    position: relative;
    background-color: var(--navy-dark);
    background-image: linear-gradient(90deg, rgba(7, 18, 37, 0.95) 0%, rgba(11, 23, 48, 0.88) 55%, rgba(11, 23, 48, 0.55) 100%), url('assets/hero_truck.jpg');
    background-size: cover;
    background-position: center right;
    padding: 4.5rem 0 4.5rem 0;
    color: #FFFFFF;
    border-bottom: 3px solid var(--blue-primary);
}
.coastal-subpage-hero.hero-services {
    background-image: linear-gradient(90deg, rgba(7, 18, 37, 0.95) 0%, rgba(11, 23, 48, 0.88) 55%, rgba(11, 23, 48, 0.55) 100%), url('assets/flatbed_towing.jpeg');
}
.coastal-subpage-hero.hero-about {
    background-image: linear-gradient(90deg, rgba(7, 18, 37, 0.95) 0%, rgba(11, 23, 48, 0.88) 55%, rgba(11, 23, 48, 0.55) 100%), url('assets/carrier_truck.jpg');
}
.coastal-subpage-hero.hero-contact {
    background-image: linear-gradient(90deg, rgba(7, 18, 37, 0.95) 0%, rgba(11, 23, 48, 0.88) 55%, rgba(11, 23, 48, 0.55) 100%), url('assets/hero_truck.jpg');
}
.coastal-subpage-hero.hero-partner {
    background-image: linear-gradient(90deg, rgba(7, 18, 37, 0.95) 0%, rgba(11, 23, 48, 0.88) 55%, rgba(11, 23, 48, 0.55) 100%), url('assets/carrier_truck.jpg');
}
.coastal-subpage-hero.hero-legal {
    background-image: linear-gradient(90deg, rgba(7, 18, 37, 0.98) 0%, rgba(11, 23, 48, 0.94) 100%);
    padding: 3.5rem 0 3.5rem 0;
}

.subpage-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.subpage-eyebrow {
    font-family: var(--font-condensed);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.subpage-headline {
    font-family: var(--font-condensed);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}
.subpage-headline .blue-accent {
    color: var(--blue-primary);
}
.subpage-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #CBD5E1;
    max-width: 680px;
    margin: 0 0 1.25rem 0;
}
.subpage-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94A3B8;
}
.subpage-breadcrumbs a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s ease;
}
.subpage-breadcrumbs a:hover {
    color: var(--blue-primary);
}
.subpage-breadcrumbs span {
    color: var(--blue-primary);
}

/* Detailed Services Cards Grid (for services.html) */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.service-detail-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 23, 48, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(11, 23, 48, 0.1);
    border-color: #CBD5E1;
}
.service-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--navy-dark);
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-detail-card:hover .service-card-media img {
    transform: scale(1.05);
}
.service-media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(11, 23, 48, 0.85);
    backdrop-filter: blur(8px);
    color: var(--blue-primary);
    border: 1px solid rgba(39, 133, 245, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.service-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-card-body h3 {
    font-family: var(--font-condensed);
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}
.service-card-body p {
    color: var(--body-text);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.service-features-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}
.service-feature-pill {
    background: #F1F5F9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}
.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid #E2E8F0;
    margin-top: auto;
}
.service-price-block {
    display: flex;
    flex-direction: column;
}
.service-price-label {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 600;
}
.service-price-val {
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
}
.service-btn-action {
    background: var(--blue-primary);
    color: #FFFFFF;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-btn-action:hover {
    background: #1a73e8;
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* About Page Clean Layouts */
.about-stats-ribbon {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 24px rgba(11, 23, 48, 0.06);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem 1.5rem;
    margin-top: -35px;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}
.about-stat-item {
    text-align: center;
    border-right: 1px solid #EDF2F7;
    padding: 0 1rem;
}
.about-stat-item:last-child {
    border-right: none;
}
.about-stat-num {
    font-family: var(--font-condensed);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.about-stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Page Clean Layout */
.contact-layout-clean {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}
.main-canvas-light .contact-info-panel,
.contact-layout-clean .contact-info-panel {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-info-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(11, 23, 48, 0.04);
    padding: 1.75rem;
}
.contact-info-card h4 {
    font-family: var(--font-condensed);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-info-card h4 i {
    color: var(--blue-primary);
}
.contact-form-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 24px rgba(11, 23, 48, 0.06);
    padding: 2.5rem;
}
.contact-form-card h3 {
    font-family: var(--font-condensed);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
}
.contact-form-card p {
    color: var(--body-text);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

/* Legal Documents Clean Styling */
.legal-clean-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(11, 23, 48, 0.05);
    padding: 3rem 2.5rem;
    max-width: 900px;
    margin: 0 auto 4rem auto;
    color: #334155;
    line-height: 1.75;
}
.legal-clean-card h2 {
    font-family: var(--font-condensed);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #F1F5F9;
}
.legal-clean-card h3 {
    font-family: var(--font-condensed);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.legal-clean-card p, .legal-clean-card li {
    font-size: 0.96rem;
    color: #475569;
}
.legal-clean-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.legal-meta-bar {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.85rem;
    color: #64748B;
}

/* Clean Form Controls */
.clean-form-group {
    margin-bottom: 1.25rem;
}
.clean-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy-dark);
    margin-bottom: 0.4rem;
}
.clean-input, .clean-select, .clean-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.clean-input:focus, .clean-select:focus, .clean-textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(39, 133, 245, 0.15);
}

@media (max-width: 900px) {
    .about-stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .about-stat-item:nth-child(2) {
        border-right: none;
    }
    .contact-layout-clean {
        grid-template-columns: 1fr;
    }
}
/* Service Card Overrides on Light Canvas - Featured First Row + 2x2 Layout */
.main-canvas-light .services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.25rem !important;
    max-width: 1200px !important;
    margin: 0 auto 4rem auto !important;
}
.main-canvas-light .services-grid .service-card,
.main-canvas-light .service-card.image-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(11, 23, 48, 0.05) !important;
    overflow: hidden !important;
    color: var(--navy-dark) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 440px !important;
    grid-column: span 1 !important;
    padding: 0 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.main-canvas-light .service-card.image-card:hover {
    border-color: #CBD5E1 !important;
    box-shadow: 0 12px 32px rgba(11, 23, 48, 0.1) !important;
    transform: translateY(-5px);
}
.main-canvas-light .service-card.image-card img {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.main-canvas-light .service-card.image-card .card-content {
    width: 100% !important;
    padding: 1.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
}
.main-canvas-light .service-card.image-card h3 {
    font-family: var(--font-condensed) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--navy-dark) !important;
    margin-bottom: 0.65rem !important;
    line-height: 1.25 !important;
}

/* Featured First Row Card: Hambantota Harbor Vehicle Delivery */
@media (min-width: 821px) {
    .main-canvas-light .services-grid .service-card:first-child,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] {
        grid-column: 1 / -1 !important;
        display: flex !important;
        flex-direction: row !important;
        min-height: 290px !important;
    }
    .main-canvas-light .services-grid .service-card:first-child img,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] img {
        width: 46% !important;
        height: 100% !important;
        min-height: 290px !important;
        object-fit: cover !important;
    }
    .main-canvas-light .services-grid .service-card:first-child .card-content,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] .card-content {
        width: 54% !important;
        padding: 2.25rem 2.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    .main-canvas-light .services-grid .service-card:first-child h3,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] h3 {
        font-size: 1.55rem !important;
    }
}
.main-canvas-light .service-card.image-card p {
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    flex: 1 !important;
}
.main-canvas-light .service-card.image-card .card-cta-link {
    color: var(--blue-primary) !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.92rem !important;
    margin-top: auto !important;
}
.main-canvas-light .service-card.image-card:hover .card-cta-link {
    color: #1a73e8 !important;
}

/* Modal Themeing for Navy + Blue */
.modal-wrapper {
    background: #0B1730 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
}
.modal-badge {
    background: rgba(39, 133, 245, 0.15) !important;
    color: #2785F5 !important;
    border: 1px solid rgba(39, 133, 245, 0.3) !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
.modal-header h2 {
    font-family: var(--font-condensed) !important;
    font-size: 1.8rem !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
}
.modal-body p {
    color: #CBD5E1 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}
.modal-info-section h4 {
    font-family: var(--font-condensed) !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    font-size: 1.1rem !important;
}
.modal-features-list li {
    color: #E2E8F0 !important;
}
.modal-meta-grid {
    background: rgba(15, 32, 67, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
}
.meta-item .meta-value {
    color: #2785F5 !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
}
.modal-action-btn.btn-primary {
    background: #2785F5 !important;
    color: #FFFFFF !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
.modal-action-btn.btn-secondary {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
@media (max-width: 820px) {
    .main-canvas-light .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .main-canvas-light .services-grid .service-card,
    .main-canvas-light .service-card.image-card,
    .main-canvas-light .services-grid .service-card:first-child,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] {
        grid-column: span 1 !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .main-canvas-light .service-card.image-card img,
    .main-canvas-light .services-grid .service-card:first-child img,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] img {
        width: 100% !important;
        height: 200px !important;
        min-height: 0 !important;
    }
    .main-canvas-light .service-card.image-card .card-content,
    .main-canvas-light .services-grid .service-card:first-child .card-content,
    .main-canvas-light .services-grid .service-card[data-service="harbor-delivery"] .card-content {
        width: 100% !important;
        padding: 1.5rem !important;
    }
}

/* ==========================================================================
   TESTIMONIALS & FEEDBACK PANEL - LIGHT CANVAS OVERRIDES
   ========================================================================== */
.main-canvas-light .testimonials {
    background: transparent;
    padding: 2.5rem 0 3.5rem 0;
}
.main-canvas-light .testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(11, 23, 48, 0.05);
    border-radius: 14px;
    padding: 2rem;
    color: #334155;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.main-canvas-light .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(11, 23, 48, 0.08);
}
.main-canvas-light .testimonial-text {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.6;
}
.main-canvas-light .testimonial-text::before {
    color: rgba(39, 133, 245, 0.15);
}
.main-canvas-light .author-avatar {
    background: #2785F5;
    color: #FFFFFF;
    font-weight: 700;
}
.main-canvas-light .author-info h4 {
    color: #0B1730;
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.05rem;
}
.main-canvas-light .author-info .stars {
    color: #F59E0B;
}
.main-canvas-light .carousel-btn {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #2785F5;
    box-shadow: 0 4px 12px rgba(11, 23, 48, 0.08);
}
.main-canvas-light .carousel-btn:hover {
    background: #2785F5;
    color: #FFFFFF;
    border-color: #2785F5;
}

/* Feedback Section on Light Canvas */
.main-canvas-light .feedback-section {
    background: transparent;
    padding: 3rem 0 5rem 0;
}
.main-canvas-light .feedback-info-panel h2 {
    font-family: var(--font-condensed);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #0B1730;
}
.main-canvas-light .feedback-desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}
.main-canvas-light .feedback-stats-hint {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(11, 23, 48, 0.04);
    border-radius: 12px;
    padding: 1.25rem;
}
.main-canvas-light .hint-icon {
    background: rgba(39, 133, 245, 0.12);
    color: #2785F5;
}
.main-canvas-light .hint-text strong {
    color: #0B1730;
}
.main-canvas-light .hint-text span {
    color: #64748B;
}
.main-canvas-light .feedback-form-panel {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 24px rgba(11, 23, 48, 0.06);
    border-radius: 14px;
    padding: 2.25rem;
}
.main-canvas-light .feedback-form-panel .form-title {
    font-family: var(--font-condensed);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0B1730;
    margin-bottom: 1.25rem;
}
.main-canvas-light .feedback-form-panel label {
    color: #0B1730;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}
.main-canvas-light .feedback-form-panel input,
.main-canvas-light .feedback-form-panel textarea {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    color: #0B1730;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.main-canvas-light .feedback-form-panel input:focus,
.main-canvas-light .feedback-form-panel textarea:focus {
    border-color: #2785F5;
    box-shadow: 0 0 0 3px rgba(39, 133, 245, 0.15);
    outline: none;
}
.main-canvas-light .star-rating .star {
    color: #CBD5E1;
    cursor: pointer;
    font-size: 1.75rem;
    transition: color 0.15s ease;
}
.main-canvas-light .star-rating .star.active,
.main-canvas-light .star-rating .star.hovered {
    color: #F59E0B;
}
.main-canvas-light .feedback-submit-btn {
    background: #2785F5;
    color: #FFFFFF;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.main-canvas-light .feedback-submit-btn:hover {
    background: #1a73e8;
    transform: translateY(-2px);
}

/* ==========================================================================
   MAP & CONTACT FORM - LIGHT CANVAS OVERRIDES
   ========================================================================== */
.main-canvas-light #service-map-container {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}
.main-canvas-light .map-header-wrap h2 {
    color: var(--navy-dark) !important;
}
.main-canvas-light .hub-btn {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 4px 14px rgba(11, 23, 48, 0.05);
}
.main-canvas-light .hub-btn .hub-btn-title {
    color: var(--navy-dark) !important;
}
.main-canvas-light .hub-btn .hub-btn-sub {
    color: #64748B !important;
}
.main-canvas-light .hub-btn.active {
    background: #FFFFFF !important;
    border-color: var(--blue-primary) !important;
    box-shadow: 0 6px 20px rgba(39, 133, 245, 0.15) !important;
}
.main-canvas-light .hub-btn.active::after {
    background: var(--blue-primary) !important;
    box-shadow: 0 0 8px rgba(39, 133, 245, 0.6) !important;
}
.main-canvas-light .gbp-card {
    background: #0B1730 !important;
    border: 1px solid rgba(39, 133, 245, 0.3) !important;
    box-shadow: 0 10px 30px rgba(11, 23, 48, 0.12) !important;
}
.main-canvas-light .gbp-card .gbp-title-wrap h3 {
    color: #FFFFFF !important;
}
.main-canvas-light .gbp-active-hub-pill strong {
    color: var(--blue-primary) !important;
}
.main-canvas-light .btn-gbp-primary {
    background: var(--blue-primary) !important;
    color: #FFFFFF !important;
}
.main-canvas-light .btn-gbp-primary:hover {
    background: #1a73e8 !important;
}
.main-canvas-light .contact-submit-btn {
    background: var(--blue-primary) !important;
    color: #FFFFFF !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    padding: 0.85rem 1.75rem !important;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.main-canvas-light .contact-submit-btn:hover {
    background: #1a73e8 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   POLICY PAGES - LIGHT CANVAS OVERRIDES
   ========================================================================== */
.main-canvas-light .policy-toc {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 18px rgba(11, 23, 48, 0.05) !important;
}
.main-canvas-light .policy-toc-title {
    color: var(--navy-dark) !important;
    border-bottom: 1px solid #E2E8F0 !important;
}
.main-canvas-light .policy-toc-link {
    color: #475569 !important;
}
.main-canvas-light .policy-toc-link:hover,
.main-canvas-light .policy-toc-link.active {
    color: var(--blue-primary) !important;
    background: rgba(39, 133, 245, 0.08) !important;
}
.main-canvas-light .policy-doc-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 6px 24px rgba(11, 23, 48, 0.05) !important;
}
.main-canvas-light .policy-section h2 {
    color: var(--navy-dark) !important;
    border-bottom: 1px solid #F1F5F9 !important;
    font-family: var(--font-condensed) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
.main-canvas-light .policy-section h2 span.sec-num {
    color: var(--blue-primary) !important;
}
.main-canvas-light .policy-section p {
    color: #475569 !important;
}
.main-canvas-light .policy-section ul,
.main-canvas-light .policy-section ol {
    color: #475569 !important;
}
.main-canvas-light .policy-callout {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-left: 4px solid var(--blue-primary) !important;
}
.main-canvas-light .policy-callout strong {
    color: var(--navy-dark) !important;
}
.main-canvas-light .policy-callout p {
    color: #64748B !important;
}
.main-canvas-light .policy-table-wrap {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 14px rgba(11, 23, 48, 0.04) !important;
}
.main-canvas-light .policy-table th {
    background: #F8FAFC !important;
    color: var(--navy-dark) !important;
    border-bottom: 2px solid #E2E8F0 !important;
}
.main-canvas-light .policy-table td {
    color: #475569 !important;
    border-bottom: 1px solid #F1F5F9 !important;
}
.main-canvas-light .policy-table tr:hover td {
    background: #F8FAFC !important;
}

/* ==========================================================================
   UNIVERSAL CROSS-DEVICE RESPONSIVE OPTIMIZATIONS (LAPTOP, TABLET, MOBILE)
   ========================================================================== */

/* 1. Global Responsive Image & Media Safeguard */
img, svg, video, canvas {
    max-width: 100%;
}

/* 2. Touch Target & Accessibility Sizing on Touch Devices */
@media (pointer: coarse) or (max-width: 768px) {
    .btn-coastal-primary,
    .btn-coastal-outline,
    .nav-phone-button,
    .mobile-menu-btn,
    .floating-dispatch-btn,
    .contact-submit-btn,
    .drawer-nav-item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* 3. iOS Auto-Zoom Prevention (Inputs >= 16px on Mobile) */
@media (max-width: 768px) {
    .clean-input,
    .clean-select,
    .clean-textarea,
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
    }
}

/* 4. Safe Area Insets for Modern Mobile Devices (Notch & Gesture Bar) */
.floating-dispatch-btn {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(18px + env(safe-area-inset-right, 0px)) !important;
}

.mobile-drawer {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* 5. Responsive Policy & Documentation Table Scroll */
.policy-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.policy-table {
    min-width: 520px;
}

/* 6. Tablet & Small Laptop Layout Tuning (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .content-clean-container,
    .nav-coastal-container,
    .top-info-inner,
    .subpage-hero-inner {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .coastal-headline {
        font-size: clamp(2.4rem, 4.5vw, 3.2rem) !important;
    }
    .contact-layout-clean {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* 7. Ultra-Compact Mobile Screens (<= 360px - iPhone SE / Galaxy Mini) */
@media (max-width: 360px) {
    .top-info-left {
        font-size: 0.72rem !important;
        letter-spacing: 0 !important;
    }
    .brand-coastal-img {
        width: 30px !important;
        height: 30px !important;
    }
    .brand-coastal-name {
        font-size: 1rem !important;
    }
    .brand-coastal-sub {
        font-size: 0.5rem !important;
    }
    .nav-phone-button {
        padding: 0.45rem 0.6rem !important;
        font-size: 0.85rem !important;
    }
    .contact-info-card,
    .contact-form-card,
    .about-focus-card {
        padding: 1.25rem 0.85rem !important;
    }
    .coastal-headline {
        font-size: 1.95rem !important;
    }
    .floating-dispatch-btn span:not(.dispatch-pulse-dot) {
        font-size: 0.75rem !important;
    }
}










