:root {
    --primary-color: #9D101E;
    --text-color: #333;
    --bg-color: #fff;
    --light-bg: #f9f9f9;
    --border-color: #ddd;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; position: relative; padding-bottom: 10px; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}
h3 { font-size: 1.3rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s; }
a:hover { color: #7a0c17; text-decoration: underline; }

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child { border-bottom: none; }
.bg-light { background-color: var(--light-bg); }

/* Header & Nav */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-area img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 0;
    color: #555;
}

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

/* Mobile Menu Toggle */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary-color); }

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}

.hero img {
    border-radius: 15%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    max-width: 200px;
    height: auto;
    border: 4px solid #fff;
}

.hero-quote {
    font-style: italic;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #444;
    line-height: 1.8;
}

.poem {
    background: #fff;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    display: inline-block;
    text-align: left;
    margin-top: 20px;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Lists */
ul.styled-list {
    list-style: none;
}
ul.styled-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
ul.styled-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
    text-align: center;
}
.partner-item {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.2s;
}
.partner-item:hover {
    transform: scale(1.05);
}
.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    margin-bottom: 15px;
    object-fit: contain;
}

/* Footer */
footer {
    background: #222;
    color: #eee;
    padding: 60px 0 30px;
    font-size: 0.95rem;
}
footer h3 { color: #fff; border-bottom: 1px solid #444; padding-bottom: 15px; }
footer h3::after { display: none; }
footer a { color: #bbb; }
footer a:hover { color: #fff; text-decoration: none; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}
.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; align-items: flex-start; }
    nav { width: 100%; margin-top: 0; overflow: hidden; max-height: 0; transition: max-height 0.3s ease-out; }
    nav.active { max-height: 500px; margin-top: 20px; }
    nav ul { flex-direction: column; gap: 0; }
    nav li { border-bottom: 1px solid #eee; }
    nav a { display: block; padding: 10px 0; }
    .logo-area { width: 100%; justify-content: space-between; }
    .menu-toggle { display: block; }

    h1 { font-size: 2rem; }
    .hero { padding: 60px 20px; }
}