/* ==========================================
           1. CSS IMPORT & DESIGN TOKENS
           ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --color-racing: #0A3320;
    --color-racing-2: #2E0C47;
    --color-racing-3: #0B1B3D;
    --color-emerald: #D4AF37;
    --color-emerald-deep: #B38F1B;
    --color-emerald-soft: #FAF6ED;
    --color-ink: #0B0F19;
    --color-ink-soft: #4B5563;
    --color-paper: #FAF8F5;
    --color-emerald-soft: #EEF7F2;
    --color-gold-bg: #F7F3EA;
    --color-dark-blue: #102A43;
    --color-racing-deep: #051A10;
    --color-mist: #F4F6F9;
    --color-mist-2: #EAE5DD;
    --color-line: #E2E8F0;
    --color-warn: #DC2626;

    --font-serif: 'Fraunces', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --container-maxw: 1180px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(10, 51, 32, 0.12);
    --shadow-xl: 0 30px 60px rgba(10, 51, 32, 0.18);
}

/* ==========================================
           2. BASE RESET & GLOBAL STYLES
           ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-ink);
    background-color: var(--color-paper);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.section-title {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-racing);
}

p {
    color: var(--color-ink-soft);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-emerald);
    outline-offset: 2px;
}

/* ==========================================
           3. SCROLLBAR
           ========================================== */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--color-mist);
}

::-webkit-scrollbar-thumb {
    background: var(--color-racing);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-emerald-deep);
}

/* ==========================================
           4. LAYOUT UTILITIES
           ========================================== */
.container {
    width: 100%;
    max-width: var(--container-maxw);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 96px 0;
}

.section-bg {
    background-color: var(--color-mist);
}

.text-center {
    text-align: center;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
    margin-top: 10px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-emerald-deep);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--color-emerald);
    display: inline-block;
}

/* ==========================================
           5. BADGE COMPONENT
           ========================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--color-emerald);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    font-family: var(--font-mono);
}

.hero-badge::before {
    content: '✦';
    font-size: 0.65rem;
}

/* ==========================================
           6. BUTTON SYSTEM
           ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-emerald);
    color: var(--color-racing);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-racing-2);
    border-color: var(--color-racing-2);
    color: var(--color-paper);
    box-shadow: 0 10px 28px rgba(46, 12, 71, 0.38);
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:active {
    background-color: var(--color-racing-2) !important;
    border-color: var(--color-racing-2) !important;
    color: var(--color-paper) !important;
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-paper);
}

.btn-secondary:hover {
    border-color: var(--color-paper);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-racing);
    color: var(--color-racing);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--color-racing);
    color: var(--color-paper);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 51, 32, 0.2);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    animation: ripple-expand 0.6s ease-out forwards;
    pointer-events: none;
}

/* ==========================================
           7. NAVIGATION HEADER
           ========================================== */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: rgba(250, 248, 245, 0.97);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    height: 80px;
    transition: height 0.3s ease;
}

header.sticky .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(1.04);
}

header.sticky .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 6px 14px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-ink);
    position: relative;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    transition: color 0.22s ease, background-color 0.22s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--color-emerald-deep);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    background: none !important;
    color: var(--color-emerald-deep) !important;
    font-weight: 600;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--color-emerald-deep) !important;
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
    background-color: var(--color-emerald-deep) !important;
}

/* Multi-Level Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-toggle .chevron {
    font-size: 0.62rem;
    transition: transform 0.25s ease;
}

/* Extended hover bridge */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    height: 20px;
    background: transparent;
    z-index: 999;
}

.dropdown:hover .dropdown-toggle .chevron,
.dropdown.open .dropdown-toggle .chevron,
.dropdown.keyboard-open .dropdown-toggle .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.22s;
    background-color: var(--color-paper);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 44px rgba(11, 19, 43, 0.13);
    z-index: 1000;
    overflow: visible;
}

.dropdown:hover .dropdown-menu,
.dropdown.keyboard-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--color-paper);
    border-left: 1px solid var(--color-line);
    border-top: 1px solid var(--color-line);
    z-index: 1001;
}

.dropdown-cols {
    display: flex;
    position: relative;
    z-index: 1002;
    background-color: var(--color-paper);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dropdown-col-left {
    width: 210px;
    padding: 10px 0;
    border-right: 1px solid var(--color-line);
    background-color: rgba(244, 246, 249, 0.6);
    flex-shrink: 0;
}

.dropdown-col-right {
    width: 250px;
    padding: 10px 0;
    background-color: var(--color-paper);
    flex-shrink: 0;
    max-height: 380px;
    overflow-y: auto;
}

.dropdown-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 0.82rem;
    cursor: pointer;
    color: var(--color-ink);
    font-weight: 500;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.dropdown-cat-item .arrow {
    opacity: 0.5;
    font-size: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.dropdown-cat-item:hover,
.dropdown-cat-item.active {
    background-color: var(--color-mist);
    color: var(--color-emerald-deep);
    font-weight: 600;
}

.dropdown-cat-item.active {
    border-right: 2px solid var(--color-emerald-deep);
}

.dropdown-cat-item:hover .arrow,
.dropdown-cat-item.active .arrow {
    opacity: 1;
    transform: translateX(2px);
}

.dropdown-sub-items {
    display: none;
    flex-direction: column;
}

.dropdown-sub-items.active {
    display: flex;
}

.dropdown-sub-items a {
    padding: 10px 24px;
    font-size: 0.82rem;
    color: var(--color-ink-soft);
    line-height: 1.4;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.dropdown-sub-items a:hover {
    background-color: var(--color-mist);
    color: var(--color-emerald-deep);
    font-weight: 500;
    padding-left: 30px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-racing);
    border-radius: 1px;
    transition: var(--transition);
    display: block;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
           8. HERO SECTION
           ========================================== */
/* ==========================================
   HERO SECTION (MATCHING CTA BACKGROUND)
   ========================================== */
.hero {
    /* Deep Purple (Left) -> Mid Green -> Racing Green (Right) */
    background: linear-gradient(125deg, var(--color-racing-2) 0%, #0d4028 60%, var(--color-racing) 100%) !important;
    color: var(--color-paper) !important;
    position: relative;
    overflow: hidden;
    min-height: 300px !important;
    height: auto !important;
    max-height: none !important;
    padding-top: 140px !important;
    padding-bottom: 110px !important;
    display: flex;
    align-items: center;
}

/* Subtle centered gold ambient spotlight from CTA section */
.hero-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 50% 50%, rgba(212, 175, 55, 0.08), transparent 60%) !important;
    pointer-events: none;
    z-index: 1;
}

/* Dots background pattern matching CTA section */
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 28px 28px !important;
    pointer-events: none;
}

/* ==========================================
   LETTER-PERFECT IMAGE LOGO GLOW
   ========================================== */
:root {
    --logo-gold-glow-brightness: 0.85;

    --gold-rgb: 240, 215, 110;
}

/* Ensure container has no background shapes */
.hero-logo-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 850px !important;
}

