/* TNS Answering Service - Main Stylesheet */
/* Brand Colors: Navy #0a1628, Gold #f4c430 */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-navy: #0a1628;
    --primary-navy-light: #142238;
    --primary-navy-dark: #060d18;
    --accent-gold: #f4c430;
    --accent-gold-hover: #d4a820;
    --text-white: #ffffff;
    --text-light: #e0e6ed;
    --text-gray: #8892a0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(10, 22, 40, 0.1);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.15);
    --shadow-lg: 0 8px 24px rgba(10, 22, 40, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Custom Scrollbar - TNS Branding */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 6px;
    border: 2px solid var(--primary-navy);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-hover);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--primary-navy);
}

/* ============================================
   TEXT SELECTION - TNS Branding
   ============================================ */
::selection {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

::-moz-selection {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

/* Selection on dark backgrounds */
.section-dark ::selection,
.navbar ::selection,
.footer ::selection,
.hero ::selection,
.smartphone-app-section ::selection,
.flexible-solutions-section ::selection {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-navy);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   WORLD MAP DOTTED PATTERN (CSS Background)
   ============================================ */
.world-map-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 10% 20%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 20% 35%, var(--accent-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 15% 45%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 25% 55%, var(--accent-gold) 1.2px, transparent 1.2px),
        radial-gradient(circle at 30% 30%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 35% 40%, var(--accent-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 25%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 45% 50%, var(--accent-gold) 1.2px, transparent 1.2px),
        radial-gradient(circle at 50% 35%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 55% 45%, var(--accent-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 30%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 65% 55%, var(--accent-gold) 1.2px, transparent 1.2px),
        radial-gradient(circle at 70% 40%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 75% 25%, var(--accent-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 50%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 85% 35%, var(--accent-gold) 1.2px, transparent 1.2px),
        radial-gradient(circle at 90% 45%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 12% 60%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 22% 70%, var(--accent-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 32% 65%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 42% 75%, var(--accent-gold) 1.2px, transparent 1.2px),
        radial-gradient(circle at 52% 60%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 62% 70%, var(--accent-gold) 1.5px, transparent 1.5px),
        radial-gradient(circle at 72% 65%, var(--accent-gold) 1px, transparent 1px),
        radial-gradient(circle at 82% 75%, var(--accent-gold) 1.2px, transparent 1.2px);
    pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-navy);
    padding: 0.75rem 0;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 22, 40, 0.98);
    border-bottom: 1px solid rgba(244, 196, 48, 0.3);
    box-shadow:
        var(--shadow-md),
        0 2px 20px rgba(244, 196, 48, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo svg {
    width: 40px;
    height: 40px;
}

.nav-logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo .logo-main {
    color: var(--accent-gold);
}

.nav-logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-navy-light);
    min-width: 240px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-navy-light);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.85rem 1.25rem;
    color: var(--text-white);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav-dropdown-menu a:hover {
    background: rgba(244, 196, 48, 0.1);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border: 2px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-navy);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

/* Nav CTA Button - Gold outline style like Webflow */
.btn-nav-cta {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    padding: 0.6rem 1.25rem;
}

.btn-nav-cta:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: none;
    box-shadow: 0 0 20px rgba(244, 196, 48, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Outline Button - Large CTA style for hero sections */
.btn-hero-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-gold);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hero-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-hero-outline:hover {
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(244, 196, 48, 0.4);
}

.btn-hero-outline:hover::before {
    left: 0;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 50%, var(--primary-navy) 100%);
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-home {
    min-height: 100vh;
}

/* Hero Full-Width Background Image (like Webflow) */
.hero-fullbg {
    background: none;
}

.hero-bg-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-fullwidth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.25);
}

/* Centered Hero Content */
.hero-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-centered .hero-buttons {
    justify-content: center;
}

/* Legacy Hero Grid Layout (kept for other pages if needed) */
.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    opacity: 0.15;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-bg-image {
        width: 100%;
        opacity: 0.1;
    }

    .hero-buttons {
        justify-content: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-page {
    min-height: 50vh;
    text-align: center;
}

.hero-page .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary-navy);
    color: var(--text-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-white);
}

.section-dark p {
    color: var(--text-light);
}

/* Full-bleed image sections (like tnscom.com style) */
.section-fullbleed {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.section-fullbleed .container {
    position: relative;
    z-index: 2;
}

.section-fullbleed-content {
    max-width: 550px;
    padding: 3rem 0;
}

.section-fullbleed-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}

.section-fullbleed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-fullbleed-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-navy) 0%, transparent 100%);
    z-index: 1;
}

/* Reverse layout - image on left */
.section-fullbleed-reverse .section-fullbleed-content {
    margin-left: auto;
}

.section-fullbleed-reverse .section-fullbleed-image {
    left: 0;
    right: auto;
}

.section-fullbleed-reverse .section-fullbleed-image::before {
    left: auto;
    right: 0;
    background: linear-gradient(to left, var(--primary-navy) 0%, transparent 100%);
}

