:root {
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --light-green: #E8F5E9;
    --white: #FFFFFF;
    --text-color: #333333;
    --gold: #FFD700;
    --silver: #C0C0C0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Global Background Image - Maximum Visibility */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 140%;
    background-image: url('https://lh3.googleusercontent.com/O1WNpxqW5xqRZ5Vd9UP96hKcfcxsDZfrZa6CKX8ysusqiwzjRX8kJJ8NwBvTGQrkvZmn29oTEI4oqR7YYGCXJlmuekyPmj5Lt9rA36TMYtlzeeU=s750');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.95;
    z-index: -999;
    transform: translateY(var(--scroll-y, 0px)) translateZ(0);
    will-change: transform;
    transition: opacity 0.3s ease;
}

/* Enhance background visibility on hover over the page */
body:hover::before {
    opacity: 1.0;
}

/* Darker overlay for better readability */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -998;
    pointer-events: none;
}

/* Parallax Background Base Styles */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

/* Money Notes Parallax Backgrounds */
.money-notes-bg {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 20%, transparent 21%),
        radial-gradient(circle at 80% 70%, rgba(46, 125, 50, 0.1) 15%, transparent 16%),
        radial-gradient(circle at 60% 20%, rgba(192, 192, 192, 0.08) 25%, transparent 26%),
        url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    animation: float-money 20s ease-in-out infinite;
}

.coins-bg {
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(255, 215, 0, 0.15) 30%, transparent 31%),
        radial-gradient(circle at 75% 25%, rgba(192, 192, 192, 0.12) 20%, transparent 21%),
        radial-gradient(circle at 40% 60%, rgba(46, 125, 50, 0.08) 35%, transparent 36%),
        url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    animation: float-coins 25s ease-in-out infinite reverse;
}

@keyframes float-money {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-10px) scale(1.02); }
    50% { transform: translateY(5px) scale(0.98); }
    75% { transform: translateY(-5px) scale(1.01); }
}

@keyframes float-coins {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    33% { transform: translateY(-15px) rotateX(5deg); }
    66% { transform: translateY(8px) rotateX(-3deg); }
}

/* Enhanced Features Section */
.features {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 6rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.02) 0%, rgba(76, 175, 80, 0.01) 100%);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(255, 215, 0, 0.1) 20%, transparent 21%),
        radial-gradient(circle at 85% 15%, rgba(192, 192, 192, 0.08) 25%, transparent 26%),
        radial-gradient(circle at 50% 50%, rgba(46, 125, 50, 0.05) 30%, transparent 31%);
    animation: sparkle 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.feature-card {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 16px rgba(46, 125, 50, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(-45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(46, 125, 50, 0.15);
}

.feature-card h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    text-shadow: none;
    font-weight: bold;
    -webkit-text-stroke: 0;
}

.feature-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover h2::after {
    width: 60px;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    text-shadow: none;
    font-weight: 500;
    -webkit-text-stroke: 0;
}

/* Enhanced Icon for Feature Cards */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.info-section {
    position: relative;
    padding: 4rem 5%;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('https://images.unsplash.com/photo-1559526324-593bc073d938?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    opacity: 0.05;
    z-index: -1;
    transform: translateZ(0);
}

.loan-types {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(232, 245, 233, 0.01) 100%);
}

.loan-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-attachment: fixed;
    background-position: center bottom;
    background-size: cover;
    opacity: 0.03;
    z-index: -1;
    transform: translateZ(0);
}

.how-it-works {
    position: relative;
    padding: 4rem 5%;
    background: rgba(0, 0, 0, 0.6);
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-attachment: fixed;
    background-position: center top;
    background-size: cover;
    opacity: 0.03;
    z-index: -1;
    transform: translateZ(0);
}

.testimonials {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(232, 245, 233, 0.01) 100%);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    opacity: 0.02;
    z-index: -1;
    transform: translateZ(0);
}

