/* Brand Colors - Based on Official Logo */
:root {
    --primary-blue: #1e3c72;
    --primary-blue-dark: #1a3467;
    --primary-blue-light: #2d559b; 
    --accent-teal: #20a5a5;
    --accent-cyan: #4dd0e1;
    --brand-green: #27ae60; 
    --brand-green-light: #2ecc71;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --shadow-light: rgba(30, 60, 114, 0.1);
    --shadow-medium: rgba(30, 60, 114, 0.2);
} 

/* Modern Scroll Animations */
html {
    scroll-behavior: smooth;
}

/* Intersection Observer Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for multiple elements */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Floating animation for hero elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Parallax scroll effect */
.parallax-bg {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth hover animations */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Loading animations */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Number counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-animation {
    animation: countUp 0.8s ease-out;
}

/* Progress bar animations */
@keyframes progressBar {
    from { width: 0%; }
    to { width: var(--progress-width); }
}

.progress-bar {
    width: 0%;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.progress-bar.animate {
    animation: progressBar 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Typewriter effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--accent-teal);
    white-space: nowrap;
    animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-teal); }
}

/* Smooth section transitions */
section {
    transition: all 0.3s ease;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* Force section visibility */
section {
    visibility: visible !important;
    display: block !important;
    position: relative;
    z-index: 1;
    opacity: 1;
}

/* Ensure sections are not hidden behind hero */
section:not(.hero) {
    position: relative;
    z-index: 10;
    background: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Top Header Section */
.top-header {
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0;
    border-bottom: 1px solid #34495e;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 60px;
    overflow: hidden;
}

.header.scrolled .top-header {
    max-height: 0;
    padding: 0;
    border-bottom-width: 0;
    opacity: 0;
    transform: translateY(-100%);
}

.top-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.contact-info {
    font-weight: 500;
}

.contact-link {
    color: var(--accent-teal);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-cyan);
}

.contact-details {
    display: flex;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.contact-item i {
    color: var(--accent-teal);
}

/* Main Header Section */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled .main-header {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 90px;
}

.logo {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 80px;
}

.logo-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 75px;
    width: auto;
    max-width: 75px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logo-fallback {
    display: none;
    height: 75px;
    width: 75px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 10px;
    border: 1px solid var(--shadow-light);
    transition: all 0.3s ease;
}

.logo-fallback i {
    font-size: 2.5rem;
    color: white;
}

.logo:hover .logo-image,
.logo:hover .logo-fallback {
    background: var(--shadow-light);
    border-color: var(--shadow-medium);
    transform: scale(1.05);
}

/* Logo fallback when image fails to load */
.logo-image[src=""], .logo-image:not([src]) {
    display: none;
}

.logo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    border-radius: 6px;
    z-index: -1;
}

/* Alternative: Icon fallback when image is not available */
.logo-container::before {
    content: '💎';
    font-size: 2rem;
    display: none;
}

.logo-image[alt]::after {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-image[src=""]:after, .logo-image:not([src]):after {
    opacity: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #1a7a7a;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.02em;
    text-shadow: none;
    transition: all 0.3s ease;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* Scrolled state logo adjustments */
.header.scrolled .logo-image,
.header.scrolled .logo-fallback {
    height: 35px;
    width: 35px;
    padding: 5px;
}

.header.scrolled .logo-fallback i {
    font-size: 1.2rem;
}

.header.scrolled .logo-name {
    font-size: 1.1rem;
}

.header.scrolled .logo-tagline {
    font-size: 0.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    height: 50px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    height: 36px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.nav-menu a:hover {
    color: white;
    background: linear-gradient(135deg, #5ee21c 0%, #4bc518 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 226, 28, 0.3);
    border-color: #5ee21c;
}

.nav-menu a::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Desktop Apply Button */
.desktop-apply {
    display: inline-flex;
}

/* Mobile Apply Button - hidden on desktop */
.mobile-apply-btn {
    display: none;
}

/* Mobile toggle hidden by default */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%),
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    background-size: 100% 100%, 800px 800px, 600px 600px;
    background-position: center, 20% 50%, 80% 20%;
    background-attachment: scroll;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
    transition: all 0.3s ease;
}

#particles-js {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.08) 50%, transparent 70%),
        repeating-linear-gradient(90deg, 
            rgba(255, 255, 255, 0.01) 0px, 
            rgba(255, 255, 255, 0.03) 1px, 
            transparent 1px, 
            transparent 100px
        );
    opacity: 1;
    z-index: 1;
    animation: subtleShimmer 20s linear infinite;
}

@keyframes subtleShimmer {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 2rem;
}

.hero-content {
    color: white;
    animation: fadeInLeft 1.2s cubic-bezier(.77,0,.18,1) both;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 50%, var(--brand-green) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1.2s .2s both, animatedGradient 4s ease-in-out infinite 1.5s, textGlow 3s ease-in-out infinite 2s;
    position: relative;
    will-change: background-position, text-shadow;
}

.hero-title-animated {
    background: linear-gradient(45deg, var(--primary-blue), var(--white), var(--accent-teal), var(--brand-green), var(--white), var(--accent-cyan));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1.2s .2s both, animatedGradient 4s ease-in-out infinite 1.5s, textGlow 3s ease-in-out infinite 2s;
    position: relative;
    will-change: background-position, text-shadow;
}

.hero-title-animated:hover {
    animation-duration: 2s;
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-teal); }
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal), var(--brand-green));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.8s both, gradientShift 3s ease-in-out infinite 2.5s;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
    color: #cbd5e1;
    line-height: 1.6;
    animation: fadeInUp 1.2s .4s both;
    text-shadow: none;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s .5s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.feature-item i {
    color: #60a5fa;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(96, 165, 250, 0.3));
}

