/* 
    Design System for Numero One
    Colors extracted from logo:
    Primary: #1E6B93 (Steel Blue)
    Secondary: #222222 (Charcoal)
*/

:root {
    /* Colors */
    --primary: #1E6B93;
    --primary-dark: #154c61;
    --primary-light: #e8f1f5;
    --secondary: #222222;
    --text-dark: #222222;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --accent: #1E6B93;

    /* Layout */
    --container-max: 1200px;
    --header-height: 100px;
    /* Increased for premium feel */

    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Sora', 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2.5rem;
    /* Increased gutter for premium look */
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 80px;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.header.scrolled .brand-logo {
    height: 48px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 0;
}

/* Logo Subtext Link Style */
.logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.logo-subtext {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #C5A85C; /* Premium Gold color */
    text-transform: uppercase;
    font-family: var(--font-heading);
    line-height: 1.3;
    display: block;
}

.header.scrolled .logo-subtext {
    font-size: 9px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary);
}

/* Dropdown styling */
.dropdown,
.menu-item-has-children {
    position: relative;
}

.dropdown-menu,
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li,
.sub-menu li {
    display: block;
}

.dropdown-menu a,
.sub-menu a {
    display: block;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
    color: var(--text-dark) !important;
    text-align: left;
}

.dropdown-menu a:hover,
.sub-menu a:hover {
    background: var(--bg-light);
    color: var(--primary) !important;
}

/* Automatic Chevron Down for WordPress Dynamic Menu Items with Children */
.menu-item-has-children > a::after {
    content: '\f078'; /* FontAwesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75em;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Hero Section (Enhanced) */
.hero {
    position: relative;
    padding-top: var(--header-height);
    height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
}

/* Mesh Gradient Background */
.mesh-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    filter: blur(80px);
    transition: opacity 0.8s ease;
}

.mesh-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: float-mesh 20s infinite alternate ease-in-out;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(30, 107, 147, 0) 70%);
    top: -10%;
    right: -10%;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2d89b5 0%, rgba(45, 137, 181, 0) 70%);
    bottom: -5%;
    left: 5%;
    animation-delay: -5s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(34, 34, 34, 0) 70%);
    top: 20%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float-mesh {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(10%, 10%) rotate(20deg);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Global Glass & Mesh Layers */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    /* Increased slightly for better definition on light bg */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* Pronounced border for glass feel */
    box-shadow: 0 15px 35px 0 rgba(31, 38, 135, 0.1);
    transition: var(--transition);
}

.floating {
    animation: float-y 6s infinite alternate ease-in-out;
}

@keyframes float-y {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

.section-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    /* Increased opacity for visibility */
}


.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    line-height: 1.1;
    letter-spacing: -1px;
}

.gradient-heading {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-reveal 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes text-reveal {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

@keyframes fade-in-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fade-in-up 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

/* Button Enhancements */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 0 rgba(30, 107, 147, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 20px 5px rgba(30, 107, 147, 0.3);
}

.btn-slide {
    position: relative;
    background: transparent;
    z-index: 1;
}

.btn-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-light);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-slide:hover::before {
    width: 100%;
}

/* Hero Visual & Glassmorphism */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: float-card 6s infinite alternate ease-in-out;
}

.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-1 {
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 35%;
    right: 0;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: -4s;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

@keyframes float-card {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-30px) rotate(2deg);
    }
}

.abstract-geometric {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(30, 107, 147, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
    z-index: -1;
    animation: morph 15s infinite alternate ease-in-out;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
    }

    100% {
        border-radius: 70% 30% 40% 60% / 60% 40% 70% 30%;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    opacity: 0.7;
    animation: fade-in 1s ease 1s backwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.7;
    }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
    transform: rotate(45deg);
    animation: arrow-bounce 2s infinite;
}

@keyframes arrow-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    40% {
        transform: rotate(45deg) translate(5px, 5px);
    }

    60% {
        transform: rotate(45deg) translate(3px, 3px);
    }
}

/* Positioning Statement */
.positioning {
    padding: 100px 0;
    background-color: var(--white);
}

.positioning-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.positioning-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.positioning-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.positioning-visual {
    display: flex;
    justify-content: center;
}

.illustration-container {
    width: 100%;
    max-width: 450px;
}