/* 
   Stacked drop-shadows apply ONLY to visible non-transparent pixels,
   creating a backlight around every single letter shape.
*/
.hero-logo-wrap img {
    width: 150%;
    max-width: 760px;
    height: auto;
    object-fit: contain;

    transform: scale(1.1);
    transform-origin: center left;

    filter:
        /* 1. Sharp gold edge highlight hugging every letter */
        drop-shadow(0px 0px 3px rgba(var(--gold-rgb), calc(var(--logo-gold-glow-brightness) * 1.0)))
        /* 2. Medium gold diffusion */
        drop-shadow(0px 0px 12px rgba(var(--gold-rgb), calc(var(--logo-gold-glow-brightness) * 0.80)))
        /* 3. Outer ambient gold backlight */
        drop-shadow(0px 0px 30px rgba(212, 175, 55, calc(var(--logo-gold-glow-brightness) * 0.6)))
        /* 4. Deep golden aura */
        drop-shadow(0px 0px 50px rgba(180, 135, 20, calc(var(--logo-gold-glow-brightness) * 0.3)));

    transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    min-width: 0;
}


.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: var(--color-paper);
    margin: 14px 0 20px;
    line-height: 1.18;
}

.hero-title .static-line {
    display: block;
}

.typing-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.shimmer-text {
    background: linear-gradient(90deg, #D4AF37 0%, #FFF8D4 25%, #D4AF37 50%, #FFF8D4 75%, #D4AF37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shimmer 3s linear infinite;
    display: inline-block;
    width: fit-content;
}

.typing-cursor {
    display: inline-block;
    color: var(--color-emerald);
    font-weight: 300;
    font-style: normal;
    margin-left: 2px;
    animation: blink-caret 0.8s step-end infinite;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(207, 227, 216, 0.88);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Illustration */
.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-svg-illo {
    width: 100%;
    max-width: 520px;
    height: auto;
    animation: float 7s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* Sub-page Banner */
.page-banner {
    padding: 150px 0 80px;
    background: linear-gradient(125deg, var(--color-racing) 0%, #0d4028 40%, var(--color-racing-2) 100%);
    color: var(--color-paper);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.page-banner h1 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 500;
    color: var(--color-paper);
    margin-bottom: 12px;
    position: relative;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a9c9b9;
    position: relative;
}

.breadcrumbs a:hover {
    color: var(--color-emerald);
}

.breadcrumbs span {
    color: var(--color-emerald);
}

/* ==========================================
           9. SECTION BACKGROUND PATTERNS
           ========================================== */
.dot-bg {
    background-color: var(--color-paper);
    background-image: radial-gradient(circle, rgba(10, 51, 32, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.geo-bg {
    background-color: var(--color-paper);
    background-image:
        linear-gradient(rgba(10, 51, 32, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 51, 32, 0.015) 1px, transparent 1px);
    background-size: 32px 32px;
}

.wave-bg {
    background-color: var(--color-mist);
    background-image: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(10, 51, 32, 0.03) 0%, transparent 60%);
}

/* Unique Section Identities */
/* Subpages Unique Identifiers */
.about-practice-section {
    background: linear-gradient(135deg, #F7F3EA 0%, #FAF8F5 100%) !important;
    /* Light Gold Gradient */
    position: relative;
    overflow: hidden;
    padding-bottom: 120px !important;
}

.about-vision-mission-section {
    background-color: #EEF7F2 !important;
    /* Soft Green */
    background-image: radial-gradient(circle, rgba(10, 51, 32, 0.04) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    position: relative;
    padding-top: 100px !important;
    padding-bottom: 120px !important;
}

.about-vision-mission-section .split-box,
.about-vision-mission-section .value-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    border-top: 4px solid var(--color-emerald) !important;
    box-shadow: 0 8px 32px rgba(10, 51, 32, 0.03) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.about-vision-mission-section .split-box:hover,
.about-vision-mission-section .value-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: var(--color-emerald) !important;
    box-shadow: 0 20px 44px rgba(10, 51, 32, 0.08) !important;
}

.services-wrapper {
    background: linear-gradient(135deg, #F7F3EA 0%, #FAF8F5 100%) !important;
    /* Light Gold Gradient background */
    position: relative;
    overflow: hidden;
}

.about-section {
    background-color: #EEF7F2 !important;
    /* Soft Green */
    background-image: radial-gradient(circle, rgba(10, 51, 32, 0.04) 1px, transparent 1px) !important;
    background-size: 24px 24px;
    padding-bottom: 140px !important;
    position: relative;
    overflow: hidden;
}

.services-overview-section {
    background: linear-gradient(135deg, #F7F3EA 0%, #FAF8F5 100%) !important;
    /* Light Gold Gradient */
    padding-top: 120px !important;
    padding-bottom: 150px !important;
    position: relative;
}

.dark-stats-section {
    background: linear-gradient(to bottom, var(--color-racing) 0%, #051A10 40%, var(--color-racing-2) 100%) !important;
    /* Dark Luxury Green */
    color: #ffffff !important;
    padding-top: 130px !important;
    padding-bottom: 120px !important;
    position: relative;
}

.dark-stats-section .section-title {
    color: #ffffff !important;
}

.dark-stats-section .eyebrow {
    color: var(--color-emerald) !important;
}

.dark-stats-section .stat-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 3px solid var(--color-emerald) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.dark-stats-section .stat-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--color-emerald) !important;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15) !important;
}

.dark-stats-section .stat-num {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4) !important;
}

.dark-stats-section .stat-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.dark-stats-section .stat-icon {
    background: rgba(212, 175, 55, 0.12) !important;
    color: var(--color-emerald) !important;
}

.testimonials-section {
    background-color: #F8FAFC !important;
    background-image:
        radial-gradient(circle at 100% 150%, #F8FAFC 24%, #F1F5F9 24%, #F1F5F9 28%, #F8FAFC 28%, #F8FAFC),
        radial-gradient(circle at 0% 150%, #F8FAFC 24%, #F1F5F9 24%, #F1F5F9 28%, #F8FAFC 28%, #F8FAFC) !important;
    background-size: 40px 40px !important;
    padding-top: 100px !important;
    padding-bottom: 120px !important;
    position: relative;
}

.testimonials-section .testi-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-top: 3px solid var(--color-emerald) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease !important;
}

.testimonials-section .testi-card:hover {
    transform: translateY(-6px) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 20px 40px rgba(10, 51, 32, 0.05) !important;
    border-color: var(--color-emerald) !important;
}

.services-overview-section .service-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    border-top: 4px solid var(--color-emerald) !important;
    box-shadow: 0 8px 32px rgba(10, 51, 32, 0.03) !important;
    border-radius: var(--radius-lg);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.services-overview-section .service-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: var(--color-emerald) !important;
    box-shadow: 0 20px 44px rgba(10, 51, 32, 0.08) !important;
}

/* Floating animations */
/* Extra visual elements animations */
.glow-orb-fast {
    animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.15) translate(15px, -10px);
        opacity: 0.85;
    }
}

.rotate-slow {
    animation: rotate-clockwise 24s linear infinite;
}

@keyframes rotate-clockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.drift-slow {
    animation: drift-xy 14s ease-in-out infinite alternate;
}

@keyframes drift-xy {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, -20px) scale(1.05);
    }

    100% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

.dotted-pattern {
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    width: 140px;
    height: 140px;
    pointer-events: none;
    opacity: 0.65;
}

@keyframes float-slow {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-reverse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(12px) rotate(-3deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.float-anim-1 {
    animation: float-slow 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: float-reverse 7s ease-in-out infinite;
}

/* ==========================================
           10. ABOUT SECTION
           ========================================== */
.about-preview {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-racing);
    margin: 14px 0 18px;
}

.about-content>p {
    margin-bottom: 22px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-racing);
}

.about-img-box {
    background: linear-gradient(135deg, var(--color-paper) 60%, var(--color-emerald-soft) 100%);
    padding: 38px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-emerald);
    text-align: left;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    position: relative;
    overflow: hidden;
}

.about-img-box::before {
    content: '\201C';
    font-family: var(--font-serif);
    font-size: 7rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: -10px;
    left: 16px;
    line-height: 1;
    pointer-events: none;
}

.about-img-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.about-img-box blockquote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-racing);
    line-height: 1.6;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.founder-meta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-racing);
    position: relative;
    z-index: 1;
}

