@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #d97706;
    --accent-hover: #b45309;
    --accent-blue: #0284c7;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(15 23 42 / 0.05), 0 8px 10px -6px rgb(15 23 42 / 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Common Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-blue {
    color: var(--accent-blue);
}

.text-gold {
    color: var(--accent);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent));
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgb(217 119 6 / 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(217 119 6 / 0.4);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgb(37 211 102 / 0.3);
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(37 211 102 / 0.4);
}

/* Header Utilities */
.top-bar {
    background-color: var(--primary);
    color: #94a3b8;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 100px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%), 
                url('./asset_files/home-desktop-hero-banner-v1-@2x-scaled.webp') no-repeat center center/cover;
    color: var(--bg-white);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 36px;
    color: #cbd5e1;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Loan Calculator Box */
.calc-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 32px;
    border-radius: 24px;
    color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.calc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-card h3 img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.calc-group {
    margin-bottom: 20px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.calc-input {
    width: 100%;
    accent-color: var(--accent-blue);
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}

.calc-result {
    background-color: rgba(15, 23, 42, 0.05);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.calc-result-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.calc-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: 'Outfit', sans-serif;
}

/* Section Our Loans - Redesigned Style */
.loans-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.loans-category {
    margin-bottom: 60px;
}

.loans-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.category-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent) 100%);
    border-radius: 3px;
}

.loans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.loan-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.loan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.loan-card:hover::before {
    opacity: 1;
}

.loan-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loan-icon-wrapper {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.loan-card:hover .loan-icon-wrapper {
    background-color: #f0f9ff;
    transform: scale(1.05);
}

.loan-icon-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.loan-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.loan-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.loan-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: var(--text-muted);
}

.loan-card:hover .loan-tag {
    background-color: #e0f2fe;
    color: var(--accent-blue);
}

.loan-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.loan-apply-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 4px;
}

.loan-apply-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.loan-card:hover .loan-apply-link svg {
    transform: translateX(4px);
}

/* SFA Section - Premium Certificate-like Redesign */
.sfa-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.sfa-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid #e2e8f0;
    border-radius: 28px;
    padding: 56px;
    box-shadow: var(--shadow-premium);
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.sfa-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    pointer-events: none;
}

.sfa-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.sfa-logo-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.sfa-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sfa-divider-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sfa-text-content {
    font-size: 1.15rem;
    color: var(--primary);
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
    font-style: italic;
    font-family: 'Outfit', sans-serif;
    padding: 16px 20px;
}

/* Why Choose Us */
.why-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent);
}

.why-image-wrapper {
    width: 90px;
    height: 90px;
    background-color: #fffbeb;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-card:hover .why-image-wrapper {
    background-color: #fef3c7;
    transform: rotate(5deg);
}

.why-image-wrapper img {
    width: 50px;
    height: 50px;
}

.why-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 3 Easy Steps Section */
.steps-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.05);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.step-img-wrapper {
    width: 110px;
    height: 110px;
    background-color: var(--bg-white);
    border-radius: 24px;
    margin: 0 auto 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover .step-img-wrapper {
    transform: scale(1.05);
    background-color: #f0f9ff;
}

.step-img-wrapper img {
    width: 70px;
    height: 70px;
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Documents Required Section */
.docs-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.docs-tabs-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.docs-tabs {
    display: flex;
    background-color: #f1f5f9;
    border-bottom: 1px solid var(--border-color);
}

.docs-tab-btn {
    flex: 1;
    padding: 18px;
    border: none;
    background: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.docs-tab-btn:hover {
    color: var(--primary);
}

.docs-tab-btn.active {
    background-color: var(--bg-white);
    color: var(--accent-blue);
    border-top: 3px solid var(--accent-blue);
}

.docs-tab-content {
    display: none;
    padding: 40px;
}

.docs-tab-content.active {
    display: block;
}

.doc-list {
    list-style: none;
}

.doc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.doc-item:last-child {
    margin-bottom: 0;
}

.doc-check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.doc-check-icon svg {
    width: 14px;
    height: 14px;
    fill: #10b981;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.about-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 32px;
}

.badge-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    transition: var(--transition);
}

.badge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.badge-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Accordion FAQ */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 24px;
}

.faq-answer-inner {
    padding-bottom: 24px;
    font-size: 1rem;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.faq-answer-inner p {
    margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    fill: var(--accent-blue);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Large enough to display */
    transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* Footer style */
.footer {
    background-color: var(--primary);
    color: #94a3b8;
    padding: 80px 0 32px 0;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 48px;
    margin-bottom: 32px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 24px;
}

.footer-brand p {
    line-height: 1.8;
}

.footer-contact-title {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--bg-white);
}

/* Floating WhatsApp widget */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgb(37 211 102 / 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.floating-whatsapp img {
    width: 34px;
    height: 34px;
}

/* Mobile responsive fixes */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .sfa-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .why-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Modal Overlay / Lightbox */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    position: relative;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.8;
}

.modal-body h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.modal-body h3 {
    font-size: 1.15rem;
    margin: 24px 0 12px 0;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
}

.modal-body p {
    margin-bottom: 16px;
}


/* Application Form Section */
.apply-form-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.apply-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-premium);
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .apply-form-card {
        padding: 32px 24px;
    }
}
