/* ==========================================================================
   Loan Resolution India Stylesheet
   ========================================================================== */

/* --- Design Tokens --- */
:root {
    /* Color Palette (White & Corporate Blue) */
    --color-bg-dark: #f8fafc; /* Crisp off-white background */
    --color-bg-card: rgba(255, 255, 255, 0.85); /* Semi-transparent white card */
    --color-bg-card-hover: rgba(255, 255, 255, 0.98);
    --color-primary: #1e4ed8; /* Strong Corporate Blue */
    --color-primary-light: #3b82f6; /* Modern Blue */
    --color-primary-dark: #1e3a8a; /* Deep Navy Blue */
    --accent-gold: #1d4ed8; /* Replaced Gold with Blue accents */
    --accent-gold-light: #60a5fa;
    --accent-teal: #3b82f6;
    
    /* Text Colors */
    --color-text-white: #0f172a; /* Deep slate-black for primary headers */
    --color-text-light: #334155; /* Slate-gray for body text */
    --color-text-muted: #64748b; /* Cool gray for descriptions/subtitles */
    --color-text-dark: #0f172a;
    --color-white: #ffffff;
    
    /* System Colors */
    --color-red: #ef4444;
    --color-red-bg: rgba(239, 68, 68, 0.08);
    --color-green: #10b981;
    --color-green-bg: rgba(16, 185, 129, 0.08);
    
    /* Borders & Glassmorphism */
    --border-glass: rgba(15, 23, 42, 0.08); /* Clean dark-tint glass border */
    --border-glass-hover: rgba(15, 23, 42, 0.15);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
    
    /* Fonts */
    --font-heading: 'Geist', sans-serif;
    --font-body: 'Geist', sans-serif;
    
    /* Layout & Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 4px;

    /* Theme Base Defaults */
    --color-header-bg: rgba(248, 250, 252, 0.85); /* Off-white glass header */
    --color-footer-bg: #f1f5f9; /* Slate footer */
    --color-input-bg: rgba(255, 255, 255, 0.95);
    --color-subgrid-bg: rgba(15, 23, 42, 0.03);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* --- Layout & Typography --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

p {
    color: var(--color-text-muted);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Section Utilities --- */
.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* --- Flexbox & Grid helpers & Utilities --- */
.flex-row { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.wrap { flex-wrap: wrap; }
.gap-1 { gap: 16px; }
.gap-2 { gap: 32px; }
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-muted { color: #94a3b8 !important; }

/* --- Reveal on Scroll Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-white);
    border-color: var(--border-glass);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Premium Cards & Glassmorphism --- */
.premium-card {
    border-radius: var(--radius-lg);
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* --- Header / Navigation Bar --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--border-glass);
    padding: 12px 0;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.site-header.scrolled .header-container {
    padding: 8px 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 35px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
    animation: floatIcon 5s ease-in-out infinite;
}

.site-header.scrolled .logo-img {
    height: 32px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.main-nav a:hover {
    color: var(--color-text-white);
}

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

/* Call Now Phone Button */
.btn-outline-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-outline-phone:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
    transform: translateY(-1px);
}

.phone-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.phone-text-box {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
}

.phone-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e3a8a;
}

.phone-sub {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e3a8a;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background-color: #00b050;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #009040;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 176, 80, 0.25);
}

/* Get Started Button */
.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1d4ed8, #0099ff);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
}

.btn-get-started:hover {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-get-started svg {
    transition: transform 0.2s ease;
}

.btn-get-started:hover svg {
    transform: translateX(3px);
}

/* Theme Toggle Button Styling */

/* Mobile Nav Toggles */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    transition: var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-dark);
    backdrop-filter: blur(20px);
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mobile-nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 147px;
    padding-bottom: 120px;
    overflow: hidden;
    background-color: #f3f6fa;
}

.hero-bg-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, #f3f6fa 300px, rgba(243, 246, 250, 0.92) 440px, rgba(243, 246, 250, 0.4) 640px, rgba(243, 246, 250, 0) 800px),
        linear-gradient(180deg, rgba(248, 250, 252, 0) 70%, var(--color-bg-dark) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-bg-slide:first-child {
    background-position: right -260px center;
}

.hero-bg-slide:nth-child(2) {
    background-position: right -150px center;
}

/* Bank building slide – show full façade centred */
.hero-bg-slide:nth-child(3) {
    background-position: center center;
    background-size: cover;
    filter: brightness(1.05) saturate(1.1);
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 5;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.blob-1 {
    top: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background-color: var(--color-primary-light);
    opacity: 0.08;
    animation: floatBlob1 22s infinite ease-in-out;
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background-color: #818cf8;
    opacity: 0.06;
    animation: floatBlob2 18s infinite ease-in-out;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 580px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(37, 99, 235, 0.05);
    border: 1.5px solid rgba(37, 99, 235, 0.12);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-title-line {
    width: 40px;
    height: 3.5px;
    background: #2563eb;
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}


/* Hero Consultation Button - Scaled */
.btn-free-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-free-consult:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.btn-free-consult svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-free-consult:hover svg:last-of-type {
    transform: translateX(4px);
}

/* Hero Talk to Expert Button - Scaled */
.btn-talk-expert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 11px 22px;
    background: rgba(239, 246, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.02);
}

.btn-talk-expert:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background-color: rgba(239, 246, 255, 0.95);
    color: #1d4ed8;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.06);
}

.btn-talk-expert svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero Widget Card */
.hero-widget {
    padding: 32px;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.widget-badge {
    background-color: var(--color-red-bg);
    color: var(--color-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.widget-header h3 {
    font-size: 1rem;
    color: var(--color-text-white);
    font-weight: 600;
}

.widget-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background-color: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border-glass);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.metric-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.widget-visual-graphic {
    background-color: rgba(15, 23, 42, 0.03);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

/* SVG Chart Theme & Animation Styles */
.chart-grid {
    stroke: rgba(15, 23, 42, 0.08);
    transition: var(--transition-fast);
}

.chart-path-unresolved {
    stroke: rgba(244, 63, 94, 0.6);
    transition: var(--transition-fast);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.chart-path-settled {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.chart-area-fill {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.chart-point {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0);
    opacity: 0;
}

.chart-text-starting {
    fill: rgba(15, 23, 42, 0.7);
    transition: var(--transition-fast);
    opacity: 0;
}

.chart-text-settled {
    fill: var(--accent-teal);
    transition: var(--transition-fast);
    opacity: 0;
}

/* Animations Triggered When Parent Widget is Scrolled Into View (.active class) */
.hero-visual.active .chart-path-unresolved {
    animation: drawLine 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-visual.active .chart-path-settled {
    animation: drawLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-visual.active .chart-area-fill {
    opacity: 0.12;
    transition-delay: 0.6s;
}

.hero-visual.active .chart-point {
    animation: pulsePoint 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-visual.active .point-1 { animation-delay: 0.3s; }
.hero-visual.active .point-2 { animation-delay: 0.8s; }
.hero-visual.active .point-3 { animation-delay: 1.4s; }

.hero-visual.active .chart-text-starting,
.hero-visual.active .chart-text-settled {
    opacity: 1;
    transition-delay: 0.4s;
}

.hero-visual.active .metric-card {
    opacity: 1;
    transform: translateY(0);
}

.hero-visual.active .metric-card:nth-child(1) {
    transition-delay: 0.1s;
}

.hero-visual.active .metric-card:nth-child(2) {
    transition-delay: 0.3s;
}

/* Animation Keyframes */
@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulsePoint {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.widget-footer-info {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.widget-footer-info svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* --- Trust Bar Section --- */
.trust-bar-section {
    padding: 20px 0;
    background-color: #0f172a; /* Deep navy — high contrast strip */
    border-top: none;
    border-bottom: none;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-tagline {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(148, 163, 184, 0.8); /* Muted slate on dark bg */
    white-space: nowrap;
    text-transform: uppercase;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: default;
    transition: opacity 0.2s ease;
}

.trust-badge:hover {
    opacity: 0.75;
}

.trust-badge-icon {
    font-size: 0.65rem;
    color: #60a5fa;
    line-height: 1;
}

.trust-badge-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #e2e8f0;
}

.trust-divider-v {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.12);
}

/* --- About Section --- */
.about-section {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.about-feat-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feat-icon-wrapper {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(30, 64, 175, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feat-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.about-feat-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.about-image-wrapper {
    position: relative;
}

.about-carousel {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-premium);
}

.about-carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.about-carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.about-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-carousel-dots {
    position: absolute;
    bottom: 16px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.about-carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.about-carousel-dots .dot.active {
    background-color: #ffffff;
    width: 20px;
    border-radius: 4px;
}

.about-image-card {
    position: absolute;
    bottom: 24px;
    left: -40px;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
}

.card-large-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

.card-small-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-carousel {
        height: 320px;
    }
    
    .about-image-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 24px;
        max-width: 280px;
    }
}

/* About Section Call-back Form */
.about-form-container {
    margin-top: 40px;
    padding: 32px;
    background-color: #f8fafc; /* Crisp off-white background matching the page default */
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-interactive-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-interactive-form .form-group {
    margin-bottom: 0;
}

.about-interactive-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.about-interactive-form .form-group input {
    width: 100%;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: var(--color-text-white);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.about-interactive-form .form-group input::placeholder {
    color: #94a3b8;
}

.about-interactive-form .form-group input:focus {
    border-color: var(--color-primary-light);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.about-submit-btn {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #1d4ed8, #0099ff);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
}

.about-submit-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

/* Success state inside about section */
.about-success-state {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    margin-top: 16px;
    animation: fadeIn 0.4s ease forwards;
}

.about-success-state .success-icon-wrapper.small {
    width: 28px;
    height: 28px;
    background-color: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}

.about-success-state p {
    font-size: 0.9rem;
    color: #065f46;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 576px) {
    .about-form-row {
        grid-template-columns: 1fr;
    }
    
    .about-submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Services / Solutions Section --- */
.services-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    background-image: url('image/service-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: panBackground 30s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@keyframes panBackground {
    0% {
        transform: scale(1.02) translate(0, 0);
    }
    50% {
        transform: scale(1.07) translate(1.5%, -1.5%);
    }
    100% {
        transform: scale(1.02) translate(0, 0);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.card-hover-bg {
    position: absolute;
    background-color: var(--color-white);
    border: 1.5px solid rgba(30, 64, 175, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    opacity: 0;
    pointer-events: none;
    transition: top 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), 
                left 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), 
                width 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), 
                height 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.15s ease;
    z-index: 1;
}

.service-card {
    position: relative;
    z-index: 2;
    background-color: #ffffff8f !important;
    background-image: url('image/service-card-asset.png') !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1.5px solid rgba(30, 64, 175, 0.16);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), var(--shadow-card);
}

.service-card:hover {
    transform: translateY(-8px);
    background-size: 108% 108% !important;
    border-color: rgba(30, 64, 175, 0.35) !important;
    box-shadow: 0 20px 40px -12px rgba(30, 64, 175, 0.12), inset 2px 2px 5px rgba(255, 255, 255, 0.3) !important;
}

@media (min-width: 992px) {
    .service-card {
        background-color: transparent;
        border: 1.5px solid transparent;
        transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background-size 0.4s ease;
    }
}

/* --- Icon Micro-Animations (Make them look Alive) --- */
@keyframes floatIcon {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulseGlowBlue {
    0% {
        box-shadow: 0 6px 16px rgba(30, 78, 216, 0.06), inset 0 2px 4px rgba(255, 255, 255, 0.8);
        border-color: rgba(30, 78, 216, 0.12);
    }
    50% {
        box-shadow: 0 10px 24px rgba(30, 78, 216, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.8);
        border-color: rgba(30, 78, 216, 0.22);
    }
    100% {
        box-shadow: 0 6px 16px rgba(30, 78, 216, 0.06), inset 0 2px 4px rgba(255, 255, 255, 0.8);
        border-color: rgba(30, 78, 216, 0.12);
    }
}

@keyframes pulseGlowAccent {
    0% {
        box-shadow: 0 8px 24px rgba(var(--tj-accent-rgb), 0.08);
        border-color: rgba(var(--tj-accent-rgb), 0.15);
    }
    50% {
        box-shadow: 0 14px 32px rgba(var(--tj-accent-rgb), 0.18);
        border-color: rgba(var(--tj-accent-rgb), 0.35);
    }
    100% {
        box-shadow: 0 8px 24px rgba(var(--tj-accent-rgb), 0.08);
        border-color: rgba(var(--tj-accent-rgb), 0.15);
    }
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    border: 2px solid rgba(30, 78, 216, 0.15); /* Match tj-icon blue-tint border */
    box-shadow: 
        0 8px 24px rgba(30, 78, 216, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    animation: floatIcon 4s ease-in-out infinite, pulseGlowBlue 3s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon { animation-delay: 0.6s, 0.3s; }
.service-card:nth-child(3) .service-icon { animation-delay: 1.2s, 0.6s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.8s, 0.9s; }
.service-card:nth-child(5) .service-icon { animation-delay: 2.4s, 1.2s; }
.service-card:nth-child(6) .service-icon { animation-delay: 3s, 1.5s; }

.service-icon::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); /* Match tj-icon gradient */
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 3px 8px rgba(30, 78, 216, 0.15);
}

.service-icon svg {
    position: relative;
    z-index: 2;
    color: #ffffff; /* Match tj-icon white SVG color */
    width: 26px;
    height: 26px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    border-color: rgba(30, 78, 216, 0.3);
    box-shadow: 0 12px 28px rgba(30, 78, 216, 0.15);
}

.service-card:hover .service-icon::after {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    transform: scale(1.04);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(4deg);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.45;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(3px);
}

.service-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}

.service-bullet-list li {
    font-size: 0.85rem;
    color: var(--color-text-light);
    position: relative;
    padding-left: 20px;
}

.service-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-gold);
}



/* --- How It Works Section (Aceternity Timeline Style) --- */
.process-section {
    position: relative;
    background-color: #ffffff;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding-left: 40px;
}

.timeline-track {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(15, 23, 42, 0.05);
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary));
    border-radius: 2px;
    transition: height 0.1s ease;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 60px;
}

.timeline-left {
    position: relative;
    margin-bottom: 16px;
}

.timeline-sticky-header {
    display: flex;
    flex-direction: column;
}

.timeline-step-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-top: 4px;
}

.timeline-dot-wrapper {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 2px solid #ffffff;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 3px #ffffff;
}

.timeline-item.active .timeline-dot {
    background-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15), 0 0 12px rgba(30, 64, 175, 0.4);
}

.timeline-right {
    padding-left: 0;
}

.timeline-content-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 12px;
}

.timeline-content-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.timeline-grid-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.visual-card {
    background-color: var(--color-bg-card);
    border: 1.5px solid rgba(30, 64, 175, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: var(--transition-smooth);
}

.visual-card:hover {
    border-color: rgba(30, 64, 175, 0.2);
    box-shadow: var(--shadow-card);
    background-color: var(--color-bg-card-hover);
}

.visual-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
    display: block;
}

.visual-card-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--color-text-muted);
}

@media (min-width: 768px) {
    .timeline-container {
        padding-left: 0;
    }

    .timeline-track {
        left: 200px;
    }

    .timeline-item {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 80px;
        margin-bottom: 100px;
    }

    .timeline-left {
        text-align: right;
        padding-right: 40px;
        margin-bottom: 0;
    }

    .timeline-sticky-header {
        position: sticky;
        top: 150px;
    }

    .timeline-dot-wrapper {
        right: -52px;
        left: auto;
        top: 8px;
    }

    .timeline-right {
        padding-left: 20px;
    }

    .timeline-grid-visual {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Testimonials Section Redesign --- */
.testimonials-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}
.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-slide {
    flex: 0 0 33.333%;
    padding: 0 16px;
    box-sizing: border-box;
}
@media (max-width: 991px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}
@media (max-width: 767px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
}
.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-premium);
}
.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}
.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 28px;
    font-style: italic;
}
.testimonial-client {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary-light);
}
.testimonial-client-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0;
}
.testimonial-client-info span {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    font-weight: 600;
}
.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.testimonials-btn {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    color: var(--color-text-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.testimonials-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* --- Frequently Asked Questions (FAQ) Section --- */
.faq-section {
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.faq-info-panel {
    position: sticky;
    top: 100px;
}

.faq-support-card {
    padding: 32px;
    margin-top: 40px;
    position: relative;
}

.support-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.faq-support-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-white);
}

.faq-support-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.support-phone {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.phone-link {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.faq-accordion-panel {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
    padding: 24px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    text-align: left;
}

.faq-trigger h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-white);
    transition: var(--transition-fast);
    padding-right: 24px;
    line-height: 1.4;
}

.faq-trigger:hover h3 {
    color: var(--color-primary-light);
}

.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-subgrid-bg);
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-trigger:hover .faq-icon-wrapper {
    color: var(--color-primary-light);
    background-color: rgba(37, 99, 235, 0.08);
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary-light);
}

