/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #EAF6FF, #FFFFFF);
    color: #333333;
    min-height: 100vh;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}




/* Colors */
.primary-color {
    color: #0E1E14;
}

.secondary-color {
    color: #038040;
}

.bg-primary {
    background-color: #0E1E14;
}

.bg-secondary {
    background-color: #038040;
}

.bg-accent {
    background-color: #EAF6FF;
}

.bg-white {
    background-color: #FFFFFF;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Header Styles */
:root {
    --primary-color: #0E1E14;
    --accent-color: #038040;
    --text-dark: #1e293b;
    --text-muted: #475569;
    --header-height: 70px;
}

header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo .logo-accent {
    color: var(--accent-color);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    position: relative;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 6px 0;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #026d35 100%);
    color: white;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.3);
}

/* Material Icon Alignment */
.logo-icon .material-symbols-outlined {
    vertical-align: middle;
    color: var(--accent-color);
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    flex-direction: column;
    gap: 6px;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger open animation */
.mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 38, 71, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: auto;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent-color);
}

.mobile-nav-cta {
    margin-top: 2rem;
}

.mobile-nav-cta .btn-primary {
    width: 100%;
    padding: 0.8rem 1.4rem;
}

/* Hero Section */
/* Hero Section Scoped Styles */
.hero-section-advanced {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #0a2647;
    /* fallback while image loads */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed removed — use img tag for LCP */
    padding: 100px 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* LCP Hero background image — positioned absolute behind all content */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* Overlay to ensure text readability - balanced for professional look */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 38, 71, 0.9) 0%, rgba(10, 38, 71, 0.7) 50%, rgba(10, 38, 71, 0.4) 100%);
    z-index: 1;
}

.container-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text-advanced {
    max-width: 1000px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Badge Styles */
.badge-hero {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-hero {
    margin-right: 10px;
    display: flex;
}

.pulse-dot-hero {
    width: 8px;
    height: 8px;
    background: #038040;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 168, 107, 0.4);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 168, 107, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 168, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(0, 168, 107, 0);
    }
}

/* Typography */
.hero-title-main {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title-highlight {
    color: #038040;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Buttons */
.hero-buttons-group {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-hero {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
}

.btn-hero-primary {
    background: #038040;
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    background: #026d35;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 107, 0.3);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: #0E1E14;
    transform: translateY(-3px);
}

/* Social Proof */
.hero-trust-indicators {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-stack {
    display: flex;
}

.avatar-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0E1E14;
    margin-left: -12px;
    background-size: cover;
    background-position: center;
}

.avatar-item:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2.8rem;
    }

    .hero-section-advanced {
        padding: 80px 0;
        text-align: center;
        background-attachment: scroll;
        /* Better performance for mobile */
    }

    .hero-buttons-group {
        justify-content: center;
        flex-direction: column;
    }

    .hero-trust-indicators {
        justify-content: center;
    }

    .badge-hero {
        margin-bottom: 20px;
    }
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.process-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.process-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.75rem;
}

.process-section .section-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    margin-bottom: 50px;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.process-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: transparent;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.process-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: #0B6E1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.process-item:hover .process-icon-wrap {
    transform: scale(1.05);
}

.process-icon-wrap svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.process-text {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
}

.process-cta-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.process-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0B6E1A;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 110, 26, 0.2);
    border: none;
    cursor: pointer;
}

.process-cta-btn:hover {
    background-color: #095915;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(11, 110, 26, 0.35);
}

/* Testimonials */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-section-wrapper {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    --primary-color: #0E1E14;
    --accent-color: #038040;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    padding: 60px 0;
    overflow-x: hidden;
}

.testimonial-container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.testimonial-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-slider-outer {
    position: relative;
    padding: 0 50px;
}

.testimonial-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonial-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 10px 0;
}

.testimonial-item {
    flex: 0 0 calc(50% - 15px);
    /* 2 cards on desktop */
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    user-select: none;
}

