:root {
    --primary: #1f524c;
    --secondary: #67acc8;
    --accent: #be6934;
    --light-bg: #e5f2f4;
    --dark-text: #11588a;
    --slate-teal: #527c7c;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #495057;
    --black: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a8572d;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #5596b5;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.hero {
    background-color: var(--light-bg);
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.why-choose {
    padding: 80px 0;
    background-color: var(--white);
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: var(--gray-light);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
}

.products {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.products h2 {
    text-align: center;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.product-card h3 {
    margin-bottom: 20px;
}

.product-card ul {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.product-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.product-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.calculator {
    padding: 80px 0;
    background-color: var(--white);
}

.calculator h2 {
    text-align: center;
    margin-bottom: 50px;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 10px;
    font-weight: 600;
}

.input-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--gray-medium);
    border-radius: 4px;
    margin-bottom: 10px;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.amount-display {
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.input-group select {
    padding: 12px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 1rem;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-medium);
}

.result-label {
    font-weight: 600;
}

.result-value {
    font-weight: bold;
    color: var(--primary);
}

.process {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.process h2 {
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 40px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background-color: var(--accent);
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step h3 {
    margin-bottom: 10px;
}

.process-cta {
    text-align: center;
}

.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: var(--gray-light);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 300px;
}

.faq-cta {
    text-align: center;
    margin-top: 30px;
}

.content-section {
    padding: 150px 0 80px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.mission, .vision {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.mission h3, .vision h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission h3 i, .vision h3 i {
    margin-right: 10px;
    color: var(--accent);
}

.branch-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.branch-list li {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-left: 5px solid var(--primary);
    background: var(--light-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-item {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    margin-top: 2rem;
    color: var(--primary);
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 2rem;
}

footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-bg);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 120px 0 60px;
    }
}
/* Application Process */
.application-process {
    padding: 30px 0;
    background-color: var(--light-bg);
    margin-top: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps:before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gray-medium);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--gray-medium);
    color: var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    transition: all 0.3s;
}

.step.active .step-number {
    background-color: var(--accent);
    color: white;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--gray-dark);
}

.step.active h3 {
    color: var(--primary);
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Application Form */
.application-form {
    padding: 50px 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--gray-dark);
}

.loan-form {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-header {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-medium);
}

.form-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.form-header h3 i {
    color: var(--accent);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 15px;
}

.document-upload {
    margin: 30px 0;
}

.upload-group {
    margin-bottom: 20px;
}

.upload-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.upload-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed var(--gray-medium);
    border-radius: 4px;
    background-color: var(--light-bg);
}

.file-info {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-dark);
    margin-top: 5px;
}

.form-actions {
    margin-top: 40px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group label a {
    color: var(--accent);
    text-decoration: underline;
}

.submit-group {
    text-align: center;
    margin-top: 30px;
}

.submit-group button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Application Support */
.application-support {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.support-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.support-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.support-card h3 {
    margin-bottom: 15px;
}

.support-card p {
    margin-bottom: 25px;
    color: var(--gray-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .step-number {
        margin: 0;
        width: 60px;
        height: 60px;
    }
    
    .support-card {
        padding: 30px 20px;
    }
}
/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease-out;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Process steps improvements */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--accent);
    color: white;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #666;
}

.step.active h3 {
    color: var(--primary);
}

.step p {
    font-size: 0.8rem;
    color: #999;
}
/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.checkbox-group label.warning {
  color: #b10000;
  font-weight: 600;
}
/* WhatsApp Bar - Fixed at bottom but accounts for footer */
.whatsapp-bar {
    background-color: #25D366;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    height: 50px; /* Fixed height */
}

.whatsapp-bar a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer Adjustment */
footer {
    padding-bottom: 60px; /* Equal to WhatsApp bar height + some padding */
    position: relative;
    z-index: 1; /* Ensure content stays above WhatsApp bar */
}

/* For mobile devices */
@media (max-width: 768px) {
    footer {
        padding-bottom: 70px; /* Slightly more space on mobile */
    }
}
/* Add these styles to your existing CSS */

/* FAQ Improvements */
.faq-question.active {
    background-color: var(--primary);
    color: white;
}

.faq-question.active i {
    color: white;
}

.faq-answer.show {
    background-color: var(--white);
    border-top: 1px solid var(--gray-medium);
    transition: max-height 0.3s ease-in-out, padding 0.3s ease;
}

/* Alert Improvements */
.alert {
    padding: 12px 20px;
    margin: 15px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
    position: relative;
}

.alert i {
    font-size: 1.3rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border-left: 4px solid #28a745;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert .close-alert {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert .close-alert:hover {
    opacity: 1;
}

/* WhatsApp Bar Improvements */
.whatsapp-bar {
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whatsapp-bar.hidden {
    transform: translateY(100%);
}

.whatsapp-bar a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.whatsapp-bar i {
    font-size: 1.4rem;
}

/* Footer Padding Adjustment */
footer {
    padding-bottom: 70px !important; /* Important to override any other styles */
}

@media (min-width: 768px) {
    footer {
        padding-bottom: 60px !important;
    }
}

/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.error .error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Animation Improvements */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1;
        transform: translateY(0);
    }
    to { 
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Mobile Menu Icon Transition */
.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Process Steps Active State */
.step.active .step-number {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 10px rgba(190, 105, 52, 0.3);
}

.step.active h3 {
    color: var(--primary);
    font-weight: 700;
}
/* FAQ Section - Fixed Styles */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background-color: var(--gray-light);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background-color: #e1e8eb;
}

.faq-question.active {
    background-color: var(--primary);
    color: white;
}

.faq-question i {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px; /* Adjust based on your longest answer */
    border-top: 1px solid var(--gray-light);
}

.faq-answer-content {
    line-height: 1.6;
    color: var(--gray-dark);
}
/* FAQ Section - Fixed Styles */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background-color: var(--gray-light);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background-color: #e1e8eb;
}

.faq-question.active {
    background-color: var(--primary);
    color: white;
}

.faq-question i {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px; /* Adjust based on your longest answer */
    border-top: 1px solid var(--gray-light);
}

.faq-answer-content {
    line-height: 1.6;
    color: var(--gray-dark);
}
/* Improved Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    top: 3px;
    transition: all 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--black);
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.checkbox-group label.warning {
    color: #b10000;
    font-weight: 600;
}

.checkbox-group label a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.2s;
}

.checkbox-group label a:hover {
    color: var(--primary);
}

/* Make checkboxes stack on mobile */
@media (max-width: 768px) {
    .form-actions .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-bottom: 8px;
    }
}
/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Required field indicators */
label[required]::after {
    content: " *";
    color: #e74c3c;
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    .loan-form {
        padding: 20px !important;
    }
    
    .document-upload {
        margin: 20px 0 !important;
    }
}