
/* CapitalTechAdvisor minimal custom styles (over Tailwind CDN)
   You can edit just this file to tune spacing, fonts, and components. */

/* Global Styles */
:root {
    --primary-color: #1e3a8a; /* Deeper blue for professionalism */
    --secondary-color: #0ea5e9; /* Brighter blue for accents */
    --accent-color: #10b981; /* Modern teal */
    --text-color: #334155; /* Softer dark blue-gray for text */
    --light-text: #ffffff;
    --light-bg: #f8fafc; /* Slightly cooler light background */
    --dark-bg: #0f172a; /* Deeper dark background */
    --border-color: #e2e8f0; /* Subtle border color */
    --success-color: #22c55e; /* Vibrant green */
    --error-color: #ef4444; /* Modern red */
    --box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08); /* More pronounced shadow */
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%); /* Professional blue gradient */
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%); /* Teal to blue gradient */
    --animation-slow: 0.7s;
    --animation-medium: 0.5s;
    --animation-fast: 0.3s;
}

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

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-text);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f2b68 0%, #0284c7 100%);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.15);
    animation: pulse 1.5s ease-in-out infinite;
}

.btn-secondary {
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    border-color: transparent;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: 0.5s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 3px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 10px;
    line-height: 1.6;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    animation: fadeInDown 0.5s ease-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -1px;
    font-family: 'Montserrat', sans-serif;
}

.logo span {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.05);
    z-index: 0;
    animation: pulse 15s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(26, 188, 156, 0.05);
    z-index: 0;
    animation: pulse 20s infinite alternate-reverse;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 70%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.8;
    max-width: 90%;
    animation: fadeInUp 0.8s 0.2s ease-out both;
    letter-spacing: 0.2px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.8s 0.4s ease-out both;
}

.hero-image {
    flex: 1;
    text-align: right;
    animation: float 6s ease-in-out infinite;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.services-grid .service-card:nth-child(1) { animation: fadeInUp 0.6s 0.1s ease-out both; }
.services-grid .service-card:nth-child(2) { animation: fadeInUp 0.6s 0.2s ease-out both; }
.services-grid .service-card:nth-child(3) { animation: fadeInUp 0.6s 0.3s ease-out both; }
.services-grid .service-card:nth-child(4) { animation: fadeInUp 0.6s 0.4s ease-out both; }
.services-grid .service-card:nth-child(5) { animation: fadeInUp 0.6s 0.5s ease-out both; }
.services-grid .service-card:nth-child(6) { animation: fadeInUp 0.6s 0.6s ease-out both; }

.service-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    transition: all 0.4s ease-in-out;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.1);
    border-color: var(--accent-color);
    background-color: rgba(248, 250, 252, 0.5);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: var(--transition);
    transform: rotate(5deg);
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(52, 152, 219, 0.3);
    top: 0;
    left: 0;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(0deg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
}

.service-card:hover .service-icon::after {
    transform: scale(1.2);
    opacity: 0;
}

.service-icon i {
    font-size: 32px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text .section-header {
    text-align: left;
}

.about-text .section-header h2::after {
    left: 0;
    transform: none;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    color: #666;
    font-size: 14px;
}

/* Loan Types Section */
.loan-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.loan-type-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.loan-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.loan-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(var(--primary-rgb), 0.02);
}

.loan-type-card:hover .loan-type-icon {
    transform: rotate(0deg);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.15) 100%);
}

.loan-type-card:hover::before {
    transform: scaleX(1);
}

.loan-type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: var(--transition);
    transform: rotate(5deg);
}

.loan-type-icon i {
    font-size: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loan-type-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-weight: 700;
}

.loan-type-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Loan Calculator Section */
.loan-calculator {
    background-color: var(--light-bg);
}

.calculator-container {
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.calculator-form {
    flex: 1;
    padding: 30px;
    border-right: 1px solid var(--border-color);
}

.calculator-result {
    flex: 1;
    padding: 30px;
    background-color: #f8f9ff;
    display: flex;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background-color: #f9fafc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.15);
    background-color: #fff;
}

.result-item {
    flex: 1 0 50%;
    margin-bottom: 20px;
}

.result-item h4 {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.result-item p {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.pie-chart {
    width: 100%;
    margin-top: 20px;
}

/* Testimonials Section */
.testimonial-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-slider {
    display: flex;
    position: relative;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: var(--box-shadow);
    margin-right: 15px;
    transition: all 0.4s ease-in-out;
    min-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transform: scale(1);
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 70px;
    color: rgba(var(--primary-rgb), 0.05);
    z-index: 0;
    transform: rotate(5deg);
}

.client-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-details p {
    color: #666;
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.testimonial-indicators {
    display: flex;
    gap: 8px;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Section */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
}

.footer-logo h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
}

.footer-column h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    align-items: center;
}

.payment-methods span {
    margin-right: 10px;
    color: #bbb;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 40px;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-form {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .service-card,
    .loan-type-card,
    .testimonial-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 16px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .services-grid,
    .loan-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 0 45%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .service-card,
    .loan-type-card,
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .service-icon,
    .loan-type-icon {
        width: 70px;
        height: 70px;
    }
    
    .services-grid,
    .loan-types-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form,
    .calculator-result {
        padding: 20px;
    }
    
    .result-item {
        flex: 1 0 100%;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .logo h1 {
         font-size: 24px;
     }
     
     .about-stats {
         flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-card {
        margin: 0;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .service-icon,
    .loan-type-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i,
    .loan-type-icon i {
        font-size: 24px;
    }
    
    .service-card h3,
    .loan-type-card h3 {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
}
/* Footer Specific Link Colors */
footer a {
    color: #bbb !important;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color) !important;
}