.testimonial-stars {
    color: #FFB800;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-body {
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.5;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(10, 38, 71, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* Nav Buttons */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1.5px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
    font-size: 20px;
    color: var(--primary-color);
}

.testimonial-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.testimonial-nav-btn.prev {
    left: 0;
}

.testimonial-nav-btn.next {
    right: 0;
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 4px;
}

/* Responsiveness */
@media (max-width: 992px) {
    .testimonial-item {
        flex: 0 0 calc(50% - 15px);
    }

    /* 2 cards */
}

@media (max-width: 650px) {
    .testimonial-item {
        flex: 0 0 100%;
    }

    /* 1 card */
    .testimonial-slider-outer {
        padding: 0;
    }

    .testimonial-nav-btn {
        display: none;
    }

    /* Hide arrows on mobile */
    .testimonial-title {
        font-size: 1.8rem;
    }
}

/* Services */
.services-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    justify-content: center;
    gap: 32px;
    width: min(100%, 1296px);
    margin: 0 auto;
    align-items: stretch;
}

.service-card {
    width: 100%;
    max-width: 400px;
    min-height: 520px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(10, 143, 77, 0.16);
    border-color: #0A8F4D;
}

.service-media {
    width: 100%;
    height: 230px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eefdf4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 18px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.service-copy {
    text-align: left;
}

.service-title {
    color: #0F172A;
    font-size: clamp(22px, 1.3vw, 24px);
    font-weight: 700;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.service-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.service-footer {
    margin-top: 20px;
}

@media (max-width: 1320px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 864px;
    }

    .service-card {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .service-title {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .service-card {
        min-height: auto;
    }

    .service-title {
        font-size: 22px;
    }
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0A8F4D;
    font-weight: 700;
    text-decoration: none;
}

.service-cta:hover {
    color: #086b3f;
}

.services-footer {
    display: flex;
    justify-content: center;
    /* Ye horizontal center karega */
    align-items: center;
    /* Ye vertical alignment ke liye hai */
    width: 100%;
    /* Poori width cover karne ke liye */
    margin-top: 3rem;
    /* Cards se thoda gap dene ke liye */
    padding: 1rem 0;
}

.btn-main-action {
    display: inline-block;
    background-color: #038040;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
    border: none;
    cursor: pointer;
}

.btn-main-action:hover {
    background-color: #026d35;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

@media (max-width: 1320px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 864px;
    }

    .service-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .service-card {
        min-height: auto;
    }
}


/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff, #f6f9fc);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

/* Text */
.about-text {
    max-width: 540px;
}

.about-badge {
    background: rgba(0, 168, 107, 0.1);
    color: #0E1E14;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0E1E14;
}

.about-text p {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Image â€“ Premium Frame */
.about-image {
    padding: 10px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        max-width: 100%;
    }
}


/* Consultation Form */
.consultation-section {
    padding: 5rem 0;
    background: #0E1E14;
    position: relative;
    overflow: hidden;
}

.consultation-section::before,
.consultation-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(50px);
}

.consultation-section::before {
    width: 300px;
    height: 300px;
    background: #038040;
    top: -100px;
    right: -100px;
}

.consultation-section::after {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    bottom: -100px;
    left: -100px;
}

.consultation-form-container {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 1000px;
    margin: 0 auto;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.form-sidebar {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    padding: 2rem;
}

.form-sidebar h3 {
    color: #0E1E14;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.benefits-list .material-symbols-outlined {
    color: #038040;
}

.form-main {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #038040;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #038040;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #026d35;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 107, 0.2);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0E1E14;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary .material-symbols-outlined {
    transition: transform 0.3s ease;
}

details[open] summary .material-symbols-outlined {
    transform: rotate(180deg);
}

.faq-content {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Footer Styles */
footer {
    background: linear-gradient(to bottom, #0E1E14 0%, #071510 100%);
    color: #94a3b8;
    padding: 5rem 0 2rem 0;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid #038040;
    position: relative;
    overflow: hidden;
}

/* Subtle background glowing circles for premium aesthetics */
footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: rgba(0, 168, 107, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-logo .logo-accent {
    color: #038040;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #038040;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-icon.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.social-icon.twitter:hover {
    background: #000000;
    border-color: #333333;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.trust-disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.copyright-bar {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.copyright-bar a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-bar a:hover {
    color: white;
}

.copyright-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .copyright-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chat-button i {
    font-size: 24px;
}

.chat-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 12px;
    background: white;
    color: #333333;
    padding: 12px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    max-width: 200px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.chat-widget:hover .chat-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 16px;
    border: 6px solid transparent;
    border-top-color: white;
}

.chat-button {
    width: 56px;
    height: 56px;
    background: #038040;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.chat-button:hover {
    background: #026d35;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content,
    .about-content,
    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    nav {
        display: none;
    }

    .cta-group {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .process-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .testimonial-card {
        min-width: 250px;
    }
}

/* Custom Premium Utilities */
.section-subtitle-centered {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
}

.process-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #038040;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.25rem;
    transition: all 0.2s ease;
}

.service-link:hover {
    color: #026d35;
    gap: 10px;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.process-card h3 {
    margin-top: 0.75rem;
    font-size: 1.2rem;
    color: #0E1E14;
}

/* Premium Dark Why Us Section styling */
.premium-dark-why-us {
    background: radial-gradient(circle at 80% 20%, #152e1a 0%, #0E1E14 100%);
    padding: 6rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.premium-dark-why-us::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-us-grid-advanced {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.why-us-info {
    max-width: 500px;
}

.badge-accent {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 168, 107, 0.15);
    color: #038040;
    border: 1px solid rgba(0, 168, 107, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.why-us-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.highlight-green {
    color: #038040;
}

.why-us-description {
    font-size: 1.1rem;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.trust-badge-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #e5e7eb;
}

.trust-badge-item .material-symbols-outlined {
    color: #038040;
    font-size: 24px;
}

/* Cards Grid Styling */
.why-us-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 107, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 168, 107, 0.1) inset;
    background: rgba(255, 255, 255, 0.05);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.why-icon-wrapper .material-symbols-outlined {
    font-size: 26px;
}

.color-green {
    background: rgba(0, 168, 107, 0.15);
    color: #038040;
}

.color-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.color-amber {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.color-indigo {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .why-us-grid-advanced {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-us-info {
        max-width: 100%;
        text-align: center;
    }

    .badge-accent {
        margin: 0 auto 1.5rem;
    }

    .trust-badge-container {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .why-us-cards-grid {
        grid-template-columns: 1fr;
    }

    .why-us-title {
        font-size: 2.2rem;
    }
}

/* Calculator Section Styles */
.calculator-section {
    background-color: #f0f7fd;
    padding: 5rem 0;
    font-family: 'Inter', sans-serif;
}

.calc-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.calc-title {
    text-align: center;
    color: #0E1E14;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.calc-title span {
    color: #038040;
}

.calc-tabs {
    display: flex;
    justify-content: center;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.calc-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-tab-btn.active {
    background: #0E1E14;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(10, 38, 71, 0.2);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.slider-header label {
    font-weight: 700;
    color: #0E1E14;
    font-size: 1.05rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
}

.calc-num-input {
    width: 140px;
    padding: 8px 12px 8px 24px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0E1E14;
    text-align: right;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: #cbd5e1;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    margin: 1rem 0 0.5rem;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #038040;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.2);
    transition: all 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #026d35;
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Toggle Switch Group */
.toggle-group-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toggle-group-container label {
    font-weight: 700;
    color: #0E1E14;
    font-size: 1.05rem;
}

.toggle-options {
    display: flex;
    gap: 1rem;
}

.toggle-btn {
    flex: 1;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    border-color: #038040;
    background: rgba(0, 168, 107, 0.05);
    color: #038040;
}

.toggle-btn .checkbox-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: all 0.2s ease;
}

.toggle-btn.active .checkbox-icon {
    border-color: #038040;
    background: #038040;
    color: #ffffff;
}

.btn-calc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0E1E14;
    color: #ffffff;
    padding: 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(10, 38, 71, 0.15);
}

.btn-calc-cta:hover {
    background: #152e1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(10, 38, 71, 0.25);
}

.btn-calc-cta .material-symbols-outlined {
    font-size: 20px;
}

/* Results Panel Styling */
.results-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.savings-banner {
    background: #0E1E14;
    color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(10, 38, 71, 0.15);
}

.savings-amount-label {
    display: flex;
    flex-direction: column;
}

.savings-amount-label .label-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 600;
}

.savings-amount-label .amount-value {
    font-size: 2rem;
    font-weight: 800;
    color: #038040;
}

.payoff-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #ffffff;
    border-left: 3px solid #038040;
}

.chart-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.chart-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0E1E14;
    text-align: center;
    margin-bottom: 2.5rem;
}

.chart-visual-area {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.bar-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    height: 100%;
    justify-content: flex-end;
    position: relative;
}

.bar-amount-value {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    white-space: nowrap;
}

.bar-amount-value.settlexpert-color {
    color: #038040;
}

.bar-amount-value.standard-color {
    color: #64748b;
}

.bar-body {
    width: 60px;
    border-radius: 8px 8px 0 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-body.settlexpert-bar {
    background: #038040;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.bar-body.standard-bar {
    background: #cbd5e1;
}

.bar-label-text {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.calc-disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 1rem;
}

/* Responsiveness */
@media (max-width: 992px) {
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .calc-card {
        padding: 1.5rem;
    }

    .savings-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .payoff-badge {
        width: 100%;
    }

    .bar-body {
        width: 45px;
    }

    .bar-amount-value {
        font-size: 0.85rem;
    }

    .calc-title {
        font-size: 1.75rem;
    }
}

/* Red Overlay for Without Bar to create psychological impact */
.bar-body.standard-bar {
    background: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.bar-amount-value.standard-color {
    color: #ef4444;
}

/* Lead Capture Modal Styles */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 38, 71, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.lead-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lead-modal-card {
    background: #ffffff;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.lead-modal-overlay.active .lead-modal-card {
    transform: translateY(0);
}

.lead-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 700;
    transition: all 0.2s ease;
}

.lead-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.lead-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lead-modal-header h3 {
    font-size: 1.5rem;
    color: #0E1E14;
    margin-bottom: 0.5rem;
}

.lead-modal-header p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lead-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lead-input-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0E1E14;
}

.lead-input {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.lead-input:focus {
    border-color: #038040;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.btn-lead-submit {
    background: #038040;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.25);
    transition: all 0.3s ease;
}

.btn-lead-submit:hover {
    background: #026d35;
    transform: translateY(-1px);
}

/* FAQ Section Accordion Styles */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #e2e8f0;
}

.container-faq {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0E1E14;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.faq-section-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: #038040;
    box-shadow: 0 10px 20px -10px rgba(0, 168, 107, 0.15);
    background: #ffffff;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-q-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    padding-right: 15px;
}

.faq-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 168, 107, 0.08);
    color: #038040;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-q-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0E1E14;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-icon {
    font-size: 24px;
    color: #0E1E14;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active {
    border-color: #038040;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(10, 38, 71, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #038040;
}

.faq-item.active .faq-q-text {
    color: #038040;
}

.faq-item.active .faq-num {
    background: #038040;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 168, 107, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 28px 22px 28px;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-content {
    border-top-color: rgba(226, 232, 240, 0.8);
}

.faq-inline-link {
    color: #038040;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: all 0.2s ease;
}

.faq-inline-link:hover {
    border-bottom-color: #038040;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-section-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 18px 20px;
    }

    .faq-q-wrapper {
        gap: 12px;
        padding-right: 10px;
    }

    .faq-num {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .faq-q-text {
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
    }
}

/* ======================================================================
   | SettleXpert Premium Trust Statistics Bar
   ====================================================================== */
.stats-bar-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 35px 0;
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
    gap: 30px;
}

.stats-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 0;
}

/* Vertical divider lines between stats (except on last element) */
.stats-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #cbd5e1;
}

.stats-header-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.stats-icon-wrapper {
    font-size: 2.2rem;
    color: #0E1E14;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-icon-wrapper .accent-icon {
    color: #038040;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0E1E14;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
}

.stats-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    text-transform: capitalize;
}

/* Responsive adjustment for Mobile viewports */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-card:not(:last-child)::after {
        display: none;
    }

    .stats-card {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 20px;
    }

    .stats-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stats-number {
        font-size: 2.2rem;
    }
}

/* Footer Copyright */
.copyright-bar {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 15px 0;
}

.copyright-text {
    text-align: center;
}

/* ======================================================================
   | SettleXpert Blog and Advisory Styles (Desktop & Responsive)
   ====================================================================== */

/* --- Desktop Layout (Default, 1025px+) --- */
.blog-hero {
    background: linear-gradient(135deg, #0E1E14 0%, #071510 100%);
    color: #ffffff;
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(3, 128, 64, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    color: #ffffff;
}

.blog-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.toolbar-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 25px 0;
    position: relative;
}

.toolbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 10px 18px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

.pill:hover {
    border-color: #038040;
    color: #038040;
    background: rgba(0, 168, 107, 0.05);
}

.pill.active {
    background: #038040;
    color: #ffffff;
    border-color: #038040;
    box-shadow: 0 4px 12px rgba(3, 128, 64, 0.25);
}

.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 320px;
    flex-shrink: 0;
}

.search-icon-symbol {
    position: absolute;
    left: 14px;
    color: #64748b;
    pointer-events: none;
    font-size: 20px;
}

.search-input {
    width: 100%;
    height: 46px;
    padding: 10px 16px 10px 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0E1E14;
    outline: none;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #038040;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(3, 128, 64, 0.1);
}

.main-view {
    padding: 60px 0;
    background: #f8fafc;
}

.grid-container,
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(10, 38, 71, 0.08);
    border-color: #038040;
}

.card-image-box {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image-box img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #038040;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta-line {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 12px;
    align-items: center;
}

.card-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta-line .material-symbols-outlined {
    font-size: 1rem;
    color: #038040;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0E1E14;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.card-excerpt {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #038040;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: underline;
    text-decoration-color: rgba(3, 128, 64, 0.3);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 44px;
    /* Touch target size */
}

.card-btn:hover {
    color: #026d35;
    text-decoration-color: #026d35;
    transform: translateX(3px);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.page-btn:hover:not(:disabled) {
    border-color: #038040;
    color: #038040;
    background: rgba(0, 168, 107, 0.05);
}

.page-btn.active {
    background: #038040;
    color: #ffffff;
    border-color: #038040;
    box-shadow: 0 4px 10px rgba(3, 128, 64, 0.2);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.no-results .material-symbols-outlined {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.no-results h3 {
    font-size: 1.4rem;
    color: #0E1E14;
    margin-bottom: 8px;
}

/* --- Blog Detail Page (Desktop, 1025px+) --- */
.back-btn-wrapper {
    margin-bottom: 25px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
    min-height: 44px;
}

.btn-back:hover {
    color: #038040;
}

.btn-back .material-symbols-outlined {
    font-size: 1.1rem;
}

.detail-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    gap: 20px;
}

.article-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
}

.article-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: #038040;
}

.article-breadcrumb span {
    color: #0E1E14;
    font-weight: 600;
}

.article-prevnext {
    display: flex;
    gap: 10px;
}

.article-prevnext button {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.article-prevnext button:hover {
    border-color: #038040;
    color: #038040;
}

.detail-hero-banner {
    position: relative;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.detail-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(14, 30, 20, 0.95) 0%, rgba(14, 30, 20, 0.4) 60%, transparent 100%);
    color: #ffffff;
    z-index: 2;
}

.detail-badge {
    background: #038040;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
    color: #ffffff;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-meta-item .material-symbols-outlined {
    font-size: 1.1rem;
    color: #038040;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.detail-body-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.detail-body-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #334155;
}

.detail-body-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0E1E14;
    margin: 2.2rem 0 1.2rem;
}

