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

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

/* Header and Navigation */
.navbar {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 50px;
}

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

.nav-menu li {
    padding: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #007bff;
}

.cta-nav {
    background-color: #ffc107;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-nav:hover {
    background-color: #e0a800;
    color: #fff;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

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

.affiliate-disclaimer {
    font-size: 0.8rem;
    margin-top: 20px;
    color: #eee;
}

/* Services Section */
.services {
    padding: 60px 0;
    text-align: center;
}

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

.grid-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

/* FIXED: Service Icon Styles */
.service-icon {
    width: 64px; /* Reduced size */
    height: 64px; /* Reduced size */
    margin-bottom: 20px;
    fill: #007bff; /* Icon color is controlled here */
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.page-content h2 {
    color: #007bff;
    margin-bottom: 20px;
}

/* Affiliate Landing Page */
.affiliate-hero {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.affiliate-hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
}

.cta-button-large {
    background-color: #28a745;
    color: white;
    padding: 20px 40px;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Reviews Section */
.reviews {
    padding: 60px 0;
    background-color: #fff;
}

.reviews h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 40px;
}

.review-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.review {
    flex-basis: 30%;
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 5px solid #007bff;
    margin-bottom: 20px;
}

.reviewer {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
    text-align: right;
}


/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

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

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h4 {
    color: #ffc107;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffc107;
}

.copyright {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 20px;
}

.affiliate-disclaimer-footer {
    font-size: 0.75rem;
    color: #ccc;
    text-align: center;
    margin-top: 20px;
    padding: 0 15%;
}

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

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

    .nav-menu li {
        padding: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .review {
        flex-basis: 100%;
    }
}