:root {
    --primary-blue: #295cab;
    --primary-blue-dark: #083A6B;
    --secondary-blue: #3d71c7;
    --light-blue: #f0f5ff;
    --success-green: #10B981;
    --cta-orange: #FF6B35;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray-50: #F8FAFC;
            --gray-100: #F1F5F9;
            --gray-200: #E2E8F0;
            --gray-300: #CBD5E1;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-900: #0F172A;
    --text-gray: #444444;
    --text-dark: #1A2332;
    --text-medium: #4A5568;
    --text-light: #718096;
    --border-color: #e1e8ed;
    --accent-gold: #F59E0B;
    --accent-blue: #1E88E5;
    --accent-blue-light: #4FA3F0;
    --transition: all 0.3s ease;
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(10, 77, 140, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 77, 140, 0.12);
    --shadow-lg: 0 12px 28px rgba(10, 77, 140, 0.15);
    --shadow-xl: 0 20px 40px rgba(10, 77, 140, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: var(--text-gray);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 15px; /* Slightly smaller base font */
}

.container {
    max-width: 1140px; /* More standard container width */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.6s ease-in-out;
    padding: 0;
    border-radius: 0;
}

header.scrolled {
    width: 90%;
    max-width: 1200px;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 0 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 66px;
    transition: var(--transition);
}

.cta-nav{
    display:flex;
    align-items: center;
    gap: 15px;
}
.cta-nav .header-apply{
    background: #1e4fd8;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
}


.logo img {
    height: 35px; /* Reduced from 50px */
    width: auto;
    display: block;
}

header.scrolled nav {
    height: 70px;
}

header.scrolled .logo img {
    height: 30px; /* Reduced from 40px */
}

.nav-links {
    display: flex;
    list-style: none;
}

.mobile-cta-item {
    display: none;
}

.nav-links li {
    margin-left: 2.5rem;
}


.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

/* Needed for dropdown positioning */
.signin-dropdown {
    position: relative;
}

/* Hide dropdown initially */
.signin-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    min-width: 200px;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Show on hover */
.signin-dropdown:hover .signin-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Reset nav-links flex inside dropdown */
.signin-menu.nav-links {
    display: block;
}

/* Nested menu */
.has-submenu {
    position: relative;
}

/* Second level */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Show nested menu */
.has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.sub-menu li {
    list-style: none;
}

/* terms and condition page  */
/* Breadcrumb Section */
.bg-breadcrumb {
    background: var(--primary-blue);
    padding: 80px 20px;
}

.breadcrumb-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.breadcrumb-title {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 20px;
}


/* Service Section */
.privacy-service-section {
    background: #fff;
    padding: 80px 20px;
}

.privacy-service-container {
    max-width: 1140px;
    margin: auto;
}

.privacy-service-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.privacy-service-content h3 {
    margin: 40px 0 20px;
    font-size: 24px;
    color: #295cab;
}

.privacy-service-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-service-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

/* Utilities */
.mb-large {
    margin-bottom: 40px;
}




/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;

}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform:translateX(-50%) translateY(0);
}

.dropdown-menu li {
    padding: 0;
    margin-left:0.5rem;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #007bff; /* Adjust to your primary color */
}


/* Mobile responsive - dropdown for mobile *

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color:#1e4fd8 ;
    border:2px solid var(--white);
    color: var(--white);
}
.btn-primary-hero {
    background: #1e4fd8;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}
.btn-sign-in{
    width:150.82px; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0.6rem 2rem;
    border-radius: 30px; /* Increased for rounded effect */
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(to top, #ff0000, #a32727);
    backdrop-filter: blur(40px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    
}

.btn-outline { 
    background: rgb(237 27 36);
    backdrop-filter: blur(40px);
    border: 2px solid var(--primary-blue);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #333;
}

/* Hero Section */

.hero-intro{
            color: rgb(237 27 36);
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1rem;
            animation: fadeInUp 0.8s ease 0.1s backwards;
}
.hero {
    height: 40rem; /* Increased to full screen height */
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: var(--primary-blue); /* Fallback background */
    margin-top: 0;
    width: 100%;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Dynamic with flex-shrink: 0 on slides */
    height: 100%;
    margin-top:20px;
    display: flex;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1;
}

.slide {
    width: 100%; /* Each slide takes full width of container */
    flex-shrink: 0; /* Prevent slides from shrinking */
    height: 100%;
    background-size: cover;
    background-position: right 10% top 20%;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the container */
}

/* Ensure content stays above the background */
.hero-content {
    max-width: 50%; /* Match standard container */
    width: 100%;
    position: relative;
    z-index: 10;
    padding: 0 20px;
    text-align: left; /* Keep text left-aligned within the centered container */
    margin-left:75px;;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    align-items:center;
    gap: 15px;
    z-index: 20;
}

.slider-nav button {
    background: rgb(130 203 231);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-nav button:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.slider-nav button:active {
    transform: scale(0.95);
}

.hero h1 {
    font-size: 3.5rem; /* Increased size */
    color:var(--primary-blue-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    color:var(--black);
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-btns .btn {
    margin: 0 0.4rem;
    padding: 0.7rem 1.5rem; /* Smaller hero buttons */
}

/* Features Section */

/* Initial hidden state */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.finserv-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.finserv-header{
     max-width: 900px;
    margin: 0 auto 90px;
    text-align: center;
        visibility: visible;
    animation-delay: 0.2s;
    animation-name: fadeInUp;
    
}

.finserv-eyebrow {
    font-size: 26px;
    font-weight: 600;
    color: #295cab;
}
.finserv-trusted{
    font-size:4rem;;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
/* MAIN SECTION */
.financial-services {
    background: #ffffff;
    border-radius: 20px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* SECTION TITLE */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #295cab;
}

.section-title p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 15px auto 0;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */
.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    text-align: center;
    padding-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ICON */
.service-icon {
    width: 90px;
    height: 90px;
    margin: 40px auto 30px;
    background: linear-gradient(135deg, #1a3c8b, #2a56c9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    transform: rotate(45deg);
    transition: 0.4s;
}

.service-icon i {
    transform: rotate(-45deg);
}

.service-card:hover .service-icon {
    transform: rotate(0deg) scale(1.1);
    background: linear-gradient(135deg, #00abeb, #00abeb);
}
.service-link{
    text-decoration:none;
}
/* CONTENT */
.service-content h3 {
    font-size: 1.5rem;
    color: #1a3c8b;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    padding: 0;
    line-height: 1.7;
}

/* BUTTON */
.service-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(to right, #1a3c8b, #2a56c9);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.service-btn:hover {
    /* background: linear-gradient(to right, #ee1c25, #ffb74d); */
    color:#fff;
}

/* BACKGROUND CIRCLES */
.bg-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,60,139,0.05), rgba(255,152,0,0.05));
}

.bg-1 {
    top: -300px;
    right: -300px;
}

.bg-2 {
    bottom: -300px;
    left: -300px;
}
/*** Feature End ***/

/* Video Section */
.video-section {
    padding: 0;
    background-color: var(--white);
    margin: 50px 0; /* Increased margin from 15px to give more space on both sides */
}

.video-container {
    position: relative;
    width: 100%;
    height: 120vh; /* Increased from 100vh to 120vh */
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    padding: 4rem 0; /* Reduced from 5rem if it was higher */
}

.about h2 {
    font-size: 2.5rem; /* Scaled down h2 */
    margin-bottom: 1rem;
}

.about p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem; /* Reduced gap */
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 320px; /* Reduced from 380px */
    object-fit: cover;
    border-radius: 15px; /* Reduced from 20px */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

/* Services Section */
.services-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
}

.service-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 18px;
    color: #1a3c8b;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 14px;
    color: #666;
}

/* CTA */
.services-cta {
    margin-top: 40px;
    margin-bottom:40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 36px;
    background: #1e4fd8;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* .services {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.services .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Reverted to 3 in a row as per request */
    /* gap: 2rem;
} */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.service-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    text-align: left; /* Changed to left-aligned as per reference */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 480px; /* Increased vertical height */
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
} */

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color:#1a3c8b;
    font-weight: 600;
}

.service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-know-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.btn-know-more:hover {
    background-color: var(--secondary-blue);
} */

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light-blue);
    position: relative;
}