.faq-item.active .faq-icon-wrapper {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--color-primary-light);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 12px 0 8px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .faq-info-panel {
        position: static;
    }
    
    .faq-support-card {
        margin-top: 24px;
    }
}

/* --- Free Assessment Section & Lead Form --- */
.assessment-section {
    background-color: #0c1222; /* Deep Corporate Navy */
    position: relative;
    overflow: hidden;
}

.assessment-section .section-title {
    color: #ffffff;
}

.assessment-section .section-subtitle {
    color: var(--color-primary-light);
}

.assessment-section .section-desc {
    color: #94a3b8;
}

.assessment-section .sec-item h3 {
    color: #ffffff;
}

.assessment-section .sec-item p {
    color: #94a3b8;
}

.assessment-section .sec-item svg {
    color: var(--color-primary-light);
}

.assessment-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.sec-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sec-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.sec-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.sec-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Form Styles */
.assessment-form-card {
    padding: 40px;
}

.interactive-form {
    position: relative;
    min-height: 380px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 3px solid var(--color-primary-light);
    padding-left: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

/* Contact-consent checkbox. Deliberately NOT .form-group - that makes labels
   block-level and styles inputs full-width, both wrong for a checkbox. The
   label wraps the box so the whole line is a hit target, and flex-start keeps
   the box on the first line when the text wraps. */
.consent-group {
    margin-bottom: 20px;
}

.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-light);
    cursor: pointer;
}

