/* Nari Empower Finance - Modern Professional UI Style */
/* Purple & Pink Glass Morphism Theme */

:root {
    --purple-deep:    #0f172a; /* Slate 900 */
    --purple-primary: #1e293b; /* Slate 800 */
    --purple-mid:     #334155; /* Slate 700 */
    --purple-light:   #475569; /* Slate 600 */
    --pink-primary:   #0d9488; /* Teal 600 */
    --pink-deep:      #0f766e; /* Teal 700 */
    --pink-light:     #2dd4bf; /* Teal 400 */
    --glass-white:    rgba(255, 255, 255, 0.95);
    --glass-tint:     rgba(241, 245, 249, 0.85);
    --glass-border:   rgba(13, 148, 136, 0.2);
    --text-dark:      #0f172a;
    --text-body:      #1e293b;
    --text-muted:     #475569;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-body);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #134e4a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 148px; /* topbar (44px) + navbar (~104px) */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: linear-gradient(135deg, #0f172a, #1e293b 60%, #134e4a);
    border-bottom: 1px solid rgba(20, 184, 166, 0.25);
    height: 44px;
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.top-bar-item:hover {
    color: var(--pink-light);
}

.top-bar-item i {
    font-size: 0.75rem;
    color: var(--pink-primary);
}

.top-bar-translate {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.top-bar-lang-icon {
    color: var(--pink-light);
    font-size: 1rem;
}


a {
    color: var(--pink-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pink-deep);
}

section {
    padding: 60px 0;
}

/* ── Glass Cards ─────────────────────────────────────────── */
.glass-card,
.service-card,
.service-card-detailed,
.value-item,
.form-container,
.contact-form-container,
.contact-info-container {
    background: linear-gradient(135deg, var(--glass-white), var(--glass-tint));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px rgba(13, 148, 136, 0.18),
        0 2px 8px rgba(20, 184, 166, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    height: 100%;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.glass-card::before,
.service-card::before,
.form-container::before,
.contact-form-container::before,
.contact-info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-mid), var(--pink-primary));
    border-radius: 20px 20px 0 0;
}

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.93));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.18);
    padding: 8px 0;
    top: 44px; /* sits below the top bar */
    z-index: 1030;
    box-shadow:
        0 4px 20px rgba(13, 148, 136, 0.12),
        0 1px 4px rgba(236, 72, 153, 0.08);
}

.navbar-brand img {
    height: 72px;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 10px;
    text-shadow: none;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-primary));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--purple-primary);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-primary));
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow:
        0 4px 15px rgba(20, 184, 166, 0.35),
        0 2px 6px rgba(13, 148, 136, 0.20);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-primary));
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(20, 184, 166, 0.45),
        0 4px 12px rgba(13, 148, 136, 0.30);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(0);
}

/* ── Sections & Typography ───────────────────────────────── */
.section-title,
.page-header-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.4);
}

.form-container .section-title,
.contact-form-container .section-title,
.contact-info-container .section-title {
    color: var(--purple-deep);
    text-shadow: none;
}

.section-subtitle,
.page-header-section .lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Glass card text colors */
.glass-card .section-title,
.glass-card h2,
.glass-card h3,
.glass-card h4,
.glass-card h5 {
    color: var(--purple-primary);
    text-shadow: none;
}

.glass-card p,
.glass-card li {
    color: var(--text-body);
}

.glass-card .section-subtitle {
    color: var(--text-muted);
}

/* ── Value Prop & Steps ──────────────────────────────────── */
.value-prop-item,
.step-item {
    padding: 40px;
    text-align: center;
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-primary));
    color: #fff;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 15px rgba(13, 148, 136, 0.30),
        0 2px 6px rgba(236, 72, 153, 0.20);
}

.service-card .icon-box {
    margin-bottom: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-mid));
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.35);
}

h3, h4 {
    color: var(--purple-primary);
    font-weight: 600;
}

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

/* ── Form Styling ────────────────────────────────────────── */
.form-container,
.contact-form-container,
.contact-info-container {
    padding: 50px;
}

.form-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 148, 136, 0.22);
    color: var(--text-dark);
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #a08cc0;
}

.form-control:focus,
.form-select:focus {
    background: #fff;
    color: var(--text-dark);
    border-color: var(--purple-mid);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18), 0 2px 8px rgba(20, 184, 166, 0.10);
    outline: none;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e293b 70%, #134e4a 100%);
    padding: 60px 0 30px;
    color: #fff;
    border-top: 1px solid rgba(13, 148, 136, 0.25);
}

