/* --- Global Styles & Variables --- */
:root {
    --primary-color: #005A9C; /* Professional Blue */
    --secondary-color: #00A8E8; /* Bright Blue */
    --accent-color: #FFC107; /* Vibrant Yellow/Gold */
    --dark-color: #212529; /* Dark Grey */
    --light-color: #f8f9fa; /* Off-White */
    --text-color: #333;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

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

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

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

h1, h2 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* --- Header & Navbar --- */
.navbar {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

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

/* --- Main Content Sections --- */
main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

.cta-button-large {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.cta-button-large:hover {
    background-color: #ffca2c;
    transform: translateY(-3px);
}

.services {
    padding: 4rem 0;
    background: var(--light-color);
    text-align: center;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-choose-us {
    padding: 4rem 0;
    text-align: center;
}

.why-choose-us ul {
    list-style: none;
    max-width: 500px;
    margin: 2rem auto 0;
    text-align: left;
    font-size: 1.1rem;
}

.why-choose-us li {
    margin-bottom: 1rem;
}

/* --- Text Pages (About, Privacy, etc.) --- */
.text-page .container {
    max-width: 800px;
    padding: 2rem;
}

.text-page h1 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.text-page h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

.contact-info {
    margin-top: 2rem;
}
.contact-email {
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.5rem;
}

/* --- Affiliate Page --- */
.affiliate-hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.affiliate-hero::after { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 44, 78, 0.7); /* Dark blue overlay */
}

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

.affiliate-hero .sub-headline {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.affiliate-hero h1 {
    font-size: 3rem;
    color: #fff;
    max-width: 800px;
    margin: 0.5rem auto 1rem;
}

.affiliate-hero .description {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.affiliate-hero .bright-cta {
    background-color: var(--secondary-color);
    color: #fff;
}

.affiliate-hero .bright-cta:hover {
    background-color: #00b4f8;
}

.affiliate-hero .disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.reviews {
    padding: 4rem 0;
    background: var(--light-color);
    text-align: center;
}

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

.review-card {
    background: #fff;
    padding: 1.5rem;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.review-text {
    font-style: italic;
}

.review-author {
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
    margin-top: 1rem;
}

/* --- Footer (REVISED) --- */
footer {
    background-color: var(--dark-color);
    color: #ccc; /* Slightly lighter than pure light-color for better contrast */
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    /* This creates a responsive grid that wraps nicely */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.footer-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-info p {
    line-height: 1.7;
    margin-bottom: 0;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.affiliate-disclaimer {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
    color: #aaa;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #888;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.8rem; }
    .affiliate-hero h1 { font-size: 2.2rem; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 76px; /* height of header */
        left: 0;
        text-align: center;
        border-top: 1px solid #eee;
    }

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

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

    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .footer-content {
        text-align: center; /* Center aligns grid items' content on mobile */
    }

    .footer-info, .footer-links {
        margin: 0 auto; /* Helps with centering in some contexts */
    }
    .footer-links ul {
        padding-left: 0; /* Removes default padding for centered list */
    }
}