.feature-item span {
    color: #f8fafc;
    font-weight: 500;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1.2s .6s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Input placeholder styling */
.form-group input::placeholder {
    color: #9ca3af;
    font-style: italic;
    opacity: 0.7;
}

.form-group input:focus::placeholder {
    opacity: 0.4;
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* Loan Calculator */
.calculator-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 28px;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    min-width: 380px;
    max-width: 420px;
    width: 100%;
    animation: fadeInRight 1.2s .5s both, gentleFloat 8s ease-in-out infinite 3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    align-self: flex-start;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 28px 28px 0 0;
}

.calculator-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* Loan Calculator */
.calculator-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 28px;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    min-width: 380px;
    max-width: 420px;
    width: 100%;
    animation: fadeInRight 1.2s .5s both, gentleFloat 8s ease-in-out infinite 3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    align-self: flex-start;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 28px 28px 0 0;
}

.calculator-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* Loan Calculator */
.calculator-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 28px;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    min-width: 380px;
    max-width: 420px;
    width: 100%;
    animation: fadeInRight 1.2s .5s both, gentleFloat 8s ease-in-out infinite 3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    align-self: flex-start;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 28px 28px 0 0;
}

.calculator-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* Loan Calculator */
.calculator-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 28px;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    min-width: 380px;
    max-width: 420px;
    width: 100%;
    animation: fadeInRight 1.2s .5s both, gentleFloat 8s ease-in-out infinite 3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    align-self: flex-start;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 28px 28px 0 0;
}

.calculator-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* Loan Calculator */
.calculator-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 28px;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    min-width: 380px;
    max-width: 420px;
    width: 100%;
    animation: fadeInRight 1.2s .5s both, gentleFloat 8s ease-in-out infinite 3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    align-self: flex-start;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 28px 28px 0 0;
}

.calculator-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* Loan Calculator */
.calculator-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    border-radius: 28px;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    min-width: 380px;
    max-width: 420px;
    width: 100%;
    animation: fadeInRight 1.2s .5s both, gentleFloat 8s ease-in-out infinite 3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    align-self: flex-start;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 28px 28px 0 0;
}

