/* Base Styles & Design System */
:root {
    --primary: #cb4a1d; /* Saffron/Orange */
    --primary-hover: #b03d15;
    --bg-light: #f4f1ea; /* Off-white/Beige */
    --text-dark: #1f1f1f;
    --text-muted: #555555;
    --white: #ffffff;
    --black: #000000;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --serif: 'Playfair Display', serif;
    --sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: var(--serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Layout Components --- */

/* Utility Bar */
.utility-bar {
    background-color: #fcfbf8;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
}

.utility-content {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    color: var(--text-muted);
}

/* Header & Nav */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-dark);
}

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

/* 3-Panel Hero */
.hero {
    display: flex;
    height: 90vh;
    overflow: hidden;
}

.hero-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.hero-panel:hover {
    flex: 1.5;
}

.hero-panel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s ease;
}

.hero-panel:hover img {
    transform: scale(1.05);
}

.hero-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Daily Wisdom Section */
.wisdom {
    padding: 8rem 0;
    text-align: center;
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
}

.quote-card p {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.quote-author {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Programs Section */
.programs {
    padding: 6rem 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.program-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.program-img {
    height: 250px;
    position: relative;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-info {
    padding: 2rem;
}

.program-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Social & Impact */
.impact {
    padding: 6rem 0;
}

.impact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.impact-img {
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
}

.impact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.impact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    opacity: 0.7;
}

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

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        height: auto;
    }
    .hero-panel {
        height: 400px;
    }
    .impact-split {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .quote-card p {
        font-size: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