.footer h5 {
    color: var(--pink-light);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.88);
}

.footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--pink-light);
}

.footer-logo {
    height: 90px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
}

.footer li {
    margin-bottom: 10px;
}

/* ── Stars / Ratings ─────────────────────────────────────── */
.stars {
    color: var(--pink-primary);
    margin-bottom: 15px;
}

/* ── Section Gradients ───────────────────────────────────── */
.special-focus-section-gradient {
    background: linear-gradient(135deg, #1e293b, #0d9488, #0f766e);
}

.final-cta-section-gradient {
    background: linear-gradient(135deg, #0f766e, #0d9488, #1e293b);
}

/* ── Animated Button ─────────────────────────────────────── */
.animated-button .btn {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

/* ── About Story Image ───────────────────────────────────── */
.our_story_img {
    text-align: center;
}

/* .our_story_img img {
    max-width: 394px;
} */

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.testimonial-author {
    color: var(--purple-primary);
    font-weight: 600;
}

/* ── Navbar Toggler ──────────────────────────────────────── */
.navbar-toggler {
    background-color: #ffffff;
    border: 1px solid var(--purple-mid);
}

/* ── Sub-footer ──────────────────────────────────────────── */
.sub-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sub-footer p {
    color: rgba(255, 255, 255, 0.88);
}

/* ── Contact Info ────────────────────────────────────────── */
.contact-info-item {
    display: flex;
    margin-bottom: 5px;
}

.contact-info-item .contact-icon {
    font-size: 1.5rem;
    color: var(--pink-primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info-item div {
    flex-grow: 1;
}

.title-with-border {
    border-bottom: 2px solid var(--pink-primary);
    padding-bottom: 5px;
    margin-bottom: 15px;
    display: inline-block;
    color: var(--purple-primary);
}

/* ── Hero Section ────────────────────────────────────────── */
.hero-section .hero-title {
    color: #fff;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
}

.hero-feature-card {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-feature-card:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(249, 168, 212, 0.35);
    transform: translateY(-2px);
}

.hero-feature-card .icon-box-sm {
    background: linear-gradient(135deg, var(--pink-primary), var(--purple-mid));
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(236, 72, 153, 0.30);
}

.hero-feature-card .icon-box-sm i {
    color: #fff;
    font-size: 1.1rem;
}

.hero-feature-card p {
    margin-bottom: 0;
    color: #fff;
    font-weight: 500;
}

/* ── Service Cards ───────────────────────────────────────── */
.service-card h4,
.service-card-detailed h3 {
    color: var(--purple-primary);
}

.service-card p,
.service-card-detailed p {
    color: var(--text-body);
}

/* ── Alert styling ───────────────────────────────────────── */
.alert {
    border-radius: 12px;
}

/* ── Card (thank you page) ───────────────────────────────── */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(13, 148, 136, 0.22);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(13, 148, 136, 0.18);
}

.card-title {
    color: var(--purple-primary);
}

/* ── Glass card list ─────────────────────────────────────── */
.glass-card ul {
    padding-left: 20px;
}

.glass-card ul li {
    margin-bottom: 8px;
}

/* ── Text utilities ──────────────────────────────────────── */
.text-warning {
    color: var(--pink-primary) !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .section-title,
    .page-header-section h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 40px 0;
    }

    /* Top bar: hide email on small screens to save space */
    .top-bar-item:last-child {
        display: none;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
    height: 60px;
}
    /* Top bar: collapse to just icons */
    .top-bar-item span { display: none; }
    .top-bar-item { gap: 0; }
    .top-bar-item i { font-size: 0.9rem; }
    .top-bar-contact { gap: 0.75rem; }

    .section-title,
    .page-header-section h1 {
        font-size: 2rem;
    }

    .form-container,
    .contact-form-container,
    .contact-info-container {
        padding: 15px;
    }

    .contact-section .col-lg-6,
    .about-story-section .col-lg-8,
    .advantage-section .col-lg-7,
    .eligibility-section .col-lg-7,
    .testimonials-section .col-md-4,
    .our-mission-section .col-lg-7,
    .hero-section .col-lg-6 {
        margin-bottom: 30px;
    }

    .glass-card,
    .service-card,
    .service-card-detailed,
    .value-item,
    .form-container,
    .contact-form-container,
    .contact-info-container {
        padding: 20px;
    }
}