.consent-group input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 0;
    accent-color: var(--color-primary, #2563eb);
    cursor: pointer;
}

.form-group select,
.form-group input {
    width: 100%;
    background-color: var(--color-input-bg);
    border: 1px solid var(--border-glass);
    color: var(--color-text-white);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--color-primary-light);
    background-color: rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.form-actions-row .btn {
    flex: 1;
}

/* Success State Styles */
.form-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #047857);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 
        inset 0 -3px 6px rgba(0, 0, 0, 0.25), 
        inset 0 3px 6px rgba(255, 255, 255, 0.35),
        0 10px 24px rgba(16, 185, 129, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition-smooth);
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 35%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 35px 35px 0 0;
    pointer-events: none;
}

.form-success-state h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success-state p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.success-reference {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* --- Footer --- */
.site-footer {
    background-color: #090d16; /* Deep Dark Corporate Navy */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 80px;
    color: #cbd5e1;
}

.site-footer .logo-text {
    color: #ffffff;
}

.site-footer .logo-accent {
    color: var(--color-primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-glass);
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo .logo-img {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
}

.brand-pitch {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.regulatory-badges {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: var(--transition-fast);
}

.footer-links-column a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.contact-detail {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-bottom {
    padding: 40px 0;
}

.footer-disclaimer {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.footer-disclaimer p {
    font-size: 0.72rem;
    line-height: 1.6;
    text-align: justify;
    color: #64748b;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
}

.footer-copyright-row a:hover {
    color: #ffffff;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-legal-links a:hover {
    color: var(--color-text-white);
}

.link-divider {
    color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .calculator-widget {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .assessment-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .form-card-area {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Navigation */
    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hide-mobile {
        display: none !important;
    }
    
    .trust-bar-section .flex-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trust-logos {
        width: 100%;
        justify-content: space-between;
        margin-top: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-step {
        padding-left: 60px;
    }
    
    .step-marker {
        left: 0px;
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .testimonial-slide {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .testimonial-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .trust-divider {
        display: none;
    }
    
    .results-subgrid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-copyright-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Ambient Floating Animation Keyframes */
@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Custom Overrides for Hero Visual Card reveal */
.hero-visual.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

.hero-visual.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Your Loan Resolution Process Demo Section (Light Corporate Theme)
   ========================================================================== */
.tj-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 80px 0;
    color: var(--color-text-light);
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.tj-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.tj-header {
    text-align: center;
    margin-bottom: 64px;
}

.tj-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 12px;
}

.tj-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-white);
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .tj-heading {
        font-size: 2.5rem;
    }
}

.tj-orange-text {
    color: var(--color-primary);
}

.tj-description {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.tj-flow-row {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    row-gap: 56px;
    column-gap: 4px;
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .tj-flow-row {
        flex-wrap: nowrap;
    }
}

/* ===== Step Layout & Styling ===== */
.tj-step {
  --tj-accent: var(--color-primary-light);
  --tj-accent-rgb: 59, 130, 246;
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.tj-step:hover {
    transform: translateY(-8px);
}

.tj-step--blue {
  --tj-accent: var(--color-primary-light);
  --tj-accent-rgb: 59, 130, 246;
}

.tj-step--orange {
  --tj-accent: var(--color-primary);
  --tj-accent-rgb: 30, 78, 216;
}

.tj-icon {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(var(--tj-accent-rgb), 0.15);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(var(--tj-accent-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatIcon 4.5s ease-in-out infinite, pulseGlowAccent 3.5s ease-in-out infinite;
}

.tj-step:nth-child(1) .tj-icon { animation-delay: 0s, 0s; }
.tj-step:nth-child(3) .tj-icon { animation-delay: 0.8s, 0.4s; }
.tj-step:nth-child(5) .tj-icon { animation-delay: 1.6s, 0.8s; }
.tj-step:nth-child(7) .tj-icon { animation-delay: 2.4s, 1.2s; }

.tj-icon::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: linear-gradient(135deg, var(--tj-accent), var(--color-primary-dark));
  border-radius: 50%;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.2), 0 5px 12px rgba(var(--tj-accent-rgb), 0.2);
}

.tj-icon svg {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  color: #ffffff;
  transition: transform 0.4s ease;
}

.tj-step:hover .tj-icon {
    box-shadow: 0 16px 36px rgba(var(--tj-accent-rgb), 0.22);
    border-color: rgba(var(--tj-accent-rgb), 0.3);
}

.tj-step:hover .tj-icon::after {
    transform: scale(1.04);
}

.tj-step:hover .tj-icon svg {
    transform: scale(1.1) rotate(8deg);
}

.tj-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: .5rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tj-step:hover .tj-title {
    color: var(--tj-accent);
}

.tj-desc {
  font-family: var(--font-body);
  font-size: .82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.tj-connector {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex: 0 1 40px;
  min-width: 25px;
  margin-top: 52px;
  color: var(--tj-connector-accent, var(--color-primary-light));
  transition: transform 0.3s ease;
}

.tj-step:hover + .tj-connector {
    transform: scaleX(1.1);
}

.tj-connector--blue {
  --tj-connector-accent: var(--color-primary-light);
}

.tj-connector--orange {
  --tj-connector-accent: var(--color-primary);
}

.tj-connector-dot,
.tj-connector-line,
.tj-connector-chevron {
  display: none;
}

.tj-connector::after {
  content: "➔";
  font-size: 1.35rem;
  line-height: 1;
  color: currentColor;
}

@media (max-width: 1023px) {
  .tj-connector {
    display: none;
  }
 
  .tj-step {
    position: relative;
    width: 280px;
  }
 
  .tj-step:not(:last-child)::after {
    content: "➔";
    position: absolute;
    top: 52px;
    right: -24px;
    transform: translateY(-50%);
    font-size: 1.1rem;
    line-height: 1;
    color: rgba(var(--tj-accent-rgb), .35);
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .tj-flow-row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .tj-step {
    width: 100%;
    max-width: 280px;
  }
  
  .tj-step:not(:last-child)::after {
    content: "▼";
    position: absolute;
    bottom: -28px;
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: rgba(var(--tj-accent-rgb), .35);
  }
}

/* ==========================================================================
   Staggered Load Reveal Animation
   ========================================================================== */
.tj-section .tj-step {
    opacity: 0;
    transform: translateY(-20px); /* Starts slightly above its final position for drop-down motion */
    transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.65s cubic-bezier(0.25, 1, 0.5, 1),
                background 0.35s ease,
                color 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.tj-section .tj-connector {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.5s ease,
                transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.3s ease;
}

/* Make elements visible when step flow container becomes active */
.tj-flow-row.active .tj-step,
.tj-flow-row.active .tj-connector {
    opacity: 1;
}

.tj-flow-row.active .tj-step {
    transform: translateY(0);
}

.tj-flow-row.active .tj-connector {
    transform: scaleX(1);
}

/* Stagger transition delay multipliers (250ms steps, connectors following naturally alongside) */
.tj-flow-row.active .tj-step:nth-child(1) { transition-delay: 0.1s; }
.tj-flow-row.active .tj-connector:nth-child(2) { transition-delay: 0.3s; }
.tj-flow-row.active .tj-step:nth-child(3) { transition-delay: 0.35s; }
.tj-flow-row.active .tj-connector:nth-child(4) { transition-delay: 0.55s; }
.tj-flow-row.active .tj-step:nth-child(5) { transition-delay: 0.6s; }
.tj-flow-row.active .tj-connector:nth-child(6) { transition-delay: 0.8s; }
.tj-flow-row.active .tj-step:nth-child(7) { transition-delay: 0.85s; }

/* Responsive adjustments for vertical timeline load on mobile */
@media (max-width: 767px) {
    .tj-section .tj-connector {
        transform-origin: top;
        transform: scaleY(0);
    }
    .tj-flow-row.active .tj-connector {
        transform: scaleY(1);
    }
}

/* Base Scroll Reveal for the step container */
.tj-flow-row.reveal-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tj-flow-row.reveal-on-scroll.active {
    opacity: 1;
}

/* ==========================================================================
   Membership Page Styles
   ========================================================================== */
/* ==========================================================================
   10. Aegis Membership Page Styles
   ========================================================================== */
.membership-page-content {
    padding-top: 90px;
}

.membership-hero {
    position: relative;
    padding: 100px 0 120px;
    background-image: url('image/onboarding-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.membership-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.membership-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.m-hero-text .hero-badge {
    background-color: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: #2563eb;
    margin-bottom: 24px;
}

.m-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

/* Pricing Card Redesign: Dark Navy High Contrast */
.m-pricing-card-wrapper {
    position: relative;
}

.m-pricing-card {
    padding: 40px;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.m-pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.22);
}

.m-card-badge {
    display: inline-block;
    background-color: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.m-plan-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.m-plan-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 28px;
}

.m-price-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.m-currency {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 4px;
}

.m-price {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.m-period {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-left: 8px;
}

.m-features-short-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.m-features-short-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.m-features-short-list li .chk-icon {
    width: 20px;
    height: 20px;
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.btn-pricing-action {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 16px 28px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.btn-pricing-action:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.m-card-footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    font-size: 0.75rem;
    color: #64748b;
}

/* Detailed Benefits Grid: Light Theme Harmony */
.m-benefits-section {
    background-color: #ffffff;
}

.m-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.m-benefit-card {
    background-color: transparent;
    width: 100%;
    height: 320px;
    perspective: 1000px;
}

.m-benefit-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.m-benefit-card:hover .m-benefit-card-inner {
    transform: rotateY(180deg);
}

.m-benefit-card-front, .m-benefit-card-back {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 32px 24px;
}

.m-benefit-card-front {
    background: #ffffff;
    color: #0f172a;
    border: 3px solid #2563eb;
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.04);
}

.m-benefit-card-back {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    transform: rotateY(180deg);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.3);
}

.m-benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.05);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.m-benefit-card-front h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.m-card-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    max-width: 220px;
}

.m-card-bullet-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.m-card-bullet-list li::before {
    content: "✓";
    color: #2563eb;
    font-weight: 800;
    font-size: 0.9rem;
}

.m-benefit-card-back h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 14px;
}

.m-benefit-card-back p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Activation Roadmap Grid */
.m-roadmap-section {
    background-image: url('image/onboarding-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(15, 23, 42, 0.03);
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.m-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.m-roadmap-card {
    position: relative;
    border-radius: 16px;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #f1f5f9;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m-roadmap-card:hover {
    z-index: 10;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.25);
}

.m-card-inside {
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.m-card-inside p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.m-card-cover {
    top: -1px;
    left: -1px;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    transform-origin: 0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2;
    backface-visibility: hidden;
}

.m-roadmap-card:hover .m-card-cover {
    transform: rotateY(-110deg);
    background-color: #f8fafc;
}

.m-step-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-header);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.m-card-cover h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.m-hover-indicator {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Digital Control Center & Dashboard Mockup */
.m-dashboard-features {
    background-color: #ffffff;
}

.m-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.m-dash-display-mockup {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.mockup-header {
    background-color: #f8fafc;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    gap: 8px;
}

.mockup-header span[class^="dot-"] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-left: 12px;
}

.mockup-body {
    padding: 24px;
    background-color: #ffffff;
}

.mockup-metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.mockup-metric {
    background-color: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-metric .lbl {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-metric .val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulseBlink 2s infinite;
}

@keyframes pulseBlink {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mockup-calls-table {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.table-header-title {
    background-color: #f8fafc;
    padding: 10px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.call-log-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    align-items: center;
    font-size: 0.8rem;
}

.call-log-row:last-child {
    border-bottom: none;
}

.log-bank {
    font-weight: 600;
    color: #0f172a;
}

.log-time {
    color: #64748b;
}

.log-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-blocked {
    background-color: rgba(239, 68, 68, 0.06);
    color: #ef4444;
}

.status-redirected {
    background-color: rgba(245, 158, 11, 0.06);
    color: #f59e0b;
}

.mockup-footer-text {
    font-size: 0.68rem;
    color: #64748b;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* Bullet points descriptions */
.m-dash-bullets {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.m-dash-bullet {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.m-dash-bullet .b-icon {
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 3px;
}

.m-dash-bullet h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.m-dash-bullet p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* Supported Lenders strip */
.m-partners-section {
    background-color: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.03);
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    padding: 40px 0;
}

.m-partners-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.m-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    align-items: center;
}

.partner-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
    transition: var(--transition-fast);
    cursor: default;
}

.partner-item:hover {
    color: #475569;
}

/* Checkout Section Styling: Secure Premium Grid */
.m-checkout-section {
    background-color: #0c1222;
}

.m-checkout-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.m-checkout-info-area .section-title {
    margin-bottom: 24px;
}

.m-checkout-lockbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-checkout-lockbox h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.m-checkout-lockbox p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

.m-checkout-form-card {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.checkout-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 28px;
    border-left: 3px solid #2563eb;
    padding-left: 12px;
    letter-spacing: -0.01em;
}

.m-checkout-form-card .interactive-form .form-group label {
    color: #cbd5e1 !important;
}

/* Consent line white rather than #cbd5e1 - same reasoning as the modal. */
.m-checkout-form-card .interactive-form .consent-group label {
    color: #ffffff !important;
}

.m-checkout-form-card .interactive-form .form-group input,
.m-checkout-form-card .interactive-form .form-group select {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-weight: 500;
}

.m-checkout-form-card .interactive-form .form-group input:focus,
.m-checkout-form-card .interactive-form .form-group select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25) !important;
    background-color: rgba(30, 41, 59, 0.8) !important;
}

.m-checkout-form-card select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 18px !important;
    cursor: pointer;
}

.submit-checkout-btn {
    margin-top: 8px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
}

/* Success panel styling */
.checkout-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 0;
    animation: fadeIn 0.4s ease forwards;
}

.checkout-success-state h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.checkout-success-state p {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 340px;
    margin-bottom: 24px;
}

.success-reference-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    width: 100%;
}

.success-reference-box .success-reference {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.success-reference-box strong {
    color: #ffffff;
}

.checkout-success-state .next-steps-info {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 32px;
}

/* Responsive design adjustments */
@media (max-width: 1024px) {
    .membership-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .m-pricing-card-wrapper {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .m-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .m-checkout-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .m-checkout-card-area {
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }

    .m-dash-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .m-benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .m-roadmap-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.m-dash-bullet .b-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.m-dash-bullet h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.m-dash-bullet p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

/* Bank Partners Grid Section */
.m-partners-section {
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 60px 0;
}

.m-partners-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 36px;
}

.m-partners-carousel {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.m-partners-track {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    width: max-content;
    animation: partnersScroll 32s linear infinite;
}

.m-partners-carousel:hover .m-partners-track {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .m-partners-track {
        animation: none;
    }
}

.partner-item {
    background-color: #ffffff;
    border: 1px solid var(--border-glass);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    cursor: default;
    white-space: nowrap;
    flex-shrink: 0;
}

.partner-item:hover {
    border-color: rgba(30, 64, 175, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    color: var(--color-primary);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .m-roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .m-dash-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 576px) {
    .m-roadmap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Services Page Styles
   ========================================================================== */
.services-page-content {
    padding-top: 100px;
}

.services-hero {
    position: relative;
    padding: 120px 0 140px;
    background-color: #f3f6fa;
    overflow: hidden;
    z-index: 1;
}

.services-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('image/service-hero-bg.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.services-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, #f3f6fa 260px, rgba(243, 246, 250, 0.8) 380px, rgba(243, 246, 250, 0) 580px),
        linear-gradient(180deg, rgba(248, 250, 252, 0) 75%, var(--color-bg-dark) 100%);
    z-index: 0;
    pointer-events: none;
}

.services-hero-container {
    position: relative;
    z-index: 2;
}

.services-hero-content {
    max-width: 680px;
    text-align: left;
}

.s-hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 36px;
}

/* Services Grid & Cards */
.s-grid-section {
    background-color: #ffffff;
}

.s-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-details-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.015);
}

/* Hover elevation & shadow glow */
.service-details-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
}

/* Card Top Header (Icon + Number) */
.s-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 28px;
    z-index: 1;
}

.s-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: rgba(37, 99, 235, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-details-card:hover .s-card-icon {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.3);
}

.s-card-number-wrapper {
    display: flex;
    align-items: center;
}

.s-card-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

.s-card-number-line {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary-light), transparent);
    margin-left: 12px;
}

/* Card Title */
.service-details-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-details-card:hover h3 {
    color: var(--color-primary);
}

/* Card Body Text */
.service-details-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 32px;
    max-width: 80%; /* leave space for the bottom right graphic */
    flex-grow: 1;
    z-index: 1;
}

/* Interactive Learn More Button with Arrow Circle */
.btn-learn-more {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-learn-more .arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-learn-more .arrow-circle svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-details-card:hover .btn-learn-more .arrow-circle {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.service-details-card:hover .btn-learn-more .arrow-circle svg {
    transform: translateX(2px);
}

/* Corner Vector Artwork */
.card-corner-artwork {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 140px;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.card-corner-artwork .artwork-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card-corner-artwork .wave-bg {
    color: rgba(37, 99, 235, 0.06);
    transition: var(--transition-smooth);
}

.service-details-card:hover .card-corner-artwork {
    transform: scale(1.08) translate(2px, 2px);
}

.service-details-card:hover .card-corner-artwork .wave-bg {
    color: rgba(37, 99, 235, 0.12);
}

/* Callout Banner (Services & Process Pages) */
.s-cta-banner, .p-cta-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f3f7fd 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.s-cta-banner::before, .p-cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.s-cta-banner .container, .p-cta-banner .container {
    position: relative;
    z-index: 1;
}

.s-cta-banner h2, .p-cta-banner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.s-cta-banner p, .p-cta-banner p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Custom premium outline button for light background CTA */
.cta-actions .btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: rgba(30, 78, 216, 0.25);
}

.cta-actions .btn-outline:hover {
    background-color: rgba(30, 78, 216, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
}

/* Modal Overlay Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-wrapper {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 600px;
    width: 100%;
    padding: 44px;
    position: relative;
    box-shadow: 0 40px 100px -25px rgba(15, 23, 42, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.8rem;
    font-weight: 300;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

/* Inner Modal Details Styling */
.modal-detail-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.modal-detail-header .m-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-detail-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.modal-detail-body p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 28px;
}

.modal-detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.spec-item h5 {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.spec-item p {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .s-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .s-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-hero-content {
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
    }
    
    .s-hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        justify-content: center;
    }
    
    .s-hero-cta a, .s-hero-cta button {
        width: 100%;
        max-width: 320px;
    }
    
    .modal-wrapper {
        padding: 32px 24px;
    }
    
    .modal-detail-specs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Service Detailed Sections alternating styles */
.s-detail-section {
    border-bottom: 1px solid var(--border-glass);
}

.s-detail-section:nth-of-type(odd) {
    background-color: #ffffff;
}

.s-detail-section:nth-of-type(even) {
    background-color: #f8fafc;
}

#drt, #restructuring, #highcourt {
    position: relative;
    z-index: 1;
}

#drt::before, #restructuring::before, #highcourt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('image/drt_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
}

.s-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: flex-start;
}

.s-info-column .section-title {
    margin-bottom: 18px;
    font-size: 2rem;
    font-weight: 800;
}

.s-info-column .section-subtitle {
    margin-bottom: 8px;
}

.s-info-column p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.s-info-column .s-lead-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-white);
    line-height: 1.5;
}

/* Timeline/Roadmap within the details */
.s-process-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
}

.s-timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.s-timeline-item .timeline-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s-timeline-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 6px;
}

.s-timeline-item p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-light);
    margin: 0;
}

/* Spec Card style */
.s-spec-card {
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 120px; /* Floats down as user scrolls */
}

.s-spec-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 24px;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 12px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.spec-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.88rem;
}