.img-fluid {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Services */
.services {
    padding: 120px 0;
    position: relative;
    background-color: #fcfdfe;
    /* Softest blue-grey to make glass pop */
    overflow: hidden;
}

.services .mesh-sphere {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.4;
    filter: blur(60px);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.service-card {
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(30, 107, 147, 0.2);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Why Us */
.why-us {
    padding: 100px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-list {
    margin-top: 2rem;
}

.why-us-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    font-weight: 500;
}

.why-us-list li i {
    color: var(--primary);
    font-size: 1.25rem;
}

.why-us-image {
    background: linear-gradient(135deg, var(--primary) 0%, #154c61 100%);
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}

.stat-box {
    text-align: center;
}

.stat-box .number {
    font-size: 5rem;
    font-weight: 700;
    display: block;
}

.stat-box .label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Client Types (Glass Pills) */
.clients {
    padding: 120px 0;
    background-color: #f8fafc;
    /* Different tone for section separation */
    position: relative;
    overflow: hidden;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.client-badge {
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-badge:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(30, 107, 147, 0.3);
    backdrop-filter: blur(10px);
}

.client-badge i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.client-badge:hover i {
    color: var(--white);
}

.client-badge span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact / Lead Gen */
.contact {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.contact-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.contact-form-side {
    padding: 4rem;
}

.contact-form-side h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-form-side p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 107, 147, 0.1);
}

.contact-info-side {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem;
    display: flex;
    align-items: center;
}

.info-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.info-content p {
    color: #cbd5e1;
    margin-bottom: 3rem;
}

.contact-trust-icons {
    margin-bottom: 3rem;
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-trust-item i {
    color: var(--white);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method i {
    color: var(--white);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #154c61 100%);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #cbd5e1;
}

/* Footer — Premium Dark Layout */
.footer {
    padding: 80px 0 30px;
    background-color: var(--bg-light);
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-brand .logo-subtext {
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-brand p:first-of-type {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary) !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4;
}

.footer-brand p:last-of-type {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .positioning-grid,
    .grid-container,
    .contact-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .positioning-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-info-side {
        padding: 4rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-side {
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- About Page Specific Styles --- */

/* Utilities */
.section-padding {
    padding: 60px 0;
    /* Standardized deep padding */
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.opacity-75 {
    opacity: 0.75;
}

.rounded-lg {
    border-radius: 24px;
}

.lead {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.bg-dark-contrast {
    background-color: var(--secondary);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-light-gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
}

.inverse-section {
    position: relative;
    z-index: 2;
}

/* Inner Hero */
.inner-hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
}

.breadcrumb {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.overview-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.overview-visual {
    position: relative;
}

.glass-illustration {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.abstract-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: morph 10s infinite alternate;
}

/* Experience Highlight */
.experience-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.benefit-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pill {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.pill:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.pill i {
    font-size: 0.8rem;
    color: var(--primary-light);
}

.counter-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.counter-box .number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
}

.counter-box .plus {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.counter-box .label {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Our Approach */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.approach-card {
    padding: 3rem 2rem;
    text-align: center;
}

.approach-card:hover {
    transform: translateY(-10px);
}

.approach-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.approach-card:hover .approach-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.approach-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.approach-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Vision Section */
.vision-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.vision-text {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary);
    font-style: italic;
    margin-top: 2rem;
}

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.trust-icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.trust-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.trust-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* CTA Banner (About Page) */
.cta-banner {
    padding: 5rem 3rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(232, 241, 245, 0.4) 100%);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Responsive for About Page */
@media (max-width: 991px) {

    .overview-grid,
    .experience-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-content h2,
    .experience-text h2 {
        font-size: 2.2rem;
    }

    .vision-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .inner-hero {
        padding-top: 140px;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-btns .btn {
        width: 100%;
    }

    .counter-box .number {
        font-size: 4rem;
    }
}

/* --- Services Page Specific Styles --- */

/* Services Quick Nav */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.nav-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.nav-card:hover .nav-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.nav-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.nav-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Service Detail Sections */
.service-header-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-header-box h2 {
    font-size: 2.8rem;
    margin: 1rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.detail-card {
    padding: 3rem 2rem;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.detail-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Detail Flex (Advisory) */
.detail-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flex-item {
    display: flex;
    gap: 2.5rem;
    padding: 3rem;
    align-items: center;
}

.flex-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.flex-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flex-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

/* Simple Grid (Litigation) */
.simple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.list-item {
    display: flex;
    gap: 1.5rem;
}

.list-item i {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.list-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Certification Section */
.certification-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.cert-list {
    margin-top: 2rem;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    font-weight: 500;
}

.cert-list li i {
    color: var(--primary);
}

.cert-note-box {
    padding: 3rem;
    border-left: 5px solid var(--primary);
}

.cert-note-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.small-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* Advantage Grid */
.bg-dark {
    background-color: var(--secondary);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.adv-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.adv-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.adv-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.adv-item h4 {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Services */
@media (max-width: 1200px) {
    .simple-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .certification-split {
        grid-template-columns: 1fr;
    }

    .advantage-grid {
        grid-template-columns: 1fr 1fr;
    }

    .flex-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .simple-grid {
        grid-template-columns: 1fr;
    }

    .service-header-box h2 {
        font-size: 2.2rem;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Services Hub Specific Styles --- */

.section-padding-sm {
    padding: 60px 0;
}

.services-intro .intro-box {
    max-width: 800px;
}

/* Hub Grid & Large Cards */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 3rem;
}

.hub-card {
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 50%, var(--primary-dark) 100%);
    z-index: -1;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(30, 107, 147, 0.15);
}

.hub-card:hover::before {
    opacity: 1;
}

.hub-card-header {
    padding: 4rem 3rem;
    flex-grow: 1;
}

.hub-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.hub-card:hover .hub-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.hub-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.hub-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.learn-more {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(8px);
}

.hub-card-footer {
    padding: 2.5rem 3rem;
    background: rgba(30, 107, 147, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hub-sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hub-sub-list li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    opacity: 0.8;
}

.hub-sub-list li a:hover {
    color: var(--primary);
    opacity: 1;
}

/* How We Work (Process Flow) */
.how-we-work .section-subtitle {
    margin-bottom: 5rem;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    counter-reset: process;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -1.5rem;
    width: calc(100% - 100px);
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    opacity: 0.3;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-item:hover .process-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(30, 107, 147, 0.2);
}

.process-item h4 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.process-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Advantage Grid (Hub Version) */
.hub-advantage .adv-item {
    padding: 3rem 2rem;
}

/* CTA Animation Extension */
.gradient-bg-animate {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 241, 245, 0.6) 100%);
    background-size: 200% 200%;
    animation: gradientShift 5s infinite alternate ease-in-out;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Responsive Hub */
@media (max-width: 1200px) {
    .hub-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-flow {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .process-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }

    .hub-card-header {
        padding: 3rem 2rem;
    }

    .hub-card-footer {
        padding: 2rem;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* --- Health Check Page Specific Styles --- */

.health-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.max-w-700 {
    max-width: 700px;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Multi-Step Form Progress Bar */
.progress-container {
    margin: 3rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    flex: 1;
    text-align: center;
}

.step-label.active {
    color: var(--primary);
}

.progress-bar-wrap {
    height: 6px;
    background: rgba(30, 107, 147, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    width: 25%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Multi-Step Form Content */
.form-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row,
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {

    .form-row,
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* Compact Selection Cards Redesign */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-item,
.check-item {
    position: relative;
    padding: 1rem 1.5rem;
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    /* Sharper border */
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex !important;
    flex-direction: row !important;
    /* Force side-by-side */
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.25rem;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    width: 100%;
}

/* Custom Styled Indicators */
.radio-item input,
.check-item input {
    appearance: none;
    -webkit-appearance: none;
    padding: 0rem 0.5rem;
    width: 15px;
    height: 17px;
    min-width: 15px;
    min-height: 17px;
    aspect-ratio: 1 / 1;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.form-actions.mt-4 {
    margin-top: 15px;
}

.radio-item input {
    border-radius: 50%;
}

.check-item input {
    border-radius: 4px;
}

/* Radio Selection Style */
.radio-item input:checked {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-item input:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
}

/* Checkbox Selection Style */
.check-item input:checked {
    border-color: var(--primary);
    background: var(--primary);
}

.check-item input:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #ffffff;
    font-size: 10px;
}

/* Label Typography */
.radio-item span,
.check-item span {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
    line-height: normal;
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Interaction States */
.radio-item:hover,
.check-item:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.radio-item:has(input:checked),
.check-item:has(input:checked) {
    border-color: var(--primary);
    background: #eff6ff !important;
    box-shadow: 0 10px 20px rgba(30, 107, 147, 0.08);
}

.radio-item input:checked+span,
.check-item input:checked+span {
    color: var(--primary);
}

/* Review Step Styles */
.review-box {
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--primary-light);
}

.summary-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.summary-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.summary-item span {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    word-break: break-all;
}

/* Reassurance Badges */
.badge {
    padding: 0.6rem 1.2rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Health Check */
@media (max-width: 991px) {
    .form-container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .progress-labels {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .step-label {
        font-size: 0.75rem;
        flex: auto;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 2rem 1.5rem;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .form-actions button {
        width: 100%;
    }
}

/* --- Refined Process & Trust Sections (Health Check) --- */

.process-steps-container {
    position: relative;
    padding: 2rem 0;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.process-step-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.process-step-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-light);
    box-shadow: 0 25px 60px rgba(30, 107, 147, 0.1);
}

.process-step-card:hover::before {
    opacity: 1;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 2.5rem;
    transition: var(--transition);
}

.process-step-card:hover .step-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 20px rgba(30, 107, 147, 0.2);
}

.process-step-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.process-step-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Trust Center Redesign */
.trust-center {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.trust-banner-box {
    padding: 5rem 4rem;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(30, 107, 147, 0.02) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid rgba(30, 107, 147, 0.08);
    position: relative;
    box-shadow: var(--shadow);
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.4rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.trust-banner-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-banner-box .lead {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.trust-badges-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.trust-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 107, 147, 0.08);
    border-color: var(--primary-light);
    color: var(--primary);
}

.trust-pill i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Responsive Adjustments for New Sections */
@media (max-width: 991px) {
    .process-steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .trust-banner-box {
        padding: 4rem 2rem;
    }

    .trust-banner-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .trust-badges-row {
        gap: 1rem;
    }

    .trust-pill {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Contact Page Total Overhaul Styles
   ========================================================================== */

.contact-hero {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding-top: var(--header-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero .hero-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
}

.contact-hero .hero-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Grid Layout - Restored Side-by-Side */
.contact-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 6rem;
    align-items: start;
}

/* Left Column: Info Cards */
.contact-info-column {
    display: flex;
    flex-direction: column;
}

.info-cards-stack {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--bg-light);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.info-card-item:hover {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
    border-color: var(--primary-light);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: #ffffff;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.info-card-item:hover .info-icon {
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    transform: scale(1.1) rotate(-5deg);
}

.info-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--secondary);
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Right Column: Refined Message Form */
.form-container-card {
    padding: 4rem;
    border-radius: 32px;
    background: #ffffff;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.refined-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.refined-form input,
.refined-form select,
.refined-form textarea {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #eef2f6;
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    font-size: 1rem;
    color: var(--secondary);
    transition: var(--transition);
}

.refined-form input:focus,
.refined-form select:focus,
.refined-form textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(30, 107, 147, 0.08);
    outline: none;
}

/* Map Integration (Resized for side-by-side) */
.map-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.map-container-premium {
    position: relative;
    border-radius: 32px;
    height: 480px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container-premium iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-info-card {
    padding: 3.5rem;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.map-info-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.hours-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
}

.hour-item span:first-child {
    font-weight: 700;
    color: var(--secondary);
}

.hour-item span:last-child {
    color: var(--text-muted);
}

/* Trust Center Strip */
.trust-message {
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-message h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 1199px) {

    .contact-grid,
    .map-grid-row {
        gap: 3rem;
    }

    .form-container-card {
        padding: 3rem;
    }
}

@media (max-width: 991px) {

    .contact-grid,
    .map-grid-row {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-info-column,
    .map-container-premium {
        order: 1;
    }

    .contact-form-column,
    .map-info-card {
        order: 0;
    }

    .info-card-item:hover {
        transform: none;
    }

    .map-container-premium {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .contact-hero .hero-title {
        font-size: 2.8rem;
    }

    .form-container-card,
    .map-info-card {
        padding: 2.5rem 1.5rem;
    }

    .info-card-item {
        padding: 1.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

/* ==========================================================================
   Disclaimer & Legal Pages
   ========================================================================== */

.legal-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding-top: var(--header-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero .hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.legal-hero .hero-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.legal-container {
    max-width: 850px;
    /* Optimal reading width */
    margin: 0 auto;
}

.legal-card {
    padding: 3.5rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Softer, wider floating shadow */
    margin-bottom: 2rem;
    position: relative;
    transition: var(--transition);
}

.legal-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.legal-highlight {
    background: #f4f8fb;
    /* Extremely soft primary tint */
    border: 1px solid rgba(30, 107, 147, 0.08);
    overflow: hidden;
}

/* Perfect Architectural Accent Line */
.legal-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 6px;
    background: var(--primary);
    border-radius: 24px 0 0 24px;
}

.legal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--secondary);
    letter-spacing: -0.01em;
}

.legal-text {
    font-size: 1.1rem;
    color: #475569;
    /* Slightly darker slate for perfect reading contrast */
    line-height: 1.8;
    /* Increased line height for legibility */
    margin-bottom: 0;
}

.fw-500 {
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .legal-card {
        padding: 2rem 1.5rem;
    }

    .legal-hero .hero-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   Sprint 2 Features: WhatsApp, Mobile Menu, FAQ Accordion
   ========================================================================== */

/* Floating Go to Top Button */
.back-to-top-float {
    position: fixed;
    bottom: 98px;
    right: 33px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.back-to-top-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-float:hover {
    background-color: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 107, 147, 0.4);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: var(--white) !important;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive Nav Drawer */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block !important;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 2rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        display: block;
        width: 100%;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    /* Mobile Dropdowns */
    .nav-list li.dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0.5rem 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-left: 2px solid var(--primary-light);
        margin-left: 0.5rem;
        border-radius: 0;
    }

    .nav-list li.dropdown.active .dropdown-menu {
        display: block;
    }
}

/* FAQ Accordion & Navigation */
.faq-section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
}

.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    position: relative;
}

.faq-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 107, 147, 0.15);
    border-radius: 50px;
    padding: 0.4rem 1.5rem;
    box-shadow: 0 10px 25px rgba(30, 107, 147, 0.05);
    transition: var(--transition);
}

.faq-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(30, 107, 147, 0.15);
    background: var(--white);
    transform: translateY(-2px);
}

.faq-search-bar .search-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.faq-search-bar input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.8rem 0;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-dark);
}

.faq-search-bar input::placeholder {
    color: var(--text-muted);
}

.faq-search-bar .clear-btn {
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.faq-search-bar .clear-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.faq-category-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.faq-category-nav {
    display: inline-flex;
    background: rgba(30, 107, 147, 0.05);
    border: 1px solid rgba(30, 107, 147, 0.08);
    border-radius: 50px;
    padding: 0.4rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-tab-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.faq-tab-btn i {
    font-size: 1rem;
    opacity: 0.8;
}

.faq-tab-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(30, 107, 147, 0.1);
}

.faq-tab-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(30, 107, 147, 0.03);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-group {
    display: none;
}

.faq-group.active {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(30, 107, 147, 0.08);
    border-left: 4px solid transparent;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: 0 12px 30px rgba(30, 107, 147, 0.08);
    border-color: rgba(30, 107, 147, 0.2);
    transform: translateY(-2px);
}

.faq-item.active {
    background: linear-gradient(180deg, #ffffff 0%, rgba(30, 107, 147, 0.02) 100%);
    border-left-color: var(--primary);
    border-color: rgba(30, 107, 147, 0.15);
    box-shadow: 0 12px 30px rgba(30, 107, 147, 0.08);
}

.faq-trigger {
    width: 100%;
    padding: 1.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
    flex-grow: 1;
}

.faq-question-text i.question-icon {
    font-size: 1.15rem;
    color: var(--primary);
    background: rgba(30, 107, 147, 0.08);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item:hover .faq-question-text i.question-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.faq-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 1rem;
    display: none; /* Shown in search results */
    flex-shrink: 0;
}

.faq-badge.badge-gst {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.faq-badge.badge-income-tax {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.faq-badge.badge-general {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.faq-search-active .faq-badge {
    display: inline-block;
}

.faq-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(30, 107, 147, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-icon-circle i {
    font-size: 0.8rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-icon-circle {
    background: rgba(30, 107, 147, 0.1);
}

.faq-item.active .faq-icon-circle {
    background: var(--primary);
}

.faq-item.active .faq-icon-circle i {
    color: var(--white);
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 2rem 0 5.4rem; /* Aligns with question text beside icon */
}

@media (max-width: 576px) {
    .faq-trigger {
        padding: 1.25rem 1.5rem;
    }
    .faq-content {
        padding: 0 1.5rem 0 1.5rem; /* Stack on mobile */
    }
    .faq-question-text {
        gap: 0.75rem;
    }
    .faq-question-text i.question-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

.faq-item.active .faq-content {
    max-height: 600px;
    padding-bottom: 2rem;
}

.faq-answer {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
    animation: fadeIn 0.4s ease forwards;
}

/* Empty State & Search Highlight */
.faq-empty-state {
    text-align: center;
    padding: 4.5rem 2rem;
    background: var(--white);
    border: 1px dashed rgba(30, 107, 147, 0.2);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.faq-empty-state i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.6;
    background: rgba(30, 107, 147, 0.05);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-empty-state h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-empty-state p {
    color: var(--text-muted);
    max-width: 450px;
    margin: 0 auto;
}

.faq-highlight {
    background: rgba(197, 168, 92, 0.25); /* Gold tint match */
    color: var(--secondary);
    font-weight: 600;
    padding: 0 2px;
    border-radius: 3px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Ticker Strip Styles --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 36px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-anim 80s linear infinite;
    padding-left: 100%;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ticker-item a {
    color: #C5A85C;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
}

.ticker-item a:hover {
    color: #ffffff;
}

.ticker-item span.ticker-tag {
    background-color: #C5A85C;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-right: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

@keyframes ticker-anim {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Adjust header top position when ticker is present */
body.has-ticker {
    padding-top: 36px;
}

body.has-ticker .header {
    top: 36px;
}

@media (max-width: 768px) {
    body.has-ticker {
        padding-top: 36px;
    }
    body.has-ticker .header {
        top: 36px;
    }
    body.has-ticker .nav-list {
        top: 36px;
        height: calc(100vh - 36px);
    }
}

/* WordPress Entry Content Formatting */
.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--secondary);
    margin-top: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.entry-content h1 { font-size: 2.2rem; }
.entry-content h2 { font-size: 1.8rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.entry-content a:hover {
    color: var(--primary-dark);
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    font-style: italic;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.entry-content figure figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Contact Form 7 - Premium Styling Alignment
   ========================================================================== */

/* Layout & wrapper fixes */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form .form-step {
    display: none;
}

.wpcf7-form .form-step.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

/* Fix default select fields */
.wpcf7-form select.wpcf7-form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.5) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%232c3e50' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 1.5rem center/8px 10px;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-form select.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* Radio & Checkbox Containers */
.wpcf7-radio, .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.wpcf7-list-item {
    margin: 0 !important;
    display: block !important;
    width: 100%;
}

.wpcf7-list-item label {
    position: relative;
    padding: 1rem 1.5rem;
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.25rem;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    width: 100%;
    margin: 0 !important;
}

.wpcf7-list-item label:hover {
    border-color: var(--primary);
    background: var(--light-gradient);
    box-shadow: 0 4px 12px rgba(30, 107, 147, 0.08);
}

/* Radio & Checkbox Inputs Styling */
.wpcf7-list-item label input[type="radio"],
.wpcf7-list-item label input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.wpcf7-radio .wpcf7-list-item label input[type="radio"] {
    border-radius: 50% !important;
}

.wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"] {
    border-radius: 4px !important;
}

/* Selected state */
.wpcf7-list-item label input[type="radio"]:checked,
.wpcf7-list-item label input[type="checkbox"]:checked {
    border-color: var(--primary) !important;
    background: var(--primary) !important;
}

.wpcf7-radio .wpcf7-list-item label input[type="radio"]:checked::after {
    content: '' !important;
    width: 7px !important;
    height: 7px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    display: block !important;
}

.wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"]:checked::after {
    content: "\f00c" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wpcf7-list-item-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Form validation tips */
.wpcf7-not-valid-tip {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #e74c3c !important;
    margin-top: 0.5rem !important;
    display: block !important;
}

/* Loader styling */
.wpcf7-spinner {
    display: none !important;
}

/* ==========================================================================
   Services Hub Grid Layout (.hub-grid, .hub-card)
   ========================================================================== */
.service-hub {
    position: relative;
    padding: 80px 0;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }
}

.hub-card {
    background: var(--white);
    border: 1px solid rgba(30, 107, 147, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 107, 147, 0.12);
    border-color: var(--primary);
}

.hub-card-header {
    margin-bottom: 2rem;
}

.hub-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 107, 147, 0.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.hub-card:hover .hub-icon {
    background: var(--primary);
    color: var(--white);
}

.hub-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.hub-card-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hub-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.hub-card .learn-more:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.hub-card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
}

.footer-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.hub-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.hub-sub-list li a {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.hub-sub-list li a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Insights Grid Layout (.insights-grid, .insight-card)
   ========================================================================== */
.insights-section {
    position: relative;
    padding: 80px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1100px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

.insight-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(30, 107, 147, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(30, 107, 147, 0.12);
    border-color: rgba(30, 107, 147, 0.3);
}

.insight-header-visual {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.insight-header-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.insight-tag {
    background: rgba(30, 107, 147, 0.08);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.insight-date {
    color: var(--text-muted);
}

.insight-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.insight-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.insight-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* ==========================================================================
   Why Choose Our Services Section (.why-choose-us, .advantage-grid, .adv-item)
   ========================================================================== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 991px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }
}

.adv-item {
    background: var(--white) !important;
    color: var(--text-dark) !important;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.adv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: var(--primary);
}

.adv-item i {
    font-size: 2.5rem;
    color: var(--primary) !important;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: var(--transition);
}

.adv-item:hover i {
    transform: scale(1.1);
}

.adv-item h4 {
    color: var(--secondary) !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Design System
   ========================================================================== */

/* Universal Overflow & Touch Protection */
html, body {
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    display: block;
}

.table-responsive table {
    min-width: 600px;
}

/* Universal Text Wrapping & Overflow Safety */
p, h1, h2, h3, h4, h5, h6, span, strong, a, li, div {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Hub & Service Grids Fluid Responsiveness */
.hub-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
}

/* Form Inputs Mobile Touch Optimization (16px base font prevents iOS zoom) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    font-size: 16px !important;
}

/* ==========================================================================
   Breakpoint 1: Laptop & Mid-Desktop (993px - 1200px)
   ========================================================================== */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-list a {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-4-col {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ==========================================================================
   Breakpoint 2: Tablets & Small Laptops (769px - 992px)
   ========================================================================== */
@media screen and (max-width: 992px) {
    :root {
        --header-height: 80px;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Mobile Toggle Display */
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
        color: var(--primary);
        background: rgba(30, 107, 147, 0.08);
        border: 1px solid rgba(30, 107, 147, 0.2);
        border-radius: 8px;
        cursor: pointer;
        transition: var(--transition);
        z-index: 1001;
    }

    .mobile-toggle:hover {
        background: var(--primary);
        color: var(--white);
    }

    /* Off-Canvas Navigation Drawer */
    .nav {
        position: relative;
    }

    .nav-list {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 1rem;
        box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        z-index: 1000;
    }

    .header.scrolled .nav-list {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list > li {
        width: 100%;
    }

    .nav-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-list li:last-child a.btn {
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
        display: block;
        width: 100%;
        border-bottom: none;
    }

    /* Accordion Style Sub-Menus in Mobile Navigation */
    .dropdown-menu,
    .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(30, 107, 147, 0.05) !important;
        border-radius: 8px;
        margin: 0.5rem 0 0.5rem 0;
        display: none;
        padding: 0.25rem 0;
        width: 100%;
        transition: none;
    }

    .dropdown.active > .dropdown-menu,
    .menu-item-has-children.active > .sub-menu {
        display: block;
    }

    .dropdown-menu a,
    .sub-menu a {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        border-bottom: none !important;
    }

    /* Header Brand Adjustments */
    .brand-logo {
        height: 42px !important;
    }

    .logo-subtext {
        display: block !important;
        font-size: 8px !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap !important;
    }

    /* Hero Section Responsive */
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding-top: calc(var(--header-height) + 2.5rem) !important;
        padding-bottom: 3.5rem !important;
        display: flex;
        align-items: center;
    }

    .hero-split,
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center !important;
        width: 100% !important;
    }

    .hero-content {
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas,
    .hero-actions {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-metrics {
        justify-content: center;
    }

    /* Right Side Hero Visual Fix for Mobile & Tablet */
    .hero-visual {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 2.5rem auto 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        clear: both !important;
    }

    .hero-visual .floating-card,
    .hero-visual .card-1,
    .hero-visual .card-2,
    .hero-visual .card-3 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: none !important;
        font-size: 0.95rem !important;
        padding: 0.85rem 1.4rem !important;
        border-radius: 50px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(30, 107, 147, 0.2) !important;
        box-shadow: 0 8px 20px rgba(30, 107, 147, 0.08) !important;
        animation: float-card-mobile 3s infinite alternate ease-in-out !important;
    }

    .hero-visual .card-1 { animation-delay: 0s !important; }
    .hero-visual .card-2 { animation-delay: -1s !important; }
    .hero-visual .card-3 { animation-delay: -2s !important; }

    @keyframes float-card-mobile {
        0% { transform: translateY(0); }
        100% { transform: translateY(-5px); }
    }

    .hero-visual .abstract-geometric {
        width: 220px !important;
        height: 220px !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        position: absolute !important;
        z-index: -1 !important;
        opacity: 0.4 !important;
    }

    .page-hero {
        padding: 130px 0 50px 0;
        text-align: center;
    }

    .page-hero .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    /* Layout Grids Collapse */
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .grid-3-col,
    .services-grid,
    .team-grid,
    .insights-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .grid-2-col,
    .about-grid,
    .contact-grid,
    .single-service-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Timeline & Service Matrices */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
    }

    /* Multi-step Form */
    .form-container {
        padding: 2rem 1.5rem;
    }

    .step-indicator {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .radio-group,
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Breakpoint 3: Standard Mobile Devices (577px - 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Ticker Strip Adjustments */
    .ticker-wrap {
        font-size: 0.8rem;
    }

    .ticker-item {
        padding: 0 1.25rem;
    }

    .ticker-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    /* Typography Fluid Scaling */
    h1, .hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .hero-lead,
    .lead-text {
        font-size: 1rem;
    }

    /* Hero Buttons Stacking */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .metric-item {
        text-align: center;
    }

    /* Card & Section Padding */
    section {
        padding: 3.5rem 0;
    }

    .glass-card,
    .service-card,
    .team-card,
    .insight-card,
    .contact-card {
        padding: 1.5rem;
    }

    /* FAQ Tabs & Accordion */
    .faq-category-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .faq-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .faq-trigger {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }

    /* Form Fields & Steps */
    .radio-group,
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .step-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .step-actions .btn {
        width: 100%;
    }

    /* Footer Bottom Alignment */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    /* Go to Top & WhatsApp Float Buttons Mobile */
    .back-to-top-float {
        bottom: 82px;
        right: 23px;
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.65rem;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* ==========================================================================
   Breakpoint 4: Small Mobile Devices (< 576px)
   ========================================================================== */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    /* Logo Scale for Small Mobile */
    .brand-logo {
        height: 36px !important;
    }

    .logo-subtext {
        display: block !important;
        font-size: 7.2px !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
    }

    /* Single Column Layout Enforcement */
    .grid-4-col,
    .grid-3-col,
    .grid-2-col,
    .services-grid,
    .team-grid,
    .insights-grid,
    .stats-grid,
    .footer-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    h1, .hero-title {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero CTAs & Right Visual Stacking on Small Mobile */
    .hero-ctas,
    .hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0.85rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-visual {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.85rem !important;
        max-width: 320px !important;
        margin-top: 2.5rem !important;
    }

    .hero-visual .floating-card,
    .hero-visual .card-1,
    .hero-visual .card-2,
    .hero-visual .card-3 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: none !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* Buttons Full Width */
    .btn {
        padding: 0.85rem 1.5rem;
        width: 100%;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        width: auto;
    }

    /* Form Container */
    .form-container {
        padding: 1.25rem 1rem;
    }

    .step-label span {
        display: none; /* Hide step text, keep step numbers on tiny screens */
    }

    /* Service Navigation & Tabs */
    .service-tab-nav {
        flex-direction: column;
        width: 100%;
    }

    .service-tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Breakpoint 5: Ultra-Small Mobile Devices (< 400px)
   ========================================================================== */
@media screen and (max-width: 400px) {
    .brand-logo {
        height: 34px !important;
    }

    .logo-subtext {
        display: block !important;
        font-size: 6.5px !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
    }

    h1, .hero-title {
        font-size: 1.65rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}


