/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-primary: #0070C0;
    --color-primary-dark: #005694;
    --color-secondary: #F4B032;
    --color-dark: #1a202c;
    --color-gray: #718096;
    --color-light: #f7fafc;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0070C0, #0059a8);
    --gradient-secondary: linear-gradient(135deg, #F4B032, #ffd700);

    /* Typography & Spacing (Figma Scale) */
    --font-primary: 'Inter', sans-serif;

    --text-h1: 2.5rem;
    /* 40px */
    --text-h2: 1.75rem;
    /* 28px */
    --text-h3: 1.25rem;
    /* 20px */
    --text-body: 1rem;
    /* 16px */

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-6: 48px;
    --space-8: 64px;

    /* Components */
    --radius-card: 12px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 10px 25px rgba(0, 0, 0, 0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 999px;
    /* Pill shape */

    --transition-normal: 300ms ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
    font-size: var(--text-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-primary);
    line-height: 1.3;
    color: var(--color-dark);
}

h1 {
    font-size: var(--text-h1);
    font-weight: 700;
}

h2 {
    font-size: var(--text-h2);
    font-weight: 700;
}

h3 {
    font-size: var(--text-h3);
    font-weight: 600;
}

/* ===== Standard Component Classes (Figma Style) ===== */

/* Card Standard */
.card-standard {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: var(--space-4);
    box-shadow: var(--shadow-card);
    border: 1px solid #edf2f7;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-standard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: #e2e8f0;
}

/* Team Section Specifics */
.team-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-3);
    border: 4px solid var(--color-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card-standard:hover .team-photo {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.team-role {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-normal);
}

/* ===== Utilities ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.hide-sm {
    display: none;
}

@media (min-width: 640px) {
    .hide-sm {
        display: inline;
    }
}

.hide-md {
    display: none;
}

@media (min-width: 768px) {
    .hide-md {
        display: inline;
    }
}

.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.icon-sm {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--color-white);
    box-shadow: 0 10px 25px rgba(244, 176, 50, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(244, 176, 50, 0.4);
}

.btn-primary:active {
    transform: scale(0.95);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.5s ease;
    isolation: isolate;
    /* Ensures blend modes work correctly within the header */
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Top Bar */
.top-bar {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.35rem 0;
    position: relative;
    overflow: hidden;
}

.top-bar-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Scrolling Text Animation */
.scrolling-text-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0;
    height: 1.5rem;
    display: flex;
    align-items: center;
    max-width: 100%;
    /* Optional mask for fade effect at edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.scrolling-text {
    flex-shrink: 0;
    white-space: nowrap;
    animation: scroll-text 20s linear infinite;
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding-right: 50vw;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .scrolling-text-wrapper {
        display: flex;
    }
}

.contact-links {
    display: flex;
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.contact-link:hover {
    color: var(--color-secondary);
    transform: scale(1.05);
}

.toll-free {
    font-weight: 500;
}

/* Navigation */
.nav-container {
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
    background: transparent !important;
}

.logo-link:hover {
    transform: none;
    /* Removed scale to keep it professional */
}

.logo {
    height: 50px;
    /* Requested 50-60px range for mobile */
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (min-width: 1024px) {
    .logo {
        height: 60px;
        /* Requested 50-60px range for desktop */
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-text-jsm {
    color: var(--color-primary);
}

.logo-text-finspro {
    color: var(--color-secondary);
}

@media (min-width: 768px) {
    .logo-container {
        font-size: 2rem;
    }
}

/* Desktop Menu */
.desktop-menu {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-menu {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    color: #4a5568;
    font-weight: 500;
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.nav-link.active .nav-underline,
.nav-link:hover .nav-underline {
    transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    color: #4a5568;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.dropdown-toggle:hover {
    color: var(--color-primary);
}

.chevron {
    width: 1rem;
    height: 1rem;
    transition: transform var(--transition-normal);
}

.nav-dropdown:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    min-width: 280px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    color: #4A5568;
    font-weight: 500;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: #EBF8FF;
    color: #0070C0;
    transform: translateX(4px);
}

.dropdown-icon {
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dropdown-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 8px 12px;
}

/* Mega Menu Styles */
.mega-dropdown {
    position: static !important;
    /* Allow menu to be full width relative to container if needed, or stick to relative */
}

/* For better centering, we might keep relative on the item but use valid offsets */
/* Reverting static, sticking to relative for the item, but large width for the menu centered */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: #FFFFFF;
    border-radius: 0 0 20px 20px;
    padding: 1.5rem 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}

.nav-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mega-column {
    padding-right: 2rem;
    border-right: 1px solid #edf2f7;
    text-align: left;
}

.mega-column:last-child {
    border-right: none;
    padding-right: 0;
}

.mega-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ebf8ff;
    display: inline-block;
    width: 100%;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-list li {
    margin-bottom: 0.5rem;
}

.mega-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mega-list a:hover {
    background: #f0f9ff;
    color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.08);
}

.mega-icon {
    font-size: 1.25rem;
    width: 2rem;
    height: 1.5rem;
    /* Ensure consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    /* Default color for icons */
}

.mega-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
}

/* Mobile Responsive Mega Menu */
@media (max-width: 1024px) {
    .mega-menu {
        position: static;
        /* Flow in document */
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 1rem 1rem 1rem;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        transform: none;
        display: none;
        background: #f8fafc;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .nav-dropdown:hover .mega-menu,
    .nav-dropdown.active .mega-menu {
        /* Assuming JS toggles active class */
        display: block;
        opacity: 1;
        visibility: visible;
        height: auto;
    }

    .mega-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mega-column {
        border-right: none;
        padding: 1.5rem 0;
        border-bottom: 1px solid #e2e8f0;
        text-align: center;
        /* Center on mobile? Or keep left. Center might be better or left padding. Let's keep left */
        text-align: left;
    }

    .mega-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mega-title {
        margin-bottom: 1rem;
    }
}

.btn-apply {
    margin-left: 1.5rem;
    padding: 0.875rem 2.25rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(244, 176, 50, 0.4);
}

.btn-apply:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 25px rgba(244, 176, 50, 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #4a5568;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    padding-top: 1rem;
    max-height: calc(100vh - 140px);
    /* Ensures menu fits on screen */
    overflow-y: auto;
    /* Enables scrolling for long content */
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.mobile-link.active,
.mobile-link:hover {
    background: linear-gradient(90deg, rgba(0, 112, 192, 0.1), rgba(244, 176, 50, 0.1));
    color: var(--color-primary);
    font-weight: 500;
}

.mobile-services-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #4a5568;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
    font-weight: 500;
}

.mobile-services-toggle:hover {
    background: #f7fafc;
}

.chevron-mobile {
    width: 1rem;
    height: 1rem;
    transition: transform var(--transition-normal);
}

.mobile-services-toggle.active .chevron-mobile {
    transform: rotate(180deg);
}

.mobile-services-menu {
    display: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-services-menu.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

.mobile-sub-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #718096;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.mobile-sub-link:hover {
    color: var(--color-primary);
    background: #f7fafc;
}

.mobile-category-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #005694;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem 0.25rem 1rem;
    margin-top: 0.75rem;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 0.25rem;
}

.mobile-category-header:first-child {
    margin-top: 0;
}

.mobile-apply {
    margin-top: 0.5rem;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    color: var(--color-white);
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.1;
}

.footer-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.footer-blob-1 {
    top: 0;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: var(--color-primary);
    animation: float 10s ease-in-out infinite;
}

.footer-blob-2 {
    bottom: 0;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background: var(--color-secondary);
    animation: float 12s ease-in-out infinite reverse;
}

.footer-content {
    position: relative;
    z-index: 10;
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        padding: 4rem 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}


@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col {
    animation: fadeInUp 0.5s ease;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
    transform: scale(1.2) rotate(5deg);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-links,
.footer-services {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-services li a {
    display: flex;
    align-items: center;
    color: #cbd5e0;
    transition: var(--transition-normal);
}

.footer-links a:hover,
.footer-services li a:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.footer-services li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    flex-shrink: 0;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    transition: transform var(--transition-normal);
}

.contact-info li:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-white);
}

.contact-info a {
    color: #cbd5e0;
    transition: var(--transition-normal);
}

.contact-info a:hover {
    color: var(--color-secondary);
}

.hours-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-box p {
    font-size: 0.875rem;
    color: #cbd5e0;
}

.hours-box strong {
    color: var(--color-white);
}

/* Newsletter */
.newsletter-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-text {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition-normal);
}

.newsletter-input::placeholder {
    color: #718096;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: #a0aec0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: #f56565;
    animation: pulse 1s ease-in-out infinite;
}

.footer-legal {
    color: #718096;
    font-size: 0.875rem;
}

.footer-legal a {
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--color-secondary);
}

/* ===== Utility Classes (Tailwind-like) ===== */

/* Spacing */
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

/* Grid & Flex */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Colors */
.text-white {
    color: var(--color-white);
}

.text-dark {
    color: var(--color-dark);
}

.text-gray {
    color: var(--color-gray);
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-blue-100 {
    color: #ebf8ff;
}

.text-green-500 {
    color: #10b981;
}

.bg-white {
    background-color: var(--color-white);
}

.bg-light {
    background-color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-blue-50 {
    background-color: #f0f9ff;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

/* Width & Height */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Layout & Misc */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.shadow-2xl {
    box-shadow: var(--shadow-2xl);
}

.overflow-hidden {
    overflow: hidden;
}

.min-h-screen {
    min-height: 100vh;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.pointer-events-none {
    pointer-events: none;
}

/* ===== 3D Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%);
    overflow: hidden;
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gradient-layer {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    filter: blur(60px);
}

.gradient-layer-1 {
    background: radial-gradient(circle at 20% 50%, var(--color-primary) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

.gradient-layer-2 {
    background: radial-gradient(circle at 80% 50%, #6366f1 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite reverse;
}

.gradient-layer-3 {
    background: radial-gradient(circle at 50% 80%, #3b82f6 0%, transparent 50%);
    animation: pulse 12s ease-in-out infinite;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    top: 20%;
    right: 5%;
    animation: float 18s ease-in-out infinite reverse;
}

.sphere-3 {
    width: 350px;
    height: 350px;
    background: var(--color-secondary);
    bottom: 10%;
    left: 20%;
    animation: float 20s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    z-index: 2;
    mask-image: radial-gradient(circle at center, black, transparent);
}

.hero-grid path {
    stroke-dasharray: 100;
    animation: grid-flow 3s linear infinite;
}

@keyframes grid-flow {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.light-rays {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 3;
}

.border-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    animation: border-glow-anim 8s ease-in-out infinite;
}

@keyframes border-glow-anim {

    0%,
    100% {
        box-shadow: inset 0 0 100px rgba(59, 130, 246, 0.1);
    }

    33% {
        box-shadow: inset 0 0 100px rgba(244, 176, 50, 0.1);
    }

    66% {
        box-shadow: inset 0 0 100px rgba(168, 85, 247, 0.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* ===== Loan Showcase Circle Selector ===== */
.loan-selector-container {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    display: none;
}

@media (min-width: 1024px) {
    .loan-selector-container {
        display: block;
    }
}

.selector-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.selector-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-dot {
    width: 10px;
    height: 10px;
    background: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-secondary);
    animation: pulse 2s infinite;
}

.selector-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.selector-btn:hover {
    border-color: white;
    transform: scale(1.1);
}

.selector-btn.active {
    background: var(--gradient-secondary);
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(244, 176, 50, 0.4);
}

.selector-btn svg {
    width: 14px;
    height: 14px;
    color: white;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 15px #4ade80;
    animation: pulse 2s infinite;
}

.trust-badge span {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

.trust-avatars {
    display: flex;
    margin-left: 0.75rem;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #0070C0, #F4B032);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

.title-highlight {
    background: linear-gradient(to right, var(--color-secondary), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e0;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 9999px;
    /* Pill shape */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-gradient {
    /* Yellow -> Orange gradient */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
    filter: brightness(1.1);
}

.btn-glass {
    /* Semi-transparent blue background */
    background: rgba(30, 64, 175, 0.4);
    /* Dark blue with opacity */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 1rem;
    /* Rounded corners but less than pill for secondary if desired, or keep pill to match */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* User asked for rounded corners for secondary, let's stick to pill if they want side-by-side consistency or slightly less rounded as per "rounded corners" vs "pill shape" distinction in prompt.
   The prompt said "pill shape" for primary and "rounded corners" for secondary. I will use 16px (1rem) for secondary to distinguish.
*/
.btn-glass {
    border-radius: 12px;
}

.btn-glass:hover {
    background: rgba(30, 64, 175, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-glass:hover .phone-icon {
    animation: pulse 1.5s infinite;
}

/* Ensure icons are visible and sized correctly */
.arrow-icon,
.phone-icon {
    width: 1.5rem;
    /* Increased size to match large buttons */
    height: 1.5rem;
    stroke-width: 2.5;
}

.btn-gradient:hover .arrow-icon {
    transform: translateX(4px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Key Benefits */
.key-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    animation: fadeIn 0.8s ease 0.6s both;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
}

.benefit-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.benefit-badge:nth-child(1) .benefit-icon {
    color: #10b981;
}

.benefit-badge:nth-child(2) .benefit-icon {
    color: #3b82f6;
}

.benefit-badge:nth-child(3) .benefit-icon {
    color: #F4B032;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 5;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* ===== Loan Showcase ===== */
.loan-showcase-container {
    position: relative;
    perspective: 1000px;
}

.loan-showcase-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.showcase-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.showcase-icon svg {
    width: 32px;
    height: 32px;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-grid-layout {
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
    }

    .loan-showcase-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .showcase-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .showcase-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .detail-label {
        font-size: 0.65rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .showcase-features li {
        font-size: 0.9rem;
    }
}

.showcase-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.showcase-subtitle {
    color: var(--color-gray);
    font-size: 1rem;
}

.showcase-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-dark);
}

.showcase-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #4ade80;
}

.loan-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--color-secondary);
    transform: scale(1.3);
}

/* ===== Certifications Section ===== */
.certificates-section {
    padding: 100px 0;
    background: #f8fafc;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cert-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cert-card p {
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.cert-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ===== Section Shared ===== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 112, 192, 0.1);
    color: var(--color-primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.badge-secondary {
    background: rgba(244, 176, 50, 0.1);
    color: var(--color-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.5rem;
    }
}

.section-description {
    color: var(--color-gray);
    font-size: 1.25rem;
}

/* ===== Loan Products (Services) Section ===== */
.services-section {
    padding: 120px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Service Cards (Figma Standard) ===== */
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    /* Needed for image */
    box-shadow: var(--shadow-card);
    border: 1px solid #edf2f7;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: #e2e8f0;
}

.service-image-container {
    position: relative;
    height: 200px;
    /* Standard height */
    overflow: hidden;
    background-color: var(--color-light);
    /* Placeholder bg */
}

.service-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-product-image {
    transform: scale(1.05);
    /* Subtle zoom */
}

.service-category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-content {
    padding: var(--space-4);
    /* 32px standard padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-size: var(--text-h3);
    /* 20px */
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.service-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: var(--color-light);
    border-radius: var(--radius-md);
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    margin-top: var(--space-3);
}

.service-card:hover .service-action-btn {
    background: var(--color-primary);
    color: var(--color-white);
}

.service-action-btn svg {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.3s ease;
}

.service-action-btn:hover svg {
    transform: translateX(4px);
}

/* ===== Why Choose Us ===== */
.why-choose-section {
    padding: 100px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Stats Section REFINEMENT ===== */
.stats-section {
    padding: 80px 0;
    background: var(--color-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    z-index: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-secondary);
}

.stat-icon svg {
    width: 30px;
    height: 30px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    color: #cbd5e0;
    font-weight: 500;
}

/* ===== Documents Required Section ===== */
.docs-section {
    padding: 100px 0;
    background: #ffffff;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .docs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.doc-card {
    background: white;
    border-radius: 2.5rem;
    padding: 3.5rem 2rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.doc-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
    border-color: var(--color-primary);
}

.doc-icon-box {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.doc-card:hover .doc-icon-box {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(8deg);
}

.doc-icon-box svg {
    width: 38px;
    height: 38px;
}

.doc-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    color: var(--color-gray);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.doc-download-container {
    margin-top: 5rem;
    text-align: center;
}

.btn-download-docs {
    background: var(--color-primary);
    color: white;
    padding: 1.5rem 3.5rem;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 112, 192, 0.2);
    transition: all 0.4s ease;
}

.btn-download-docs:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 112, 192, 0.3);
    color: white;
}

.btn-download-docs svg {
    width: 24px;
    height: 24px;
}

/* ===== Empanelment Section ===== */
.empanelment-section {
    padding: 100px 0;
    background: #f8fafc;
}

.badge-purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.empanelment-card {
    background: white;
    padding: 5rem 3rem;
    border-radius: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    margin: 4rem auto 0;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.empanelment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-primary);
}

.empanelment-description {
    font-size: 1.35rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.empanelment-description strong {
    color: var(--color-dark);
    font-weight: 800;
}

.partner-logos-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    background: #f1f7ff;
    padding: 1.25rem 3rem;
    border-radius: 100px;
    display: inline-flex;
}

.partner-divider {
    color: #cbd5e0;
    font-weight: 400;
}

.btn-empanelment {
    background: var(--color-primary);
    color: white;
    padding: 1.75rem 4rem;
    border-radius: 100px;
    font-size: 1.35rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 25px 50px rgba(0, 112, 192, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.btn-empanelment:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 112, 192, 0.3);
    color: white;
}

.btn-icon {
    width: 28px;
    height: 28px;
}

/* ===== Testimonials Section REFINEMENT ===== */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #4c1d95 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section .section-title {
    color: white;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

.testimonials-section .badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    padding: 5rem 4rem;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    margin: 0 auto;
    display: none;
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card.active {
    display: block;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.testimonial-rating svg {
    width: 2.25rem;
    height: 2.25rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
}

.testimonial-text {
    font-size: 1.85rem;
    font-style: italic;
    color: white;
    margin-bottom: 3.5rem;
    line-height: 1.5;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.author-name {
    font-size: 1.75rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.author-type {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-nav button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-nav button:hover {
    background: white;
    color: var(--color-primary);
    transform: scale(1.15);
}

/* ===== Coverage Section ===== */
.coverage-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.badge-green {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border-color: #dcfce7 !important;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .coverage-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.coverage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: left;
}

.coverage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.coverage-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
}

.coverage-icon svg {
    width: 32px;
    height: 32px;
}

.coverage-icon.bg-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.coverage-icon.bg-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.coverage-icon.bg-yellow {
    background: linear-gradient(135deg, #eab308, #ca8a04);
}

.coverage-icon.bg-purple {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.coverage-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.coverage-pop {
    color: var(--color-gray);
    font-size: 1.1rem;
}

/* ===== Certifications Section ===== */
.certificates-section {
    padding: 100px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

/* ===== Subsidiary Companies (Footer) ===== */
.subsidiary-section {
    text-align: left;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.subsidiary-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subsidiary-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.sub-link {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.sub-link:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.subsidiary-separator {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    font-size: 1.2rem;
    margin-top: -2px;
    /* Visual alignment */
}

@media (max-width: 640px) {
    .subsidiary-section {
        text-align: center;
    }

    .subsidiary-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .subsidiary-separator {
        display: none;
    }

    .sub-link {
        display: block;
        width: 100%;
    }
}

.cert-card .badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f0fdf4;
    color: #16a34a;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #dcfce7;
}

.cert-body {
    padding: 2.5rem;
    flex-grow: 1;
    text-align: center;
}

.cert-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 112, 192, 0.05);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.cert-card:hover .cert-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.cert-icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.cert-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.cert-subtitle {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}


/* ===== Global Footer Top Bar (React-Matched Premium Look) ===== */
.footer-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 32px;
}

.subsidiary-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.subsidiary-label {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #6b7280;
    /* Gray-500 */
    text-transform: uppercase;
}

.desktop-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    display: none;
}

@media (min-width: 1024px) {
    .desktop-divider {
        display: block;
    }
}

.subsidiary-links-container {
    display: flex;
    gap: 24px;
    font-weight: 700;
    color: #d1d5db;
    /* Gray-300 */
    align-items: center;
}

.subsidiary-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.subsidiary-link:hover {
    color: #F4B032;
}

.career-cta {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.career-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

.career-text h4 {
    margin: 0;
    color: #F4B032;
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.career-text p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.75rem;
}

.btn-career {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    background: #F4B032;
    color: #111827;
    border: none;
    font-weight: 900;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(244, 176, 50, 0.2);
}

.btn-career:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(244, 176, 50, 0.4);
}

@media (max-width: 1023px) {
    .footer-top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .subsidiary-group {
        justify-content: center;
    }

    .career-cta {
        width: 100%;
        justify-content: center;
    }
}

.cert-button {
    background: #f1f5f9;
    color: var(--color-dark);
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-button {
    background: var(--color-primary);
    color: white;
}

.cert-button svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.cert-button:hover svg {
    transform: translate(2px, -2px);
}

/* ===== CTA Section REFINEMENT ===== */
.cta-section {
    padding: 120px 0;
    background: #FFC000;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 8px solid var(--color-primary);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0.5;
}

/* Subtle circular line pattern */
.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: repeating-radial-gradient(circle,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.05) 40px,
            rgba(255, 255, 255, 0.05) 41px);
    pointer-events: none;
}

.cta-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cta-text {
    font-size: 1.75rem;
    margin-bottom: 4rem;
    color: white;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-cta-white {
    background: white;
    color: #F4B032;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.btn-cta-blue {
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 112, 192, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-blue:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 112, 192, 0.4);
}

/* ===== Calculator Professional Styles (Added for User Request) ===== */

/* Calculator Card Wrapper */
.calculator-card-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header Gradient Bar */
.calculator-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Range Sliders */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    height: 32px;
    cursor: pointer;
    margin: 10px 0;
}

input[type=range]:focus {
    outline: none;
}

/* Chrome/Safari Track */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #E2E8F0;
    border-radius: 99px;
    transition: all 0.2s ease;
}

/* Chrome/Safari Thumb */
input[type=range]::-webkit-slider-thumb {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -10px;
    /* Centers thumb vertically */
    box-shadow: 0 4px 10px rgba(0, 112, 192, 0.4);
    border: 4px solid #ffffff;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(0, 112, 192, 0.5);
}

/* Firefox Track */
input[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #E2E8F0;
    border-radius: 99px;
}

/* Firefox Thumb */
input[type=range]::-moz-range-thumb {
    height: 28px;
    width: 28px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 112, 192, 0.4);
    transition: transform 0.2s ease;
}

/* Result Cards - Monthly EMI, Total, etc */
.calc-result-card {
    background: #F8FAFC;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #EEF2F6;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calc-result-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #E2E8F0;
}

.calc-label {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.calc-emi-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
    font-family: var(--font-primary);
    letter-spacing: -0.02em;
}

.calc-total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

/* Input Value Text */
.slider-value-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    background: #EBF8FF;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.9rem;
}

/* ===== Feedback Widget Styles (Ultra Compact Sidebar) ===== */
.feedback-overlay {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 300px;
    max-width: 90vw;
    z-index: 9999;
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback-content {
    background: var(--color-white);
    padding: 1.5rem;
    position: relative;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 112, 192, 0.1);
}

.feedback-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1;
    transition: all 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feedback-close:hover {
    background: #f1f5f9;
    color: var(--color-dark);
}

.feedback-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--color-primary);
}

.feedback-header p {
    color: var(--color-gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.feedback-icon-title {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 1.8rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.rating-stars label:hover,
.rating-stars label:hover~label,
.rating-stars input:checked~label {
    color: var(--color-secondary);
}

.form-group textarea {
    width: 100%;
    height: 65px;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid #edf2f7;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    resize: none;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.feedback-submit {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
}

.feedback-success-msg {
    padding: 0.5rem 0;
}

.success-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.success-icon+h4 {
    margin-bottom: 0.25rem;
}

.fade-out {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Banking Partners Section ===== */
.partners-logo-section {
    padding: 4rem 0;
    background: #ffffff;
}

.partners-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.partner-logo-item {
    width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.partner-logo-item:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partners-logo-grid {
        gap: 1.5rem;
    }

    .partner-logo-item {
        width: 100px;
        height: 40px;
    }
}

/* ===== Career Form Styles ===== */
.footer-career .form-group {
    margin-bottom: 0.75rem;
    position: relative;
}

.career-form input,
.career-form select {
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.career-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.career-form input:focus,
.career-form select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-secondary);
    outline: none;
}

.career-form select {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.career-form select option {
    background: var(--color-dark);
    color: white;
}

.file-group {
    position: relative;
    overflow: hidden;
}

.file-label {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-label:hover {
    border-color: var(--color-secondary);
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.career-form input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.career-form button {
    width: 100%;
    margin-top: 0.25rem;
}

/* Footer Grid Adjustment for 4 columns */
@media (min-width: 1024px) {
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem;
    }
}