.spec-list li strong {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-list li span {
    color: var(--color-text-light);
    line-height: 1.45;
}

@media (max-width: 1024px) {
    .s-section-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .s-spec-card {
        position: static;
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
}

/* ==========================================================================
   How It Works (Process) Page Styles
   ========================================================================== */
.process-page-content {
    padding-top: 100px;
}

.process-hero {
    position: relative;
    padding: 120px 0 140px;
    background-color: #f3f6fa;
    overflow: hidden;
    z-index: 1;
}

.process-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('image/process-hero-bg.jpg');
    background-size: cover;
    background-position: right -100px top;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.process-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, #f3f6fa 280px, rgba(243, 246, 250, 0.9) 450px, rgba(243, 246, 250, 0) 650px),
        linear-gradient(180deg, rgba(243, 246, 250, 0) 70%, #ffffff 100%);
    z-index: 0;
    pointer-events: none;
}

.process-hero-container {
    position: relative;
    z-index: 2;
}

.process-hero-content {
    max-width: 680px;
    text-align: left;
}

.p-hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 36px;
}

/* Steps section styling */
.p-steps-section {
    background-color: #ffffff;
}

.p-steps-vertical {
    display: flex;
    flex-direction: column;
}

.p-step-row {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
    align-items: center;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
    padding: 70px 0;
}

.p-step-row-reverse {
    grid-template-columns: 0.75fr 1.25fr;
}

.p-step-bg-section {
    background-image: url('image/onboarding-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.p-step-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.p-step-row:first-child {
    padding-top: 0;
}

/* Uniform rows order: Text on left, Metric/Illustration on right */

.p-step-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: rgba(37, 99, 235, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.p-step-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 14px;
}

.p-step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.p-step-timeline-container {
    position: relative;
    padding-left: 0;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-timeline-line {
    display: none;
}

.p-timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-step-row.active .p-timeline-item {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entry animation delay for cards */
.p-step-row.active .p-timeline-item:nth-child(2) { transition-delay: 0.15s; }
.p-step-row.active .p-timeline-item:nth-child(3) { transition-delay: 0.3s; }
.p-step-row.active .p-timeline-item:nth-child(4) { transition-delay: 0.45s; }

.p-timeline-dot {
    display: none;
}

.p-timeline-card {
    position: relative;
    z-index: 2;
    background-color: #ffffff8f !important;
    background-image: url('image/service-card-asset.png') !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1.5px solid rgba(30, 64, 175, 0.16) !important;
    border-radius: var(--radius-lg) !important;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), var(--shadow-card) !important;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-timeline-card::before {
    display: none;
}

.p-timeline-item:hover .p-timeline-card {
    transform: translateY(-8px) translateX(6px) !important;
    background-size: 108% 108% !important;
    border-color: rgba(30, 64, 175, 0.35) !important;
    box-shadow: 0 20px 40px -12px rgba(30, 64, 175, 0.12), inset 2px 2px 5px rgba(255, 255, 255, 0.3) !important;
    background-color: #ffffffc0 !important;
}

.p-card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(30, 78, 216, 0.15);
    box-shadow: 0 8px 24px rgba(30, 78, 216, 0.06), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    animation: floatIcon 4s ease-in-out infinite;
    flex-shrink: 0;
}

.p-card-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 3px 8px rgba(30, 78, 216, 0.15);
}

.p-card-icon-wrapper svg {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 22px;
    height: 22px;
    transition: var(--transition-smooth);
}

/* Stagger animations for timeline items icon wrapper */
.p-timeline-item:nth-child(2) .p-card-icon-wrapper { animation-delay: 0.6s; }
.p-timeline-item:nth-child(3) .p-card-icon-wrapper { animation-delay: 1.2s; }
.p-timeline-item:nth-child(4) .p-card-icon-wrapper { animation-delay: 1.8s; }

/* Hover states matching home page */
.p-timeline-item:hover .p-card-icon-wrapper {
    border-color: rgba(30, 78, 216, 0.3) !important;
    box-shadow: 0 12px 28px rgba(30, 78, 216, 0.15) !important;
    background: #ffffff !important;
}

.p-timeline-item:hover .p-card-icon-wrapper::after {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark)) !important;
    transform: scale(1.04);
}

