:root {
    --navy: #0A2463;
    --navy-dark: #051639;
    --gold: #D4AF37;
    --gold-light: #E8C868;
    --cream: #F7F4EF;
    --charcoal: #2D3142;
    --gray: #6B7280;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--navy) 0%, #1C3D7A 100%);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(10, 36, 99, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    background: var(--gradient);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-menu a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--navy);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-apply {
    background: var(--gold);
    color: var(--navy);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-apply:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient);
    
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(45deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: bgMove 60s linear infinite;
}

@keyframes bgMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Crimson Pro', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    
    margin-bottom: 2rem; /* Instead of <br><br> */
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border: 2px solid var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

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



.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-align: center;
}
.section-label1 {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-align: center;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title.center {
    text-align: center;
}

/* Mission Section */
.mission {
    background: var(--cream);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-family: 'Crimson Pro', serif;
    font-size: 28px;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.6;
}

.mission-description {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* Programs Grid */
.programs-header {
    text-align: center;
    margin-bottom: 60px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.program-card {
    background: var(--white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(10, 36, 99, 0.08);
    transition: all 0.3s;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(10, 36, 99, 0.15);
}

.program-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.program-icon img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* If you need specific sizes */
.program-card:nth-child(1) .program-icon img,
.program-card:nth-child(3) .program-icon img {
    width: 250px;
}

.program-card:nth-child(2) .program-icon img,
.program-card:nth-child(4) .program-icon img {
    width: 150px;
}

.program-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
}

.program-card p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.program-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.program-link:hover {
    color: var(--navy);
}

/* Achievements Section */
.achievements {
    background: var(--cream);
}

.achievements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.achievements-text p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.achievement-list {
    margin: 32px 0;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.achievement-icon {
    width: 24px;
    height: 24px;
    background: black;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.achievements-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.achievement-box {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
    transition: all 0.3s;
}

.achievement-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.12);
}

.achievement-number {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.achievement-desc {
    font-size: 14px;
    color: var(--gray);
}

/* Testimonials */
.testimonials {
    background: var(--navy);
    color: var(--white);
}

.testimonials .section-label {
    color: var(--gold);
}

.testimonials .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.author-name {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.author-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.testimonial-card .link {
    color: #D4AF37; /* Gold color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color change on hover */
}

.testimonial-card .link:hover {
    color: #B8941F; /* Darker gold on hover */
    text-decoration: underline; /* Add underline on hover */
}
.testimonial-author .link {
    margin-top: 12px; /* Instead of <br> */
    display: block;
}
    
.testimonials .section-label {
    display: block;
    text-align: center;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.link {
    color: #0A2463;
    text-decoration: none;
    font-weight: 700;
}

.link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-style: italic;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Page Hero */
.page-hero {
    background: var(--gradient);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Crimson Pro', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Academics Page Styles */
.curriculum-overview {
    background: var(--cream);
}

.curriculum-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.curriculum-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.curriculum-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
}

.stat-value {
    font-family: 'Crimson Pro', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
}

.stat-name {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.department-card {
    background: var(--cream);
    padding: 36px;
    border-radius: 12px;
}

.department-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.department-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 16px;
}

.department-list {
    list-style: none;
}

.department-list li {
    padding: 8px 0;
    color: var(--gray);
    border-bottom: 1px solid rgba(10, 36, 99, 0.1);
}

.department-list li:last-child {
    border-bottom: none;
}

.special-programs {
    background: var(--cream);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.special-card {
    background: var(--white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
}

.special-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
}

.special-card p {
    color: var(--gray);
    line-height: 1.7;
}

.faculty-highlight {
    background: var(--navy);
    color: var(--white);
}

.faculty-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.faculty-content .section-label {
    color: var(--gold);
}

.faculty-content .section-title {
    color: var(--white);
}

.faculty-intro {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    line-height: 1.8;
}

.faculty-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.faculty-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.faculty-feature h4 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 8px;
}

.faculty-feature p {
    color: rgba(255, 255, 255, 0.8);
}

.college-prep {
    background: var(--cream);
}

.college-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.college-stats-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.inline-stat {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.inline-stat strong {
    display: block;
    font-family: 'Crimson Pro', serif;
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 4px;
}

/* Admissions Page */
.admission-process {
    background: var(--cream);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 12px;
}

.process-step p {
    color: var(--gray);
    line-height: 1.6;
}

.requirements-content {
    max-width: 900px;
    margin: 0 auto;
}

.requirements-intro {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.8;
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.requirement-card {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px;
}

.requirement-card h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 16px;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card ul li {
    padding: 8px 0;
    color: var(--gray);
    padding-left: 20px;
    position: relative;
}

.requirement-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.deadlines {
    background: var(--cream);
}

.deadlines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.deadline-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
}

.deadline-date {
    font-family: 'Crimson Pro', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

.deadline-card h4 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 8px;
}

.deadline-card p {
    color: var(--gray);
    font-size: 14px;
}

.financial-aid {
    background: var(--cream);
}

.aid-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.aid-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.aid-item {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.aid-item strong {
    display: block;
    font-family: 'Crimson Pro', serif;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 8px;
}

.aid-item span {
    color: var(--gray);
    font-size: 14px;
}

.tuition-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 36, 99, 0.08);
}

.tuition-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 1px solid var(--cream);
}

.tuition-row:last-of-type {
    border-bottom: none;
}

.tuition-row.total {
    background: var(--cream);
}

.tuition-item {
    color: var(--charcoal);
}

.tuition-cost {
    color: var(--navy);
    font-weight: 700;
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
}

.tuition-note {
    max-width: 800px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    font-style: italic;
}

.faq {
    background: var(--cream);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.faq-item h3 {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
}
.form-section-block label {
    display: flex; 
    align-items: flex-start; 
    gap: 10px;
}

.form-section-block input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}



/* Student Life Page */
.life-overview {
    background: var(--cream);
}

.life-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.life-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.life-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.life-stat {
    text-align: center;
}

.life-stat strong {
    display: block;
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    color: var(--navy);
    margin-bottom: 8px;
}

.life-stat span {
    color: var(--gray);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.activity-category {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px;
}

.activity-category h3 {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 16px;
}

.activity-category ul {
    list-style: none;
}

.activity-category ul li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 15px;
}

.athletics {
    background: var(--cream);
}

.athletics-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.8;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sport-card {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.sport-card h4 {
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 16px;
}

.sport-card ul {
    list-style: none;
}

.sport-card ul li {
    padding: 6px 0;
    color: var(--gray);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.facility-card {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px;
}

.facility-card h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 12px;
}

.facility-card p {
    color: var(--gray);
    line-height: 1.7;
}

.global-programs {
    background: var(--cream);
}

.global-intro {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 48px;
    line-height: 1.8;
    text-align: center;
}

.global-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.global-card {
    background: var(--white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08);
}

.global-card h3 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
}

.global-card p {
    color: var(--gray);
    line-height: 1.7;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.voice-card {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px;
}

.voice-quote {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.voice-author strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 4px;
}

.voice-author span {
    color: var(--gold);
    font-size: 14px;
}

/* Contact Page */
.contact-main {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-text p {
    color: var(--gray);
    line-height: 1.7;
}

.contact-form-section {
    background: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(10, 36, 99, 0.08);
}

.contact-form-section h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-submit {
    background: var(--gold);
    color: var(--navy);
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.visit-card {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px;
}

.visit-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 12px;
}

.visit-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.visit-details {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.departments-contact {
    background: var(--cream);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dept-card {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.08);
}

.dept-card h4 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 12px;
}

.dept-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.map-placeholder {
    background: var(--cream);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
}

.map-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 16px;
}

.map-directions {
    font-size: 16px;
    line-height: 1.8;
}
.footer-bottom1 {
    border-top: 1px solid #444;
    padding-top: 24px;
    text-align: center;
    color: #888;
    font-size: 15px;
}
.footer-bottom1 p:last-child {
    margin-top: 15px;
    opacity: 0.8;
}

/* Results Table - Make it scrollable */
    .results-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 15px -20px; /* Extend to edges on mobile */
    }


    .results-table caption {
        font-size: 1rem !important;
        padding: 10px !important;
    }
/* WASSCE Results Table */
        .results-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }

        .results-table th,
        .results-table td {
            padding: 12px;
            border: 1px solid #ddd;
            text-align: left;
        }

        .results-table th {
            background-color: #3498db;
            color: white;
            font-weight: 600;
        }

        .results-table input,
        .results-table select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        /* File Upload */
        .file-upload {
            margin-top: 10px;
        }

        .file-upload input[type="file"] {
            padding: 10px;
            border: 2px dashed #3498db;
            border-radius: 5px;
            background-color: #f8f9fa;
        }

/* ==============================================
   MOBILE RESPONSIVE FIXES FOR ADMISSIONS & STUDENT LIFE
   Add this code to the bottom of your styles.css file
   ============================================== */

/* ============================================
   ADMISSIONS PAGE MOBILE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Application Form */
    .application-form {
        padding: 20px !important;
        margin-top: 20px !important;
    }

    .form-section-title {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }

    /* Make form rows stack vertically on mobile */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Fieldsets */
    fieldset {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }

    legend {
        font-size: 1.1rem !important;
        padding: 0 10px !important;
    }

    /* Form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 10px !important;
    }

    

    /* Submit button */
    .submit-btn {
        width: 100%;
        padding: 15px 20px !important;
        font-size: 1rem !important;
    }

    .submit-section {
        margin-top: 30px !important;
        padding-top: 30px !important;
    }

    /* Process Steps */
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }

    .process-step {
        width: 100% !important;
    }

    /* Requirements grid */
    .requirements-grid {
        grid-template-columns: 1fr !important;
    }

    /* Deadlines grid */
    .deadlines-grid {
        grid-template-columns: 1fr !important;
    }

    .deadline-card {
        padding: 20px !important;
    }

    .deadline-date {
        font-size: 1.5rem !important;
    }

    /* FAQ grid */
    .faq-grid {
        grid-template-columns: 1fr !important;
    }

    .faq-item {
        padding: 20px !important;
    }

    .faq-item h3 {
        font-size: 1.1rem !important;
    }

    /* Tuition cards */
    .tuition-cards {
        flex-direction: column;
    }

    .tuition-card {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .application-form-section {
        padding: 40px 0 !important;
    }

    .form-section-title {
        font-size: 1.2rem !important;
    }

    legend {
        font-size: 1rem !important;
    }

    .help-text {
        font-size: 0.85rem !important;
    }
}

/* ============================================
   STUDENT LIFE PAGE MOBILE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Life Stats */
    .life-stats {
        flex-direction: column;
        gap: 20px;
    }

    .life-stat {
        width: 100% !important;
        text-align: center;
    }

    /* Activities Grid */
    .activities-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .activity-category img {
        width: 100% !important;
        max-width: 300px;
        height: auto !important;
        display: block;
        margin: 0 auto;
    }

    .activity-category h3 {
        font-size: 1.3rem !important;
        margin-top: 15px;
    }

    .activity-category ul {
        padding-left: 20px;
    }

    .activity-category li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    /* Sports Grid */
    .sports-grid {
        grid-template-columns: 1fr !important;
    }

    .sport-card {
        padding: 20px !important;
    }

    .sport-card h4 {
        font-size: 1.2rem !important;
    }

    /* Events Grid */
    .events-grid {
        grid-template-columns: 1fr !important;
    }

    .event-card {
        padding: 20px !important;
    }

    /* Service Projects Grid */
    .service-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card {
        padding: 20px !important;
    }

    /* Global Programs Grid */
    .global-programs-grid {
        grid-template-columns: 1fr !important;
    }

    .global-card {
        padding: 20px !important;
    }

    /* Student Voices */
    .voices-grid {
        grid-template-columns: 1fr !important;
    }

    .voice-card {
        padding: 20px !important;
    }

    .voice-quote {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }

    .voice-author {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile - Student Life */
    .life-overview {
        padding: 40px 0 !important;
    }

    .life-stat strong {
        font-size: 2rem !important;
    }

    .life-stat span {
        font-size: 0.9rem !important;
    }

    .athletics {
        padding: 40px 0 !important;
    }

    .activity-category img {
        max-width: 100% !important;
    }
}

/* ============================================
   ADDITIONAL MOBILE UTILITIES
   ============================================ */

/* Make tables scrollable on mobile */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Touch-friendly buttons */
    .btn-primary,
    .btn-secondary,
    .btn-apply {
        min-height: 48px; /* Minimum touch target size */
        padding: 12px 24px;
    }

    /* Prevent text from being too small */
    body {
        font-size: 16px;
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Better spacing for mobile */
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }
}

/* ============================================
   LANDSCAPE MODE (TABLETS)
   ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    /* Form rows - 2 columns on tablets */
    .form-row {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Activities grid - 2 columns on tablets */
    .activities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Sports grid - 2 columns on tablets */
    .sports-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Deadlines grid - 2 columns on tablets */
    .deadlines-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
/* ==============================================
   ADDITIONAL FIX FOR ACADEMIC PERFORMANCE TABLE
   Add this to your mobile-fixes.css or styles.css
   ============================================== */

/* Academic Performance Table - Mobile Fix */
@media (max-width: 768px) {
    /* Make the table wrapper scrollable */
    fieldset:has(.results-table) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px 10px !important;
    }

    /* Adjust table for mobile */
    .results-table {
        min-width: 500px; /* Prevents table from being too cramped */
        font-size: 0.85rem !important;
    }

    .results-table caption {
        font-size: 0.95rem !important;
        padding: 10px !important;
    }

    .results-table th,
    .results-table td {
        padding: 8px 6px !important;
        font-size: 0.85rem !important;
    }

    /* Make inputs and selects smaller but still usable */
    .results-table input,
    .results-table select {
        font-size: 14px !important;
        padding: 6px !important;
        min-width: 80px;
    }

    /* Alternative: Stack table vertically on very small screens */
    @media (max-width: 480px) {
        /* Convert table to blocks for better mobile UX */
        .results-table thead {
            display: none; /* Hide header on small screens */
        }

        .results-table,
        .results-table tbody,
        .results-table tr,
        .results-table td {
            display: block;
            width: 100% !important;
        }

        .results-table tr {
            margin-bottom: 20px;
            border: 2px solid #2c5f8d;
            border-radius: 8px;
            padding: 15px;
            background-color: #fff;
        }

        .results-table td {
            border: none !important;
            padding: 10px 0 !important;
            text-align: left !important;
            position: relative;
        }

        /* Add labels before each cell */
        .results-table td:before {
            content: attr(data-label);
            font-weight: 600;
            color: #2c5f8d;
            display: block;
            margin-bottom: 5px;
        }

        /* Style for first cell (subject name) */
        .results-table td:first-child {
            font-weight: 600;
            font-size: 1rem !important;
            color: #1a1a1a;
            margin-bottom: 10px;
            padding-bottom: 10px !important;
            border-bottom: 1px solid #ddd !important;
        }

        .results-table td:first-child:before {
            content: "Subject: ";
        }

        .results-table td:nth-child(2):before {
            content: "Grade/Mark: ";
        }

        .results-table td:nth-child(3):before {
            content: "Level: ";
        }

        .results-table input,
        .results-table select {
            width: 100% !important;
            font-size: 16px !important;
            padding: 10px !important;
        }
    }
}

/* Add a scroll hint for tables on mobile */
@media (max-width: 768px) and (min-width: 481px) {
    fieldset:has(.results-table):after {
        content: "← Scroll horizontally to see all columns →";
        display: block;
        text-align: center;
        color: #666;
        font-size: 0.85rem;
        margin-top: 10px;
        font-style: italic;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid,
    .sports-grid,
    .visit-grid,
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        box-shadow: 0 4px 12px rgba(10, 36, 99, 0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(10, 36, 99, 0.1);
        padding-bottom: 12px;
    }

    .nav-menu a {
        font-size: 18px;
        display: block;
        padding: 12px 0;
    }

    .nav-menu a::after {
        display: none;
    }
    
    .btn-apply {
        display: none;
    }
    
    .hero {
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        min-width: 100%;
    }
    
    .section-title {
        font-size: 32px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }
    
    .programs-grid,
    .departments-grid,
    .special-grid,
    .faculty-features,
    .process-grid,
    .requirements-grid,
    .deadlines-grid,
    .aid-highlights,
    .college-stats-inline,
    .faq-grid,
    .activities-grid,
    .sports-grid,
    .facilities-grid,
    .global-programs-grid,
    .voices-grid,
    .visit-grid,
    .dept-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .curriculum-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .curriculum-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-text {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    .achievement-box {
        padding: 24px;
    }

    .achievement-number {
        font-size: 36px;
    }

    .mission-text {
        font-size: 20px;
    }

    /* Resources page mobile fixes */
    .filter-tabs {
        flex-direction: column;
        align-items: stretch;
    }

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

    .grade-selector {
        flex-wrap: wrap;
    }

    .resources-grid {
        grid-template-columns: 1fr !important;
    }

    .quick-access-grid {
        grid-template-columns: 1fr;
    }

    /* Contact page mobile */
    .contact-details {
        gap: 24px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    /* Admissions form mobile */
    .application-form {
        padding: 24px;
    }

    .form-section-title {
        font-size: 1.5rem;
    }

    fieldset {
        padding: 20px;
    }

    legend {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .page-title {
        font-size: 28px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .program-card,
    .department-card,
    .testimonial-card {
        padding: 20px;
    }

    .achievement-number {
        font-size: 32px;
    }

    .cta-title {
        font-size: 26px;
    }

    .logo-main {
        font-size: 14px;
    }

    .logo-sub {
        font-size: 10px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .nav {
        padding: 15px 0;
    }

    .mission-text {
        font-size: 18px;
    }

    .application-form {
        padding: 16px;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}
