/* Reset and Root Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #4A90E2; /* Calming Blue */
    --secondary-color: #F4F7F6; /* Light Grey */
    --accent-color: #50E3C2; /* Soft Teal */
    --text-color: #333333; /* Dark Grey */
    --heading-color: #263238; /* Almost Black */
    --background-color: #FFFFFF;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.pexels.com/photos/414102/pexels-photo-414102.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #357ABD;
    transform: translateY(-3px);
}

/* General Section Styling */
section {
    padding: 5rem 2.5rem;
}

section h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.alternate-bg {
    background-color: var(--secondary-color);
}

.feature-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.feature-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-link {
    text-decoration: none;
}

/* About Section */
.about-section {
    background-color: var(--background-color);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--heading-color);
    color: white;
    text-align: center;
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }
}