.p-timeline-item:hover .p-card-icon-wrapper svg {
    transform: scale(1.1) rotate(4deg);
    color: #ffffff !important;
}

.p-card-text {
    font-size: 0.96rem;
    color: #475569;
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.p-timeline-item:hover .p-card-text {
    color: #0f172a;
}

.p-card-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-header);
    letter-spacing: -0.02em;
    user-select: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(30, 64, 175, 0.03) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.p-timeline-item:hover .p-card-number {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    transform: scale(1.1) translateX(-4px);
}

.p-step-image-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.p-step-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.15);
}

.p-step-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Metric panel layout */
.p-metric-box {
    padding: 36px;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-step-left-content-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-top: 28px;
    width: 100%;
}

.p-step-left-content-row-reverse {
    flex-direction: row-reverse;
}

.p-step-left-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.05);
    width: 280px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.p-step-left-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.p-step-left-image-wrapper:hover .p-step-left-image {
    transform: scale(1.03);
}

.p-step-left-content-row .p-step-timeline-container {
    margin-top: 0 !important;
    flex-grow: 1;
}

.m-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.02);
}

.p-metric-box .m-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.p-metric-box .m-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
}

.p-metric-box .m-status-bar {
    width: 100%;
    height: 4px;
    background-color: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 24px;
}