.detail-body-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0E1E14;
    margin: 1.8rem 0 1rem;
}

.article-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 35px;
}

.article-toc h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0E1E14;
    border-bottom: 2px solid #038040;
    padding-bottom: 6px;
    display: inline-block;
}

.article-toc ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 10px;
}

.article-toc a {
    font-size: 0.95rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.article-toc a:hover {
    color: #038040;
    padding-left: 4px;
}

.detail-faq-section {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 35px;
}

.detail-faq-section h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #0E1E14;
}

.detail-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    transition: border-color 0.3s ease;
}

.detail-faq-item:hover {
    border-color: #038040;
}

.detail-faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #0E1E14;
    transition: all 0.2s ease;
    min-height: 44px;
}

.detail-faq-question:hover {
    color: #038040;
}

.detail-faq-icon {
    font-size: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.detail-faq-answer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.detail-faq-answer-content {
    padding: 18px 20px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

/* Redesigned Premium Sidebar styling */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Equal Card Spacing */
    width: 100%;
    max-width: 340px;
    height: fit-content;
}

@media (min-width: 1025px) {
    .detail-sidebar {
        position: sticky;
        top: 100px;
        /* offset below sticky header */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .detail-sidebar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
        width: 100% !important;
        gap: 20px !important;
    }
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    /* Border Radius 20px */
    padding: 24px;
    /* Equal Padding */
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.05);
    /* Premium Banking UI soft shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.sidebar-card:hover {
    transform: translateY(-4px);
    /* Smooth Hover Animation */
    box-shadow: 0 12px 30px rgba(10, 38, 71, 0.08);
    border-color: #038040;
}

