
  :root {
    --primary-color: #004aad;
    --secondary-color: #ffb703;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Screen reader only class for accessibility */
.sr-only { 
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; 
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; 
}

/* Typography */
h1, h2, h3, h4 { color: var(--primary-color); margin-bottom: 15px; }
h1 { font-size: 3rem; line-height: 1.2; color: var(--white); }
h2 { font-size: 2.2rem; }
.section-subtitle { color: var(--text-light); margin-bottom: 40px; font-size: 1.1rem; }

/* Navigation */
nav {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-color); }
.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 5px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 74, 173, 0.8), rgba(0, 74, 173, 0.8)), url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    background: #e6a500;
}

/* Sections */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-color); }
.text-white h2, .text-white p { color: var(--white); }

.about-text, .hybrid-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card ul { padding-left: 20px; line-height: 2; }

/* Tags for Subjects */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s, color 0.3s;
}
.tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contact Form Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group { margin-bottom: 15px; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 74, 173, 0.2);
}

.info-details { margin-bottom: 20px; }
.info-details p { margin-bottom: 10px; }

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Phone Input Group */
.phone-group {
    display: flex;
    gap: 10px;
}
.phone-group select {
    width: 35%;
    cursor: pointer;
}
.phone-group input {
    width: 65%;
}

/* Dynamic Subject Selection Formatting */
.subject-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Override default input widths for radios/checkboxes */
.radio-group input, .checkbox-group input {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    cursor: pointer;
}
/* Split Group for Board & Grade */
.split-group {
    display: flex;
    gap: 10px;
}
.split-item {
    flex: 1;
}
.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light); /* Uses the existing gray color variable */
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.4;
}

/* Responsive Styles */
@media(max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .split-group {
        flex-direction: column;
    }
    .nav-links.active { display: flex; }
    h1 { font-size: 2.2rem; }
    .grid-2, .contact-grid { grid-template-columns: 1fr; }
}
  