.p-metric-box .m-status-progress {
    height: 100%;
    background-color: #2563eb;
    border-radius: 2px;
}

.m-status-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(37, 99, 235, 0.06);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 30px;
}

/* Dashboard Widgets inside Timeline Metrics */
.p-dashboard-widget {
    width: 100%;
    margin-top: 24px;
    background-color: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.02);
    text-align: left;
    transition: var(--transition-smooth);
}

.p-metric-box:hover .p-dashboard-widget {
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 24px -5px rgba(37, 99, 235, 0.08);
}

.widget-header {
    background-color: #f1f5f9;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    gap: 6px;
}

.widget-dot {
    width: 6px;
    height: 6px;
    background-color: #3b82f6;
    border-radius: 50%;
}

.widget-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-status {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    text-transform: uppercase;
}

.status-audit {
    background-color: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.status-negotiation {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.widget-body {
    padding: 16px;
}

.audit-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.audit-progress-row:last-of-type {
    margin-bottom: 0;
}

.audit-lbl {
    font-weight: 500;
    color: #475569;
}

.audit-val {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-spinner {
    width: 8px;
    height: 8px;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    border-radius: 50%;
    display: inline-block;
    animation: widgetSpin 1s linear infinite;
}

@keyframes widgetSpin {
    to { transform: rotate(360deg); }
}

.audit-bar-chart {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(15, 23, 42, 0.06);
}

.audit-bar-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.audit-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.audit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 3px;
}

/* Compare slider rows */
.compare-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.compare-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.compare-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.compare-val {
    font-size: 0.95rem;
    font-weight: 800;
}

.compare-slider-box {
    margin-bottom: 16px;
}

.compare-track {
    width: 100%;
    height: 6px;
    background-color: rgba(239, 68, 68, 0.15);
    border-radius: 3px;
    position: relative;
}

.compare-fill {
    height: 100%;
    background-color: rgba(16, 185, 129, 0.7);
    border-radius: 3px;
}

.compare-handle {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 2.5px solid #10b981;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.compare-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    margin-top: 6px;
}

.negotiation-milestone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(15, 23, 42, 0.06);
}

.milestone-badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 6px;
    background-color: rgba(245, 158, 11, 0.08);
    color: #d97706;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
}

.milestone-text {
    font-size: 0.72rem;
    color: #475569;
    font-weight: 500;
}

/* Borrower rights styling */
.p-rights-section {
    background-color: #0c1222; /* Corporate dark navy */
}

.p-rights-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.p-rights-text .section-title {
    margin-bottom: 20px;
}

.p-rights-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.right-item {
    border-left: 3px solid rgba(255, 255, 255, 0.08);
    padding-left: 20px;
}

.right-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.right-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0;
}

.p-rights-illustration {
    position: relative;
}

.p-illustration-card {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 440px;
    margin: 0 auto;
}

.p-illustration-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    border-left: 3px solid var(--color-primary-light);
    padding-left: 10px;
}

.p-illustration-card .ill-highlight {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    font-style: italic;
    margin-bottom: 24px;
}

.p-illustration-card .ill-badge-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.p-illustration-card .i-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary-light);
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
}

.p-illustration-card .ill-info {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0;
}

