/* --- Google Font & CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #005A9C; /* Trustworthy Blue */
    --secondary-color: #FF7F50; /* Vibrant Coral for CTAs */
    --accent-color: #F0F8FF; /* Alice Blue for light backgrounds */
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --border-color: #DDDDDD;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- General & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: #fdfdfd;
}

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

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; }
p { margin-bottom: 1rem; }
ul { list-style: none; }
a { color: var(--primary-color); text-decoration: none; }

/* --- Header & Navigation --- */
header {
    background-color: var(--text-color-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.nav-links ul {
    display: flex;
    align-items: center;
}

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

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

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

.nav-cta {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 8px 18px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #e66a3a;
    color: var(--text-color-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}


/* --- Buttons & Forms --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--accent-color);
    padding: 80px 0;
    text-align: center;
}
.hero h1 { font-size: 3.2rem; }
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Services Section --- */
.services {
    padding: 60px 0;
}
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 3rem;
    color: #666;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.service-card {
    background: var(--text-color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- Affiliate Page Specific Styles --- */
.affiliate-hero {
    color: var(--text-color-light);
    padding: 100px 0;
    background: linear-gradient(rgba(0, 90, 156, 0.8), rgba(0, 90, 156, 0.8)), url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    text-align: center;
}
.affiliate-headline {
    font-size: 3.5rem;
    color: var(--text-color-light);
    font-weight: 700;
}
.affiliate-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1rem auto 2.5rem;
    opacity: 0.9;
}
.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}
.affiliate-subtext {
    margin-top: 1rem;
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    padding: 60px 0;
    background-color: var(--accent-color);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.review-card {
    background: var(--text-color-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow);
}
.review-stars {
    color: #FFC107;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}
.review-author {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
}
.cta-section h2 {
    color: var(--text-color-light);
}

/* --- Generic Content Page --- */
.content-page {
    padding: 40px 0;
}
.content-page .container {
    max-width: 800px;
}
.content-page h1 {
    margin-bottom: 2rem;
    text-align: center;
}
.content-page h2 {
    text-align: left;
    margin-top: 2.5rem;
    font-size: 1.8rem;
}
.content-page p, .content-page ul {
    margin-bottom: 1.5rem;
}
.content-page ul {
    list-style: disc;
    padding-left: 20px;
}
.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0 2rem;
}
.contact-info { margin-top: 3rem; }
.contact-email { font-size: 1.2rem; font-weight: 600; }
address { font-style: normal; }


/* --- Footer --- */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-info, .footer-links {
    flex: 1;
    min-width: 250px;
}
.footer-info h4, .footer-links h4 {
    color: var(--text-color-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-info p, .footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--text-color-light);
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid #465a70;
    padding-top: 20px;
    text-align: center;
}
.affiliate-disclaimer {
    font-size: 0.8rem;
    color: #95a5a6;
    max-width: 800px;
    margin: 0 auto 1rem;
    font-style: italic;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1, .hero h1, .affiliate-headline { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 69px; /* Height of header */
        left: 0;
        width: 100%;
        background-color: var(--text-color-light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: block;
    }
    .nav-links ul {
        flex-direction: column;
        padding: 20px 0;
    }
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    .hamburger {
        display: block;
    }

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