.founder-meta span {
    font-family: var(--font-mono);
    color: var(--color-emerald-deep);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

/* About full page */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
}

.split-box {
    background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 3px solid var(--color-emerald);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.split-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.split-box h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 3px solid var(--color-emerald);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-emerald);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: var(--color-emerald-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald-deep);
    margin-bottom: 18px;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.88rem;
}

/* ==========================================
           11. SERVICES SECTION
           ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    align-items: stretch;
}

/* Center the last card when it's alone in the final row */
.services-grid .service-card:last-child:nth-child(3n+1) {
    grid-column: 2 / 3;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 3px solid var(--color-emerald);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-racing), var(--color-emerald));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(10, 51, 32, 0.12);
    border-color: var(--color-emerald);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 68px;
    height: 68px;
    background-color: var(--color-emerald-soft);
    color: var(--color-emerald-deep);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    flex-shrink: 0;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-icon-wrap {
    background-color: rgba(212, 175, 55, 0.18);
    transform: scale(1.08);
}

.service-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card>p {
    font-size: 1rem;
    margin-bottom: 26px;
    flex: 1;
    line-height: 1.7;
}

.service-learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-racing);
    border: 1.5px solid var(--color-line);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, gap 0.22s ease;
    width: fit-content;
    margin-top: auto;
}

.service-learn-btn:hover {
    background-color: var(--color-racing);
    border-color: var(--color-racing);
    color: var(--color-paper);
    gap: 10px;
}

/* Detailed service page */
.service-details-wrap {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
}

.service-detail-body h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-detail-body p {
    margin-bottom: 30px;
}

.capability-list {
    margin-bottom: 40px;
}

.capability-group {
    background-color: var(--color-paper);
    border: 1px solid var(--color-line);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    scroll-margin-top: 110px;
    transition: box-shadow 0.25s ease;
}

.capability-group:hover {
    box-shadow: var(--shadow-sm);
}

.capability-group h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 10px;
}

