/* GLOBAL STYLES & RESETS */
:root {
    --primary-colour: #FF5A5F; /* A vibrant red/coral for energy */
    --secondary-colour: #1a202c; /* Dark text/background elements */
    --hover-colour: #E53E3E; /* Darker red for hover states */
    --accent-colour: #2DCCD3; /* A turquoise for success/CTA contrast */
    --accent-colour-dark: #27A5AA; /* Darker turquoise for hover states */
    --accent-colour-light: #45E7EE; /* Light turquoise background */
    --light-bg: #F7FAFC; /* Light gray background */
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-colour);
    background-color: white;
}

a {
    text-decoration: none;
    color: var(--primary-colour);
    transition: color 0.3s;
}

a:hover {
    color: var(--hover-colour);
}

/* NAVBAR STYLES */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-colour);
}

.navbar nav a {
    margin-left: 20px;
    font-weight: 600;
    color: var(--secondary-colour);
}

.navbar nav a.cta-nav {
    background-color: var(--primary-colour);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar nav a.cta-nav:hover {
    background-color: var(--hover-colour);
    color: white; /* Override default hover color */
}

/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    min-height: 70vh;
    background: linear-gradient(135deg, var(--light-bg) 0%, white 100%);
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-colour);
}

.hero-content h1 strong {
    color: var(--primary-colour);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

.hero-content p strong {
    font-weight: 600;
}

.hero-image {
    max-width: 40%;
    /* Styling to make the placeholder stand out */
    background-color: var(--primary-colour);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* For the mockup image: */
    min-width: 300px; 
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    /* Replace with an actual image in a real project */
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.9; /* Make the placeholder visible but subtle */
    color: white;
}

/* CTA BUTTON BASE STYLE */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    background-color: var(--primary-colour);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 90, 95, 0.4);
}

.cta-button.primary:hover {
    background-color: var(--hover-colour);
}

.cta-button.secondary {
    background-color: var(--accent-colour);
    color: white;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.cta-button.secondary:hover {
    background-color: var(--accent-colour-dark);
}

/* FEATURES SECTION */
.features-section {
    padding: 4rem 5%;
    text-align: center;
    background-color: white;
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-colour);
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.feature-card {
    flex: 1;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-colour);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #4a5568;
}

/* CTA BANNER */
.cta-banner {
    background-color: var(--secondary-colour);
    color: white;
    padding: 3rem 5%;
    text-align: center;
    margin-top: 4rem;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1.5rem 5%;
    background-color: #edf2f7;
    font-size: 0.9rem;
    color: #718096;
}

.footer-links a {
    color: #718096;
    margin: 0 10px;
}

.footer-links a:hover {
    color: var(--primary-colour);
}

/* RESPONSIVENESS (Mobile-First Adjustments) */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content, .hero-image {
        max-width: 100%;
        width: 100%;
    }

    .hero-image {
        order: -1; /* Move image to the top on small screens */
        margin-bottom: 2rem;
        min-height: 250px;
    }

    .feature-grid {
        flex-direction: column;
    }

    .feature-card {
        margin-bottom: 15px;
    }

    .navbar {
        flex-wrap: wrap;
        padding-bottom: 1rem;
    }

    .navbar nav {
        margin-top: 10px;
        flex-basis: 100%;
        display: flex;
        justify-content: space-around;
    }
    
    .navbar nav a {
        margin: 0 5px;
        font-size: 0.9rem;
    }

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