:root {
    --primary-color: #007BFF;
    --secondary-color: #FFC107;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --font-family: 'Arial', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6;
    background: #fff;
    color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header & Navbar */
.navbar {
    background: #fff;
    color: var(--dark-color);
    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-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

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

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

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

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

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

.services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.service-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
}

.service-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* General Page Styles */
.page-header {
    background: var(--light-color);
    padding: 2rem 0;
    text-align: center;
}

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    color: var(--primary-color);
}

.content-section ul {
    list-style: disc;
    padding-left: 20px;
}

/* === UPDATED CODE START === */
/* Hero for internal pages like About Us */
.page-hero {
    color: #fff;
    min-height: 35vh; /* Set a minimum height (35% of viewport height) */
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    padding: 2rem 0; /* Add padding for smaller screens */
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.page-hero .container {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.page-hero h1 {
    font-size: 3rem;
    margin: 0; /* Remove default h1 margin */
}
/* === UPDATED CODE END === */


/* Affiliate Page Hero */
.affiliate-hero {
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.affiliate-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.affiliate-content {
    position: relative;
    z-index: 2;
}

.affiliate-content h1 {
    font-size: 3rem;
}

.affiliate-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.cta-button.large {
    font-size: 1.5rem;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--dark-color);
    font-weight: bold;
}

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

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

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    text-align: center;
}

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

.review-card {
    background: var(--light-color);
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
}

.review-card h4 {
    text-align: right;
    margin-top: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 2rem 0;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p, .footer-section ul {
    font-size: 0.9rem;
    color: #ccc;
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
    font-size: 0.9rem;
    color: #ccc;
}


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

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

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

    .hamburger {
        display: block;
    }

    .hero h1, .affiliate-content h1, .page-hero h1 {
        font-size: 2.2rem;
    }
}