/* Basic Reset & Body Styles */
:root {
    --primary-color: #0056b3; /* A shade of blue for branding */
    --secondary-color: #007bff; /* Lighter blue for accents */
    --accent-color: #28a745; /* Green for success/action */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

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

/* Header */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }

p {
    margin-bottom: 15px;
    text-align: center;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1em;
    color: #666;
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

/* Buttons & CTAs */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: #218838; /* Darker green */
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section, .campaign-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1, .campaign-hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section .tagline, .campaign-hero-section .tagline {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--white);
}

/* Lead Forms (General Style) */
.cta-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.cta-form-container h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.lead-form .form-group {
    margin-bottom: 20px;
}

.lead-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="number"],
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-color);
}

.lead-form textarea {
    resize: vertical;
}

.lead-form .cta-button {
    width: 100%;
    margin-top: 15px;
}

.form-disclaimer {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

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

.campaign-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.campaign-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.campaign-card h3 {
    padding: 20px 15px 10px;
    font-size: 1.5em;
    text-align: center;
}

.campaign-card h3 a {
    text-decoration: none;
    color: var(--primary-color);
}

.campaign-card p {
    padding: 0 15px 20px;
    font-size: 0.95em;
    flex-grow: 1; /* Allows card to expand based on content */
}

.campaign-card .cta-button {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.step-card .step-number {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

/* About Section */
.about-section p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: justify;
}

/* Testimonials Section */
.testimonial-slider {
    display: flex; /* For basic display, consider a JS slider for more features */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-top: 40px;
    padding-bottom: 20px; /* For scrollbar */
}

.testimonial-card {
    flex: 0 0 100%; /* Each card takes full width */
    width: 100%; /* For manual scrolling */
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-right: 20px; /* Space between cards */
}
.testimonial-card:last-child {
    margin-right: 0;
}


.testimonial-card p {
    font-size: 1.1em;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

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

.contact-info, .contact-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h3, .contact-form-container h3 {
    text-align: left;
    margin-bottom: 25px;
}

.contact-info p {
    text-align: left;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #555;
}

.contact-info p i {
    font-size: 1.2em;
    margin-right: 10px;
    color: var(--secondary-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links img {
    height: 30px;
    width: 30px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex-basis: 30%;
    text-align: left;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9em;
    line-height: 1.5;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    flex-basis: 60%;
    text-align: right;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav ul li {
    margin-left: 30px;
    margin-bottom: 10px;
}

.footer-nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    margin-top: 30px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating CTA Button */
.floating-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-cta-button:hover {
    background-color: #218838;
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.floating-cta-button .icon {
    font-size: 1.5em; /* Example, using unicode mail symbol */
}

/* Campaign Details Section */
.campaign-details-section {
    padding: 60px 0;
}

.campaign-details-section h2 {
    margin-bottom: 30px;
}

.campaign-details-section p {
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: justify;
}

.campaign-details-section ul {
    max-width: 900px;
    margin: 30px auto;
    list-style-type: disc;
    padding-left: 40px;
    text-align: left;
    color: #555;
}

.campaign-details-section ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.condition-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.condition-item img {
    height: 50px;
    width: 50px;
    margin-bottom: 10px;
}

.condition-item p {
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Related Content */
.related-content .campaign-card {
    margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 992px) {
    .main-nav {
        display: none; /* Hide nav by default on smaller screens */
    }

    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        flex-basis: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .menu-toggle {
        display: block; /* Show menu toggle button */
        position: absolute;
        right: 20px;
        top: 25px;
    }

    .main-nav.active {
        display: block;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        position: absolute;
        top: 70px; /* Below header */
        left: 0;
        text-align: center;
        padding: 20px 0;
    }

    .main-nav.active ul {
        flex-direction: column;
    }

    .main-nav.active ul li {
        margin: 10px 0;
    }

    .hero-section h1, .campaign-hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section .tagline, .campaign-hero-section .tagline {
        font-size: 1.2em;
    }

    .cta-form-container {
        max-width: 90%;
    }

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

    .footer-logo, .footer-nav {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-nav ul {
        justify-content: center;
    }

    .footer-nav ul li {
        margin: 0 15px 10px 15px;
    }

    .floating-cta-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }

    .floating-cta-button .text {
        font-size: 0.9em;
    }

    .floating-cta-button .icon {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.8em; }

    .section-padding {
        padding: 60px 0;
    }

    .campaign-grid, .steps-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    .hero-section h1, .campaign-hero-section h1 {
        font-size: 2em;
    }
    .hero-section .tagline, .campaign-hero-section .tagline {
        font-size: 1em;
    }
}