.sidebar-card.consult-card {
    background: linear-gradient(135deg, #0e1e14 0%, #06120b 100%);
    color: #ffffff;
    border: 1px solid rgba(3, 128, 64, 0.25);
}

.sidebar-card.consult-card:hover {
    border-color: #038040;
    box-shadow: 0 12px 30px rgba(3, 128, 64, 0.2);
}

.sidebar-card.consult-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.3;
}

.sidebar-card.consult-card p {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 0;
}

.sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 44px;
    background: #ffffff;
    color: #0e1e14;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.sidebar-btn:hover {
    background: #038040;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(3, 128, 64, 0.4);
}

.sidebar-card.badge-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.sidebar-card.badge-card span {
    font-size: 1.8rem;
    color: #038040;
    flex-shrink: 0;
    background: #f0fdf4;
    padding: 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcfce7;
}

.sidebar-card.badge-card div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sidebar-card.badge-card strong {
    display: block;
    font-size: 0.98rem;
    color: #0e1e14;
    font-weight: 700;
    line-height: 1.3;
}

.sidebar-card.badge-card p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ======================================================================
   | Mobile & Tablet Responsiveness (Fixes Only)
   ====================================================================== */

/* --- Tablet Devices (768px to 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {

    .grid-container,
    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }

    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .detail-body-content {
        padding: 30px;
    }

    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .detail-title {
        font-size: 2.2rem;
    }
}

/* --- Mobile Devices (320px to 767px) --- */
@media (max-width: 767px) {

    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 1. Remove the desktop sidebar layout on mobile */
    .detail-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* 2 & 3. Categories horizontal scrollable chips */
    .toolbar-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .category-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 5px 0 !important;
        scrollbar-width: none !important;
        /* Hide scrollbar for Firefox */
    }

    .category-pills::-webkit-scrollbar {
        display: none !important;
        /* Hide scrollbar for Chrome/Safari */
    }

    /* 4. Category Chips Styling */
    .pill {
        height: 38px !important;
        padding: 10px 18px !important;
        border-radius: 999px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: fit-content !important;
    }

    /* 5. Sticky Search Box */
    .toolbar-section {
        position: sticky !important;
        top: 70px !important;
        /* Stick right under the 70px sticky main header */
        z-index: 100 !important;
        background: #ffffff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        padding: 15px 0 !important;
    }

    .search-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 50px !important;
    }

    .search-input {
        height: 50px !important;
        font-size: 1rem !important;
        background: #ffffff !important;
    }

    /* 6. H1 Adjustments */
    .blog-hero h1,
    .detail-title {
        font-size: 32px !important;
        font-weight: 800 !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }

    /* 7. Subtitle Adjustments */
    .blog-hero p {
        font-size: 16px !important;
        text-align: center !important;
        max-width: 100% !important;
        line-height: 1.6 !important;
    }

    /* 8. Featured Blog Card style support */
    .blog-card.featured {
        width: 100% !important;
    }

    .blog-card.featured .card-image-box {
        aspect-ratio: 16 / 9 !important;
        border-radius: 12px !important;
    }

    /* 9. Blog Cards: 1 Card Per Row, Equal Width, Equal Height, Proper Spacing */
    .grid-container,
    .related-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .blog-card {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    /* 10. Images Aspect Ratio 16:9, object-fit: cover, Rounded Corners */
    .card-image-box {
        aspect-ratio: 16 / 9 !important;
        width: 100% !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .card-image-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 11. Typography: Body 16px, Line Height 1.8, Paragraph Width Optimized */
    .detail-body-content {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .detail-body-content p {
        font-size: 16px !important;
        line-height: 1.8 !important;
        max-width: 65ch !important;
    }

    /* 12. Buttons Touch Friendly (Min 44x44px) */
    .btn,
    .btn-hero,
    .page-btn,
    .article-prevnext button,
    .btn-back,
    .card-btn {
        min-height: 44px !important;
        min-width: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 13. Footer: Stack Vertically, Center Align, Equal Spacing */
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .footer-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-column h3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .social-links {
        justify-content: center !important;
    }

    /* 14. Remove Horizontal Scroll, Overflow, Broken Alignment, Text Overflow */
    .toolbar-section,
    .main-view,
    .detail-grid,
    footer {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .detail-hero-banner {
        height: 250px !important;
        border-radius: 12px !important;
        margin-bottom: 24px !important;
    }

    .detail-hero-overlay {
        padding: 20px !important;
    }

    .detail-title {
        font-size: 24px !important;
    }

    .detail-meta {
        gap: 10px !important;
        font-size: 0.8rem !important;
    }

    /* 15. Fix Card Alignment, Image Alignment, Button Alignment, Margins, Padding */
    .container {
        padding: 0 16px !important;
    }

    .blog-hero {
        padding: 40px 0 !important;
    }

    .main-view {
        padding: 30px 0 !important;
    }
}

/* Premium Related Articles Section Redesign */
.premium-related-section {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(10, 38, 71, 0.03);
}

.related-header-wrap {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.related-section-title-premium {
    font-size: 2.25rem;
    color: #0E1E14;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.related-section-subtitle-premium {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.premium-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Desktop: 3 cards per row */
    gap: 30px;
    width: 100%;
}

.premium-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    /* Rounded corners (20px) */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Equal height cards */
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.04);
    /* Soft shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth hover animation */
}

.premium-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
    border-color: #038040;
}

.premium-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    /* Large featured image (16:9) */
    width: 100%;
    overflow: hidden;
    background: #f8fafc;
}

.premium-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-article-card:hover .premium-card-img-wrap img {
    transform: scale(1.06);
}

.premium-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #038040;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(3, 128, 64, 0.2);
    z-index: 2;
}