.calculator-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3b82f6;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Disabled form field styles */
.form-group input:disabled,
.form-group select:disabled {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group input:disabled:hover,
.form-group select:disabled:hover {
    box-shadow: none;
    border-color: #d1d5db;
}

/* Required field indicator */
.required {
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.form-help {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-bottom: 0;
    font-style: italic;
}

.form-help.error {
    color: #ef4444;
    font-weight: 500;
}

.form-help.success {
    color: #10b981;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4fd 100%);
    position: relative;
    overflow: hidden;
    /* Ensure this section doesn't affect others */
    isolation: isolate;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 60, 114, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(32, 165, 165, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.about-header .section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.company-intro .intro-highlight {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-teal);
}

.intro-highlight i {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-top: 0.5rem;
}

.highlight-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.highlight-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mission-vision-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-teal));
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.mission-vision-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-vision-card p {
    color: #666;
    line-height: 1.6;
}

.values-section {
    margin-top: 1rem;
}

.values-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.value-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.stats-section {
    position: sticky;
    top: 2rem;
    /* Ensure sticky positioning doesn't affect layout */
    contain: layout;
}

.stats-container {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(32, 165, 165, 0.1);
}

.stats-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    color: white;
}

.stat-item:hover .stat-icon i {
    color: white;
}

.stat-icon {
    margin-bottom: 0.8rem;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.achievements {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.achievements h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
    color: white;
    transform: translateX(5px);
}

.achievement-item i {
    font-size: 1.2rem;
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.achievement-item:hover i {
    color: white;
}

.achievement-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Loan Types Section */
.loan-types {
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 50%, rgba(255, 255, 255, 0.95) 100%),
        url('../images/demo-accounting.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #1e293b;
    position: relative;
}

.loan-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(239, 153, 31, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(114, 74, 222, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.loan-cards {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.loan-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(114, 74, 222, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: #1e293b;
    opacity: 1;
    transform: translateY(0);
}

.loan-card:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.loan-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.loan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.loan-card:hover::before {
    transform: scaleX(1);
}

.loan-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--shadow-medium);
}

.loan-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.loan-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
    line-height: 1.6;
}

.requirements {
    margin-bottom: 2rem;
}

.requirements h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.requirements ul {
    list-style: none;
    padding: 0;
}

.requirements li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #475569;
    font-weight: 500;
}

.requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ebb79;
    font-weight: bold;
    font-size: 1.1rem;
}

.loan-actions {
    display: flex;
    gap: 1rem;
}

