:root {
    --primary: #911A38;
    --primary-dark: #6e132b;
    --secondary: #ffffff;
    --accent: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout Utilities */
.flex-row { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-around { justify-content: space-around; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.text-center { text-align: center; }
.bg-light { background-color: var(--accent); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(145, 26, 56, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Global Header */
.global-header {
    padding: 15px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.logo-network img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav .phone a {
    color: var(--primary);
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    background: url('images/hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(145, 26, 56, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.school-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.95;
}

.grade-levels {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Local Nav */
.local-nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.local-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.local-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.accent-text {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

/* About Section */
.features {
    list-style: none;
    margin-top: 30px;
}

.features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Accreditation Bar */
.accreditation-bar {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partner-logo img {
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition);
    max-height: 40px;
}

.partner-logo:hover img {
    opacity: 1;
    filter: grayscale(0);
}

/* Principal Section */
.image-frame {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.image-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90%;
    height: 90%;
    border: 10px solid var(--primary);
    z-index: -1;
    border-radius: var(--border-radius);
}

.image-frame img {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
}

.signature {
    margin-top: 30px;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.signature strong {
    display: block;
    font-size: 1.2rem;
}

/* Success Section */
.school-logos {
    gap: 40px;
    margin-top: 50px;
}

.school-logo {
    font-weight: 700;
    color: #ccc;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

/* Enroll Section */
.enroll-card {
    background: var(--primary);
    color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(145, 26, 56, 0.2);
}

.enroll-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.enroll-info {
    padding: 60px;
    background: rgba(0,0,0,0.1);
}

.enroll-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin-top: 40px;
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.enroll-form {
    padding: 60px;
    background: white;
}

.enroll-form h2 { color: var(--primary); }

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.full-width { width: 100%; }

/* Footer */
.main-footer {
    background: #111;
    color: #eee;
    padding: 80px 0 20px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-two, .grid-four, .enroll-grid {
        grid-template-columns: 1fr;
    }
    .school-name { font-size: 3rem; }
    .local-links { display: none; }
    .hero { height: auto; padding: 100px 0; }
}
