/* ==========================================================================
   Bureti Bible College - Complete Stylesheet
   ========================================================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #0b2a4a;
    --secondary-color: #d4af37;
    --accent-color: #8b0000;
    --light-color: #f7f7f7;
    --dark-color: #111;
    --text-color: #222;
    --text-light: #666;
    --border-color: #ddd;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* Typography */
    --font-primary: 'Open Sans', 'Arial', 'Segoe UI', sans-serif;
    --font-heading: 'Merriweather', 'Georgia', 'Times New Roman', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    background: #fff;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: var(--space-sm);
}

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

a:hover {
    color: var(--secondary-color);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header & Navigation */
.site-header {
    background: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 55px;
    width: auto;
}

.logo-text {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-text span {
    color: var(--secondary-color);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-link {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

.nav-link.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-color);
}

.nav-apply {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.nav-apply:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* Hero Sections - FIXED IMAGE PATH */
.hero {
    background: linear-gradient(rgba(11, 42, 74, 0.85), rgba(11, 42, 74, 0.9)),
                url('../images/main-chapel.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-home {
    min-height: 80vh;
    padding: 120px 20px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: var(--space-sm);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* TVET Badge */
.tvet-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 14px 35px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-button:hover {
    background: #e6c050;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.hero-button-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-button-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

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

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

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

.bg-light {
    background: var(--light-color);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Cards */
.program-card-preview,
.program-category-card,
.download-card,
.contact-person-card,
.campus-card,
.facility-card,
.value-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card-preview:hover,
.program-category-card:hover,
.download-card:hover,
.contact-person-card:hover,
.campus-card:hover,
.facility-card:hover,
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Program Cards */
.program-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.program-category-card {
    border-top: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.program-level {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.program-duration {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-duration:before {
    content: "⏱️";
}

.program-description {
    margin: 1rem 0;
    line-height: 1.6;
    color: #555;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.program-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 1.8rem;
}

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

/* TVET Courses */
.tvet-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.tvet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tvet-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 3px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.tvet-card:hover {
    transform: translateY(-5px);
}

.tvet-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tvet-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Admission Buttons */
.admission-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.admission-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Download Cards */
.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.download-card {
    border-top: 5px solid var(--primary-color);
    text-align: center;
}

.download-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.file-size {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.download-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Requirements List */
.requirements-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.requirements-list h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.requirements-list ol,
.requirements-list ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.requirements-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.requirements-list ul ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Note Box */
.note-box {
    background: #fff9e6;
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.note-box strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Admission Process */
.admission-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Application Types */
.application-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.application-type {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.application-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.application-type h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* Contact Cards */
.contact-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-person-card {
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

.person-role {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.person-name {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-details {
    text-align: left;
    margin: 1.5rem 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.8rem;
}

.contact-icon-small {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 30px;
    color: var(--primary-color);
}

.contact-action {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-action:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Campus Location */
.campus-location {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.location-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* Operating Hours */
.operating-hours {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #ddd;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(11, 42, 74, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.submit-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Emergency Contact */
.emergency-alert {
    background: #fff9e6;
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.emergency-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.emergency-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.emergency-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.emergency-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.emergency-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Prayer CTA */
.prayer-cta {
    background: linear-gradient(135deg, var(--primary-color), #1a3a5f);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.prayer-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.prayer-button:hover {
    background: #e6c050;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* HGM Badge */
.hgm-badge {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* Philosophy Quote */
.philosophy-quote {
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    text-align: center;
}

/* Philosophy Box */
.philosophy-box {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
    border-left: 5px solid var(--secondary-color);
}

.philosophy-text {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Core Values */
.core-values {
    background: #f8f9fa;
    padding: 4rem 0;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-item {
    text-align: center;
    background: white;
    border-bottom: 4px solid var(--secondary-color);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Founder Section */
.founder-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin: 2rem 0;
}

.founder-image {
    text-align: center;
}

.founder-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 4px solid var(--secondary-color);
}

.founder-name {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 1rem 0 0.5rem;
}

.founder-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.founder-bio {
    line-height: 1.8;
}

.founder-bio p {
    margin-bottom: 1.5rem;
}

/* Vision Mission */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.vision-card,
.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.vision-card h3,
.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vision-acronym {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 1rem;
}

/* History Timeline */
.history-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 3rem 0;
}

.history-timeline:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-year {
    position: absolute;
    left: -2rem;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-left: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Rationale Section */
.rationale-section {
    padding: 4rem 0;
    background: #fff9e6;
}

.swahili-proverbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.proverb {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
}

.proverb small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* University Vision */
.university-vision {
    background: linear-gradient(135deg, var(--primary-color), #1a3a5f);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.university-vision h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.university-vision p {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Map Container */
.map-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.africa-map {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.country-pin {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.country-pin:before {
    content: "📍";
    margin-right: 0.5rem;
}

/* Campus Sections */
.country-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.country-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.country-flag {
    font-size: 2.5rem;
}

.country-name {
    font-size: 2rem;
    margin: 0;
    color: var(--secondary-color);
}

.country-subtitle {
    margin: 0.2rem 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.campuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.campus-card .campus-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), #1a3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 3rem;
}

.campus-name {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.campus-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.campus-location:before {
    content: "📍";
    color: var(--secondary-color);
}

.campus-desc {
    margin: 1rem 0;
    line-height: 1.6;
    color: #555;
}

.campus-contact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.campus-contact p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

/* HGM Info */
.hgm-info {
    background: linear-gradient(135deg, var(--primary-color), #1a3a5f);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.hgm-title {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hgm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

.hgm-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.hgm-label {
    font-size: 1rem;
    opacity: 0.9;
}

.hgm-vision {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), #1a3a5f);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 3rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

th {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
}

tr:hover {
    background: #f8f9fa;
}

.duration-cell {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: #fff;
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-heading {
    color: var(--secondary-color);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.footer-motto {
    color: #ccc;
    font-style: italic;
    margin-bottom: var(--space-md);
}

.footer-address {
    color: #ccc;
    line-height: 1.6;
    font-style: normal;
}

.footer-nav-heading,
.contact-heading {
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: var(--space-xs);
}

.footer-nav-list a {
    color: #ccc;
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--secondary-color);
}

.footer-contact address {
    color: #ccc;
    font-style: normal;
    line-height: 1.6;
}

.footer-contact a {
    color: #ccc;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .main-nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-sm);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero {
        min-height: 50vh;
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .program-categories,
    .programs-grid,
    .contact-directory,
    .campuses-grid,
    .core-values-grid,
    .vision-mission,
    .swahili-proverbs,
    .stats-container,
    .download-cards,
    .admission-process,
    .application-types,
    .location-details,
    .hgm-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-button,
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .emergency-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .emergency-button {
        text-align: center;
        justify-content: center;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-year {
        width: 50px;
        height: 50px;
        left: -1.5rem;
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .requirements-list {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }