:root {
    /* Yash Overseas Official Colors */
    --brand: #003399;
    --brand-hover: #002266;
    --brand-red: #ed3237;

    /* SaaS Soft Palettes */
    --soft-blue: #eff6ff;
    --soft-red: #fef2f2;
    --soft-primary: #f8fafc;

    /* Sleek Typography Colors */
    --text-dark: #0f172a;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --text-muted: #181818;

    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    /* Refined Borders */
    --border-color: rgba(15, 23, 42, 0.08);
    /* 8% opacity dark slate */
    --primary: #0A609B;
    --primary-dark: #005f9f;
    --primary-light: #004b7e;
    --accent: #ED3237;
    --accent-soft: #fff1f2;
    --gold: #f4b400;
    --bg: #ffffff;
    --bg-soft: #f5f8ff;
    --bg-dark: #061735;
    --text: #0f172a;
    --text-muted: #181818;
    --border: #e3eaf5;
    --radius: 14px;
    --shadow-sm: 0 4px 18px rgba(10, 61, 145, 0.07);
    --shadow-md: 0 12px 36px rgba(10, 61, 145, 0.12);
    --shadow-lg: 0 24px 60px rgba(10, 61, 145, 0.18);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Typography Refinements */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    letter-spacing: -0.035em;
    font-weight: 700;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.display-3 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.display-4 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

/* Stripe-like Mesh Gradients & Texts */
.text-gradient {
    background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 30%, var(--brand-red) 70%, var(--brand) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s linear infinite;
}


@keyframes gradientText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.main-para {
    text-align: justify;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-bottom: .8rem;
}

.eyebrow.light {
    color: var(--accent);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-sub {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* Sections */
.py-7 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-8 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.section-blue-bg {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-mesh {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* The Mesh Glow Background */
@keyframes floatMesh {
    0% {
        transform: translateY(0) scale(1);
    }

    33% {
        transform: translateY(-30px) scale(1.05);
    }

    66% {
        transform: translateY(20px) scale(0.95);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes floatMeshReverse {
    0% {
        transform: translateY(0) scale(1);
    }

    33% {
        transform: translateY(30px) scale(0.95);
    }

    66% {
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.mesh-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 51, 153, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
    animation: floatMesh 15s ease-in-out infinite;
    filter: blur(30px);
}

.mesh-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(237, 50, 55, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: 20%;
    left: -150px;
    z-index: 0;
    animation: floatMeshReverse 12s ease-in-out infinite;
    filter: blur(30px);
}

/* Navbar */
.custom-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    border-bottom: 2px solid #00226680;
}

.custom-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.custom-nav .nav-link:hover {
    color: var(--brand) !important;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Buttons */
.btn {
    letter-spacing: -0.01em;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: 50rem;
    transition: all 0.2s ease;
}

.btn-brand {
    background-color: var(--brand);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px 0 rgba(0, 51, 153, 0.25);
}

.btn-brand:hover {
    background-color: var(--brand-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.4);
}

.btn-outline-brand {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-outline-brand:hover {
    background: white;
    border-color: var(--brand);
    color: var(--brand);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

/* SaaS Badge */
.saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--brand);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Glass & Card Elements */
.saas-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.saas-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 51, 153, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 51, 153, 0.12), 0 10px 15px -5px rgba(0, 51, 153, 0.08);
}

.bento-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    overflow: hidden;
}

/* Visuals */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-soft-blue {
    background-color: var(--soft-blue);
}

.bg-soft-red {
    background-color: var(--soft-red);
    border-radius: 14px;
}

.text-red {
    color: var(--brand-red);
}

.text-brand {
    color: var(--brand);
}

.feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    height: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef3ff, #dde7ff);
    color: var(--primary);
    font-size: 1.8rem;
}

.feature-card h5 {
    color: var(--primary-dark);
    margin-bottom: .6rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: .92rem;
    margin: 0;
}

.doc-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.doc-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}

.doc-head i {
    font-size: 1.8rem;
    color: var(--accent);
    width: 50px;
    height: 50px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.doc-head h4 {
    margin: 0;
    font-size: 1.25rem;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem 1rem;
}

.doc-list li {
    padding: .4rem 0;
    color: var(--text);
    font-size: .95rem;
}

.doc-list i {
    color: #16a34a;
    margin-right: .5rem;
}

.uni-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}

.uni-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.uni-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.uni-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 42, 102, 0.5));
}

.uni-body {
    padding: 1.5rem;
    position: relative;
}

.uni-rank {
    position: absolute;
    top: -16px;
    left: 1.5rem;
    background: var(--accent);
    color: #fff;
    padding: .35rem .85rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
}

.uni-body h5 {
    margin: .5rem 0 .4rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.uni-body>p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 1rem;
}

.uni-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.uni-meta li {
    font-size: .88rem;
    padding: .25rem 0;
    color: var(--text);
}

.uni-meta i {
    color: #16a34a;
    margin-right: .4rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.t-step {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    position: relative;
    transition: all .25s;
}

.t-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.t-step span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--accent);
    font-weight: 800;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin-bottom: 1rem;
}