@media (max-width: 768px) {
    .section-fullbleed {
        min-height: auto;
        flex-direction: column;
    }

    .section-fullbleed-content {
        max-width: 100%;
        padding: 2rem 0;
    }

    .section-fullbleed-image {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 2rem;
    }

    .section-fullbleed-image::before {
        display: none;
    }

    .section-fullbleed-reverse .section-fullbleed-content {
        margin-left: 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    color: var(--primary-navy);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    margin: 16px auto 0;
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.section-header:hover h2::after {
    width: 120px;
}

.section-header p {
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Section header on dark backgrounds */
.section-dark .section-header h2 {
    color: var(--text-white);
}

.section-dark .section-header p {
    color: var(--text-light);
}

/* Content section h2 underlines (left-aligned, like original design) */
.about-grid h2,
.phone-feature h2,
.service-detail-content h2 {
    position: relative;
    display: inline-block;
}

.about-grid h2::after,
.phone-feature h2::after,
.service-detail-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f4c430;
    margin-top: 16px;
    margin-bottom: 16px;
    border-radius: 2px;
}

/* ============================================
   TNS EXPERIENCE SECTION - Modern 2026 Style
   ============================================ */
.section-light.tns-experience-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative elements */
.section-light.tns-experience-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-light.tns-experience-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* TNS Experience Centered Section */
.tns-experience-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tns-experience-centered h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #1a365d;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.tns-experience-centered h2 .highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e6b800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tns-experience-centered h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, #e6b800 50%, var(--accent-gold) 100%);
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; background-position: 0% 50%; }
    50% { opacity: 0.7; background-position: 100% 50%; }
}

.tns-experience-centered .intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Stylized first letter for first paragraph - disabled for centered text */
/* Drop caps don't work well with centered text, keeping it simple */

.tns-experience-centered .intro-text:last-child {
    margin-bottom: 0;
}

/* Stats/highlights cards for TNS Experience */
.experience-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.experience-highlight {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.experience-highlight::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(26, 54, 93, 0.2), transparent);
}

.experience-highlight:last-child::after {
    display: none;
}

.experience-highlight-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d4a820 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.experience-highlight-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FLEXIBLE SOLUTIONS SECTION - Modern 2026 Style
   ============================================ */
.flexible-solutions-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.flexible-solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(244, 196, 48, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 196, 48, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.flexible-solutions-section .tns-experience-centered {
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.flexible-solutions-section .tns-experience-centered h2 {
    color: #ffffff;
}

.flexible-solutions-section .tns-experience-centered .intro-text {
    color: rgba(255, 255, 255, 0.8);
}

.flexible-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.flexible-card {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Gradient border on hover */
.flexible-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-gold), transparent, var(--accent-gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Shine effect */
.flexible-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(244, 196, 48, 0.1) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.flexible-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(244, 196, 48, 0.1);
}

.flexible-card:hover::before {
    opacity: 1;
}

.flexible-card:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.flexible-card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2) 0%, rgba(244, 196, 48, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid rgba(244, 196, 48, 0.3);
}

/* Rotating ring effect */
.flexible-card-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(244, 196, 48, 0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.flexible-card:hover .flexible-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.3) 0%, rgba(244, 196, 48, 0.1) 100%);
    box-shadow: 0 0 30px rgba(244, 196, 48, 0.3);
}

.flexible-card:hover .flexible-card-icon::before {
    animation-duration: 3s;
    border-color: rgba(244, 196, 48, 0.6);
}

.flexible-card-icon img {
    width: 42px;
    height: 42px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.flexible-card:hover .flexible-card-icon img {
    filter: brightness(0) saturate(100%) invert(79%) sepia(68%) saturate(497%) hue-rotate(358deg) brightness(101%) contrast(92%);
    transform: scale(1.1);
}

.flexible-card h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.flexible-card:hover h3 {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(244, 196, 48, 0.5);
}

.flexible-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.flexible-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
    .flexible-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .flexible-grid {
        grid-template-columns: 1fr;
    }

    .flexible-card {
        padding: 2rem 1.25rem 1.75rem;
    }
}

/* ============================================
   ANGLED PROMO BANNER
   ============================================ */
.promo-banner {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-light);
    transform: skewY(-3deg);
}

.promo-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-white);
    transform: skewY(-3deg);
}

.promo-banner .container {
    position: relative;
    z-index: 2;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.promo-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.promo-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.promo-item-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.promo-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.promo-item h3 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.promo-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.promo-item .btn-outline {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.promo-item .btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

@media (max-width: 900px) {
    .promo-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.18);
}

/* ============================================
   PREFERS-REDUCED-MOTION
   Respect users who prefer less animation
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in,
    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }

    .service-card:hover,
    .flexible-card:hover,
    .industry-item:hover,
    .promo-item:hover {
        transform: none;
    }
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-icon svg {
    width: 35px;
    height: 35px;
    color: var(--accent-gold);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-card .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(10, 22, 40, 0.06);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(244, 196, 48, 0.3);
}

.feature-item h3 {
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.15) 0%, rgba(244, 196, 48, 0.05) 100%);
    border: 2px solid rgba(244, 196, 48, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.25) 0%, rgba(244, 196, 48, 0.1) 100%);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-gold);
    transition: transform var(--transition-normal);
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.1);
}

/* Feature items on dark backgrounds */
.section-dark .feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(244, 196, 48, 0.15);
}

