/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A25E05;
    --background-color: #221F1F;
    --text-color: #FFFFFF;
    --font-family: 'Arial', sans-serif; /* You can change this to a better font later */
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
        padding: 10px 0;

}

.main-header .logo {
    font-size: 1.8em;
    font-weight: bold;
}
.header-container {
    display: flex;                 /* THIS IS THE KEY: Activates Flexbox */
    justify-content: space-between;/* Pushes logo to the left and nav to the right */
    align-items: center;           /* Vertically aligns everything in the middle */
}

.logo img {
    height: 60px; /* Control the logo size from CSS */
    width: auto;
}

.logo a {
    display: block;
}


.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px; /* Space between navigation items */
}
.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
    padding: 5px 0;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}


.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

/* General Button Style */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}


/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding: 40px 0;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* Challenges Section */
.challenges-section {
    padding: 80px 0;
    text-align: center;
}

.challenges-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.challenge-card {
    background-color: #2c2929;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.challenge-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.challenge-card p {
    font-size: 1.05em;
    color: #ddd;
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background-color: #2c2929; /* A slightly different background to make it stand out */
    text-align: center;
}

.solutions-section .intro-heading {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.solutions-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.solution-card {
    background-color: var(--background-color);
    padding: 40px 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.solution-card .icon {
    margin-bottom: 20px;
}

.solution-card .icon svg {
    color: var(--primary-color);
}

.solution-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.solution-card p {
    font-size: 1.05em;
    color: #ccc;
    line-height: 1.7;
}

.section-cta {
    margin-top: 60px;
}

/* Tabs Section */
.tabs-section {
    padding: 80px 0;
    text-align: center;
}

.tabs-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

/* Tab Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 50px;
    border-bottom: 2px solid #444;
}

.tab-link {
    padding: 15px 25px;
    cursor: pointer;
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px; /* Aligns border with the container's border */
}

.tab-link:hover {
    color: var(--text-color);
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Tab Content Panels */
.tab-panel {
    display: none; /* Hide all panels by default */
    align-items: center;
    gap: 50px;
    text-align: left;
}

.tab-panel.active {
    display: grid; /* Show the active panel */
    grid-template-columns: 1fr 1.2fr; /* Image | Text */
}

.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    max-height: 400px;
}

.tab-text h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.tab-text p {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 25px;
}

.tab-text h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tab-text ul {
    list-style: none;
    padding-left: 0;
}

.tab-text ul li {
    font-size: 1.05em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.tab-text ul li::before {
    content: '✓'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive styles for tabs */
@media (max-width: 768px) {
    .tab-panel.active {
        grid-template-columns: 1fr; /* Stack image and text on top of each other */
        text-align: center;
    }

    .tab-text {
        margin-top: 30px;
        text-align: left;
    }

    .tabs-nav {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-link {
        border-bottom: 1px solid #444;
        width: 100%;
        margin-bottom: 0;
    }

    .tab-link.active {
        border-bottom-color: var(--primary-color);
    }
}
/* Final CTA Section */
.final-cta-section {
    background-color: #2c2929; /* Using the slightly lighter background for contrast */
    padding: 80px 0;
    text-align: center;
}

.cta-logo {
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.trust-statement {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.8;
}

.final-cta-section h2 {
    font-size: 2.5em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.final-cta-section .btn {
    padding: 15px 35px;
    font-size: 1.2em;
}
/* Trust Section */
.trust-section {
    padding: 80px 0;
}

.trust-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* Text | Image */
    align-items: center;
    gap: 60px;
}

.trust-section h2 {
    font-size: 2.8em;
    margin-bottom: 40px;
    text-align: left;
}

.trust-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-icon {
    background-color: #2c2929;
    padding: 12px;
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.trust-point-text h3 {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.trust-point-text p {
    color: #ccc;
    font-size: 1.05em;
}

/* Responsive styles for trust section */
@media (max-width: 992px) {
    .trust-content {
        grid-template-columns: 1fr;
    }

    .trust-image {
        order: -1; /* Move image to the top on mobile */
        margin-bottom: 40px;
    }

    .trust-section h2 {
        text-align: center;
    }
}

/* Final CTA Section (Image Background) */
.final-cta-image-section {
    /* This uses the image you saved in Step 1 */
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('cta-background.png');
    background-size: cover;
    background-position: center center;
    padding: 60px 0;
    border-radius: 10px; /* Optional: adds rounded corners to the whole section */
    margin-top: 80px; /* Adds some space above this section */
    margin-bottom: 80px; /* Adds some space below this section */
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-button-area {
    flex: 0 0 30%; /* Assigns about 30% of the width to the button area */
}

.cta-button-area .btn {
    width: 100%;
    text-align: center;
}

.cta-text-area {
    flex: 1; /* Allows the text area to take up the remaining space */
    text-align: left;
}

.cta-text-area h2 {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cta-text-area p {
    font-size: 1.1em;
    color: #eee;
}

/* Responsive styles for the final CTA */
@media (max-width: 992px) {
    .cta-content-wrapper {
        flex-direction: column-reverse; /* Stacks text on top of the button */
        text-align: center;
    }

    .cta-text-area {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .cta-button-area {
        width: 100%;
        max-width: 350px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #2c2929;
    padding: 60px 0 0; /* Add padding top, bottom padding will be in footer-bottom */
    border-top: 1px solid #444;
    font-size: 0.95em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col {
    line-height: 1.8;
}

.footer-heading {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.footer-col p {
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.payment-methods {
    display: flex; /* Aligns images in a row */
    align-items: center; /* Vertically centers the images */
    gap: 15px; /* Adds space between the images */
    flex-wrap: wrap; /* Allows images to wrap on small screens */
}

.payment-methods img {
    height: 35px; /* Sets a uniform height for all logos */
    width: auto; /* Allows width to adjust automatically */
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adds a subtle shadow */
}
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid #444;
    color: #aaa;
}