.t-step h6 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: .4rem;
}

.t-step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: .88rem;
    margin: 0;
}

.section-dark-bg {
    background: linear-gradient(135deg, #004678 0%, #0a609b 100%);
}

.loan-banner {
    background: linear-gradient(rgba(0, 74, 153, 0.95), rgba(0, 74, 153, 0.95)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    color: white;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Section Headings */
.section-tag {
    color: var(--edu-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #0d1b2a;
    margin-bottom: 25px;
}

.checklist-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.checklist-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.checklist-item:hover {
    border-color: #004a99;
    background: #eef5ff;
    transform: scale(1.02);
}

.checklist-item i {
    color: #004a99;
    margin-right: 12px;
    font-size: 1rem;
}

/* Feature Highlight Design */
.feature-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #004a99;
    transform: scaleX(0);
    transition: 0.3s;
}

.feature-box:hover::after {
    transform: scaleX(1);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: #eef5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #004a99;
    font-size: 1.5rem;
}

.feature-box h6 {
    font-size: 20px;
    color: #db0006;
}

.accordion-item {
    border: 1px solid #edf2f7;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
    background-color: #eef5ff;
    color: #004a99;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 74, 153, 0.1);
}

.accordion-body {
    padding: 20px 25px;
    line-height: 1.7;
    color: #5f6368;
    background-color: #ffffff;
}

/* .accordion-item:hover {
    border-color: #004a99;
    box-shadow: 0 10px 25px rgba(0, 74, 153, 0.08);
} */
button.accordion-button {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

/* Modern Fees Table */
.fees-table-modern {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeef5;
    background: #fff;
}

/* Header */
.fees-table-modern thead {
    background: linear-gradient(135deg, #0a609b 0%, #004678 100%);
    color: #fff;
}

.fees-table-modern thead tr {
    background: linear-gradient(135deg, #0a609b 0%, #004678 100%);
    color: #fff;
}

.fees-table-modern th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px;
    border: none;
    background: transparent !important;
    color: #fff;
}

/* Body */
.fees-table-modern td {
    padding: 14px;
    border-top: 1px solid #f1f3f8;
    font-size: 0.95rem;
}

/* Hover */
.fees-table-modern tbody tr:hover {
    background-color: #f8fbff;
}

/* First Column */
.fees-table-modern td:first-child {
    background: #e5edff;
}

/* Mobile Optimization */
@media (max-width: 768px) {

    .fees-table-modern th,
    .fees-table-modern td {
        font-size: 0.8rem;
        padding: 10px;
    }
}

.text-primary {
    color: var(--brand) !important;
}

/* ================= FOOTER PREMIUM ================= */
.site-footer {
    background: linear-gradient(135deg, #004878, #005ea3);
    color: #ffffff;
    padding-top: 70px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}




/* ================= UNIVERSITY SHOWCASE LIST (Iteration 4) ================= */
.usp-section {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.usp-container {
    max-width: 1100px;
    margin: 0 auto;
}

.usp-row {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: transparent;
    cursor: default;
    display: flex;
    align-items: center;
}

.usp-row:first-of-type {
    border-top: 1px solid #f1f5f9;
}

.usp-row:hover {
    background-color: #f8fafc;
    border-color: var(--brand);
    z-index: 10;
    transform: translateX(10px);
}

.usp-row:hover .usp-num {
    color: var(--brand);
    transform: scale(1.1);
}

.usp-row:hover .usp-title {
    color: var(--brand);
}

.usp-num {
    flex: 0 0 8.33%;
    max-width: 8.33%;
    font-size: 1.8rem;
    font-weight: 800;
    color: #cbd5e1;
    transition: all 0.4s ease;
    font-family: 'Outfit', sans-serif;
}

.usp-title-box {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 15px;
}

.usp-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    transition: color 0.4s ease;
    font-family: 'Poppins', sans-serif;
}

.usp-desc-box {
    flex: 0 0 58.33%;
    max-width: 58.33%;
    padding: 0 15px;
}

.usp-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.4s ease;
}

@media (max-width: 768px) {
    .usp-row {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        gap: 15px;
    }

    .usp-row:hover {
        transform: none;
    }

    .usp-num,
    .usp-title-box,
    .usp-desc-box {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .usp-num {
        font-size: 2.5rem;
    }

    .usp-title {
        font-size: 1.4rem;
    }
}

/* Soft Glow Effect */
.site-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 74, 153, 0.3), transparent 70%);
    filter: blur(100px);
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237, 50, 55, 0.25), transparent 70%);
    filter: blur(120px);
}

/* Brand */
.footer-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand i {
    font-size: 1.6rem;
}

/* Titles */
.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
}

.footer-title::after {
    content: '';
    width: 40px;
    height: 3px;
    background: #ed3237;
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Contact Info */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.contact-info-item i {
    color: #ed3237;
    margin-top: 4px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 10px;
}

.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-circle:hover {
    background: #ed3237;
    transform: translateY(-4px);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: #94a3b8;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #ffffff;
}

#myModal .form-group.has-feedback {
    margin-bottom: 7px;
}