.section-dark .feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(244, 196, 48, 0.4);
}

.section-dark .feature-item h3 {
    color: var(--text-white);
}

.section-dark .feature-item p {
    color: var(--text-light);
}

/* ============================================
   SMARTPHONE SAFETY APP SECTION - Professional Style
   ============================================ */
.smartphone-app-section {
    background: linear-gradient(165deg, #0d1b2a 0%, #1b2d4a 100%);
    position: relative;
    overflow: hidden;
}

/* Diagonal cut accent - classic agency style */
.smartphone-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: rgba(244, 196, 48, 0.03);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.phone-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.phone-feature h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.phone-feature h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    border-radius: 2px;
}

.phone-feature > div:first-child p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

/* Clean circle accent behind phone */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border: 2px solid rgba(244, 196, 48, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.phone-mockup img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.phone-mockup:hover img {
    transform: translateY(-8px);
}

/* Feature list styling */
.phone-features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.phone-features-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.phone-features-list svg {
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* App section CTA button - extra padding */
.smartphone-app-section .btn-primary {
    padding: 1rem 2.5rem;
    font-weight: 600;
}

.smartphone-app-section .btn-primary:hover::before {
    left: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .phone-feature {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .phone-feature h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .phone-features-list li {
        justify-content: center;
        border-left: none;
        border-bottom: 3px solid var(--accent-gold);
        border-radius: 8px 8px 0 0;
    }

    .phone-features-list li:hover {
        transform: translateY(-3px);
    }
}

/* Response Protocol List */
.response-protocol-list {
    counter-reset: protocol-counter;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.response-protocol-list li {
    counter-increment: protocol-counter;
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    margin-bottom: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-gold);
    transition: all var(--transition-fast);
}

.response-protocol-list li::before {
    content: counter(protocol-counter);
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.response-protocol-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.response-protocol-list li strong {
    color: var(--primary-navy);
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(244, 196, 48, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-fast);
}

.industry-item:hover {
    background: rgba(244, 196, 48, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.industry-item svg {
    width: 40px;
    height: 40px;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.industry-item span {
    display: block;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-navy);
}

.testimonial-company {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.testimonial-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
}

.quote-form {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.form-group label .required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid #e0e6ed;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.25);
}

/* Enhanced focus states for accessibility */
.form-control:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.15);
}

/* Button focus states */
.btn:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.btn-primary:focus-visible {
    box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.3);
}

/* Nav link focus states */
.nav-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
    border-radius: 4px;
}

.form-control::placeholder {
    color: var(--text-gray);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Honeypot - hidden from users */
.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   CONTACT INFO SIDEBAR
   ============================================ */
.contact-sidebar {
    background: var(--primary-navy);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    color: var(--text-white);
}

.contact-sidebar h3 {
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item-content a:hover {
    color: var(--accent-gold);
}

/* Map */
.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder svg {
    width: 120px;
    height: 120px;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.about-image-placeholder h3 {
    color: var(--text-white);
}

.about-image-placeholder p {
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-detail-content h3 {
    color: var(--primary-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-content ul {
    margin-bottom: 1.5rem;
}

.service-detail-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.service-detail-content li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Fix for SVGs in lists globally - prevent blowout */
.about-grid ul li svg,
.section ul li svg,
.section-light ul li svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about-grid ul li,
.section-light ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.service-detail-sidebar {
    position: sticky;
    top: 100px;
}

.service-cta-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: var(--text-white);
}

.service-cta-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.service-cta-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.related-services {
    margin-top: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.related-services h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.related-service-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
    transition: all var(--transition-fast);
}

.related-service-link:hover {
    background: var(--primary-navy);
    color: var(--text-white);
}

.related-service-link svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-navy-dark);
    color: var(--text-light);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact-item p,
.footer-contact-item a {
    font-size: 0.95rem;
    color: var(--text-light);
}

.footer-contact-item a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-gray);
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-navy);
    text-decoration: underline;
}

.last-updated {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .phone-feature,
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone-feature .phone-mockup {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height var(--transition-normal);
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 500px;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu a {
        color: var(--text-light);
        padding: 0.75rem 1rem;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--accent-gold);
    }

    .nav-cta {
        margin-top: 1rem;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: 70vh;
    }

    .hero-home {
        min-height: 90vh;
    }

    .section {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 2rem 1.5rem;
    }

    .phone-frame {
        max-width: 280px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--accent-gold); }
.text-white { color: var(--text-white); }
.text-navy { color: var(--primary-navy); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
body {
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0;
}