.btn-apply {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-apply:hover {
    background: linear-gradient(45deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-call {
    background: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-call:hover {
    background: var(--brand-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* Apply button styling for desktop and mobile */
.btn-assistance {
    background: linear-gradient(135deg, #1e6b7a 0%, #20a5a5 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    white-space: nowrap;
    height: 32px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-assistance:hover {
    background: linear-gradient(135deg, #5ee21c 0%, #4bc518 100%);
    border-color: #5ee21c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 226, 28, 0.3);
}

/* Mobile Apply Button */
.mobile-apply-btn .btn-assistance {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #5ee21c 0%, #4bc518 100%);
    border-radius: 8px;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 10px rgba(94, 226, 28, 0.3);
    height: auto;
    font-size: 1rem;
}

.mobile-apply-btn .btn-assistance:hover {
    background: linear-gradient(135deg, #4bc518 0%, #3ea014 100%);
    box-shadow: 0 4px 15px rgba(94, 226, 28, 0.4);
    transform: translateY(-1px);
}

/* Product List with Cool Bulletins */
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    margin-bottom: 0.8rem;
}

.product-list li a {
    display: flex;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-list li a i {
    margin-right: 10px;
    color: var(--accent-cyan);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.product-list li a:hover {
    color: #ef991f;
}

.product-list li a:hover i {
    transform: scale(1.2);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: white;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.team-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Share Section Styling */
.share-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(114, 74, 222, 0.1), rgba(239, 153, 31, 0.1));
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.share-section h4 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.share-section p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.share-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.2);
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 60, 114, 0.3);
}

.share-button:active {
    transform: translateY(1px);
}

.share-button i {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, var(--accent-teal) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, var(--primary-blue) 0%, transparent 50%);
    opacity: 0.05;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: #ef991f;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
}

/* Social Media Icons */
.social-media {
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--accent-cyan);
    color: var(--white);
}

.social-icons .fab.fa-facebook:hover {
    background-color: #1877F2;
}

.social-icons .fab.fa-x-twitter:hover {
    background-color: #000000;
}

.social-icons .fab.fa-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons .fab.fa-tiktok:hover {
    background: linear-gradient(45deg, #25F4EE, #000000, #FE2C55);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animated gradient text effect for hero title */
@keyframes animatedGradient {
    0% {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 50%, var(--white) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    20% {
        background: linear-gradient(135deg, var(--accent-teal) 0%, var(--white) 30%, var(--brand-green) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    40% {
        background: linear-gradient(135deg, var(--brand-green) 0%, var(--primary-blue-light) 40%, var(--white) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    60% {
        background: linear-gradient(135deg, var(--white) 0%, var(--accent-cyan) 50%, var(--primary-blue) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    80% {
        background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--white) 30%, var(--brand-green-light) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    100% {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 50%, var(--white) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(32, 165, 165, 0.4), 0 0 40px rgba(39, 174, 96, 0.2);
    }
}

/* Responsive Design */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
        padding: 0 1.5rem;
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }
    
    .calculator-container {
        min-width: 350px;
        max-width: 390px;
        padding: 2rem 1.8rem;
    }
    
    .about-container {
        gap: 3rem;
    }
    
    .loan-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Hide top header completely on mobile */
    .top-header {
        display: none;
    }

    .top-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-details {
        gap: 1rem;
        justify-content: center;
    }

    .contact-item {
        font-size: 0.8rem;
    }

    .nav-container {
        padding: 0 1rem;
        height: 60px;
        position: relative;
    }

    /* Logo adjustments for mobile */
    .logo-container {
        gap: 0.5rem;
    }

    .logo-image,
    .logo-fallback {
        height: 35px;
        width: 35px;
        padding: 6px;
    }

    .logo-fallback i {
        font-size: 1.2rem;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .header.scrolled .logo-image,
    .header.scrolled .logo-fallback {
        height: 30px;
        width: 30px;
        padding: 4px;
    }

    .header.scrolled .logo-fallback i {
        font-size: 1rem;
    }

    .header.scrolled .logo-name {
        font-size: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 8px 32px var(--shadow-medium);
        border-radius: 0 0 16px 16px;
        border: 1px solid rgba(30, 60, 114, 0.1);
        z-index: 1001;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        margin-top: 0;
        min-height: auto;
        height: auto;
        max-height: none;
    }

    .nav-menu.active {
        display: flex !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        gap: 0;
        height: auto;
        min-height: fit-content;
    }

    .nav-menu li {
        margin: 0 0 8px 0;
        width: 100%;
        border-radius: 12px;
        background: var(--light-bg);
        border: 1px solid rgba(30, 60, 114, 0.08);
        overflow: hidden;
        transition: none;
        box-shadow: 0 2px 8px rgba(30, 60, 114, 0.05);
    }

    .nav-menu li:last-child {
        margin-bottom: 0;
    }

    .nav-menu li.mobile-apply-btn {
        background: transparent;
        border: none;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 2px solid var(--accent-teal);
        box-shadow: none;
    }

    .nav-menu li.mobile-apply-btn .btn-assistance {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
        color: var(--white);
        border: none;
        border-radius: 12px;
        padding: 1rem 2rem;
        font-weight: 600;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        box-shadow: 0 4px 16px rgba(30, 60, 114, 0.2);
        transition: all 0.3s ease;
    }

    /* Remove hover effects on mobile */
    .nav-menu li:not(.mobile-apply-btn) {
        background: var(--light-bg);
        border-color: rgba(30, 60, 114, 0.08);
        transform: none;
    }

    .nav-menu a {
        color: var(--text-dark);
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: none;
        background: none;
        border: none;
        min-height: 48px;
        border-radius: 12px;
    }

    /* Static styles for mobile menu links - no hover effects */
    .nav-menu a {
        color: var(--text-dark);
        padding-left: 1.5rem;
    }

    /* Active/current page styling */
    .nav-menu li:first-child a {
        color: var(--primary-blue);
        font-weight: 600;
        background: rgba(30, 60, 114, 0.05);
    }

    /* Hide desktop apply button on mobile and show mobile toggle */
    .desktop-apply {
        display: none;
    }

    .mobile-toggle {
        display: block;
        background: var(--light-bg);
        border: 1px solid rgba(30, 60, 114, 0.1);
        color: var(--primary-blue);
        font-size: 1.1rem;
        cursor: pointer;
        padding: 0.6rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px var(--shadow-light);
    }

    .mobile-toggle:hover {
        background: rgba(30, 60, 114, 0.05);
        border-color: var(--accent-teal);
        color: var(--accent-teal);
        box-shadow: 0 4px 16px var(--shadow-medium);
    }

    .mobile-toggle:active {
        transform: scale(0.95);
    }

    .mobile-toggle i {
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    /* Show mobile apply button */
    .mobile-apply-btn {
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }

    .mobile-apply-btn .btn-assistance {
        width: 100%;
        background: #1976d2;
        color: white;
        padding: 0.8rem 1rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
        font-size: 0.95rem;
        border: none;
    }

    .mobile-apply-btn .btn-assistance:hover {
        background: #1565c0;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
        color: white;
    }

    .mobile-apply-btn .btn-assistance:active {
        transform: translateY(0);
    }

    .hero {
        min-height: 100vh;
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1rem;
        align-items: center;
        padding-top: 0;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-features {
        justify-content: center;
        gap: 0.8rem;
    }

    .feature-item {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .calculator-container {
        max-width: 100%;
        min-width: auto;
        margin: 2rem auto 0;
        padding: 2rem 1.5rem;
        align-self: center;
    }

    .calculator-title {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 0.4rem 0.8rem; /* Smaller padding */
        font-size: 0.9rem;
    }

    .calculator-container {
        margin-top: 1rem;
        min-width: auto;
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 1.5rem 1rem;
        order: -1; /* Show calculator before hero content on mobile */
    }

    .calculator-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .about-header .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .company-intro .intro-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .intro-highlight i {
        font-size: 2rem;
        margin-top: 0;
    }

    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mission-vision-card {
        padding: 1.5rem;
        text-align: center;
    }

    .values-title {
        font-size: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-item {
        padding: 1.5rem;
    }

    .stats-section {
        position: static;
    }

    .stats-container {
        padding: 2rem 1.5rem;
    }

    .stats-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .achievements h4 {
        font-size: 1.1rem;
    }

    .achievement-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .loan-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .loan-card {
        padding: 1.5rem 1.2rem;
    }

    .loan-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .loan-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .requirements h4 {
        font-size: 1rem;
    }

    .requirements li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .loan-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem; /* Smaller section titles */
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .about-content h2,
    .team-content h2 {
        font-size: 2rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 70px;
        min-height: 100vh;
    }

    .hero-container {
        padding: 0 0.8rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem; /* More readable on small screens */
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        padding: 0.5rem 1rem;
    }

    .calculator-container {
        padding: 1.5rem 1rem;
        border-radius: 20px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .calculator-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .result-amount {
        font-size: 1.6rem;
    }

    .result-details {
        font-size: 0.9rem;
    }

    .about-container,
    .why-choose-container,
    .team-container,
    .footer-container {
        padding: 0 0.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }

    .about-content h2,
    .team-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .about-content p,
    .team-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .loan-cards {
        padding: 0 0.8rem;
    }

    .loan-card {
        padding: 1.2rem 1rem;
        border-radius: 16px;
    }

    .loan-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .loan-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .requirements h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .requirements li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        padding-left: 1.2rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .feature-card i {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-apply,
    .btn-call {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        gap: 1rem;
    }

    .cta-buttons .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .calculator-container {
               padding: 1.5rem 1rem;
    }

    .calculator-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-content h2,
    .team-content h2 {
        font-size: 1.6rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 2rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .calculator-container {
        margin-top: 1rem;
        padding: 1.5rem;
    }
}

/* Why Choose section responsive design improvements */
@media (max-width: 768px) {
    .why-choose {
        padding: 4rem 0;
    }

    .why-choose-container {
        padding: 0 1rem;
    }

    .why-choose-container .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .why-choose-container p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .why-choose {
        padding: 3rem 0;
    }

    .why-choose-container {
        padding: 0 0.8rem;
    }

    .why-choose-container .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .why-choose-container p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1rem;
    }

    .feature-card i {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Enhanced button hover animations */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary:hover i {
    transform: translateX(3px) scale(1.05);
}

/* Improved feature item hover effects */
.feature-item i {
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    color: #93c5fd;
}

/* Additional Color Variations for Visual Interest */

/* Alternate card styles for better color distribution */
.loan-card:nth-child(2) h3 {
    color: #724ade;
}

.loan-card:nth-child(3) h3 {
    color: #2ebb79;
}

.loan-card:nth-child(2)::before {
    background: linear-gradient(45deg, #724ade, #2ebb79);
}

.loan-card:nth-child(3)::before {
    background: linear-gradient(45deg, #2ebb79, #ef991f);
}

/* Feature card alternating colors */
.feature-card:nth-child(2) i {
    background: linear-gradient(135deg, #2ebb79, #1ea3b1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:nth-child(3) i {
    background: linear-gradient(135deg, #ef991f, #fd961e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:nth-child(4) i {
    background: linear-gradient(135deg, #1ea3b1, #724ade);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Value item alternating colors */
.value-item:nth-child(2) i {
    color: #ef991f;
}

.value-item:nth-child(3) i {
    color: #2ebb79;
}

.value-item:nth-child(4) i {
    color: #1ea3b1;
}

/* Calculator enhancements */
.calculator-title {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #724ade, #ef991f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group input:focus,
.form-group select:focus {
    border: 1.5px solid #724ade;
    outline: none;
    box-shadow: 0 0 0 3px rgba(114, 74, 222, 0.1);
}

.result-amount {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ef991f, #724ade);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-details {
    color: #2ebb79;
    font-size: 1rem;
    margin-top: 0.3rem;
}

/* Additional hover effects */
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(114, 74, 222, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(239, 153, 31, 0.15);
}

/* Accent borders and highlights */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4fd 100%);
}

/* Navigation link color variations */
.nav-menu a:hover {
    color: #5ee21c;
    background: rgba(94, 226, 28, 0.1);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #5ee21c, #4bc518);
    border-radius: 2px;
}

/* Contact link improvements */
.contact-link {
    color: #724ade;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ef991f;
}

.contact-item i {
    color: #2ebb79;
}

/* Why Choose section background enhancement */
.why-choose {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eaedff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 60, 114, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(32, 165, 165, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.why-choose-container .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.why-choose-container p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(30, 60, 114, 0.08);
    box-shadow: 
        0 10px 30px rgba(30, 60, 114, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal), var(--brand-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(30, 60, 114, 0.15),
        0 0 0 1px rgba(32, 165, 165, 0.2);
    border-color: rgba(32, 165, 165, 0.3);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.15) rotateY(360deg);
}

.feature-card h4 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Feature card alternating icon colors */
.feature-card:nth-child(1) i {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:nth-child(2) i {
    background: linear-gradient(135deg, var(--brand-green), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:nth-child(3) i {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:nth-child(4) i {
    background: linear-gradient(135deg, var(--brand-green-light), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Additional styles for very small screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
        height: 55px;
    }
    
    .logo-name {
        font-size: 1rem;
    }
    
    .mobile-toggle {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
    
    .mobile-toggle i {
        font-size: 1rem;
    }
    
    .nav-menu {
        padding: 1.2rem;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-menu a {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-apply-btn {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .mobile-apply-btn .btn-assistance {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Ensure menu doesn't overflow screen */
    .nav-menu {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    /* Smoother scrolling for mobile menu */
    .nav-menu::-webkit-scrollbar {
        width: 3px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(30, 60, 114, 0.2);
        border-radius: 2px;
    }
}