#chatBtn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    z-index: 9999;
}



#myModal .modal-content {
    border-radius: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

#myModal .modal-header {
    background: #fff;
    padding: 20px 30px;
    border-bottom: 2px solid var(--primary);
}

#myModal .modal-title {
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

#myModal .btn-close {
    background: #ff0000;
    padding: 7px 12px 16px 12px;
    border-radius: 0;
    opacity: 1;
    color: #fff;
    font-weight: 800;

}

#myModal .modal-body {
    padding: 30px;
}

#myModal .form-control {
    border-radius: 0 !important;
    padding: 15px 20px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 15px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

#myModal .form-control:focus {
    background: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 5px 15px rgba(255, 92, 0, 0.05) !important;
    outline: none;
}

#myModal .Submit-box {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
    width: 100%;
}

#myModal .Submit-box:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.1);
}

#myModal #captchaImg {
    background: #edf2f7 !important;
    border: 1px dashed #cbd5e1 !important;
    text-align: center;
    font-weight: 700;
    color: var(--brand);
    height: 52px;
    line-height: 52px;
}

#myModal a img {
    background: #f1f5f9;
    padding: 10px;
    transition: 0.3s;
    width: 54px;
    height: 54px;
}

#myModal a img:hover {
    background: #e2e8f0;
}

#myModal .modal-footer {
    padding: 15px 30px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

#myModal .moClose {
    border-radius: 0;
    padding: 10px 24px;
    background: #eee;
    border: none;
    font-weight: 600;
    color: var(--accent);
    transition: 0.3s;
}

#myModal .moClose:hover {
    background: var(--bg-dark);
    color: #fff;
}

.bio-btn-wrapper {
    position: fixed;
    left: 40px;
    top: 60%;
    transform: translateY(-50%);
    z-index: 999;
}

/* Your existing button */
.bio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #00538d;
    color: #fff;
    padding: 10px 12px 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #fff;
    transform: rotate(-90deg);
    /* better direction */
    transform-origin: left center;
}

.bio-btn .icon {
    width: 44px;
    height: 44px;
    background: #d5060c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* Hover */
.bio-btn:hover {
    background: var(--brand);
}

.bio-btn:hover .icon {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}


@media (max-width:1024px) {
    ul.navbar-nav.ms-auto.align-items-center {
        align-items: start !important;
        margin-top: 20px;
    }

    .hero-title {
        font-size: 50px;
    }

    h2.text-white.mb-4 {
        font-size: 34px;
    }

    img.img-fluid.rounded-circle.border.border-5.border-white.border-opacity-30 {
        max-width: 100%;
    }

    h2 {
        font-size: 34px;
    }
}

@media (max-width:768px) {
    .rw-dir {
        flex-direction: column-reverse;
    }



}

@media (max-width:576px) {

    .timeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }


}

@media (max-width:425px) {

    .g-5,
    .gx-5 {
        --bs-gutter-x: 0;
    }

    h1 {
        font-size: 36px !important;
    }

    h2 {
        font-size: 30px;
    }

    .bio-btn {
        gap: 12px;
        padding: 4px 4px 4px 16px;
    }

    .bio-btn-wrapper {
        left: 30px;
    }

    .timeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .loan-banner {
        padding: 35px
    }

    .banner-btn {
        flex-direction: column;
    }

    .banner-btn a {
        justify-content: center;
    }

    .saas-card .text-center.border-start.ps-lg-5 {
        border: none !important;
    }
}

@media (max-width:375px) {
    .navbar-brand img {
        height: 40px;
    }

    h2.text-white.mb-4 {
        font-size: 28px;
    }

    .timeline {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
}
.custom-links li {
    position: relative;
    padding-left: 26px;
}

/* ICON */
.custom-links li::before {
    content: "🡲";
    position: absolute;
    left: 0;
    top: 22%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-size: contain;
    transition: 0.3s;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* LINK STYLE */
.custom-links li a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

/* HOVER EFFECT */
.custom-links li:hover::before {
    transform: translateY(-50%) translateX(4px);
}

.custom-links li a:hover {
    color: #ffffff !important;
}

footer p,
footer a,
footer li {
    font-size: 16px !important;
}

.text-justify {
    text-align: justify !important;
}

/* Dropdown box */
.custom-dropdown {
    max-height: 450px;
    overflow-y: auto;
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px;
    transition: all 0.3s ease;
}

/* Items */
.custom-dropdown .dropdown-item {
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 6px;
    transition: 0.3s;
}

/* Hover effect */
.custom-dropdown .dropdown-item:hover {
    /* background: linear-gradient(45deg, #002d72, #b11313); */
    background-color: #d11d1d;
    color: #fff;
    transform: translateX(5px);
}

/* ---------------- */
/* DESKTOP HOVER */
/* ---------------- */
@media (min-width: 992px) {

    .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

a.nav-link{
    padding: 10px 15px !important;
}