/* Main CSS for HomeLoan Experts Mortgage Landing Page */

/* Base Styles and Reset */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #93c5fd;
    --secondary-color: #10b981;
    --secondary-dark: #065f46;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.primary {
    color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 10px;
    width: 100%;
    background-color: var(--primary-light);
    z-index: -1;
    opacity: 0.5;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Header and Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 1.25rem 0;
    position: relative;
}

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

.logo-image {
    height: 60px;
    width: auto;
    max-width: 100%;
    transition: var(--transition);
}

.logo a:hover .logo-image {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 70px;
    margin-bottom: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Position right below navbar */
    left: 0;
    width: 100%;
    background-color: var(--dark-blue);
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 99;
}

.mobile-menu.active {
    display: flex; /* Show when active */
}

.mobile-menu .nav-links {
    display: flex !important; /* Override the media query that hides nav-links */
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.mobile-menu .nav-links a {
    display: block;
    color: white !important;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu .nav-links a:last-child {
    border-bottom: none;
}

.mobile-menu .cta-buttons {
    display: flex !important; /* Override the media query that hides cta-buttons */
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.mobile-menu .cta-buttons a {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f6f9fe 0%, #e3eeff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-card {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.stat .percent {
    font-size: 1rem;
    position: absolute;
    top: 0;
    right: -12px;
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.25rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Mortgage Calculator */
.mortgage-calculator {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.mortgage-calculator .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.calculator-content p {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .currency,
.input-wrapper .percent {
    position: absolute;
    color: var(--text-medium);
    font-weight: 500;
}

.input-wrapper .currency {
    left: 1rem;
}

.input-wrapper .percent {
    right: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 500;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
}

input[type='range'] {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: #e5e7eb;
    border-radius: 5px;
    outline: none;
    margin: 1rem 0;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
}

.calculator-results {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.monthly-payment {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 2rem;
    text-align: center;
}

.monthly-payment .label {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.monthly-payment .amount {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1.5rem;
}

.monthly-payment .btn {
    margin-top: 1rem;
    background-color: white;
    color: var(--primary-color);
}

.monthly-payment .btn:hover {
    background-color: var(--bg-light);
}

.payment-breakdown {
    padding: 2rem;
}

.payment-breakdown h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.chart-container {
    height: 200px;
    margin-bottom: 1.5rem;
}

.breakdown-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.color-indicator.principal {
    background-color: var(--primary-color);
}

.color-indicator.taxes {
    background-color: var(--secondary-color);
}

.color-indicator.insurance {
    background-color: var(--accent-color);
}

.breakdown-item .label {
    flex-grow: 1;
    color: var(--text-medium);
}

.breakdown-item .amount {
    font-weight: 600;
}

/* Loan Options */
.loan-options {
    padding: 6rem 0;
}

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

.loan-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.loan-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 2.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.loan-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-white);
}

.loan-card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.loan-card-header .rate {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.loan-card-header .percent {
    font-size: 1.2rem;
    position: absolute;
    top: 0;
}

.loan-card-body {
    padding: 2rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.benefits-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial-content {
    position: relative;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 0;
    color: var(--primary-light);
    font-size: 2.5rem;
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.rating {
    color: var(--accent-color);
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    margin-right: 1rem;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-prev,
.control-next {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-prev:hover,
.control-next:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.control-indicators {
    display: flex;
    gap: 0.5rem;
}

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

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

/* Consultation Section */
.consultation {
    padding: 6rem 0;
}

.consultation .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    align-items: center;
}

.consultation-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.consultation-content p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 500px;
}

.consultation-benefits {
    list-style: none;
}

.consultation-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.consultation-benefits i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.consultation-form {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.consultation-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

form textarea {
    height: 120px;
    resize: none;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent input {
    width: auto;
    margin-top: 0.25rem;
}

.consent label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Mortgage Tools */
.mortgage-tools {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.tool-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tool-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Pre-Footer Section */
.pre-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 4rem 0;
}

.pre-footer-content {
    text-align: center;
}

.pre-footer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pre-footer-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pre-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.pre-footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

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

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-color);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-badge img {
    height: 36px;
    margin-bottom: 0.5rem;
}

.trust-badge span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .mortgage-calculator .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .consultation .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-links, .cta-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .stats-card {
        position: static;
        margin-top: 2rem;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links, .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-cards, .loan-cards, .tool-cards {
        grid-template-columns: 1fr;
    }
}
