/* Global Styles */
:root {
    --dark-navy: #0B1F4D;
    --blue: #1E73FF;
    --orange: #FF8A00;
    --white: #FFFFFF;
    --light-gray: #F7F9FC;
    --dark-gray: #1A1A1A;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-navy);
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--blue);
    color: var(--white);
    border: 2px solid var(--blue);
}

.btn-primary:hover {
    background-color: var(--dark-navy);
    border-color: var(--dark-navy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background-color: var(--blue);
    color: var(--white);
}

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

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

.main-header .logo img {
    height: 40px; /* Adjust as needed */
}

.main-nav ul {
    display: flex;
}

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

.main-nav ul li a {
    color: var(--dark-navy);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.hero-buttons .btn {
    margin-right: 15px;
}

.hero-illustration {
    flex: 1;
    text-align: center;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section Small (for About/Contact) */
.hero-section-small {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: 80px 0;
    text-align: center;
}

.hero-section-small h1 {
    font-size: 3em;
    color: var(--dark-navy);
}

/* Trusted Statistics */
.trusted-statistics {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.trusted-statistics .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex-basis: 200px;
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    color: var(--orange);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1em;
    font-weight: 400;
}

/* What is DigiSkillRise */
.what-is-digiskillrise {
    padding: 80px 0;
    background-color: var(--white);
}

.what-is-digiskillrise .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.what-is-digiskillrise .content-left,
.what-is-digiskillrise .content-right {
    flex: 1;
}

.what-is-digiskillrise .content-left img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.what-is-digiskillrise .content-right h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.what-is-digiskillrise .content-right p {
    margin-bottom: 15px;
}

.what-is-digiskillrise .content-right ul {
    margin-left: 20px;
    list-style: disc;
}

.what-is-digiskillrise .content-right ul li {
    margin-bottom: 5px;
}

/* Featured Categories */
.featured-categories {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.featured-categories h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.category-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 3em;
    color: var(--blue);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.3em;
    color: var(--dark-navy);
}

/* What is Affiliate Marketing */
.what-is-affiliate-marketing {
    padding: 80px 0;
    text-align: center;
}

.what-is-affiliate-marketing h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.what-is-affiliate-marketing .infographic {
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.what-is-affiliate-marketing .explanation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.what-is-affiliate-marketing .explanation p {
    background-color: var(--light-gray);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark-navy);
}

/* How It Works */
.how-it-works {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5em;
    color: var(--white);
    margin-bottom: 50px;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline-item {
    background-color: var(--blue);
    padding: 20px 30px;
    border-radius: 10px;
    color: var(--white);
    position: relative;
    min-width: 180px;
}

.timeline-item h3 {
    color: var(--white);
    font-size: 1.1em;
}

.timeline-arrow {
    font-size: 2em;
    color: var(--orange);
}

/* Why Choose Affiliate Marketing */
.why-choose-affiliate {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.why-choose-affiliate h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.reason-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.reason-card i {
    font-size: 2.5em;
    color: var(--orange);
    margin-bottom: 15px;
}

.reason-card h3 {
    font-size: 1.2em;
    color: var(--dark-navy);
}

/* Who Can Join */
.who-can-join {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.who-can-join h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.join-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.join-item:hover {
    transform: translateY(-5px);
}

.join-item i {
    font-size: 2.5em;
    color: var(--blue);
    margin-bottom: 10px;
}

.join-item h3 {
    font-size: 1.1em;
    color: var(--dark-navy);
}

/* Why DigiSkillRise (Comparison Table) */
.why-digiskillrise {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.why-digiskillrise h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    border: 1px solid #eee;
    text-align: left;
}

.comparison-table th {
    background-color: var(--dark-navy);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.comparison-table tr:hover {
    background-color: #e9eef5;
}

/* Income Opportunities */
.income-opportunities {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.income-opportunities h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

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

.opportunity-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.opportunity-card h3 {
    font-size: 1.3em;
    color: var(--dark-navy);
}

/* Success Journey */
.success-journey {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.success-journey h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.roadmap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.roadmap-item {
    background-color: var(--blue);
    padding: 15px 30px;
    border-radius: 10px;
    color: var(--white);
    min-width: 200px;
}

.roadmap-item h3 {
    color: var(--white);
    font-size: 1.2em;
}

.roadmap-arrow {
    font-size: 2em;
    color: var(--orange);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, var(--dark-navy), var(--blue));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    border-radius: 15px;
    margin: 50px auto;
    max-width: 1200px;
}

.cta-banner h2 {
    font-size: 3em;
    color: var(--white);
    margin-bottom: 40px;
}

.cta-buttons .btn {
    margin: 0 15px;
    border-color: var(--white);
}

.cta-buttons .btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--white);
    color: var(--orange);
}

.cta-buttons .btn-secondary {
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--blue);
}

/* Footer */
footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 20px 0;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Make logo white for dark background */
}

footer h3 {
    color: var(--orange);
    margin-bottom: 20px;
    font-size: 1.2em;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--blue);
}

.footer-contact p {
    margin-bottom: 10px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--blue);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* About and Contact Page Specific Styles */
.content-section {
    padding: 80px 0;
    background-color: var(--white);
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-form-section p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-illustration {
        margin-top: 40px;
    }

    .what-is-digiskillrise .container {
        flex-direction: column;
    }

    .what-is-digiskillrise .content-left img {
        margin-bottom: 30px;
    }

    .cta-banner h2 {
        font-size: 2.2em;
    }

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

    .footer-logo, .footer-links, .footer-legal, .footer-contact {
        margin-bottom: 30px;
    }

    .footer-logo img {
        filter: none; /* Revert filter for smaller screens if needed */
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        margin-top: 20px;
    }

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

    .main-header .container {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px 0;
    }

    .trusted-statistics .container {
        flex-direction: column;
    }

    .stat-item {
        flex-basis: 100%;
    }

    .category-grid, .reason-grid, .join-grid, .opportunity-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .roadmap {
        align-items: stretch;
    }

    .roadmap-item {
        min-width: unset;
        width: 100%;
    }

    .cta-banner h2 {
        font-size: 1.8em;
    }

    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
    }
}