.capability-items {
    display: grid;
    gap: 12px;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.capability-bullet {
    color: var(--color-emerald);
    font-weight: bold;
    margin-top: 1px;
}

.sidebar-box {
    background-color: var(--color-mist);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
    position: sticky;
    top: 100px;
}

.sidebar-box h4 {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.sidebar-list {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-ink-soft);
}

/* ==========================================
           12. STATS SECTION
           ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-racing), var(--color-emerald));
}

.stat-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--color-emerald-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-emerald-deep);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.stat-card:hover .stat-icon {
    background-color: rgba(212, 175, 55, 0.18);
    transform: scale(1.08);
}

.stat-icon svg {
    width: 26px;
    height: 26px;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    color: var(--color-racing);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-num .plus {
    color: var(--color-emerald);
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-ink-soft);
    font-weight: 600;
}

/* ==========================================
           13. TESTIMONIALS
           ========================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testi-card {
    background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 3px solid var(--color-emerald);
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testi-quote {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 8px;
    left: 20px;
    line-height: 0.8;
}

.testi-text {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.testi-meta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-racing);
}

.testi-meta span {
    font-size: 0.72rem;
    color: var(--color-ink-soft);
    font-weight: 500;
    display: block;
    margin-top: 3px;
}

/* ==========================================
           14. CTA & CONTACT
           ========================================== */
.cta-section {
    background: linear-gradient(125deg, var(--color-racing) 0%, #0d4028 40%, var(--color-racing-2) 100%);
    color: var(--color-paper);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 50% 50%, rgba(212, 175, 55, 0.08), transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.cta-wrap {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.cta-title {
    color: var(--color-paper);
    font-size: 2rem;
    margin-bottom: 14px;
}

.cta-desc {
    color: rgba(207, 227, 216, 0.88);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: start;
}

.contact-info-box {
    background: linear-gradient(135deg, var(--color-racing) 0%, #051A10 100%);
    color: var(--color-paper);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-info-box h3 {
    color: var(--color-paper);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-info-list {
    display: grid;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(212, 175, 55, 0.12);
    color: var(--color-emerald);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 18px;
    height: 18px;
}

.info-text h4 {
    color: var(--color-paper);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.info-text p,
.info-text a {
    font-size: 0.88rem;
    color: rgba(207, 227, 216, 0.85);
}

.info-text a:hover {
    color: var(--color-emerald);
}

.social-links-wrap {
    display: flex;
    gap: 10px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn svg {
    width: 16px;
    height: 16px;
}

.social-btn:hover {
    background-color: var(--color-emerald);
    border-color: var(--color-emerald);
    transform: translateY(-3px);
    color: var(--color-racing);
}

/* Form */
.contact-form-box {
    background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 3px solid var(--color-emerald);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-box h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-racing);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background-color: var(--color-mist);
    color: var(--color-ink);
    font-size: 0.9rem;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.form-input:focus {
    border-color: var(--color-emerald);
    background-color: var(--color-paper);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-input.invalid {
    border-color: var(--color-warn);
    background-color: #FBEEE9;
}

.form-error {
    font-size: 0.74rem;
    color: var(--color-warn);
    font-weight: 600;
    margin-top: 5px;
    display: none;
}

.form-input.invalid+.form-error {
    display: block;
}

.success-alert {
    display: none;
    background-color: var(--color-emerald-soft);
    border: 1px solid var(--color-emerald);
    color: var(--color-racing);
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.map-box {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-line);
    margin-top: 50px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
           15. FOOTER
           ========================================== */
footer {
    background-color: #061f14;
    color: rgba(207, 227, 216, 0.8);
    padding: 75px 0 28px;
    border-top: 3px solid var(--color-emerald);
}

.footer-col.footer-about img,
.footer-about img {
    width: 200px !important;
    /* 👈 DECREASE THIS NUMBER to shrink the logo (e.g., 180px, 160px, 140px) */
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    transform: none !important;
    /* Removes any scale zoom leakage */
}

.footer-about img,
.footer-logo-wrap img {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    /* Reduced from 18px */
    display: block !important;
}

.footer-brand img,
.footer-logo img,
.footer-logo-wrap img {
    width: 200% !important;
    max-width: 280px !important;
    /* Keeps logo proportional in the footer column */
    height: auto !important;
    object-fit: contain;

    /* Exact 1:1 glow filter stack from your hero section */
    filter:
        /* 1. Sharp gold edge highlight hugging every letter */
        drop-shadow(0px 0px 3px rgba(var(--gold-rgb), calc(var(--logo-gold-glow-brightness) * 1.0)))
        /* 2. Medium gold diffusion */
        drop-shadow(0px 0px 12px rgba(var(--gold-rgb), calc(var(--logo-gold-glow-brightness) * 0.80)))
        /* 3. Outer ambient gold backlight */
        drop-shadow(0px 0px 30px rgba(212, 175, 55, calc(var(--logo-gold-glow-brightness) * 0.6)))
        /* 4. Deep golden aura */
        drop-shadow(0px 0px 50px rgba(180, 135, 20, calc(var(--logo-gold-glow-brightness) * 0.3))) !important;

    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-brand img:hover,
.footer-logo img:hover,
.footer-logo-wrap img:hover {
    transform: scale(1.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 36px;
    margin-bottom: 55px;
    align-items: flex-start !important;
}

.footer-col h4 {
    color: var(--color-paper);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-about p {
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-about,
.footer-logo-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.22s ease, gap 0.22s ease;
}

.footer-links a:hover {
    color: var(--color-emerald);
    gap: 10px;
}

.footer-links a::before {
    content: '›';
    color: var(--color-emerald-deep);
    font-size: 1rem;
    line-height: 1;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 0.88rem;
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--color-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-icon svg {
    width: 15px;
    height: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(207, 227, 216, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.footer-social-btn svg {
    width: 15px;
    height: 15px;
}

.footer-social-btn:hover {
    background-color: var(--color-emerald);
    border-color: var(--color-emerald);
    color: var(--color-racing);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
}

/* ==========================================
           16. FLOATING BUTTONS
           ========================================== */
/* WhatsApp Button */
.whatsapp-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background-color: #25D366;
    color: var(--color-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.whatsapp-widget svg {
    width: 26px;
    height: 26px;
}

.whatsapp-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: pulse-ring 2.2s ease-out infinite;
    z-index: -1;
}

.whatsapp-widget:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Call Button */
.call-widget {
    position: fixed;
    bottom: 28px;
    right: 152px;
    width: 52px;
    height: 52px;
    background-color: #1a73e8;
    color: var(--color-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
    text-decoration: none;
}

.call-widget svg {
    width: 26px;
    height: 26px;
}

.call-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.35);
    animation: pulse-ring 2.2s ease-out infinite 0.6s;
    z-index: -1;
}

.call-widget:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(26, 115, 232, 0.55);
}

/* Back To Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background-color: var(--color-racing);
    color: var(--color-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-emerald-deep);
    transform: translateY(-3px);
}

/* ==========================================
           17. SCROLL REVEALS
           ========================================== */
.page-view {
    animation: fadeInPage 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered card delays */
.services-grid .service-card:nth-child(1) {
    transition-delay: 0s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.07s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.14s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.21s;
}

.services-grid .service-card:nth-child(5) {
    transition-delay: 0.28s;
}

.services-grid .service-card:nth-child(6) {
    transition-delay: 0.35s;
}

.services-grid .service-card:nth-child(7) {
    transition-delay: 0.42s;
}

.stats-grid .stat-card:nth-child(1) {
    transition-delay: 0s;
}

.stats-grid .stat-card:nth-child(2) {
    transition-delay: 0.1s;
}

.stats-grid .stat-card:nth-child(3) {
    transition-delay: 0.2s;
}

.stats-grid .stat-card:nth-child(4) {
    transition-delay: 0.3s;
}

/* ==========================================
           18. ANIMATIONS & KEYFRAMES
           ========================================== */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes blink-caret {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes ripple-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(50);
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
           19. RESPONSIVE DESIGN
           ========================================== */
@media (max-width: 1100px) {
    .hero-inner {
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 72px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-logo-wrap {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-illustration {
        order: -1;
    }

    .hero-svg-illo {
        max-width: 380px;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-box {
        max-width: 500px;
        margin: 0 auto;
    }

    .split-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .service-details-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar-box {
        position: static;
    }
}

@media (max-width: 768px) {

    /* Prevent background scroll when mobile menu is open */
    body.nav-open {
        overflow: hidden !important;
        height: 100vh !important;
    }

    header {
        z-index: 1001 !important;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 80px !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    header.sticky .nav-container {
        height: 70px !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
        z-index: 1002 !important;
    }

    .logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        flex-shrink: 0 !important;
        z-index: 1002 !important;
    }

    .logo img {
        height: 58px !important;
        /* Increased by about 30% */
        max-height: 100% !important;
        width: auto !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        transition: var(--transition) !important;
        margin-top: 8px !important;
        /* Shifted down slightly */
    }

    header.sticky .logo img {
        height: 50px !important;
        margin-top: 4px !important;
    }

    .nav-container .btn-primary {
        padding: 10px 18px !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        text-transform: uppercase !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .nav-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        z-index: 1002 !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh;
        background-color: #ffffff !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 6px !important;
        padding: 100px 20px 40px !important;
        z-index: 1000;
        transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: none !important;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 0;
        border: none;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--color-ink) !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 20px !important;
        margin: 0 !important;
        border-radius: var(--radius-sm) !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
            color 300ms cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active,
    .dropdown.open>.dropdown-toggle {
        background-color: rgba(10, 51, 32, 0.05) !important;
        color: var(--color-racing) !important;
        box-shadow: inset 4px 0 0 var(--color-racing) !important;
    }

    .dropdown-toggle .chevron {
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
        color: var(--color-ink) !important;
    }

    .dropdown.open .dropdown-toggle .chevron {
        transform: rotate(180deg) !important;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
        left: auto !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background: none !important;
        display: block !important;
        padding: 0 !important;
        border-radius: 0 !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
    }

    .dropdown.open .dropdown-menu {
        opacity: 1 !important;
    }

    .dropdown-menu::before {
        display: none !important;
    }

    .dropdown-cols {
        display: flex !important;
        flex-direction: column !important;
        background: none !important;
        width: 100% !important;
        position: static !important;
        border-radius: 0 !important;
        overflow: visible !important;
        gap: 6px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .dropdown-col-left,
    .dropdown-col-right {
        display: contents !important;
    }

    .dropdown-cat-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 20px 12px 35px !important;
        /* Proper hierarchical indentation: 35px */
        margin: 0 !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: var(--color-ink-soft) !important;
        background: transparent !important;
        border: none !important;
        border-radius: var(--radius-sm) !important;
        cursor: pointer !important;
        box-shadow: none !important;
        transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
            color 300ms cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .dropdown-cat-item .arrow {
        display: inline-block !important;
        transform: rotate(0deg) !important;
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
        font-size: 1.1rem !important;
        margin-left: 8px !important;
        color: var(--color-ink-soft) !important;
    }

    .dropdown-cat-item:hover,
    .dropdown-cat-item.active {
        background-color: rgba(10, 51, 32, 0.03) !important;
        color: var(--color-racing) !important;
        box-shadow: inset 4px 0 0 var(--color-racing) !important;
    }

    .dropdown-cat-item.active .arrow {
        transform: rotate(180deg) !important;
    }

    .dropdown-sub-items {
        display: flex !important;
        flex-direction: column !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden !important;
        padding-left: 50px !important;
        /* Hierarchical Indentation: 50px */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        gap: 4px !important;
        transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease, padding 0.3s ease;
    }

    .dropdown-sub-items.active {
        opacity: 1 !important;
        padding-top: 4px !important;
        padding-bottom: 8px !important;
    }

    .dropdown-sub-items a {
        display: flex !important;
        align-items: center !important;
        padding: 10px 20px !important;
        margin: 0 !important;
        font-size: 0.85rem !important;
        font-weight: 400 !important;
        color: var(--color-ink-soft) !important;
        white-space: normal !important;
        word-break: break-word !important;
        background: transparent !important;
        border: none !important;
        border-radius: var(--radius-sm) !important;
        box-shadow: none !important;
        transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
            color 300ms cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
            padding-left 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .dropdown-sub-items a:hover,
    .dropdown-sub-items a.active {
        background-color: rgba(10, 51, 32, 0.02) !important;
        color: var(--color-racing) !important;
        box-shadow: inset 4px 0 0 var(--color-racing) !important;
        padding-left: 24px !important;
    }

    /* Staggered micro-animations for submenu item entry */
    .dropdown-menu .dropdown-cat-item {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
            transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
            background-color 300ms ease,
            color 300ms ease,
            box-shadow 300ms ease !important;
    }

    .dropdown.open .dropdown-menu .dropdown-cat-item {
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-sub-items a {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
            transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
            background-color 300ms ease,
            color 300ms ease,
            box-shadow 300ms ease,
            padding-left 300ms ease !important;
    }

    .dropdown-sub-items.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-menu .dropdown-cat-item:nth-child(1) {
        transition-delay: 20ms;
    }

    .dropdown-menu .dropdown-cat-item:nth-child(2) {
        transition-delay: 40ms;
    }

    .dropdown-menu .dropdown-cat-item:nth-child(3) {
        transition-delay: 60ms;
    }

    .dropdown-menu .dropdown-cat-item:nth-child(4) {
        transition-delay: 80ms;
    }

    .dropdown-menu .dropdown-cat-item:nth-child(5) {
        transition-delay: 100ms;
    }

    .dropdown-sub-items a:nth-child(1) {
        transition-delay: 20ms;
    }

    .dropdown-sub-items a:nth-child(2) {
        transition-delay: 40ms;
    }

    .dropdown-sub-items a:nth-child(3) {
        transition-delay: 60ms;
    }

    .dropdown-sub-items a:nth-child(4) {
        transition-delay: 80ms;
    }

    .dropdown-sub-items a:nth-child(5) {
        transition-delay: 100ms;
    }

    .dropdown-sub-items a:nth-child(6) {
        transition-delay: 120ms;
    }

    .dropdown-sub-items a:nth-child(7) {
        transition-delay: 140ms;
    }

    /* Extra Narrow Screen Styling */
    @media (max-width: 480px) {
        .nav-container {
            height: 72px !important;
            padding: 0 12px !important;
        }

        header.sticky .nav-container {
            height: 62px !important;
        }

        .logo img {
            height: 48px !important;
            max-width: 35vw !important;
            margin-top: 6px !important;
        }

        header.sticky .logo img {
            height: 40px !important;
            margin-top: 3px !important;
        }

        .nav-container .btn-primary {
            padding: 8px 12px !important;
            font-size: 0.7rem !important;
        }
    }

    /* Specific Mobile Order mapping so category sub-items expand directly underneath */
    .dropdown-cat-item[data-cat="tax-income"] {
        order: 1;
    }

    #tax-income {
        order: 2;
    }

    .dropdown-cat-item[data-cat="tax-gst"] {
        order: 3;
    }

    #tax-gst {
        order: 4;
    }

    .dropdown-cat-item[data-cat="tax-business"] {
        order: 5;
    }

    #tax-business {
        order: 6;
    }

    .dropdown-cat-item[data-cat="tax-accounting"] {
        order: 7;
    }

    #tax-accounting {
        order: 8;
    }

    .dropdown-cat-item[data-cat="tax-gov"] {
        order: 9;
    }

    #tax-gov {
        order: 10;
    }

    .dropdown-cat-item[data-cat="mf-invest"] {
        order: 1;
    }

    #mf-invest {
        order: 2;
    }

    .dropdown-cat-item[data-cat="mf-support"] {
        order: 3;
    }

    #mf-support {
        order: 4;
    }

    .dropdown-cat-item[data-cat="ins-health"] {
        order: 1;
    }

    #ins-health {
        order: 2;
    }

    .dropdown-cat-item[data-cat="ins-life"] {
        order: 3;
    }

    #ins-life {
        order: 4;
    }

    .dropdown-cat-item[data-cat="ins-gen"] {
        order: 5;
    }

    #ins-gen {
        order: 6;
    }

    .dropdown-cat-item[data-cat="ins-motor"] {
        order: 7;
    }

    #ins-motor {
        order: 8;
    }

    .dropdown-cat-item[data-cat="ins-accident"] {
        order: 9;
    }

    #ins-accident {
        order: 10;
    }

    /* Issue 2 Fix: Prevent service card overflow and enforce 1 card per row */
    body,
    #services-view,
    .services-wrapper,
    .services-section,
    .services-category-group {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .services-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-card-new {
        padding: 28px 22px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-card-title-new {
        font-size: 1.25rem !important;
        word-break: break-word;
    }

    .service-card-desc-new {
        font-size: 0.92rem !important;
        line-height: 1.45;
    }

    .required-docs-section .reveal-up {
        padding: 24px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .required-docs-section h4 {
        font-size: 1.3rem !important;
    }

    .hero {
        padding-top: 110px !important;
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 60px !important;
    }

    /* Hide background graphics, glowing effects, and wave SVGs */
    .hero-radial,
    .hero-dots,
    .hero-bg-illustration,
    .hero>div[style*="position: absolute"][style*="bottom: 0"],
    .bg-illustration,
    .about-bg-illustration,
    .glow-orb,
    .float-anim-1,
    .float-anim-2,
    .drift-slow {
        display: none !important;
    }

    .hero-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center !important;
    }

    .hero-left-branding {
        padding-right: 0 !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .hero-logo-wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-logo-wrap img {
        max-width: 280px !important;
        height: auto !important;
    }

    .hero-right-content {
        align-items: center !important;
        text-align: center !important;
    }

    .hero-main-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }

    .hero-subheading {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 12px !important;
    }

    .hero-marketing-desc {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
        max-width: 480px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-btns-row {
        justify-content: center !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }

    .hero-btns-row .btn {
        flex: 1 1 auto !important;
        min-width: 140px !important;
        max-width: 200px !important;
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
    }

    /* Feature points / Trust badges clean 2x2 grid */
    .trust-badge-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px 14px !important;
        width: 100% !important;
        padding-top: 20px !important;
        margin-top: 12px !important;
        box-sizing: border-box !important;
    }

    .trust-badge-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
    }

    .trust-badge-item svg {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }

    .trust-badge-item span {
        font-size: clamp(0.72rem, 2.5vw, 0.85rem) !important;
        line-height: 1.25 !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Consistency in section spacing */
    .section,
    .about-section,
    .services-overview-section,
    .testimonials-section,
    .contact-section,
    .dark-stats-section,
    .cta-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        margin: 0 !important;
    }

    .container {
        padding: 0 16px !important;
    }

    .hero-svg-illo {
        max-width: 300px;
    }

    .breadcrumbs {
        font-size: 0.7rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modal-dialog {
        max-width: 350px !important;
    }

    .nav-container>div .btn-primary {
        padding: 8px 14px !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.02em !important;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px !important;
    }

    .service-card-new {
        padding: 22px 16px !important;
    }

    .service-card-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .service-card-icon-new {
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }

    .service-card-title-new {
        font-size: 1.15rem !important;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .hero-illustration {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 28px 20px;
    }

    .map-box {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .about-img-box {
        padding: 28px 22px;
    }
}

/* ==========================================
           14. REDESIGNED SERVICES PAGE STYLES
           ========================================== */
:root {
    --color-services-primary: var(--color-racing);
    --color-services-secondary: var(--color-emerald-deep);
    --color-services-accent: var(--color-emerald);
    --color-services-bg: var(--color-emerald-soft);
}

/* Services Hero Banner with Image */
.services-hero-banner {
    padding: 140px 0 80px;
    background: linear-gradient(125deg, rgba(10, 51, 32, 0.92) 0%, rgba(46, 12, 71, 0.92) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.services-hero-banner h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-family: var(--font-serif);
    font-weight: 600;
    color: #ffffff;
    margin-top: 10px;
    margin-bottom: 16px;
}

.services-hero-banner .eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--color-emerald);
    display: inline-block;
}

.services-hero-banner p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
}

.breadcrumb-nav-white {
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
}

.breadcrumb-nav-white a {
    color: var(--color-emerald);
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.breadcrumb-nav-white a:hover {
    color: #ffffff;
}

.breadcrumb-nav-white span.separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.breadcrumb-nav-white span.current-page {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.services-wrapper {
    background-color: var(--color-services-bg);
    padding: 40px 0 80px 0;
    min-height: 100vh;
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--color-ink-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
}

.breadcrumb-nav a {
    color: var(--color-services-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: var(--color-services-secondary);
}

.breadcrumb-nav span.separator {
    color: var(--color-line);
    font-size: 0.8rem;
}

.breadcrumb-nav span.current-page {
    color: var(--color-ink-soft);
    font-weight: 400;
}

/* Search & Filters Container */
.search-filter-panel {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-paper) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    border: 1px solid var(--color-line);
}

.search-bar-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-line);
    background-color: var(--color-paper);
    color: var(--color-ink);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-input:focus {
    border-color: var(--color-services-primary);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-ink-soft);
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: color 0.25s ease;
}

.search-input:focus~.search-icon {
    color: var(--color-services-primary);
}

.search-clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-ink-soft);
    display: none;
    padding: 4px;
}

.search-clear-btn:hover {
    color: var(--color-warn);
}

/* Filters */
.filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}

.filter-bar::-webkit-scrollbar {
    height: 4px;
}

.filter-bar::-webkit-scrollbar-thumb {
    background-color: var(--color-line);
    border-radius: var(--radius-full);
}

.filter-btn {
    background: var(--color-mist);
    border: 1px solid var(--color-line);
    color: var(--color-ink-soft);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.22s ease;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-paper) 100%);
    border-color: var(--color-services-secondary);
    color: var(--color-services-secondary);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--color-services-primary);
    border-color: var(--color-services-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
}

/* Services Grid and Layout */
.services-section {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.services-category-group {
    position: relative;
    overflow: hidden;
}

.services-section-header {
    font-size: 2rem;
    color: var(--color-services-primary);
    border-bottom: 2px solid var(--color-services-primary);
    padding-bottom: 12px;
    margin-bottom: 32px;
    margin-top: 10px;
    font-family: var(--font-serif);
}

.services-category-group {
    margin-bottom: 48px;
}

.services-category-header {
    font-size: 1.35rem;
    color: var(--color-ink);
    margin-bottom: 20px;
    font-family: var(--font-sans);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-category-header::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--color-services-secondary);
    border-radius: var(--radius-full);
    display: inline-block;
}

/* Responsive grid */
.services-grid-responsive {
    display: grid;
    gap: 36px;
    margin-bottom: 40px;
}

/* Desktop: 2 cards per row (large cards) */
@media (min-width: 1024px) {
    .services-grid-responsive {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px;
    }
}

/* Tablet (769px to 1023px): 2 cards per row */
@media (min-width: 769px) and (max-width: 1023px) {
    .services-grid-responsive {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile (<= 768px): 1 card per row */
@media (max-width: 768px) {
    .services-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Service Card */
.service-card-new {
    background: linear-gradient(135deg, #ffffff 0%, #FAF6ED 100%);
    border-radius: var(--radius-lg);
    padding: 60px 52px;
    box-shadow: 0 10px 36px rgba(10, 51, 32, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-top: 5px solid var(--color-emerald);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover animations */
.service-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(10, 51, 32, 0.1);
    border-color: var(--color-emerald);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.service-card-icon-new {
    font-size: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease;
    flex-shrink: 0;
}

.service-card-new:hover .service-card-icon-new {
    transform: scale(1.1) rotate(5deg);
    background: rgba(10, 51, 32, 0.1);
}

.service-card-title-new {
    font-size: 1.45rem;
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.3;
}

.service-card-desc-new {
    font-size: 1.1rem;
    color: var(--color-ink-soft);
    line-height: 1.8;
    margin-bottom: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-btn-new {
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--color-services-primary);
    color: var(--color-services-primary);
    padding: 14px 20px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s ease;
    box-sizing: border-box;
    display: inline-block;
}

.service-card-btn-new:hover {
    background: var(--color-services-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
}

/* CTA Section */
.services-cta-section {
    background: linear-gradient(135deg, var(--color-services-primary) 0%, #082d4f 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.15);
    position: relative;
    overflow: hidden;
}

.services-cta-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.services-cta-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.services-cta-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 24px;
}

.services-cta-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.services-cta-call {
    background-color: var(--color-paper);
    color: var(--color-services-primary);
}

.services-cta-call:hover {
    background-color: var(--color-mist);
    transform: translateY(-2px);
}

.services-cta-whatsapp {
    background-color: #25D366;
    color: #ffffff;
}

.services-cta-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.services-cta-book {
    background-color: var(--color-services-accent);
    color: var(--color-ink);
}

.services-cta-book:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Native Dialog Modal */
.service-modal-dialog {
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    width: 90%;
    max-width: 620px;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-paper) 100%);
    outline: none;
    overflow: hidden;
    margin: auto;
}

.service-modal-dialog::backdrop {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-header-new {
    background: var(--color-services-primary);
    color: #ffffff;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-title h2 {
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    font-family: var(--font-sans);
}

.modal-close-btn-new {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close-btn-new:hover {
    color: #ffffff;
}

.modal-body-new {
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-section-title-new {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-services-primary);
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-desc-full {
    font-size: 0.95rem;
    color: var(--color-ink);
    line-height: 1.7;
    margin-bottom: 28px;
}

.modal-doc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    background: var(--color-services-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-line);
}

.modal-doc-item {
    font-size: 0.9rem;
    color: var(--color-ink-soft);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.modal-doc-item:last-child {
    margin-bottom: 0;
}

.modal-doc-bullet {
    color: #25D366;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1;
    margin-top: 2px;
}

.modal-actions-new {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--color-line);
    padding: 24px 32px;
    background: var(--color-bg-services);
    justify-content: flex-end;
}

.modal-btn-contact {
    background-color: var(--color-services-primary);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-btn-contact:hover {
    background-color: #082d4f;
    transform: translateY(-1px);
}

.modal-btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

/* Empty state styling */
.services-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-paper) 100%);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-line);
    margin: 20px 0;
}

.services-empty-state p {
    font-size: 1.1rem;
    color: var(--color-ink-soft);
    margin-bottom: 16px;
}

/* Animation class for filter reveal */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-card-reveal {
    animation: fadeInScale 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* CTA button hover transitions */
.btn {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease !important;
}

.btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(10, 51, 32, 0.25) !important;
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .hero,
    .hero-shape,
    .animate-hero-fade,
    .animate-hero-card,
    .play-animations .hero,
    .play-animations .hero-logo-wrap,
    .play-animations .hero-company-name,
    .play-animations .hero-credentials,
    .play-animations .hero-tagline-text,
    .play-animations .hero-main-title,
    .play-animations .hero-subheading,
    .play-animations .hero-marketing-desc,
    .play-animations .hero-btns-row .btn-primary,
    .play-animations .hero-btns-row .btn-secondary,
    .play-animations .trust-badge-row,
    .float-anim-1,
    .float-anim-2,
    .drift-slow,
    .btn,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .service-card,
    .testi-card,
    .value-card,
    .stat-card {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Complete Hero Section Redesign: 50/50 Clean Layout */
.typing-cursor {
    font-weight: 300;
    display: inline-block;
    margin-left: 2px;
    animation: caret-blink 0.8s step-end infinite;
}

@keyframes caret-blink {

    from,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}



.hero-left-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-right: 40px;
}

.hero-company-name {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-family: var(--font-serif);
    font-weight: 700;
    color: #ffffff;
    margin-top: 16px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.hero-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.credential-badge {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-emerald);
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    display: inline-block;
    width: fit-content;
}

.hero-tagline-text {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 480px;
    line-height: 1.5;
    border-left: 3px solid var(--color-emerald);
    padding-left: 14px;
}

.hero-right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.hero-main-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.hero-subheading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-marketing-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.hero-btns-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    width: 100%;
}

.trust-badge-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-badge-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.trust-badge-item span {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile responsiveness overrides */
@media (max-width: 991px) {
    .hero-left-branding {
        padding-right: 0;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-credentials {
        align-items: center;
    }

    .hero-tagline-text {
        border-left: none;
        border-top: 2px solid var(--color-emerald);
        padding-left: 0;
        padding-top: 14px;
        text-align: center;
    }
}

/* ==========================================
   15. MOBILE SERVICE CARDS — OVERFLOW FIX
   ========================================== */

/* ---- 768px: Tablets and below ---- */
@media (max-width: 768px) {

    /* Global overflow prevention */
    html,
    body {
        overflow-x: hidden !important;
    }

    /* Force ALL service grids to single column */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Cancel the centering rule for last card in 3-col grid */
    .services-grid .service-card:last-child:nth-child(3n+1) {
        grid-column: auto !important;
    }

    /* Home page service cards — responsive padding & sizing */
    .service-card {
        padding: 28px 22px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-card h3 {
        font-size: 1.15rem !important;
        word-break: break-word !important;
    }

    .service-card>p {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
    }

    .service-icon-wrap {
        width: 56px !important;
        height: 56px !important;
        margin-bottom: 18px !important;
    }

    .service-icon-wrap svg {
        width: 26px !important;
        height: 26px !important;
    }

    .service-learn-btn {
        font-size: 0.78rem !important;
        padding: 7px 16px !important;
    }

    /* Override inline minmax(320px, 1fr) on services-grid-responsive */
    .services-grid-responsive,
    .required-docs-section .services-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Services page cards */
    .service-card-new {
        padding: 26px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .service-card-title-new {
        font-size: 1.18rem !important;
        word-break: break-word !important;
    }

    .service-card-desc-new {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    .service-card-btn-new {
        font-size: 0.88rem !important;
        padding: 12px 16px !important;
    }

    .service-card-icon-new {
        width: 54px !important;
        height: 54px !important;
        font-size: 1.8rem !important;
    }

    /* Required docs section inline-styled cards */
    .required-docs-section .reveal-up,
    .required-docs-section>div>div {
        padding: 22px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .required-docs-section h4 {
        font-size: 1.25rem !important;
    }

    .required-docs-section h5 {
        font-size: 1.08rem !important;
    }

    .required-docs-section ul {
        font-size: 0.88rem !important;
    }

    /* Container children must not exceed parent */
    .services-wrapper,
    .services-section,
    .services-category-group,
    .services-overview-section,
    #services-view {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Services CTA section */
    .services-cta-section {
        padding: 28px 20px !important;
        box-sizing: border-box !important;
    }

    .services-cta-title {
        font-size: 1.25rem !important;
    }

    /* Services hero banner */
    .services-hero-banner {
        padding: 100px 0 50px !important;
    }

    .services-hero-banner h1 {
        font-size: 1.6rem !important;
    }

    /* Capability groups (detailed service page) */
    .capability-group {
        padding: 22px 18px !important;
        box-sizing: border-box !important;
    }

    .capability-group h3 {
        font-size: 1.05rem !important;
    }

    .capability-item {
        font-size: 0.88rem !important;
    }

    /* Services section header spacing */
    .services-section-header {
        font-size: 1.6rem !important;
    }

    .services-category-header {
        font-size: 1.2rem !important;
    }
}

/* ---- 576px: Small phones ---- */
@media (max-width: 576px) {

    .service-card {
        padding: 22px 16px !important;
    }

    .service-card h3 {
        font-size: 1.08rem !important;
    }

    .service-card>p {
        font-size: 0.86rem !important;
    }

    .service-icon-wrap {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 14px !important;
    }

    .service-icon-wrap svg {
        width: 22px !important;
        height: 22px !important;
    }

    .service-card-new {
        padding: 20px 14px !important;
    }

    .service-card-title-new {
        font-size: 1.08rem !important;
    }

    .service-card-desc-new {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
    }

    .service-card-btn-new {
        font-size: 0.82rem !important;
        padding: 10px 14px !important;
    }

    .service-card-icon-new {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.5rem !important;
    }

    .required-docs-section .reveal-up,
    .required-docs-section>div>div {
        padding: 18px 14px !important;
    }

    .required-docs-section h5 {
        font-size: 1rem !important;
    }

    .required-docs-section ul {
        font-size: 0.82rem !important;
    }

    .services-cta-section {
        padding: 22px 16px !important;
    }

    .capability-group {
        padding: 18px 14px !important;
    }

    .services-section-header {
        font-size: 1.4rem !important;
    }

    .services-category-header {
        font-size: 1.1rem !important;
    }

    .services-hero-banner h1 {
        font-size: 1.35rem !important;
    }
}

/* ---- 375px and below: Very small phones ---- */
@media (max-width: 375px) {

    .service-card {
        padding: 18px 12px !important;
    }

    .service-card-new {
        padding: 18px 12px !important;
    }

    .required-docs-section .reveal-up,
    .required-docs-section>div>div {
        padding: 16px 12px !important;
    }

    .capability-group {
        padding: 16px 12px !important;
    }
}