/* Base Styles and Reset */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #2e4057;
    --accent-color: #ffc045;
    --dark-color: #1d2b3a;
    --light-color: #f4f4f4;
    --gray-color: #e0e0e0;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: #e85a27;
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: #233548;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

nav ul li a:not(.btn):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:not(.btn):hover:after {
    width: 100%;
}

nav .btn {
    padding: 8px 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 0px 0px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding-right: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-color);
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.hero-testimonials {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    background: rgba(29, 43, 58, 0.7);
    padding: 25px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 15px;
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.testimonial-img {
    width: 150px;
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    text-align: center;
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.testimonial .author {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Calculator Section */
.calculator {
    background-color: white;
}

.calculator p {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.calculator-form, .calculator-result {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.calculator-form {
    background-color: var(--light-color);
}

.calculator-result {
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
}

.form-group input[type="range"] {
    height: 10px;
    -webkit-appearance: none;
    margin: 10px 0;
    background: #ddd;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.loan-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
}

/* Credit Score Section */
.credit-score {
    background-color: var(--light-color);
}

.credit-score p {
    text-align: center;
    margin-bottom: 40px;
}

.credit-score-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.credit-score-form, .credit-score-result {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
}

.score-meter {
    text-align: center;
    margin-bottom: 30px;
}

.score-gauge {
    position: relative;
    height: 150px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, 
        var(--danger-color) 0%, 
        #ff9f43 25%, 
        #feca57 50%,
        #78e08f 75%,
        var(--success-color) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.score-pointer {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.8);
    transition: left 1s ease-in-out;
}

.score-labels {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}

.score-labels span {
    font-weight: 600;
    font-size: 0.8rem;
}

.score-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.score-breakdown {
    margin-top: 20px;
}

.score-breakdown h4 {
    text-align: center;
    margin-bottom: 15px;
}

.score-breakdown ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.score-interpretation {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.score-interpretation h4 {
    margin-bottom: 10px;
}

.score-nickname {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Loyalty Program Section */
.loyalty {
    background-color: white;
}

.loyalty p {
    text-align: center;
    margin-bottom: 40px;
}

.loyalty-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.tier {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--light-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.tier:hover {
    transform: translateY(-10px);
}

.tier-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tier-icon i {
    font-size: 1.8rem;
}

.tier ul {
    margin-top: 20px;
    text-align: left;
}

.tier ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.tier ul li:last-child {
    border-bottom: none;
}

.tier.featured {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
    z-index: 1;
}

.tier.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.tier.featured .tier-icon {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.tier.featured ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 700;
}

.loyalty-signup {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    color: var(--dark-color);
}

.loyalty-signup h3 {
    color: var(--dark-color);
}

.loyalty-signup p {
    margin-bottom: 20px;
}

/* FAQ Section */
.faq {
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
    border-radius: 50%;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 5px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-disclaimer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero-testimonials {
        padding: 20px;
        gap: 10px;
    }
    
    .testimonial {
        padding: 12px;
    }
    
    .testimonial-img {
        width: 130px;
        height: 165px;
    }
    
    .testimonial .quote {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 20px;
        padding-right: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-testimonials {
        width: 100%;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial {
        width: 100%;
        padding: 15px;
    }
    
    .testimonial-img {
        width: 140px;
        height: 175px;
    }
    
    .calculator-container, .credit-score-container {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-form, .calculator-result,
    .credit-score-form, .credit-score-result {
        width: 100%;
    }
    
    .tier.featured {
        transform: scale(1);
    }
    
    .tier.featured:hover {
        transform: translateY(-10px);
    }
} 