/* Custom Color Variables */
:root {
    --teal: #14b8a6;
    --teal-light: #5eead4;
    --teal-dark: #0d9488;
    --cyan: #06b6d4;
    --cyan-light: #67e8f9;
    --orange: #f97316;
    --orange-light: #fb923c;
    --amber: #f59e0b;
    --green: #10b981;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 80px;
}

.text-teal {
    color: #065baa;
}

.text-muted {
    --bs-text-opacity: 1;
    /* color: var(--bs-secondary-color) !important; */
}

a {
    color: white;
}

.text-orange {
    color: var(--orange) !important;
}

.text-cyan {
    color: var(--cyan) !important;
}

/* Logo */
.logo-img {
    height: 70px;
}

@media (min-width: 768px) {
    .logo-img {
        height: 92px;
    }
}

/* Navigation */
.navbar {
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.nav-link {
    color: var(--slate-700) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--teal) !important;
    background-color: rgba(20, 184, 166, 0.1);
}

.phone-icon {
    width: 36px;
    height: 36px;
    background: #065baa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-teal-gradient {
    background: #065baa;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

/* .btn-teal-gradient:hover {
    background: linear-gradient(to right, var(--teal-dark), var(--teal-dark), var(--cyan-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
} */

.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 3rem !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 5rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--slate-50), white);
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(20, 184, 166, 0.1), rgba(6, 182, 212, 0.1), rgba(249, 115, 22, 0.1));
}

.hero-background::before,
.hero-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.hero-background::before {
    width: 500px;
    height: 500px;
    background: rgba(20, 184, 166, 0.2);
    top: 0;
    left: 0;
}

.hero-background::after {
    width: 600px;
    height: 600px;
    background: rgba(249, 115, 22, 0.2);
    bottom: 0;
    right: 0;
    animation-delay: 1s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.gradient-text {
    background: #065baa;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-600);
    line-height: 1.75;
}

/* Badges */
.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge-teal {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #065baa;
}

.badge-orange {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #065baa;
}

.badge-teal-light {
    background: rgba(20, 184, 166, 0.1);
    color: #065baa;
    border: none;
}

.badge-white-transparent {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    border: none;
}

.badge-teal-gradient {
    background: linear-gradient(to right, var(--teal), var(--cyan));
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Feature Pills */
.feature-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-pill-teal {
    background: #065baa;
}

.feature-pill-orange {
    background: #065baa;
}

.feature-pill-green {
    background: #065baa;
}

/* Stats */
.stat-box {
    text-align: center;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-icon-teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
}

.stat-icon-orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: white;
}

.stat-icon-cyan {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
    color: white;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin: 0;
}

/* Loan Calculator Card */
.loan-calculator-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.calculator-gradient-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #065baa;
}

.slider-section {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid;
}

.slider-section-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(6, 182, 212, 0.1));
    border-color: rgba(20, 184, 166, 0.2);
}

.slider-section-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.1));
    border-color: rgba(249, 115, 22, 0.2);
}

.form-range {
    height: 8px;
}

.form-range::-webkit-slider-thumb {
    background: var(--teal);
    border: none;
    width: 20px;
    height: 20px;
}

.form-range::-moz-range-thumb {
    background: var(--teal);
    border: none;
    width: 20px;
    height: 20px;
}

.mobile-input-section {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgb(22 50 249 / 10%), rgb(60 108 251 / 10%), rgb(22 39 249 / 10%));
    border-radius: 0.75rem;
    border: 2px solid rgb(6 91 170 / 34%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.emi-display {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    padding: 1rem;
    border-radius: 0.75rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.emi-display::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 96px;
    height: 96px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.rate-badge {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.2));
    backdrop-filter: blur(8px);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(20, 184, 166, 0.3);
    text-align: right;
}

.text-teal-light {
    color: var(--teal-light) !important;
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--slate-900);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    max-width: 42rem;
}

/* Features Section */
.features-section {
    background: linear-gradient(to bottom, white, var(--slate-50));
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    border: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon-amber {
    background: #065baa;
}

.feature-icon-green {
    background: #065baa;
}

.feature-icon-teal {
    background: #065baa;
}

.feature-icon-orange {
    background: #065baa;
}

.feature-icon-cyan {
    background: #065baa;
}

.feature-icon-teal-light {
    background: #065baa;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

/* Loan Process Section */
.loan-process-section {
    background: #065baa;
    color: white;
    position: relative;
    overflow: hidden;
}

.loan-process-section::before,
.loan-process-section::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    background: white;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.loan-process-section::before {
    top: 0;
    left: 0;
}

.loan-process-section::after {
    bottom: 0;
    right: 0;
}

.process-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.process-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #065baa;
    font-size: 1.75rem;
    transition: transform 0.3s;
}

.process-card:hover .process-icon {
    transform: scale(1.1);
}

.process-number {
    font-size: 2.25rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

/* Loan Offers Section */
.loan-offers-section {
    background: var(--slate-50);
}

.offer-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    border: none;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.offer-card-popular {
    border: 2px solid var(--teal) !important;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--teal);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.offer-logo {
    font-size: 3rem;
}

.offer-details {
    margin: 1.5rem 0;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-features li {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonial-card {
    background: linear-gradient(135deg, white, var(--slate-50));
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    border: none;
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    color: rgba(59, 130, 246, 0.2);
    transition: color 0.3s;
}

.testimonial-card:hover .testimonial-quote {
    color: rgba(59, 130, 246, 0.3);
}

.testimonial-text {
    color: var(--slate-700);
    line-height: 1.75;
    font-style: italic;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: #065baa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Footer */
.footer-section {
    background: var(--slate-900);
}

.footer-logo {
    width: 40px;
    height: 40px;
    background: #065baa;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: var(--slate-800);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
}

.footer-section a {
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-dark);
}