/* Process Page CTA banner overrides */
.btn-white {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-white:hover {
    background-color: #ffffff !important;
    color: #0c1222 !important;
}

/* Responsive Process */
@media (max-width: 1024px) {
    .p-step-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0;
    }
    
    .p-step-row-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .p-metric-box {
        margin: 0 auto;
        max-width: 380px;
    }
    
    .p-rights-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .p-illustration-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-bg-slide {
        background-position: center center !important;
    }
    
    .hero-bg-carousel::after {
        background: 
            linear-gradient(to bottom, rgba(243, 246, 250, 0.92) 0%, rgba(243, 246, 250, 0.96) 100%),
            linear-gradient(180deg, rgba(243, 246, 250, 0) 70%, var(--color-bg-dark) 100%) !important;
    }

    .process-hero::before {
        background-position: center top;
    }
    
    .process-hero::after {
        background: 
            linear-gradient(to bottom, rgba(243, 246, 250, 0.9) 0%, rgba(243, 246, 250, 0.95) 100%),
            linear-gradient(180deg, rgba(243, 246, 250, 0) 70%, #ffffff 100%);
    }

    .process-hero-content {
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
    }

    .process-hero-container .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .p-hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        justify-content: center;
    }
    
    .p-hero-cta a {
        width: 100%;
        max-width: 320px;
    }

    .p-step-left-content-row {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    
    .p-step-left-image-wrapper {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   14. Consultation Pop-up Modal Styles
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75); /* slate-900 with opacity */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    background-color: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    z-index: 3001;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.open .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 28px;
    line-height: 1.5;
}

.modal-form .form-group label {
    color: #cbd5e1;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* The consent line sits on the same dark modal as the labels above, but it is
   deliberately NOT .form-group, so it never inherited their light colour - it
   kept the global #334155 and rendered dark-on-dark, effectively invisible.
   White, because this is the text that records permission to call and WhatsApp
   someone: it has to be legible to be worth anything. */
.modal-form .consent-group label {
    color: #ffffff;
}

.modal-form .form-group input,
.modal-form .form-group textarea {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: all 0.2s ease;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    background-color: rgba(30, 41, 59, 0.8);
}

.modal-submit-btn {
    margin-top: 12px;
}

.modal-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.4s ease forwards;
}

.modal-success-state .success-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-success-state h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-success-state p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Centered Assessment CTA Section (premium redesign) --- */
.assessment-section.centered-cta {
    background: linear-gradient(135deg, #060d1f 0%, #0c1630 40%, #0a1628 70%, #060d1f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}



.assessment-section.centered-cta .container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Top accent line */
.assessment-section.centered-cta .section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.assessment-section.centered-cta .section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #f0f6ff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.assessment-section.centered-cta .section-desc {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA button wrapper */
.assessment-section.centered-cta .assessment-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.assessment-section.centered-cta .btn-free-consult-trigger,
.assessment-section.centered-cta .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.assessment-section.centered-cta .btn-free-consult-trigger:hover,
.assessment-section.centered-cta .btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(29, 78, 216, 0.55);
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
}

/* Security feature cards */
.assessment-section.centered-cta .security-features-horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.assessment-section.centered-cta .sec-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    flex: 1;
    min-width: 240px;
    max-width: 340px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.assessment-section.centered-cta .sec-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.assessment-section.centered-cta .sec-item svg {
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 2px;
    width: 22px;
    height: 22px;
    opacity: 0.9;
}

.assessment-section.centered-cta .sec-item h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.assessment-section.centered-cta .sec-item p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .assessment-section.centered-cta {
        padding: 72px 0;
    }
    .assessment-section.centered-cta .security-features-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .assessment-section.centered-cta .sec-item {
        max-width: 100%;
        min-width: unset;
    }
}

/* --- Services & Process CTA Banner Action Uniformity & Responsiveness --- */
.s-cta-banner .cta-actions .btn-whatsapp, .p-cta-banner .cta-actions .btn-whatsapp {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    gap: 8px;
}

.s-cta-banner .cta-actions .btn-whatsapp svg, .p-cta-banner .cta-actions .btn-whatsapp svg {
    margin-right: 0 !important; /* Managed by gap flex layout */
}

@media (max-width: 768px) {
    .s-cta-banner .cta-actions, .p-cta-banner .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .s-cta-banner .cta-actions .btn, .p-cta-banner .cta-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* --- About Us Standalone Page Styling --- */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px 0;
    background-image: url('image/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: -1;
    pointer-events: none;
}

.about-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-container .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

.process-hero-container .hero-description {
    margin-left: 0;
    margin-right: auto;
    max-width: 680px;
    color: #1e293b;
    font-weight: 500;
}


.about-values {
    background-color: #ffffff;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* Header Separator with Scales of Justice */
.header-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0 24px 0;
}

.header-separator .sep-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light));
}

.header-separator .sep-line:last-child {
    background: linear-gradient(90deg, var(--color-primary-light), transparent);
}

.header-separator .sep-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.05);
}

/* Redesigned Value Cards */
.value-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 44px 32px 36px 32px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-card.type-blue {
    --card-color: #2563eb;
    --card-color-light: #60a5fa;
    --card-wave-bg: rgba(37, 99, 235, 0.08);
    --card-border-hover: rgba(37, 99, 235, 0.25);
    --card-shadow-hover: rgba(37, 99, 235, 0.06);
}

.value-card.type-teal {
    --card-color: #0d9488;
    --card-color-light: #2dd4bf;
    --card-wave-bg: rgba(13, 148, 136, 0.08);
    --card-border-hover: rgba(13, 148, 136, 0.25);
    --card-shadow-hover: rgba(13, 148, 136, 0.06);
}

/* Wavy Corner Background Overlays */
.value-card .wave {
    position: absolute;
    width: 90px;
    height: 90px;
    pointer-events: none;
    z-index: 0;
    transition: var(--transition-smooth);
}

.value-card .wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.value-card .wave svg path {
    fill: var(--card-wave-bg) !important;
}

.value-card .wave-tl {
    top: 0;
    left: 0;
}

.value-card .wave-br {
    bottom: 0;
    right: 0;
}

.value-card:hover .wave-tl {
    transform: scale(1.15) translate(-2px, -2px);
}

.value-card:hover .wave-br {
    transform: scale(1.15) translate(2px, 2px);
}

/* Card Hover Elevation */
.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 40px var(--card-shadow-hover), 0 1px 3px rgba(15, 23, 42, 0.02);
}

/* Icon Outlined Circle Wrapper */
.value-card .v-icon-wrapper {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1.5px solid var(--card-color);
    color: var(--card-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: transparent;
    transition: var(--transition-smooth);
    z-index: 1;
    position: relative;
}

.value-card:hover .v-icon-wrapper {
    background-color: var(--card-color);
    color: #ffffff;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

/* Card Number */
.value-number {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--card-color);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* Card Title */
.value-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    z-index: 1;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    color: var(--card-color);
}

/* Card Small Separator */
.card-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 18px;
    z-index: 1;
}

.card-separator .card-sep-line {
    width: 32px;
    height: 1px;
    background-color: rgba(15, 23, 42, 0.1);
    transition: var(--transition-smooth);
}

.card-separator .card-sep-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--card-color);
    transition: var(--transition-smooth);
}

.value-card:hover .card-separator .card-sep-line {
    background-color: var(--card-color);
    width: 44px;
}

/* Description Text */
.value-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    z-index: 1;
    position: relative;
    margin: 0;
}

/* Advisors grid */
.about-advisors {
    background-color: #f8fafc;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.advisor-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
}

.advisor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
}

.advisor-image-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    background-color: #fafbfc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    position: relative;
}

.advisor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.advisor-card:hover .advisor-img {
    transform: scale(1.05);
}

.advisor-info {
    padding: 24px 32px 32px;
}

.advisor-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.advisor-role {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.advisor-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background-color: rgba(37, 99, 235, 0.06);
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.advisor-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* Founder Vision */
/* --- Founder Vision – Editorial Card Redesign --- */
.founder-vision {
    padding: 80px 0;
    background: #f8fafc;
}

.founder-vision-card {
    background: linear-gradient(135deg, #0c1630 0%, #0f1f3d 60%, #0c1630 100%);
    border-radius: 20px;
    padding: 56px 64px;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #2563eb;
    box-shadow: 0 24px 64px rgba(12, 22, 48, 0.18);
}

/* Subtle top-right corner texture */
.founder-vision-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Label badge */
.fv-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.fv-body {
    position: relative;
}

/* Decorative large open-quote */
.fv-open-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 7rem;
    line-height: 0.7;
    color: rgba(59, 130, 246, 0.2);
    position: absolute;
    top: -10px;
    left: -10px;
    pointer-events: none;
    user-select: none;
}

.fv-quote {
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.8;
    color: #e2e8f0;
    font-weight: 400;
    padding-left: 48px;
    margin: 0 0 40px 0;
    position: relative;
    z-index: 1;
}

/* Author row */
.fv-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 48px;
}