/* Floating Money Animation */
.floating-money {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Scroll Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Main Content */
main {
    margin-top: 0;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    background: linear-gradient(145deg, rgba(10, 25, 47, 0.85), rgba(20, 40, 70, 0.75));
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    -webkit-text-stroke: 1px white;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.hero-content p {
    color: var(--white);
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(46, 125, 50, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--gold));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(76, 175, 80, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Enhanced Hero Layout Elements */
.hero-badge {
    background: linear-gradient(135deg, var(--gold), #FFE082);
    color: #1B5E20;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-feature .feature-icon {
    font-size: 1.2rem;
}

.hero-feature span:last-child {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Old Features Section - Replaced with Enhanced Version Above */

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    line-height: 2;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero {
        height: 70vh;
    }
    
    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* About Page Styles - Full-Screen Hero */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://miro.medium.com/v2/resize:fit:540/0*59uUQN0oP42qCAS4.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    transform: scale(1.1);
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    0% { transform: scale(1.1) translateX(0px); }
    50% { transform: scale(1.15) translateX(-20px); }
    100% { transform: scale(1.1) translateX(20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(46, 125, 50, 0.05) 0%,
        rgba(0, 0, 0, 0.03) 50%,
        rgba(46, 125, 50, 0.05) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    animation: hero-content-fade 2s ease-out;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(46, 125, 50, 0.2));
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(46, 125, 50, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes hero-content-fade {
    0% { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(46, 125, 50, 0.3);
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #e8f5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.95;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateX(-50%) translateY(0px); 
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(-5px); 
    }
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.about-hero {
    position: relative;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
    position: relative;
}

.about-content-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 30px rgba(46, 125, 50, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    transition: all 0.4s ease;
}

.about-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 12px 40px rgba(46, 125, 50, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.about-text {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: none;
}

.about-text:hover {
    transform: none;
    box-shadow: none;
}

.about-image {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 6px 25px rgba(46, 125, 50, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: cover;
    max-height: 500px;
}

.about-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 10px 40px rgba(46, 125, 50, 0.15);
}

.image-caption {
    background: linear-gradient(145deg, rgba(46, 125, 50, 0.9), rgba(76, 175, 80, 0.8));
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    backdrop-filter: blur(5px);
}

.image-caption p {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text ul {
    list-style-position: inside;
    margin: 1rem 0;
}

/* Services Page Styles - Full-Screen Hero */
.services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.shutterstock.com/shutterstock/videos/3422098763/thumb/1.jpg?ip=x480');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    transform: scale(1.1);
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--light-green);
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul, .service-card ol {
    list-style-position: inside;
    margin: 1rem 0;
}

.service-card li {
    margin: 0.5rem 0;
}

/* Contact Page Styles - Full-Screen Hero */
.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
    transform: scale(1.1);
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-card, .contact-form-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info-card h2, .contact-form-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

/* Loan Rates Section */
.loan-rates {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(232, 245, 233, 0.01) 100%);
}

.loan-rates h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.rates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.rate-card {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(5px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.rate-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(46, 125, 50, 0.15);
}

.rate-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.15),
        0 6px 25px rgba(76, 175, 80, 0.2);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rate-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.rate-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.rate-card p {
    color: #f0f0f0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.rate-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rate-features span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.rates-disclaimer {
    text-align: center;
    margin-top: 3rem;
}

.rates-disclaimer p {
    color: #ccc;
    font-size: 0.9rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    /* Mobile layout for about page */
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .about-image {
        order: -1; /* Show image first on mobile */
    }
    
    .about-image img {
        max-height: 300px;
    }
    
    /* Mobile adjustments for full-screen hero */
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-scroll-indicator {
        bottom: 1rem;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
}

/* Homepage Additional Sections */
.info-section {
    position: relative;
    padding: 4rem 5%;
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 2.5rem;
    border-radius: 15px;
}

.info-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.info-content > p {
    color: #f0f0f0;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-with-image {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.info-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.info-image img:hover {
    transform: scale(1.05);
}

.benefit-item {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit-item.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.4s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-item h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.benefit-item h3::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.benefit-item p {
    font-size: 1rem;
    color: #555;
}

.benefit-item:hover p {
    color: #333;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loan Types Section */
.loan-types {
    background-color: var(--light-green);
    padding: 4rem 5%;
    text-align: center;
}

.loan-types h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.loan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.loan-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.loan-card.animate-in {
    animation: slideInUp 0.8s ease forwards;
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.2);
}

.loan-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-green), #C8E6C9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
    cursor: pointer;
    position: relative;
}

.loan-icon-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.loan-card:hover .loan-icon-circle {
    background: linear-gradient(135deg, var(--secondary-color), #66BB6A);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.loan-card:hover .loan-icon-circle::before {
    opacity: 1;
    animation: glow-pulse 1.5s infinite alternate;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.8), 0 0 40px rgba(76, 175, 80, 0.6);
    }
}

.loan-icon {
    font-size: 3rem;
    transition: all 0.3s ease;
}

.loan-card:hover .loan-icon {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.loan-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.loan-card p {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.loan-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.loan-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.2s ease;
}

.loan-card li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.loan-card li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    transition: all 0.2s ease;
}

.loan-card li:hover::before {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.testimonial-cards {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
}

.testimonial-card {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 450px;
    height: 350px;
    box-shadow: 0 10px 20px rgba(27, 94, 32, 0.3);
    transition: all 0.6s ease;
    color: var(--white);
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    border: 3px solid var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.testimonial-card.prev {
    transform: translateX(-100%) scale(0.8);
    opacity: 0;
}

.testimonial-card:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 15px 30px rgba(27, 94, 32, 0.4);
}

.customer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.customer-image:hover {
    transform: scale(1.1);
}

.customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.star-rating {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.star {
    color: #FFD700;
    margin: 0 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.star:hover {
    transform: scale(1.3);
    text-shadow: 0 0 10px #FFD700;
}

.testimonial-card:nth-child(1) .star:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(1) .star:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(1) .star:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(1) .star:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(1) .star:nth-child(5) { animation-delay: 0.5s; }

.testimonial-card:nth-child(2) .star:nth-child(1) { animation-delay: 0.3s; }
.testimonial-card:nth-child(2) .star:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(2) .star:nth-child(3) { animation-delay: 0.5s; }
.testimonial-card:nth-child(2) .star:nth-child(4) { animation-delay: 0.6s; }
.testimonial-card:nth-child(2) .star:nth-child(5) { animation-delay: 0.7s; }

.testimonial-card:nth-child(3) .star:nth-child(1) { animation-delay: 0.5s; }
.testimonial-card:nth-child(3) .star:nth-child(2) { animation-delay: 0.6s; }
.testimonial-card:nth-child(3) .star:nth-child(3) { animation-delay: 0.7s; }
.testimonial-card:nth-child(3) .star:nth-child(4) { animation-delay: 0.8s; }
.testimonial-card:nth-child(3) .star:nth-child(5) { animation-delay: 0.9s; }

.testimonial-card.animate-in .star {
    animation: starTwinkle 0.6s ease forwards;
}

@keyframes starTwinkle {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--white);
    font-size: 0.95rem;
    text-align: center;
}

.customer-name {
    color: var(--light-green);
    font-weight: bold;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 5%;
    background: rgba(0, 0, 0, 0.6);
}

.how-it-works h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 0.5s ease-out forwards;
    opacity: 0;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.step-content {
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.step:hover .step-number {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.step p {
    font-size: 1rem;
    color: var(--white);
}

.step-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.step:hover .step-image {
    transform: none;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step:hover .step-image img {
    transform: scale(1.05);
}

/* Contact Info Home Section */
.contact-info-home {
    position: relative;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.contact-info-home h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-details div {
    text-align: left;
    padding: 1.5rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.contact-details h3 {
    margin-bottom: 1rem;
    color: var(--light-green);
}

/* Responsive Design Updates */
@media (max-width: 992px) {
    .info-with-image {
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-image img {
        max-width: 400px;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .info-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .info-image img {
        max-width: 350px;
        min-height: 200px;
    }
    
    .loan-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonial-cards {
        max-width: 350px;
        height: 320px;
    }
    
    .testimonial-card {
        max-width: 330px;
        height: 300px;
        padding: 1.5rem;
    }
    
    .customer-image {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .step-image {
        height: 250px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-details div {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-image {
        height: 200px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
}

/* Hero Contact Info Styles */
.hero-contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-item span:last-child {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive Hero Layout */
@media (max-width: 768px) {
    .hero-features {
        gap: 1rem;
    }
    
    .hero-feature {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-contact-info {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .contact-item {
        padding: 0.8rem 1.2rem;
    }
    
    .contact-item span:last-child {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
} 