/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #006400 0%, #228B22 50%, #32CD32 100%);
    box-shadow: 0 2px 20px rgba(0, 100, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo i {
    font-size: 2rem;
    margin-right: 10px;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 25px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-btn {
    background: linear-gradient(45deg, #FF0000, #DC143C);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #006400 0%, #228B22 50%, #32CD32 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

/* Loan Application Form Styles */
.loan-application-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.application-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #006400;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #999;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #006400;
    flex-shrink: 0;
}

.checkbox-container a {
    color: #006400;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FF0000, #DC143C);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stat p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FF0000, #DC143C);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    animation: none;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

/* Slides Section */
.slides-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.slide-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    background: linear-gradient(135deg, #006400 0%, #228B22 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    min-height: 300px;
    position: relative;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slide-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.slide-content li {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #006400;
}

.dot:hover {
    background-color: #228B22;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #006400;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FF0000, #006400);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #FF0000, #006400);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #32CD32;
}

/* About icons are now more prominent */

.about-card i {
    font-size: 3rem;
    color: #006400;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #FF0000, #006400);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #32CD32;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #006400, #32CD32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

/* Service icons are now more prominent */

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #006400;
    font-weight: bold;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #32CD32;
}

.partner-logo i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #006400;
    transition: color 0.3s ease;
}

.partner-logo span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.partner-logo:hover i {
    color: #228B22;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: #006400;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: #333;
}

.contact-item p {
    color: #666;
    margin-bottom: 5px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006400;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
}

.submit-btn {
    background: linear-gradient(45deg, #FF0000, #DC143C);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #006400 0%, #228B22 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3), 0 0 0 10px rgba(255, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    }
}

/* Success Page Styles */
.success-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-message {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(45deg, #28a745, #20c997);
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 30px;
    display: block;
}

.success-message h1 {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-message p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.application-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid #28a745;
}

.application-summary h3 {
    color: #28a745;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.summary-item .label {
    font-weight: 600;
    color: #333;
}

.summary-item .value {
    color: #28a745;
    font-weight: 500;
}

.next-steps {
    margin: 40px 0;
    text-align: left;
}

.next-steps h3 {
    color: #006400;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28a745;
}

/* Step icons are now more prominent */

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 15px;
}

.step-content h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.back-home-btn,
.contact-support-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-home-btn {
    background: linear-gradient(45deg, #006400, #228B22);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.3);
}

.back-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 100, 0, 0.4);
}

.contact-support-btn {
    background: linear-gradient(45deg, #FF0000, #DC143C);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.contact-support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Apply Page Styles */
.apply-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.apply-header {
    text-align: center;
    margin-bottom: 60px;
}

.apply-header h1 {
    font-size: 2.5rem;
    color: #006400;
    margin-bottom: 15px;
    position: relative;
}

.apply-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FF0000, #006400);
    border-radius: 2px;
}

.apply-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.apply-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.apply-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
}

.apply-info h3 {
    color: #006400;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Benefit icons are now more prominent */

.benefit-item i {
    color: #006400;
    font-size: 1.5rem;
    margin-top: 3px;
}

.benefit-item h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.apply-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    color: #006400;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-left: 20px;
}

.form-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(45deg, #FF0000, #006400);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006400;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.terms-section {
    margin: 30px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #006400;
}

.checkbox-container a {
    color: #006400;
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.submit-application-btn {
    background: linear-gradient(45deg, #FF0000, #DC143C);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-application-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.submit-application-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Login Redirect Button */
.login-redirect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, #006400, #228B22);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.3);
}

.login-redirect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 100, 0, 0.4);
    background: linear-gradient(45deg, #228B22, #32CD32);
}

.login-redirect-btn i {
    font-size: 1.2rem;
}

/* Success and Error Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
    color: #155724;
}

.error-message {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #dc3545;
    color: #721c24;
}

.success-message i,
.error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.success-message h3,
.error-message h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.back-home-btn {
    display: inline-block;
    background: linear-gradient(45deg, #006400, #228B22);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.3);
}

/* Loading Section Styles */
.loading-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #006400 0%, #228B22 50%, #32CD32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.loading-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.loading-container {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 500px;
    padding: 40px;
}

.loading-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.loading-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #FFD700;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

.loading-progress {
    margin-top: 30px;
}

/* Smooth transitions for loading to success */
.loading-section,
.success-section {
    transition: all 0.5s ease-in-out;
}

.success-section {
    transform: translateY(0);
    opacity: 1;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.progress-text {
    font-size: 1rem;
    color: #FFD700;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    }
}

/* Form Enhancement Styles */
.form-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #dc3545;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.form-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #28a745;
    animation: slideDown 0.3s ease;
}

.form-success h3 {
    margin: 0 0 15px 0;
    color: #28a745;
    font-size: 1.3rem;
}

.form-success p {
    margin: 0 0 15px 0;
    font-size: 1rem;
}

.application-summary-inline {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.application-summary-inline p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #333;
}

.application-summary-inline strong {
    color: #28a745;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced form field styling */
.form-group input:focus,
.form-group select:focus {
    border-color: #006400;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Loading Section Responsive */
@media (max-width: 768px) {
    .loading-content h2 {
        font-size: 2rem;
    }

    .loading-content p {
        font-size: 1rem;
    }

    .loading-spinner {
        width: 60px;
        height: 60px;
        border-width: 4px;
    }

    .loading-container {
        padding: 20px;
    }

    .nav-logo i {
        font-size: 1.5rem;
    }

    .partner-logo i {
        font-size: 1.5rem;
    }
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Navigation improvements for mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #006400;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile form improvements */
    .apply-section {
        padding: 80px 0 40px;
    }

    .apply-header h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .apply-header p {
        font-size: 0.9rem;
    }

    .apply-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .apply-info {
        position: static;
        padding: 20px;
    }

    .apply-form-container {
        padding: 20px;
    }

    .form-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .checkbox-container {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .submit-application-btn {
        padding: 15px 30px;
        font-size: 1rem;
        margin-top: 20px;
    }

    /* Mobile-friendly benefit items */
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .benefit-item i {
        font-size: 2rem;
        margin: 0;
    }

    /* Mobile loading animation */
    .loading-content h2 {
        font-size: 1.5rem;
    }

    .loading-content p {
        font-size: 0.9rem;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    /* Mobile success page */
    .success-section {
        padding: 80px 0 40px;
    }

    .success-message {
        padding: 30px 20px;
    }

    .success-message h1 {
        font-size: 1.8rem;
    }

    .success-message p {
        font-size: 1rem;
    }

    .application-summary {
        padding: 20px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px;
    }

    .summary-item .label {
        font-weight: 700;
        color: #006400;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .step i {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .success-actions {
        flex-direction: column;
        gap: 15px;
    }

    .back-home-btn,
    .contact-support-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content ul {
        flex-direction: column;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .loan-application-form {
        padding: 30px 20px;
    }
    
    .application-form .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Extra mobile optimizations */
    .container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Mobile form enhancements */
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    /* Touch-friendly buttons */
    .nav-btn,
    .submit-application-btn,
    .back-home-btn,
    .contact-support-btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Better mobile spacing */
    .hero {
        padding: 80px 15px 30px;
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .nav-logo span {
        font-size: 1rem;
    }

    .apply-header h1 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 16px;
    }

    .benefit-list {
        gap: 20px;
    }

    .benefit-item h4 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.8rem;
    }

    .loading-content h2 {
        font-size: 1.3rem;
    }

    .success-message h1 {
        font-size: 1.5rem;
    }

    .success-message p {
        font-size: 0.9rem;
    }
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
    border-top: 2px solid #e9ecef;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.bottom-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.bottom-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bottom-nav-item:hover {
    color: #006400;
    background: rgba(0, 100, 0, 0.05);
    transform: translateY(-2px);
}

.bottom-nav-item.active {
    color: #006400;
    background: rgba(0, 100, 0, 0.1);
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

.bottom-nav-item.active span {
    font-weight: 600;
}

/* Add padding to body to prevent content from being hidden behind bottom nav */
body {
    padding-bottom: 70px;
}

/* Bottom Navigation Responsive */
@media (max-width: 768px) {
    .bottom-nav {
        padding: 8px 0;
    }
    
    .bottom-nav-item {
        padding: 6px 10px;
        min-width: 70px;
    }
    
    .bottom-nav-item i {
        font-size: 1.2rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.7rem;
    }
    
    body {
        padding-bottom: 65px;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        padding: 6px 0;
    }
    
    .bottom-nav-item {
        padding: 5px 8px;
        min-width: 60px;
    }
    
    .bottom-nav-item i {
        font-size: 1.1rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.65rem;
    }
    
    body {
        padding-bottom: 60px;
    }
}