/* Final CTA */
        .final-cta {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--primary-blue) 0%, #0D5BA6 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .final-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .final-cta-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .final-cta h2 {
            font-family: 'DM Serif Display', serif;
            font-size: 3rem;
            color: white;
            margin-bottom: 1.5rem;
        }

        .final-cta p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }


/* service-page-css */
.service-page-header {
            position: sticky;
            top: 0;
            background: var(--white);
            box-shadow: var(--shadow-sm);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .service-page-header-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .service-page-logo {
            font-family: 'DM Serif Display', serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-blue);
            text-decoration: none;
            letter-spacing: -0.02em;
        }

        .service-page-logo span {
            color: var(--accent-blue);
        }

        .service-page-nav {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }

        .service-page-nav a {
            color: var(--text-medium);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            position: relative;
        }

        .service-page-nav a:hover {
            color: var(--primary-blue);
        }

        .service-page-nav a.service-page-active {
            color: var(--primary-blue);
            font-weight: 600;
        }

        .service-page-btn-primary {
            background: var(--accent-blue);
            color: white;
            padding: 0.75rem 1.75rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
            text-decoration: none;
            display: inline-block;
        }

        .service-page-btn-primary:hover {
            background: var(--primary-blue-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Hero Section */
        .service-page-page-hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
            padding: 4rem 2rem 5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .service-page-page-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .service-page-page-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            right: -5%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite reverse;
        }

        

        .service-page-hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .service-page-hero-label {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .service-page-hero-title {
            font-family: 'DM Serif Display', serif;
            font-size: 3.5rem;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .service-page-hero-description {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.7;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Services Section */
        .service-page-services-section {
            padding: 6rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .service-page-services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 2.5rem;
        }

        .service-page-service-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .service-page-service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }
        .service-page-service-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(30, 136, 229, 0.08) 0%, rgba(10, 77, 140, 0.03) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
            z-index: 1;
            border-radius: 24px;
        }
        .service-page-service-card .service-page-shine {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.3) 50%, 
                transparent 100%);
            z-index: 5;
            transition: left 0.6s ease;
            pointer-events: none;
        }

        .service-page-service-card:hover .service-page-shine {
            left: 100%;
        }
        .service-page-service-card:hover::before {
            transform: scaleX(1);
        }
        .service-page-service-card:hover::after {
            opacity: 1;
        }
        .service-page-service-card:hover {
            transform: translateY(-16px) scale(1.02);
            box-shadow: 0 24px 48px rgba(10, 77, 140, 0.25), 
                        0 0 0 1px rgba(30, 136, 229, 0.1),
                        0 0 60px rgba(30, 136, 229, 0.15);
        }

        .service-page-service-image {
            width: 100%;
            height: 280px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
        }

        .service-page-service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-page-service-card:hover .service-page-service-image img {
            transform: scale(1.08);
        }

        .service-page-service-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--accent-blue);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: var(--shadow-sm);
        }
        .service-page-service-card:hover .service-page-service-badge {
            transform: scale(1.1) rotate(-5deg);
            box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
            background: rgba(30, 136, 229, 0.95);
            color: white;
        }

        .service-page-service-content {
            padding: 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .service-page-service-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .service-page-service-description {
            color: var(--text-medium);
            line-height: 1.7;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .service-page-service-features {
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .service-page-service-features li {
            padding: 0.5rem 0;
            padding-left: 1.75rem;
            position: relative;
            color: var(--text-medium);
            font-size: 0.9rem;
        }

        .service-page-service-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent-blue);
            font-weight: bold;
            width: 20px;
            height: 20px;
            background: rgba(30, 136, 229, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .service-page-service-card:hover .service-page-service-features li {
            transform: translateX(4px);
            color: var(--text-dark);
        }

        .service-page-service-card:hover .service-page-service-features li::before {
            background: var(--accent-blue);
            color: white;
            transform: scale(1.2) rotate(360deg);
        }
        .service-page-service-features li:nth-child(1) { --index: 1; }
        .service-page-service-features li:nth-child(2) { --index: 2; }
        .service-page-service-features li:nth-child(3) { --index: 3; }
        .service-page-service-features li:nth-child(4) { --index: 4; }

        .service-page-service-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-light);
        }

        .service-page-service-rate {
            display: flex;
            flex-direction: column;
        }

        .service-page-rate-label {
            font-size: 0.75rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.25rem;
        }

        .service-page-rate-value {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--accent-blue);
        }
        .service-page-service-card:hover .service-page-rate-value {
            animation: pulse 1s ease-in-out infinite;
            color: var(--primary-blue);
        }
        .service-page-btn-service {
            background: var(--accent-blue);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .service-page-btn-service:hover {
            background: var(--primary-blue-dark);
            transform: translateX(4px);
            box-shadow: var(--shadow-md);
        }

        .service-page-btn-service::after {
            content: '→';
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .service-page-btn-service:hover::after {
            transform: translateX(4px);
        }

        /* Image Placeholders with illustrations */
        .service-page-service-illustration {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        /* .service-page-illustration-svg {
            max-width: 200px;
            max-height: 200px;
        } */

        /* CTA Section */
        .service-page-cta-section {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
            padding: 5rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .service-page-cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .service-page-cta-content {
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .service-page-cta-content h2 {
            font-family: 'DM Serif Display', serif;
            font-size: 2.75rem;
            color: white;
            margin-bottom: 1.5rem;
        }

        .service-page-cta-content p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }

        .service-page-btn-cta {
            background: white;
            color: var(--primary-blue);
            padding: 1.25rem 3rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            display: inline-block;
            text-decoration: none;
        }

        .service-page-btn-cta:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
        }
        .service-page-service-card {
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        .service-page-service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-page-service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-page-service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-page-service-card:nth-child(4) { animation-delay: 0.4s; }
        .service-page-service-card:nth-child(5) { animation-delay: 0.5s; }
        .service-page-service-card:nth-child(6) { animation-delay: 0.6s; }

        /* team card */

        .page-banner {
    position: relative;
    width: 100%;
    height: 420px;
    background-size: cover;       /* desktop crop allowed */
    background-position: center;
    background-repeat: no-repeat;
    margin-top:80px;
}

/* Overlay */
        .page-banner-overlay {
            : absolute;
            inset: 0;
    /* background: rgba(0,0,0,0.35); */
        }
        .about-page-header {
            position: sticky;
            top: 0;
            background: var(--bg-white);
            box-shadow: var(--shadow-sm);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .about-page-header-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .about-page-logo {
            font-family: 'DM Serif Display', serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-blue);
            text-decoration: none;
            letter-spacing: -0.02em;
        }

        .about-page-logo span {
            color: var(--accent-blue);
        }

        .about-page-nav {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }

        .about-page-nav a {
            color: var(--text-medium);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            position: relative;
        }

        .about-page-nav a:hover {
            color: var(--primary-blue);
        }

        .about-page-nav a.active {
            color: var(--primary-blue);
            font-weight: 600;
        }

        .about-page-btn-primary {
            background: var(--accent-blue);
            color: white;
            padding: 0.75rem 1.75rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
            text-decoration: none;
            display: inline-block;
        }

        .about-page-btn-primary:hover {
            background: var(--primary-blue-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Page Hero */
        .about-page-page-hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
            padding: 4rem 2rem 5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .about-page-page-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .about-page-page-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            right: -5%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite reverse;
        }

        

        .about-page-hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .about-page-hero-label {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .about-page-hero-title {
            font-family: 'DM Serif Display', serif;
            font-size: 3.5rem;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .about-page-hero-description {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.7;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Our Team Section */
        .about-page-team-section {
            padding: 3rem 2rem;
            background: var(--bg-white);
        }

        .about-page-section-container {
            max-width: 1280px;
            margin: 0 auto;
        }

        .about-page-section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .about-page-section-label {
            color: var(--accent-blue);
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .about-page-section-title {
            font-family: 'DM Serif Display', serif;
            font-size: 2.75rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }

        .about-page-section-subtitle {
            font-size: 1.1rem;
            color: var(--text-medium);
            max-width: 600px;
            margin: 0 auto;
        }

        .about-page-team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2.5rem;
        }

        .about-page-team-card {
            background: #252525;
            height:295.73px;
            border-radius: 0;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all 0.4s ease;
            position: relative;
            cursor: pointer;
            margin-bottom: 30px;
        }

        .about-page-team-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(10, 77, 140, 0.3);
        }

        .about-page-team-overlay {
            position: absolute;
            top: 17%;
            right: 30px;
            z-index: 10;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .about-page-team-card:hover .about-page-team-overlay {
            opacity: 1;
        }

        .about-page-team-social {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .about-page-team-social li {
            margin-bottom: 10px;
        }

        .about-page-social-icon {
            width: 30px;
            height: 30px;
            line-height: 32px;
            text-align: center;
            color: #fff;
            border-radius: 50px;
            background-color: var(--primary-blue);
            display: inline-block;
            text-decoration: none;
            font-size: 16px;
            transform: scaleY(0);
            transition: all 0.4s ease;
        }

        .about-page-team-card:hover .about-page-social-icon {
            transform: scaleY(1);
        }

        .about-page-social-icon:hover {
            background-color: #fff;
            color: var(--primary-blue);
        }

        .about-page-team-image {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
            background: #252525;
        }

        .about-page-team-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(1);
            transition: filter 0.4s ease;
            display: block;
        }

        .about-page-team-card:hover .about-page-team-image img {
            filter: grayscale(0);
        }

        .about-page-team-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--primary-blue);
            padding: 8px 25px;
            border-top-left-radius: 100px;
            text-align: center;
            transition: border-radius 0.9s ease;
            z-index: 2;
        }

        .about-page-team-card:hover .about-page-team-info {
            border-radius: 0;
        }

        .about-page-team-name {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 0;
            transition: none;
        }

        .about-page-team-card:hover .about-page-team-name {
            color: #fff;
            transform: none;
        }

        .about-page-team-designation {
            font-size: 13px;
            color: #fff;
            margin-bottom: 0;
            transition: none;
        }

        .about-page-team-card:hover .about-page-team-designation {
            color: #fff;
        }

        /* Team card entrance animation */
        .about-page-team-card {
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        
        .about-page-team-card:nth-child(1) { animation-delay: 0.1s; }
        .about-page-team-card:nth-child(2) { animation-delay: 0.15s; }
        .about-page-team-card:nth-child(3) { animation-delay: 0.2s; }
        .about-page-team-card:nth-child(4) { animation-delay: 0.25s; }
        .about-page-team-card:nth-child(5) { animation-delay: 0.3s; }
        .about-page-team-card:nth-child(6) { animation-delay: 0.35s; }
        .about-page-team-card:nth-child(7) { animation-delay: 0.4s; }
        .about-page-team-card:nth-child(8) { animation-delay: 0.45s; }



        /* team card end */

        /* home loan page  */

        .video-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top:66px;
}

.video-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: 8%;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0)
    );
}

.video-overlay-content {
    max-width: 500px;
    color: #fff;
}
.video-overlay-content h1 span {
    color: #00abeb;
}

.video-overlay-content h1 {
    font-size: 2.2rem; /* Fallback for older browsers */
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    margin-bottom: 12px;
    line-height: 1.2;
}

.video-overlay-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

        
         .home-section {
            padding: 3rem 0;
        }

        .home-section-header {
            text-align: center;
            margin-bottom: 1rem;
            margin-top:1rem;
        }

        .home-section-title {
            font-family: 'DM Serif Display', serif;
            font-size: 2.75rem;
            color: #1a3c8b;
            margin-bottom: 1rem;
            letter-spacing: -0.5px;
        }

        .home-section-subtitle {
            font-size: 1.15rem;
            color: var(--gray-600);
            max-width: 100%;
            margin: 0 auto;
        }

.home-btn {
            padding: 0.75rem 1.75rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .home-btn-primary {
            background: var(--cta-orange);
            color: var(--white);
            box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
        }

        .home-btn-primary:hover {
            background: #E55A2B;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        }

        .home-btn-secondary {
            background: transparent;
            color: var(--primary-blue);
            border: 2px solid var(--primary-blue);
        }

        .home-btn-secondary:hover {
            background: var(--light-blue);
        }
        
        .home-overview-intro {
            text-align: center;
            max-width: 100%;
            margin: 0 auto 3rem;
            font-size: 1.1rem;
            color: var(--gray-700);
            line-height: 1.8;
        }

        .finserv-trusted {
        font-size: 1.8rem !important;
    }
    .home-section-subtitle {
        font-size: 1rem;
    }
    .home-feature-cards {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 2rem;
        }

        .home-feature-card {
            background: var(--white);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .home-feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-blue), var(--cta-orange));
            transform: scaleX(0);
            transition: var(--transition);
        }

        .home-feature-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--light-blue);
        }

        .home-feature-card:hover::before {
            transform: scaleX(1);
        }

        .home-feature-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, var(--light-blue), #D1E7F8);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.75rem;
        }

        .home-feature-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: #1a3c8b;
            margin-bottom: 0.75rem;
        }

        .home-feature-description {
            color: var(--gray-600);
            line-height: 1.7;
        }

        .home-benefits-section {
            background: var(--gray-50);
        }

        .home-benefit-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .home-benefit-card {
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border-left: 4px solid transparent;
        }

        .home-benefit-card:hover {
            box-shadow: var(--shadow-md);
            border-left-color: var(--accent-blue);
            transform: translateX(8px);
        }

        .home-benefit-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .home-benefit-icon {
            width: 48px;
            height: 48px;
            background: var(--light-blue);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary-blue);
        }

        .home-benefit-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1a3c8b;
        }

        .home-benefit-description {
            color: var(--gray-600);
            line-height: 1.7;
        }

        .home-tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 2.5rem;
            background: var(--gray-100);
            padding: 0.5rem;
            border-radius: 12px;
            justify-content: center;
        }

        .home-tab {
            padding: 0.875rem 2rem;
            border: none;
            background: transparent;
            color: var(--gray-600);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            border-radius: 8px;
            transition: var(--transition);
            font-family: 'Manrope', sans-serif;
        }

        .home-tab.active {
            background: var(--white);
            color: var(--primary-blue);
            box-shadow: var(--shadow-sm);
        }

        .home-tab:hover:not(.active) {
            color: var(--gray-900);
        }

        .home-tab-content {
            display: none;
        }

        .home-tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease-out;
        }

        

        .home-eligibility-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .home-eligibility-section h3,
        .home-documents-section h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1a3c8b;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .home-documents-section details {
        border-bottom: 1px solid #e5e7eb;
        padding: 1rem;
        background: var(--gray-50);
        border-radius: 10px;
        transition: var(--transition);
}

