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

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

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

/* --- Header & Navigation --- */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0056b3;
    text-decoration: none;
}

.cta-button {
    background-color: #ffc107;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

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

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* --- Hero Section --- */
.hero {
    background: url('images/herog.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

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

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

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

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-card i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- About & Content Pages --- */
.content-section {
    padding: 60px 20px;
    background-color: #fff;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.content-section h1, .content-section h2 {
    color: #0056b3;
}

.content-section p {
    margin-bottom: 1em;
}

/* --- Contact Page --- */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* --- Affiliate Page --- */
.affiliate-hero {
    background: url('images/herog.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    padding: 100px 20px;
    color: white;
    text-align: center;
}

.affiliate-hero h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.affiliate-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.affiliate-cta {
    background-color: #28a745;
    color: white;
    padding: 18px 35px;
    font-size: 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

.affiliate-cta:hover {
    background-color: #218838;
    transform: scale(1.05);
    text-decoration: none;
}

.reviews {
    padding: 60px 20px;
    background-color: #f0f8ff;
}

.reviews h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.review-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.review-card p {
    font-style: italic;
}

.review-card .author {
    font-weight: bold;
    margin-top: 15px;
    text-align: right;
    color: #0056b3;
}

.disclaimer {
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    color: #666;
    background-color: #f1f1f1;
}

/* --- Footer --- */
.footer {
    background-color: #343a40;
    color: white;
    padding: 40px 20px;
    margin-top: 40px;
}

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

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

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

.footer-section p, .footer-section a {
    color: #ccc;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ccc;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 80px;
        left: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

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

    .nav-links li {
        text-align: center;
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .hamburger {
        display: block;
    }

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

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