/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header and Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    padding: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.cta-button-nav {
    background-color: #007bff;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button-nav:hover {
    background-color: #0056b3;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}


/* Main Content */
main {
    padding: 2rem;
}

.hero-main {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #e9ecef;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #28a745;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #218838;
}

.services {
    text-align: center;
    padding: 2rem 0;
}

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

.service-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-item img {
    max-width: 100%;
    border-radius: 5px;
}

/* Content Pages */
.content-page {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 2rem auto;
}

/* Affiliate Page */
.affiliate-hero {
    text-align: center;
}

.hero-image-affiliate {
    background-image: url('https://via.placeholder.com/1200x500.png?text=Find+Your+Rate');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 2rem;
    border-radius: 8px;
}

.hero-content-affiliate h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content-affiliate .title {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: navy;
}

.hero-content-affiliate .description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: navy;
}

.cta-button-large {
    background-color: #ffc107;
    color: #212529;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button-large:hover {
    background-color: #e0a800;
}

.affiliate-disclaimer-small {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: navy;
}


/* User Reviews */
.user-reviews {
    text-align: center;
    padding: 3rem 0;
}

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

.review-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 5px solid #007bff;
}

.review-item .reviewer {
    font-weight: bold;
    margin-top: 1rem;
    text-align: right;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.affiliate-disclaimer {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #fff;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }
}