.home-documents-section summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-documents-section summary::-webkit-details-marker {
    display: none;
}

.home-documents-section summary::before {
    content: "›";
    font-size: 18px;
    transition: transform 0.2s ease;
}

.home-documents-section details[open] summary::before {
    transform: rotate(90deg);
}

.home-documents-section ul {
    margin: 8px 0 0 26px;
    padding: 0;
}

.home-documents-section li {
    margin: 6px 0;
}


        .home-checklist {
            list-style: none;
            display: grid;
            gap: 1rem;
        }

        .home-checklist-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1rem;
            background: var(--gray-50);
            border-radius: 10px;
            transition: var(--transition);
        }

        .home-checklist-item:hover {
            background: var(--light-blue);
        }

        .home-checklist-icon {
            width: 24px;
            height: 24px;
            background: var(--success-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 0.75rem;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .home-document-list {
            list-style: none;
            display: grid;
            gap: 0.75rem;
        }

        .home-document-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            background: var(--gray-50);
            border-radius: 8px;
            font-size: 0.95rem;
        }

        .home-document-icon {
            color: var(--accent-blue);
            font-size: 1.1rem;
        }

        .home-emi-preview-section {
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
            color: var(--white);
        }

        .home-emi-preview-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .home-emi-preview-content h2 {
            color: var(--white);
            margin-bottom: 1rem;
        }

        .home-emi-preview-content .home-section-subtitle {
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 2rem;
        }

        .home-emi-preview-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .home-emi-preview-title {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 1rem;
        }

        .home-emi-preview-amount {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .home-emi-preview-details {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        .home-emi-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .home-emi-stat {
            text-align: center;
        }

        .home-emi-stat-value {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .home-emi-stat-label {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Simple EMI Calculator Styles */
        .home-emi-simple-calc {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            margin-top: 30px;
            text-align: left;
            color: var(--gray-700);
        }

        .home-emi-inputs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }

        .home-emi-input-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: #64748b;
            margin-bottom: 8px;
        }

        .home-emi-input-group input {
            width: 100%;
            padding: 12px;
            border: 1.5px solid #e2e8f0;
            border-radius: 8px;
            font-weight: 600;
            color: var(--primary-blue);
        }

        .home-emi-result {
            background: #f8fafc;
            padding: 20px;
            border-radius: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .home-emi-result-label {
            display: block;
            font-size: 0.75rem;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .home-emi-result-value {
            font-size: 1.75rem;
            font-weight: 800;
            color: #1e4fd8;
        }


        .home-faq-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .home-faq-category {
            margin-bottom: 2.5rem;
        }

        .home-faq-category-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--light-blue);
        }

        .home-faq-item {
            background: var(--white);
            border-radius: 12px;
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            border: 1px solid var(--gray-200);
            transition: var(--transition);
        }

        .home-faq-item:hover {
            border-color: var(--accent-blue);
        }

        .home-faq-question {
            padding: 1.5rem 2rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--gray-900);
            transition: var(--transition);
        }

        .home-faq-question:hover {
            color: var(--primary-blue);
        }

        .home-faq-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray-600);
            transition: var(--transition);
            flex-shrink: 0;
        }

        .home-faq-item.active .home-faq-icon {
            transform: rotate(180deg);
            color: var(--primary-blue);
        }

        .home-faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .home-faq-answer-content {
            padding: 0 2rem 1.5rem 2rem;
            color: var(--gray-600);
            line-height: 1.7;
        }

        .home-faq-item.active .home-faq-answer {
            max-height: 500px;
        }


        /* Footer */
        /* .service-page-footer {
            background: var(--text-dark);
            color: rgba(255, 255, 255, 0.8);
            padding: 3rem 2rem 2rem;
            text-align: center;
        }

        .service-page-footer-content {
            max-width: 1280px;
            margin: 0 auto;
        }

        .service-page-footer p {
            font-size: 0.9rem;
        } */


        /* contact page 
         */

         .page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}   
    .section-header-contact-page {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-contact-page h1 {
    font-size: 2.4rem;
    font-weight: 600;
}
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.contact-image img {
    max-width: 100%;
    border-radius: 10px;
}
.contact-form h4 {
    margin-bottom: 10px;
}

.text-primary {
    color: #0b5ed7;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0b5ed7;
    outline: none;
}
.map-wrapper {
    margin-top: 60px;
}

.map-wrapper iframe {
    width: 100%;
    border-radius: 10px;
    border: none;
}





/* Footer Scaling */

/* Footer */
footer {
    padding: 3rem 0 0;
    background-color: #000;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info .footer-logo {
    max-width: 220px;
    padding: 10px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    background-color: white;
}

.footer-info .footer-logo img {
    width: 100%;
}

.footer-info p {
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.back-to-top {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background-color: #0d6efd; /* bootstrap primary */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    visibility:hidden;
}


/* Hover effect */
.back-to-top:hover {
    background-color: #0b5ed7;
    transform: translateY(-4px);
}

/* Hide initially */
.back-to-top {
    opacity: 0;
    visibility: hidden;
}

/* Show when active */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
body.menu-open .back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0077b5; /* Default brand color (LinkedIn) */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a.facebook { color: #1877f2; }
.social-icons a.twitter { color: #1da1f2; }
.social-icons a.instagram { color: #e4405f; }
.social-icons a.whatsapp { color: #25d366; }

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    font-size: 1rem;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: #fff;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-contact p {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0.4rem;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact .contact-item:hover {
    color: #fff;
}

.footer-contact .contact-item i {
    font-size: 1.1rem;
    color: #fff;
}
.footer-contact .contact-item a {
    font-size: 1rem;
    text-decoration:none;
    color: #ddd;
}
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid #333;
    background-color: #000;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888;
}

.footer-bottom p a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom .footer-legal {
    display: flex;
    gap: 20px;
}

.footer-bottom .footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom .footer-legal a:hover {
    color: #fff;
}



/* General Utility Classes */
.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h4 {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    color: #475569;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-details h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.client-details span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}



/* Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(41, 92, 171, 0.4);
    z-index: 2000; /* Increased to be above everything */
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--secondary-blue);
}

.chatbot-container {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 330px; /* Reduced width */
    height: 550px;
    max-height: calc(100vh - 150px);
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2000; /* Match toggle */
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.chatbot-container.active {
    display: flex;
    animation: slideUp 0.3s ease-out;
}


.chatbot-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
}

.chatbot-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.close-chatbot {
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-chatbot:hover {
    background: rgba(255,255,255,0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #f0f4f8;
}

.message {
    max-width: 90%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message.bot {
    background-color: var(--white);
    color: var(--black);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
}

.message.user {
    background-color: var(--primary-blue);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background: #fff;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgba(41, 92, 171, 0.2);
}

/* Chatbot Onboarding Styles */
.chatbot-onboarding {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden; /* Prevent scrolling */
}

.onboarding-icon {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 0 auto 0.5rem;
}

.onboarding-content {
    text-align: center;
}

.onboarding-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.onboarding-content p {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 12px;
    color: var(--primary-blue);
    font-size: 0.75rem;
}

.input-group input {
    width: 100%;
    padding: 0.5rem 0.8rem 0.5rem 2.2rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(41, 92, 171, 0.1);
}

/* Validation styling */
.input-group input:invalid:focus {
    border-color: #ef4444;
}

.start-btn {
    width: 100%;
    padding: 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 0.4rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: block !important;
    font-size: 0.8rem;
}

.start-btn:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    background: #fff;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.chatbot-input input:focus {
    border-color: var(--primary-blue);
}

.chatbot-input button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    background-color: var(--secondary);
}





/* About Page Specific Styles */
.about-hero {
    padding: 120px 0 60px;
    background-color: #f8fafc;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.about-section-main {
    padding: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: top;
    margin-top:50px;
}

.about-content-left h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content-left h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--black);
}



.about-content-left p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.incorp-cert {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #ef4444;
    padding-bottom: 2px;
    transition: all 0.3s;
}

.incorp-cert:hover {
    color: #b91c1c;
    border-color: #b91c1c;
}

.about-features-list {
    margin-top: 2rem;
    list-style: none;
}

.about-features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: var(--black);
}

.about-features-list li i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.about-content-right {
    position: relative;
}

.about-content-button{
    margin-top: 2rem;
    display:flex;
    justify-content:center;
    align-items:center;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image-wrapper img {
    width: 100%;
    height:405px;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #64748b;
    font-weight: 500;
    margin: 0;
}



/* Mission, Vision & Values */
.mission-vision-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.mission-vision-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-vision-content h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mission-vision-content h2 {
    font-size: 2.8rem;
    color: var(--black);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.mission-vision-content h2 span {
    color: var(--primary-blue);
}

.mission-box {
    margin-bottom: 2rem;
}

.mission-box h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.mission-box p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Awards Section */
.awards-section {
    padding: 80px 0;
    background-color: var(--white);
}

.awards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.award-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 1 calc(23% - 1rem); /* Adjusted to ensure 4 fit in the first row */
    min-width: 230px; /* Reduced to prevent early wrapping */
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.award-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.award-logo i {
    font-size: 3rem;
}

.award-card h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
}

.award-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}


.calculator-wrapper {
            --primary-deep: #0f172a;
            --primary-accent: #3b82f6;
            --primary-accent-dark: #2563eb;
            --success: #10b981;
            --warning: #f59e0b;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-body: #f8fafc;
            --bg-card: #ffffff;
            --border-elegant: #e2e8f0;
            --shadow-premium: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --radius-classic: 10px; /* Reduced from 12px */
            --radius-inner: 6px; /* Reduced from 8px */
            
            --faq-bg: #ffffff;
            --faq-border: #e2e8f0;
            --faq-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            padding: 80px 20px 30px; /* Reduced padding from 100px 20px 40px */
            font-size: 13.5px; /* Reduced from 14px */
        }

        /* FAQ Section Styles */
        .faq-section {
            margin-top: 40px;
            max-width: 950px;
            margin-left: auto;
            margin-right: auto;
        }

        .faq-card {
            background: var(--faq-bg);
            border: 1px solid var(--faq-border);
            border-radius: var(--radius-classic);
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: var(--faq-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .faq-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .faq-card h3 {
            color: var(--primary-deep);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .faq-card p {
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 0;
        }

        .formula-box {
            background: #f8fafc;
            border-radius: var(--radius-inner);
            padding: 16px;
            margin: 16px 0;
            border-left: 4px solid var(--primary-accent);
        }

        .formula-title {
            font-weight: 700;
            color: var(--primary-deep);
            margin-bottom: 8px;
            display: block;
            font-size: 0.9rem;
        }

        .formula-content {
            font-family: 'Courier New', Courier, monospace;
            font-weight: 600;
            color: var(--primary-accent-dark);
            display: block;
            margin-bottom: 8px;
            font-size: 1rem;
        }

        .formula-note {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-style: italic;
        }

        /* Amortization Schedule Styles */
        .amortization-section {
            margin-top: 30px;
            animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .amortization-card {
            background-color: var(--bg-card);
            border-radius: var(--radius-classic);
            padding: 24px;
            border: 1px solid var(--border-elegant);
            box-shadow: var(--shadow-premium);
        }

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

        .amortization-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-deep);
            margin: 0;
        }

        .table-container {
            overflow-x: auto;
            border-radius: var(--radius-inner);
            border: 1px solid var(--border-elegant);
            margin-bottom: 20px;
        }

        .amortization-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
            text-align: left;
        }

        .amortization-table th {
            background-color: #f1f5f9;
            color: var(--primary-deep);
            font-weight: 700;
            padding: 14px 16px;
            border-bottom: 1px solid var(--border-elegant);
            white-space: nowrap;
        }

        .amortization-table td {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border-elegant);
            color: var(--text-main);
            font-weight: 500;
        }

        .amortization-table tr:last-child td {
            border-bottom: none;
        }

        .amortization-table tr:hover {
            background-color: #f8fafc;
        }

        .btn-view-full {
            background-color: white;
            color: var(--primary-deep);
            border: 1.5px solid var(--border-elegant);
            padding: 10px 20px;
            border-radius: var(--radius-inner);
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-view-full:hover {
            background-color: #f1f5f9;
            border-color: var(--primary-accent);
            color: var(--primary-accent-dark);
        }

        .full-schedule-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-content {
            background: white;
            width: 100%;
            max-width: 900px;
            max-height: 90vh;
            border-radius: var(--radius-classic);
            padding: 30px;
            position: relative;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

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

        .modal-title {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary-deep);
        }

        .close-modal {
            background: #f1f5f9;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-muted);
            transition: all 0.2s;
        }

        .close-modal:hover {
            background: #fee2e2;
            color: #ef4444;
        }

        .modal-body {
            overflow-y: auto;
            flex: 1;
            border-radius: var(--radius-inner);
            border: 1px solid var(--border-elegant);
        }

        .calculator-wrapper .container-calc {
            max-width: 950px; /* Reduced from 1000px */
            margin: 0 auto;
        }

        .calculator-wrapper .header-calc {
            text-align: center;
            margin-bottom: 25px; /* Reduced from 30px */
        }

        .calculator-wrapper .header-calc h1 {
            font-size: 1.6rem; /* Reduced from 1.8rem */
            font-weight: 800;
            letter-spacing: -0.04em;
            color: var(--primary-deep);
            margin-bottom: 6px;
        }

        .calculator-wrapper .header-calc p {
            font-size: 0.85rem; /* Reduced from 0.9rem */
            color: var(--text-muted);
            max-width: 450px;
            margin: 0 auto;
            font-weight: 450;
        }

        .calculator-wrapper .tab-navigation {
            display: flex;
            background-color: #f1f5f9;
            padding: 3px; /* Reduced from 4px */
            border-radius: 8px; /* Reduced from 10px */
            margin-bottom: 20px; /* Reduced from 24px */
            max-width: 340px; /* Reduced from 360px */
            margin-left: auto;
            margin-right: auto;
            border: 1px solid var(--border-elegant);
        }

        .calculator-wrapper .tab-button {
            flex: 1;
            padding: 7px 14px; /* Reduced from 8px 16px */
            font-size: 0.8rem; /* Reduced from 0.85rem */
            font-weight: 600;
            color: var(--text-muted);
            border-radius: 6px; /* Reduced from 7px */
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            border: none;
            background: transparent;
            user-select: none;
        }

        .calculator-wrapper .tab-button:hover {
            color: var(--primary-deep);
        }

        .calculator-wrapper input[type="radio"] {
            display: none;
        }

        .calculator-wrapper #emi-tab:checked ~ .tab-navigation label[for="emi-tab"],
        .calculator-wrapper #eligibility-tab:checked ~ .tab-navigation label[for="eligibility-tab"] {
            background-color: var(--bg-card);
            color: var(--primary-deep);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }

        .calculator-wrapper .emi-flex-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px; /* Reduced from 24px */
            align-items: stretch;
        }

        .calculator-wrapper .tab-content {
            display: none;
            animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        

        .calculator-wrapper #emi-tab:checked ~ .emi-calculator,
        .calculator-wrapper #eligibility-tab:checked ~ .eligibility-calculator {
            display: block;
        }

        .calculator-wrapper .card {
            background-color: var(--bg-card);
            border-radius: 10px; /* Reduced from 12px */
            padding: 18px; /* Reduced from 20px */
            border: 1px solid var(--border-elegant);
            box-shadow: var(--shadow-premium);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            height: 100%;
        }

        .calculator-wrapper .card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        .calculator-wrapper .card-title {
            font-size: 1rem; /* Reduced from 1.1rem */
            font-weight: 700;
            color: var(--primary-deep);
            margin-bottom: 16px; /* Reduced from 20px */
            letter-spacing: -0.02em;
        }

        .calculator-wrapper .form-group {
            margin-bottom: 14px; /* Reduced from 16px */
        }

        .calculator-wrapper .form-label {
            display: block;
            font-size: 0.75rem; /* Reduced from 0.8rem */
            font-weight: 600;
            color: var(--primary-deep);
            margin-bottom: 5px;
        }

        .calculator-wrapper .input-wrapper {
            position: relative;
        }

        .calculator-wrapper .input-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-weight: 600;
            font-size: 0.85rem;
            pointer-events: none;
        }

        .calculator-wrapper .form-input {
            width: 100%;
            padding: 8px 10px 8px 32px; /* Reduced padding */
            border: 1.5px solid var(--border-elegant);
            border-radius: var(--radius-inner);
            font-size: 0.85rem; /* Reduced from 0.9rem */
            font-family: inherit;
            font-weight: 500;
            color: var(--text-main);
            transition: all 0.2s ease;
            background-color: #fcfcfc;
        }

        .calculator-wrapper .form-input:focus {
            outline: none;
            border-color: var(--primary-accent);
            background-color: var(--bg-card);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .calculator-wrapper .emi-summary-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
        }

        .calculator-wrapper .emi-label {
            font-size: 0.65rem; /* Reduced from 0.7rem */
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 6px;
        }

        .calculator-wrapper .emi-amount {
            font-size: 2rem; /* Reduced from 2.2rem */
            font-weight: 800;
            color: var(--primary-deep);
            letter-spacing: -0.05em;
            margin-bottom: 14px;
            line-height: 1;
        }

        .calculator-wrapper .donut-container {
            position: relative;
            width: 140px; /* Reduced from 160px */
            height: 140px; /* Reduced from 160px */
            margin: 0 auto 16px;
        }

        .calculator-wrapper .donut-chart {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: conic-gradient(
                #3b82f6 0deg 65%, 
                #10b981 65% 100%
            );
            transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: inset 0 0 12px rgba(0,0,0,0.05);
        }

        .calculator-wrapper .donut-center {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            bottom: 12px;
            background: var(--bg-card);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }

        .calculator-wrapper .donut-center span {
            font-size: 0.6rem; /* Reduced from 0.65rem */
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 2px;
        }

        .calculator-wrapper .donut-center strong {
            font-size: 0.9rem; /* Reduced from 1rem */
            color: var(--primary-deep);
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .calculator-wrapper .donut-legend {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px; /* Reduced from 16px */
            margin-top: 4px;
            width: 100%;
        }

        .calculator-wrapper .legend-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .calculator-wrapper .legend-label {
            display: flex;
            align-items: center;
            font-size: 0.65rem; /* Reduced from 0.7rem */
            font-weight: 700;
            color: var(--text-muted);
            margin-bottom: 2px;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .calculator-wrapper .color-dot {
            width: 7px;
            height: 7px;
            border-radius: 2px;
            margin-right: 5px;
        }

        .calculator-wrapper .legend-value {
            font-size: 0.9rem; /* Reduced from 1rem */
            font-weight: 700;
            color: var(--primary-deep);
            letter-spacing: -0.01em;
        }

        .calculator-wrapper .cta-section-calc {
            display: flex;
            gap: 8px; /* Reduced from 10px */
            margin-top: 20px; /* Reduced from 24px */
            width: 100%;
        }

        .calculator-wrapper .btn-calc {
            flex: 1;
            padding: 8px 14px; /* Reduced from 10px 16px */
            border-radius: var(--radius-inner);
            font-size: 0.8rem; /* Reduced from 0.85rem */
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            letter-spacing: -0.01em;
        }

        .calculator-wrapper .btn-calc-primary {
            background-color: var(--primary-deep);
            color: white;
            text-decoration:none; 
        }

        .calculator-wrapper .btn-calc-secondary {
            background-color: white;
            color: var(--primary-deep);
            border: 2px solid var(--border-elegant);
        }

        

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0);
            }
            50% {
                transform: translate(30px, -30px);
            }
        }
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        @media (max-width: 960px) {
            .calculator-wrapper .emi-flex-container {
                grid-template-columns: 1fr;
            }
            .calculator-wrapper {
                padding: 70px 15px 25px;
            }
        }

        @media (max-width: 768px) {
            .calculator-wrapper .container-calc {
                padding: 0 10px;
            }
            
            .calculator-wrapper .tab-navigation {
                max-width: 100%;
                margin-bottom: 15px;
            }
            
            .calculator-wrapper .tab-button {
                padding: 10px 5px;
                font-size: 0.75rem;
            }
            
            .calculator-wrapper .emi-amount {
                font-size: 1.75rem;
            }
            
            .calculator-wrapper .donut-legend {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            
            .calculator-wrapper .legend-item {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                width: 100%;
                padding-bottom: 5px;
                border-bottom: 1px dashed var(--border-elegant);
            }
            
            .calculator-wrapper .legend-label {
                margin-bottom: 0;
            }
            
            .calculator-wrapper .cta-section-calc {
                flex-direction: column;
            }
            
            .calculator-wrapper .btn-calc {
                width: 100%;
            }
            
            .calculator-wrapper .amortization-table th:nth-child(3),
            .calculator-wrapper .amortization-table td:nth-child(3) {
                display: none; /* Hide Balance on small screens to fit */
            }

            .calculator-wrapper .formula-box {
                padding: 15px;
                font-size: 0.85rem;
                overflow-x: auto;
            }

            .calculator-wrapper .formula-content {
                font-size: 1rem;
                white-space: nowrap;
            }
        }

        @media (max-width: 480px) {
            .calculator-wrapper .header-calc h1 {
                font-size: 1.4rem;
            }
            
            .calculator-wrapper .card {
                padding: 15px;
            }
            
            .calculator-wrapper .emi-amount {
                font-size: 1.5rem;
            }
            
            .calculator-wrapper .donut-container {
                width: 120px;
                height: 120px;
            }
        }

         @media (max-width: 968px) {
            .service-page-nav {
                display: none;
            }

            .service-page-hero-title {
                font-size: 2.5rem;
            }

            .service-page-services-grid {
                grid-template-columns: 1fr;
            }

            .service-page-cta-content h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 640px) {
            .service-page-hero-title {
                font-size: 2rem;
            }

            .service-page-service-card {
                border-radius: 16px;
            }

            .service-page-service-image {
                height: 220px;
            }
        }
/* @media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .award-card {
        flex: 0 1 calc(50% - 2rem);  2 per row on tablets 
    }
} */
@media (max-width: 1200px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {

    /* Grids */
    .mission-vision-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .award-card {
        flex: 0 1 calc(50% - 2rem);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Headings */
    .about-content-left h2,
    .mission-vision-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 1.5rem 0;
        z-index: 100;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-cta-item {
        display: block !important;
        margin: 0.5rem 2rem !important;
    }

    .mobile-cta-item .btn {
        width: auto;
        min-width: 150px;
        text-align: center;
        padding: 0.6rem 2rem;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-cta-item.dropdown .btn-sign-in {
        width: 150.82px;
        margin-top: 10px;
    }
    .mobile-cta-item.dropdown.active .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        padding-left: 20px !important;
    }

    .mobile-cta-item.dropdown .dropdown-menu li {
        margin: 0.5rem 0 !important;
    }

    .has-submenu .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        transform: none !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        width: 100% !important;
    }

    .has-submenu.active > .sub-menu {
        display: block !important;
    }

    .nav-links li {
        margin: 1rem 2rem;
    }

    .menu-toggle {
        display: block;
    }
    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--black);
        transition: var(--transition);
    }

    .cta-nav {
        display: none;
    }

    /* Dropdown */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Grids */
    .services-row,
    .services .grid,
    .testimonials-grid {
        grid-template-columns: repeat(2,1fr);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
        min-width:auto;
        grid-template-columns: 1fr;
    }
    .home-feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .home-benefit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .home-eligibility-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .home-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .home-tab {
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        flex-shrink: 0;
    }
    .home-emi-preview-section {
        padding: 60px 0;
    }

    .home-emi-preview-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .home-emi-preview-content .home-section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: var(--white);
    }

    .home-emi-preview-content .home-section-subtitle {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .home-emi-preview-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .home-emi-preview-amount {
        font-size: 2.2rem;
    }

    .home-emi-preview-title {
        font-size: 0.95rem;
    }

    .home-emi-preview-details {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .home-emi-stats {
        gap: 1rem;
        grid-template-columns: repeat(3, 1fr);
        padding-top: 1.5rem;
    }

    .home-emi-stat-value {
        font-size: 1.2rem;
    }

    .home-emi-stat-label {
        font-size: 0.75rem;
    }

    /* Simple Calculator Responsiveness */
    .home-emi-simple-calc {
        padding: 20px !important;
        margin-top: 20px !important;
    }

    .home-emi-inputs {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .home-emi-result {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .home-emi-result div {
        width: 100%;
    }

    .home-emi-result .home-btn {
        width: 100%;
    }

    /* Hero */
    .hero {
        height: 85vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
    }
    .video-container {
        height: 40vh; /* Reduced for mobile */
    }

    /* Contact Page Reordering */
    .contact-section {
        padding: 40px 0;
    }

    .contact-section .container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .contact-grid {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .contact-form {
        order: 1;
        padding: 0 15px;
    }

    .contact-image {
        order: 2;
        margin-top: 30px;
        padding: 0 15px;
        text-align: center;
    }

    .section-header-contact-page {
        order: 3;
        margin-top: 40px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .section-header-contact-page h1 {
        font-size: 1.8rem;
    }

    .map-wrapper {
        order: 4;
        margin-top: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {

    .award-card {
        flex: 0 1 100%;
    }

    .service-page-hero-title {
        font-size: 2rem;
    }
    .services-row,
    .services .grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .service-img{
        height: auto;
    }
    
    .home-emi-preview-amount {
        font-size: 2rem;
    }

    .home-emi-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .home-emi-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .home-emi-stat:last-child {
        border-bottom: none;
    }

    .home-emi-stat-value {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .home-emi-result-value {
        font-size: 1.5rem;
    }

    .service-item{
        min-height: 180px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}




/* @media (max-width: 576px) {
    .award-card {
        flex: 0 1 100%; 
    }
    
    .mission-vision-content h2 {
        font-size: 2.2rem;
    }
} */
/* @media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} */

/* @media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
} */

/* features media response */


/* @media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .financial-services {
        padding: 60px 30px;
    }
} */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 1.5rem 0;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-cta-item {
        display: block !important;
        margin: 0.5rem 2rem !important;
    }

    .mobile-cta-item .btn {
        width: auto;
        min-width: 150px;
        text-align: center;
        padding: 0.6rem 2rem;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-cta-item.dropdown .btn-sign-in {
        width: 150.82px;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 1rem 2rem;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--black);
        transition: var(--transition);
    }

    .cta-nav {
        display: none;
        
    }

    .flex {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    /* Services Grid Responsive */
    .services .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 in a row on tablets */
        gap: 1.5rem;
    }

    /* Contact Section Responsive */
    .contact-box {
        padding: 2rem;
    }

    .contact form {
        grid-template-columns: 1fr;
    }

    .contact .form-group.full-width {
        grid-column: span 1;
    }

    .contact-box h2 {
        font-size: 1.8rem;
    }

    /* Hero Responsive */
    .hero {
        height: 85vh; /* Increased for better verticality on mobile */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Video Responsive */
    .video-container {
        height: 40vh; /* Reduced for mobile */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb-title {
        font-size: 32px;
    }

    .service-section {
        padding: 60px 15px;
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
        min-width:auto;
        grid-template-columns: 1fr;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: grid;
    }
}

/* @media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content-left h2 {
        font-size: 2.2rem;
    }
} */
@media (max-width: 480px) {
    .chatbot-container {
        right: 10px;
        bottom: 80px;
        width: calc(100% - 20px);
        height: 70vh;
    }
}

@media (max-width: 767px) {
    .page-banner {
        height: 280px;        /* ⬅ increase height */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 576px) {
    .services .grid {
        grid-template-columns: 1fr; /* 1 in a row on small mobile */
    }
}
/* Responsive Footer */

/* --- Comprehensive Mobile Responsiveness --- */

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* Hero Section Adjustments */
    .hero h1 {
        font-size: 2.5rem !important;
        max-width: 90%;
    }
    .hero-content {
        margin-left: 30px;
        max-width: 55%;
    }
    .hero p {
        font-size: 0.9rem;
        max-width: 90%;
    }
    .hero-btns .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    /* Header Adjustments */
    .nav-links li {
        margin-left: 1.2rem;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .cta-nav {
        gap: 10px;
    }
    .btn-sign-in {
        width: auto;
        padding: 0 1.2rem;
        font-size: 0.85rem;
    }
    .header-apply {
        padding: 0 1.2rem;
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .services-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: auto;
        min-height: auto;
        padding: 60px 0 0;
        background: #fff;
    }
    .hero-slider {
        position: relative;
        height: auto;
        aspect-ratio: 16/7;
        margin-top: 0;
    }
    .slide {
        height: 100%;
        background-position: center !important;
        background-size: cover !important;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .hero-content {
        display: block !important;
        max-width: 55%;
        margin-left: 0;
        padding: 0 5%;
        text-align: left;
        z-index: 10;
    }
    .hero-intro{
        font-size:0.5rem;
    }

     .hero h1, .hero p {
        display: none !important;
    }
    .hero-btns {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center;
        justify-content: flex-start;
    }
    .hero-btns .btn {
        width: auto !important;
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
        min-width: 80px;
        margin: 0 !important;
    }
    
    .slider-nav {
        bottom: 10px;
        right: 10px;
        left: auto;
        width: auto;
        gap: 5px;
    }
    .slider-nav button {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
        background: rgba(255, 255, 255, 0.7);
        color: #333;
    }

    /* Features Section */
    .finserv-header {
        margin-bottom: 40px;
    }
    .finserv-header h1 {
        font-size: 1.8rem !important;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .financial-services {
        padding: 40px 15px;
    }

    /* About Section */
    .about .flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .about-image img {
        width: 100%;
        height: auto;
    }

    /* Services Section */
    .services-row {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 1.8rem !important;
    }

    /* Testimonials Section */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testimonial-card {
        padding: 20px;
    }

    /* FAQ Section */
    .home-section-title {
        font-size: 1.8rem !important;
    }
    .home-faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    .home-faq-answer-content {
        padding: 0 1.5rem 1.2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);;
        gap: 20px;
        text-align: center;
    }
    .box2, .box3{
        text-align:left;
    }
    .box1, .box4{
        grid-column:1 / -1;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .contact-item {
        justify-content: center;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }

    /* Final CTA */
    .final-cta {
        padding: 60px 20px;
    }
    .final-cta-content h2 {
        font-size: 1.6rem;
    }

    .finserv-trusted {
        font-size: 1.8rem !important;
    }
    .home-section-subtitle {
        font-size: 1rem;
    }
    .home-feature-cards {
        grid-template-columns: 1fr;
    }
    .video-hero {
        height: 300px;
        min-height: auto;
        margin-top: 60px;
    }
    .video-overlay-content h1 {
        font-size: 1.8rem;
    }
    .video-overlay-content p {
        font-size: 1rem;
    }
    .video-banner-overlay {
        padding-left: 0;
        padding-right: 0;
        background: rgba(0,0,0,0.4);
        justify-content: center;
        text-align: center;
    }
    .video-overlay-content {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-content-left h2 {
        font-size: 2rem;
    }
    .about-image-wrapper img {
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mission-vision-content h2 {
        font-size: 2rem;
    }

    .award-card {
        flex: 1 1 100%;
        min-width: 0;
    }

    .about-page-page-hero {
        padding: 3rem 1rem;
    }
    .about-page-hero-title {
        font-size: 2rem;
    }
    .about-page-hero-description {
        font-size: 1rem;
    }

    .about-page-team-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem;
    }
    .about-page-team-card {
        height: auto;
        max-width: 350px;
        margin: 0 auto 20px;
    }
    .about-page-team-image {
        height: 350px;
    }
    .about-page-social-icon {
        display: none !important;
    }
    .about-page-team-overlay {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .video-hero {
        height: 220px;
    }
    .finserv-eyebrow {
        font-size: 0.8rem;
    }
    .service-card {
        padding: 25px;
    }
}
@media screen and (max-width: 1024px) {
    
    /* Hide desktop navigation elements on mobile */
    .nav-links {
        display: none ;
    }
    
    .cta-nav {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    
    .menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Mobile Menu Container */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-top: 70px;
        z-index: 999;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .menu-header {
        padding: 20px;
        background: linear-gradient(135deg, #1e5ef5 0%, #0d47a1 100%);
        color: #fff;
        margin-bottom: 10px;
    }

    .menu-header h3 {
        font-size: 16px;
        font-weight: 500;
        opacity: 0.9;
    }

    /* Mobile Menu CTA Buttons */
    .mobile-cta-item-new {
        padding: 10px 20px;
        border-bottom: none !important;
    }

    .mobile-apply-btn, .mobile-signin-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        gap: 10px;
        padding: 14px 20px !important;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        width: 100%;
        transition: all 0.3s ease;
    }

    /* Override any inherited icons/chevrons in these specific buttons */
    .mobile-apply-btn i, .mobile-signin-btn i {
        margin: 0;
        position: static;
    }

    .mobile-signin-btn .fa-chevron-right {
        margin-left: auto;
        position: absolute;
        right: 20px;
        transition: transform 0.3s ease;
    }

    .mobile-signin-btn.active .fa-chevron-right {
        transform: rotate(90deg);
    }

    .mobile-apply-btn {
        background: linear-gradient(135deg, #1e5ef5 0%, #0d47a1 100%);
        color: #fff !important;
    }

    .mobile-signin-btn {
        background: #dc3545;
        color: #fff !important;
    }

    .mobile-cta-item-new:last-of-type {
        margin-bottom: 10px;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    .nav-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu > li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: background 0.2s ease;
        justify-content: space-between;
    }
    
    .nav-menu a:active {
        background: #f5f5f5;
    }
    
    .nav-menu .fa-chevron-right {
        font-size: 12px;
        color: #999;
        transition: transform 0.3s ease;
    }
    
    .submenu {
        max-height: 0;
        overflow: hidden;
        background: #f8f9fa;
        transition: max-height 0.3s ease;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .submenu.active {
        max-height: 500px;
    }
    
    .submenu li {
        border-bottom: 1px solid #e9ecef;
    }
    
    .submenu li:last-child {
        border-bottom: none;
    }
    
    .submenu a {
        padding: 14px 20px 14px 40px;
        font-size: 14px;
        font-weight: 400;
    }
    
    .has-submenu > a.active .fa-chevron-right {
        transform: rotate(90deg);
    }
    
    .signin-submenu {
        background: #fff;
    }
    
    .signin-submenu a {
        padding-left: 40px;
    }
    
    .nested-submenu {
        background: #e9ecef;
    }
    
    .nested-submenu a {
        padding-left: 60px;
    }
}

/* Desktop - Hide mobile menu elements on larger screens */
@media screen and (min-width: 1025px) {
    .mobile-menu {
        display: none !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}
/* @media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
} */

/* @media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
} */