.premium-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.premium-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 12px;
}

.premium-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-meta-item .material-symbols-outlined {
    font-size: 1.1rem;
    color: #038040;
}

.premium-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0E1E14;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Blog title (2 lines max) */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.36em;
    /* Ensure exact height for alignment */
}

.premium-card-excerpt {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.premium-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: auto;
}

.premium-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #038040;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.premium-read-btn span {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.premium-article-card:hover .premium-read-btn {
    color: #026d35;
}

.premium-article-card:hover .premium-read-btn span {
    transform: translateX(4px);
}

/* Tablet Responsiveness (2 cards per row) */
@media (min-width: 768px) and (max-width: 1024px) {
    .premium-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .premium-related-section {
        padding: 40px 24px !important;
    }
}

/* Mobile Responsiveness (1 card per row) */
@media (max-width: 767px) {
    .premium-related-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .premium-related-section {
        padding: 30px 16px !important;
    }

    .related-section-title-premium {
        font-size: 1.75rem !important;
    }
}

/* Logo Aspect Ratio and Proportional Dimension Fixes */
.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 150px;
    height: 60px;
    display: block;
    object-fit: contain;
}

.footer-logo img {
    width: 150px;
    height: 60px;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        width: 120px !important;
        height: 48px !important;
    }
}

