:root {
    --primary-color: #1a365d;
    --secondary-color: #c53030;
    --text-color: #2d3748;
    --bg-color: #f7fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    text-align: center;
    color: white;
}

.hero-overlay h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-overlay p {
    font-size: 1.5rem;
    font-style: italic;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

/* Container & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.text {
    flex: 1;
}

.text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

.text p {
    font-size: 1.125rem;
    color: #4a5568;
}

.section-image {
    flex: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    position: relative;
}

.footer-pi {
    position: absolute;
    right: 2rem;
    bottom: 50%;
    transform: translateY(50%);
    font-size: 1.5rem;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.footer-pi:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
    }
    
    .content-section,
    .content-section.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}