:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E9ECEF;
    --text-color: #212529;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin-left: 20px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-color);
}

.main-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile Menu */
#mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

#mobile-menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

#mobile-menu-button.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Main Content Styles */
main {
    padding: 30px 0;
    margin-top: 70px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Loan Card Styles */
.loan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.loan-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.loan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.loan-logo {
    display: flex;
    align-items: center;
}

.loan-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
    margin-right: 10px;
}

.loan-name {
    font-weight: 700;
    font-size: 18px;
}

.loan-badges {
    display: flex;
    gap: 5px;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-new {
    background-color: var(--primary-color);
    color: var(--white);
}

.badge-featured {
    background-color: var(--warning-color);
    color: var(--text-color);
}

.loan-card-body {
    padding: 15px;
}

.loan-description {
    margin-bottom: 15px;
    font-size: 16px;
}

.loan-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.loan-detail-item {
    display: flex;
    flex-direction: column;
}

.loan-detail-label {
    font-size: 14px;
    color: var(--secondary-color);
}

.loan-detail-value {
    font-weight: 600;
    font-size: 16px;
}

.loan-requirements {
    margin-bottom: 15px;
}

.loan-requirements-label {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.loan-requirements-list {
    list-style: none;
}

.loan-requirements-list li {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.loan-requirements-list li::before {
    content: '✓';
    color: var(--success-color);
    margin-right: 5px;
    font-weight: bold;
}

.loan-card-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.btn-apply {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-apply:hover {
    background-color: #0069d9;
}

/* Tips Section Styles */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.tip-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.tip-content {
    font-size: 14px;
    color: var(--text-color);
}

.view-all {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-view-all i {
    margin-left: 5px;
}

/* Important Notes Section */
.notes-container {
    background-color: rgba(0, 123, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 4px;
}

.notes-container p {
    margin-bottom: 10px;
    font-weight: 500;
}

.notes-container p:last-child {
    margin-bottom: 0;
}

/* About Page */
.about-section {
    max-width: 800px;
    margin: 0 auto 40px;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.about-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.about-section p {
    margin-bottom: 15px;
}

/* Terms & Policy Pages */
.legal-section {
    max-width: 800px;
    margin: 0 auto 40px;
}

.legal-section h3 {
    font-size: 20px;
    margin: 25px 0 15px;
}

.legal-section p {
    margin-bottom: 15px;
}

.legal-section ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

/* Footer Styles */
footer {
    background-color: #1a1c23;
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--white);
    font-size: 18px;
}

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

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

.footer-column ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.disclaimer {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.5;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer p strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    #mobile-menu-button {
        display: flex;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin: 0 0 15px 0;
    }
    
    .loan-grid,
    .tips-container {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
} 