/* Accessibility: Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #038040;
    color: white;
    padding: 10px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 8px;

    .premium-article-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
        border-color: #038040;
    }

    .premium-card-img-wrap {
        position: relative;
        aspect-ratio: 16 / 9;
        /* Large featured image (16:9) */
        width: 100%;
        overflow: hidden;
        background: #f8fafc;
    }

    .premium-card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .premium-article-card:hover .premium-card-img-wrap img {
        transform: scale(1.06);
    }

    .premium-category-badge {
        position: absolute;
        top: 16px;
        left: 16px;
        background: #038040;
        color: #ffffff;
        padding: 6px 14px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 10px rgba(3, 128, 64, 0.2);
        z-index: 2;
    }

    .premium-card-body {
        padding: 24px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .premium-card-meta {
        display: flex;
        gap: 16px;
        font-size: 0.82rem;
        color: #64748b;
        margin-bottom: 12px;
    }

    .premium-meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .premium-meta-item .material-symbols-outlined {
        font-size: 1.1rem;
        color: #038040;
    }

    .premium-card-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: #0E1E14;
        line-height: 1.4;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* Blog title (2 lines max) */
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 3.36em;
        /* Ensure exact height for alignment */
    }

    .premium-card-excerpt {
        font-size: 0.92rem;
        color: #475569;
        line-height: 1.6;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
    }

    .premium-card-footer {
        border-top: 1px solid #f1f5f9;
        padding-top: 18px;
        margin-top: auto;
    }

    .premium-read-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #038040;
        font-weight: 700;
        font-size: 0.92rem;
        text-decoration: none;
        transition: gap 0.3s ease;
    }

    .premium-read-btn span {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .premium-article-card:hover .premium-read-btn {
        color: #026d35;
    }

    .premium-article-card:hover .premium-read-btn span {
        transform: translateX(4px);
    }

    /* Tablet Responsiveness (2 cards per row) */
    @media (min-width: 768px) and (max-width: 1024px) {
        .premium-related-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 24px !important;
        }

        .premium-related-section {
            padding: 40px 24px !important;
        }
    }

    /* Mobile Responsiveness (1 card per row) */
    @media (max-width: 767px) {
        .premium-related-grid {
            grid-template-columns: 1fr !important;
            gap: 24px !important;
        }

        .premium-related-section {
            padding: 30px 16px !important;
        }

        .related-section-title-premium {
            font-size: 1.75rem !important;
        }
    }

    /* Logo Aspect Ratio and Proportional Dimension Fixes */
    .logo {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }

    .footer-logo {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }

    .logo img {
        width: 150px;
        height: 60px;
        display: block;
        object-fit: contain;
    }

    .footer-logo img {
        width: 150px;
        height: 60px;
        display: block;
        object-fit: contain;
    }

    @media (max-width: 768px) {
        .logo img {
            width: 120px !important;
            height: 48px !important;
        }
    }

    /* Accessibility: Skip to Content Link */
    .skip-to-content {
        position: absolute;
        top: -100px;
        left: 20px;
        background: #038040;
        color: white;
        padding: 10px 20px;
        z-index: 10000;
        border-radius: 0 0 8px 8px;
        font-weight: 600;
        text-decoration: none;
        transition: top 0.2s ease;
    }

    .skip-to-content:focus {
        top: 0;
    }

    /* =====================================================
   Mobile Performance Optimizations
   ===================================================== */

    /* Reduce paint complexity on mobile: hero now uses img tag (no CSS bg to override) */
    @media (max-width: 768px) {
        .hero-bg-img {
            object-position: 70% center;
            /* Keep subject in frame on narrow screens */
        }

        /* Reduce animation complexity on mobile */
        .testimonial-item,
        .service-card,
        .process-step,
        .stats-card {
            transition: none !important;
            animation: none !important;
        }

        /* Avoid expensive box-shadows on mobile */
        header {
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            background: rgba(255, 255, 255, 0.98) !important;
        }

        .mobile-nav-overlay {
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            background: rgba(255, 255, 255, 0.99) !important;
        }
    }

    /* Reduce backdrop-filter cost on mobile nav drawer */
    @media (max-width: 480px) {
        .mobile-nav-backdrop {
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
    }