/* General Styles */
:root {
    --primary-color: #5f57e0; /* A friendly purple-blue */
    --primary-light: #9167EF; /* Lighter shade for gradients */
    --secondary-color: #63b3ed; /* A sky blue */
    --accent-color: #FF6B35; /* A warm orange for highlights */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark-gradient-start: #f8f8fa; /* Very light grey for subtle gradient */
    --bg-dark-gradient-end: #eef1f5;   /* Slightly darker light grey */
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-dark-gradient-start), var(--bg-dark-gradient-end));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header - Hero Section */
.hero-section {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 8px 20px var(--shadow-color);
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #e65c27; /* Slightly darker accent */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary .btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Features Section */
.features-section {
    background-color: var(--bg-light);
    padding-top: 100px; /* More space after hero */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1em;
    color: var(--text-dark);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    padding: 80px 20px;
    border-radius: 20px;
    margin: 60px auto;
    max-width: 1000px;
    box-shadow: 0 8px 20px var(--shadow-color);
}

.cta-section .section-title {
    color: var(--text-light); /* Override for this section */
}

.cta-text {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.small-text {
    font-size: 0.9em;
    margin-top: 20px;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-nav {
    margin-top: 20px;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.1em;
    }
    .section-title {
        font-size: 2em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .feature-grid {
        grid-template-columns: 1fr; /* Stack features on smaller screens */
    }
    .cta-text {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }
    .hero-subtitle {
        font-size: 1em;
    }
    section {
        padding: 60px 15px;
    }
}