.fv-author-line {
    width: 40px;
    height: 2px;
    background: #2563eb;
    flex-shrink: 0;
    border-radius: 2px;
}

.fv-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fv-author-info strong {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.01em;
}

.fv-author-info span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* --- FV Carousel --- */
.fv-carousel {
    position: relative;
}

/* All slides hidden by default */
.fv-slide {
    display: none;
    animation: fvFadeIn 0.5s ease;
}

.fv-slide.active {
    display: block;
}

@keyframes fvFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* Arrow buttons */
.fv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(6px);
}

.fv-arrow:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: rgba(37, 99, 235, 0.5);
    color: #ffffff;
}

.fv-prev { left: -22px; }
.fv-next { right: -22px; }

/* Dot navigation */
.fv-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.fv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.fv-dot.active {
    background: #2563eb;
    width: 24px;
    border-radius: 4px;
}

.fv-dot:hover:not(.active) {
    background: rgba(148, 163, 184, 0.65);
}

@media (max-width: 768px) {
    .founder-vision-card {
        padding: 36px 28px;
        border-left-width: 4px;
    }
    .fv-quote {
        font-size: 1.1rem;
        padding-left: 32px;
    }
    .fv-author {
        padding-left: 32px;
    }
    .fv-open-quote {
        font-size: 5rem;
    }
    .fv-prev { left: -14px; }
    .fv-next { right: -14px; }
    .fv-arrow {
        width: 36px;
        height: 36px;
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .about-values-grid, .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .about-values-grid, .about-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quote-wrapper blockquote {
        font-size: 1.2rem;
    }
}

/* --- Contact Us Standalone Page Styling --- */
.about-hero.contact-hero {
    background-image: url('image/contact-hero-bg.png');
    background-size: cover;
    background-position: 65% center;
    background-repeat: no-repeat;
}

.about-hero.contact-hero::before {
    background: none !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.contact-info-card.no-hover {
    cursor: default;
}

.contact-info-card:not(.no-hover):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
}

.contact-info-card .c-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    border: 2px solid rgba(30, 78, 216, 0.12);
    box-shadow: 0 6px 16px rgba(30, 78, 216, 0.04), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease, 
                background-color 0.4s ease,
                color 0.4s ease;
    animation: floatIcon 6s ease-in-out infinite, pulseGlowBlue 6s ease-in-out infinite;
}

.c-icon-wrapper.whatsapp {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.2);
}

.c-icon-wrapper.call {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.2);
}

.c-icon-wrapper.email {
    color: #4f46e5;
    border-color: rgba(79, 70, 229, 0.2);
}

.c-icon-wrapper.office {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.2);
    animation: none; /* No float for address icon */
}

.contact-info-card:not(.no-hover):hover .c-icon-wrapper {
    transform: translateY(-4px) scale(1.05) rotate(5deg);
    animation: none;
    color: #ffffff;
}

.contact-info-card:not(.no-hover):hover .c-icon-wrapper.whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.35);
}

.contact-info-card:not(.no-hover):hover .c-icon-wrapper.call {
    background-color: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.35);
}

.contact-info-card:not(.no-hover):hover .c-icon-wrapper.email {
    background-color: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.35);
}

.c-info-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.c-info-text .c-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 2px;
}

.c-info-text .c-value.text-slate {
    color: #475569;
}

.c-info-text .c-availability {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    display: block;
}

.contact-form-card {
    padding: 40px;
}

.contact-form-card .form-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.contact-form-card .form-subtitle {
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(30, 41, 59, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.contact-select:focus {
    border-color: #2563eb !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.contact-form-card .modal-form .form-group input,
.contact-form-card .modal-form .form-group textarea {
    background-color: rgba(30, 41, 59, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    font-weight: 500;
}

.contact-form-card .modal-form .form-group input:focus,
.contact-form-card .modal-form .form-group textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
    background-color: #ffffff !important;
}

.contact-form-card .modal-form .form-group label {
    color: #475569 !important;
}

/* Same form markup, light card instead of the dark modal - so the consent line
   has to go back to dark here. White would make it invisible. */
.contact-form-card .modal-form .consent-group label {
    color: #475569 !important;
}

.contact-map-card {
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.contact-map-card iframe {
    display: block;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   SEO: Breadcrumb Navigation
   ========================================================================== */
.breadcrumb-nav {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb-nav.breadcrumb-center .breadcrumb-list {
    justify-content: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 4px;
    color: var(--border-glass-hover);
}

.breadcrumb-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--color-text-light);
    font-weight: 600;
}

/* ==========================================================================
   Aegis Membership Gatekeeper & Personalized Checkout
   ========================================================================== */
#membership-gatekeeper {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.checkout-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 24px;
    margin-top: -20px;
    line-height: 1.5;
}

.user-summary-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.8;
    backdrop-filter: blur(4px);
}

.user-summary-box p {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.user-summary-box p:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.user-summary-box strong {
    color: #94a3b8;
    font-weight: 500;
    display: inline-block;
    width: 120px;
    flex-shrink: 0;
}

.user-summary-box span {
    color: #ffffff;
    font-weight: 600;
    word-break: break-all;
}

.required-asterisk {
    color: #ef4444;
    margin-left: 4px;
    font-weight: bold;
}




/* ==========================================================================
   Form Handling: honeypot + inline error messaging
   ========================================================================== */

/* Honeypot. Positioned off-canvas rather than display:none - bots increasingly
   skip display:none fields, but still fill this one. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-error-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #b91c1c;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
}

/* ==========================================================================
   Legal & Policy Pages Styling
   ========================================================================== */
.policy-page-content {
    background-color: #f8fafc;
    min-height: 100vh;
}

.policy-hero {
    position: relative;
    padding: 140px 0 60px 0;
    background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e3a8a 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.policy-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 78, 216, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.policy-hero .hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.policy-hero .hero-description {
    max-width: 760px;
    margin: 0 auto 20px auto;
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.policy-meta-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.policy-body {
    padding: 60px 0 100px 0;
    background: #ffffff;
    color: #334155;
}

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

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

.policy-toc {
    position: sticky;
    top: 100px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.policy-toc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

.policy-toc-list a {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.4;
    transition: var(--transition-fast);
    display: block;
    text-decoration: none;
}

.policy-toc-list a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.policy-main-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
}

@media (max-width: 640px) {
    .policy-main-card {
        padding: 24px 20px;
    }
}

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

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

.policy-section h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 12px 0;
}

.policy-section p {
    color: #334155;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.98rem;
}

.policy-section ul, .policy-section ol {
    padding-left: 24px;
    margin-bottom: 20px;
    color: #334155;
    line-height: 1.8;
}

.policy-section li {
    margin-bottom: 10px;
}

.policy-section li strong {
    color: #0f172a;
}

.policy-callout {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.policy-callout.warning {
    background: #fffbeb;
    border-left-color: #d97706;
}

.policy-callout.danger {
    background: #fef2f2;
    border-left-color: #dc2626;
}

.policy-callout.info {
    background: #eff6ff;
    border-left-color: #2563eb;
}

.policy-callout-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-callout.info .policy-callout-title { color: #1e40af; }
.policy-callout.warning .policy-callout-title { color: #92400e; }
.policy-callout.danger .policy-callout-title { color: #991b1b; }
.policy-callout.success .policy-callout-title { color: #166534; }

.policy-callout p {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.policy-table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.policy-table th, .policy-table td {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.policy-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

.policy-table tr:nth-child(even) {
    background-color: #fbfcfe;
}

.policy-officer-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.policy-officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.policy-officer-item {
    font-size: 0.9rem;
}

.policy-officer-item .label {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.policy-officer-item .value {
    color: #0f172a;
    font-weight: 600;
}

.footer-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.compliance-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.footer-legal-grid a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-legal-grid a:hover {
    color: #ffffff;
}
