:root {
    --primary-color: #ff6f61;
    --secondary-color: #ffc107;
    --background-color: #fff;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --dark-gray: #555;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
}

.cta-button {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.cta-button.primary:hover {
    background-color: #e65a50;
    border-color: #e65a50;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 0;
    min-height: 80vh;
}

.hero-text {
    flex-basis: 50%;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hero-image-container {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 350px;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card img {
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.final-cta {
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 2rem;
    margin: 4rem -5% 0; /* Extends to screen edges */
    border-radius: 0;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.final-cta .cta-button.primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
}

.final-cta .cta-button.primary:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
}


footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 2rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


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

    .hero-text {
        order: 2;
    }

    .hero-image-container {
        order: 1;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none; /* Simple responsive solution */
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    h2.section-title {
        font-size: 1.8rem;
    }
    .final-cta {
        margin: 4rem -10% 0;
    }
}

