/* ========================================
   ELITE SECONDARY SCHOOL KASANJE 
  
   Colors: Navy Blue #0B2E59, Sky Blue #D9F2FF, Gold #F4C542
   ======================================== */

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

:root {
    --navy: #0B2E59;
    --sky-blue: #D9F2FF;
    --gold: #F4C542;
    --dark-text: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent: #00a86b;
    --facebook-blue: #1877F2;
    --tiktok-black: #000;
    --whatsapp-green: #25D366;
    --instagram-pink: #E1306C;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     font-size: 17px;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
}

/* ========== HEADER & NAVIGATION ========== */

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(11, 46, 89, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;

}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
}

.logo-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(11, 46, 89, 0.2);
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.school-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.navigation a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

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

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

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

.cta-btn {
    background-color: var(--gold);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(244, 197, 66, 0.2);
}

.cta-btn:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 197, 66, 0.4);
}

.cta-btn:active {
    transform: translateY(0);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 46, 89, 0.7), rgba(11, 46, 89, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--gold);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(244, 197, 66, 0.3);
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 197, 66, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-large {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(11, 46, 89, 0.3);
}

.btn-large:hover {
    background-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 46, 89, 0.4);
}

.link-btn {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.link-btn::after {
    content: ' →';
    transition: transform 0.3s;
}

.link-btn:hover {
    color: var(--gold);
}

.link-btn:hover::after {
    transform: translateX(5px);
}

/* ========== CONTAINER & SECTIONS ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #1a4d8f 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ========== SECTION TITLES ========== */
h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 2px;
}

h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ========== WHY CHOOSE SECTION ========== */
.why-choose {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.section-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(11, 46, 89, 0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--gold);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(11, 46, 89, 0.15);
}

.card-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-blue) 0%, #eef8ff 100%);
    border: 2px solid rgba(11, 46, 89, 0.08);
    box-shadow: 0 6px 18px rgba(11, 46, 89, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.card-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.card:hover .card-icon {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #fff8d9 0%, var(--sky-blue) 100%);
    box-shadow: 0 10px 24px rgba(11, 46, 89, 0.18);
}

.card:hover .card-icon svg {
    transform: scale(1.08);
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.about-text li {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(11, 46, 89, 0.15);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ========== SPORTS HIGHLIGHT ========== */
.sports-highlight {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.sport-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(11, 46, 89, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.sport-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.sport-card:hover img {
    transform: scale(1.08);
}

.sport-card h3 {
    padding: 1.5rem;
    background-color: var(--sky-blue);
    margin: 0;
    text-align: center;
}

/* ========== PRACTICAL SKILLS ========== */
.practical-skills {
    background-color: #f0f8f5;
    padding: 4rem 0;
}

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

.skill-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.1);
    transition: all 0.3s;
}

.skill-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.skill-item:hover img {
    transform: scale(1.05);
}

.skill-item h3,
.skill-item p {
    padding: 0 1.5rem;
}

.skill-item h3 {
    padding-top: 1.5rem;
}

.skill-item p {
    color: #666;
    padding-bottom: 1.5rem;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 168, 107, 0.2);
}

/* ========== VALUES GRID ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value {
    background-color: var(--sky-blue);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.value:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(11, 46, 89, 0.15);
}

.value h3 {
    margin-bottom: 1rem;
}

.value p {
    color: #333;
    line-height: 1.8;
}

/* ========== FEATURE LISTS ========== */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    color: #555;
    line-height: 1.8;
    transition: all 0.3s;
}

.feature-list li:hover {
    padding-left: 3rem;
    color: var(--navy);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ========== FORMS ========== */
.cta-box, .application-form, .contact-form, .quick-form {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 5px solid var(--gold);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11, 46, 89, 0.1);
}

/* ========== PROGRAM GRID ========== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 4px 15px rgba(11, 46, 89, 0.08);
    transition: all 0.3s;
}

.program-card:hover {
    box-shadow: 0 8px 25px rgba(11, 46, 89, 0.15);
    transform: translateY(-3px);
}

.program-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.program-card ul {
    list-style: none;
    margin-top: 1rem;
}

.program-card li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #666;
}

.program-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ========== ADMISSION SECTIONS ========== */
.admission-notice {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #b3e5fc 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--navy);
}

.highlight {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 600;
}

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

.requirement {
    background-color: var(--sky-blue);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.requirement:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11, 46, 89, 0.15);
}

.requirement h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.admission-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.type {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--gold);
    transition: all 0.3s;
}

.type:hover {
    box-shadow: 0 8px 20px rgba(11, 46, 89, 0.15);
}

.type h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.type p {
    color: #666;
    line-height: 1.8;
}

.process-list {
    list-style: none;
    margin-top: 2rem;
    counter-reset: step;
}

.process-list li {
    counter-increment: step;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--white);
    border-left: 5px solid var(--gold);
    border-radius: 4px;
    position: relative;
    padding-left: 3rem;
    transition: all 0.3s;
}

.process-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(11, 46, 89, 0.15);
}

.process-list li::before {
    content: counter(step);
    position: absolute;
    left: -2.5rem;
    background-color: var(--gold);
    color: var(--navy);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ========== CONTACT GRID ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: var(--sky-blue);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--navy);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11, 46, 89, 0.2);
}

.contact-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-card p {
    color: #333;
    line-height: 1.8;
}

.info-table {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 2px solid var(--sky-blue);
}

.info-table td {
    padding: 1rem;
    text-align: left;
    color: #666;
}

.info-table tr:last-child {
    border-bottom: none;
}

/* ========== SPORTS DETAIL GRID ========== */
.sports-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sport-detail {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(11, 46, 89, 0.1);
    transition: all 0.3s;
}

.sport-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 46, 89, 0.2);
}

.sport-detail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.sport-detail:hover img {
    transform: scale(1.05);
}

.sport-detail h3,
.sport-detail p {
    padding: 0 1.5rem;
}

.sport-detail h3 {
    padding-top: 1.5rem;
    color: var(--navy);
}

.sport-detail p {
    color: #666;
    padding-bottom: 1.5rem;
    line-height: 1.8;
}

/* ========== FULL WIDTH IMAGE ========== */
.full-width-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(11, 46, 89, 0.15);
    transition: transform 0.3s;
}

.full-width-img:hover {
    transform: scale(1.01);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1a4d8f 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    border: none;
    padding-bottom: 0;
}

.cta-section h2::after {
    background-color: var(--gold);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-subtext {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* ========== SOCIAL MEDIA LINKS ========== */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s;
    font-weight: 600;
}

/* TikTok */
.social-links a.tiktok {
    background-color: var(--tiktok-black);
}

.social-links a.tiktok:hover {
    background: linear-gradient(135deg, #25f4ee 0%, #667eea 100%);
    transform: scale(1.15) rotateY(20deg);
    box-shadow: 0 8px 20px rgba(37, 244, 238, 0.4);
}

/* Facebook */
.social-links a.facebook {
    background-color: var(--facebook-blue);
}

.social-links a.facebook:hover {
    background-color: #0a66c2;
    transform: scale(1.15) rotateY(20deg);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Instagram */
.social-links a.instagram {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.social-links a.instagram:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: scale(1.15) rotateY(20deg);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

/* WhatsApp */
.social-links a.whatsapp {
    background-color: var(--whatsapp-green);
}

.social-links a.whatsapp:hover {
    background-color: #1f8457;
    transform: scale(1.15) rotateY(20deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Generic hover for simple links */
.social-links a:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Text link version */
.social-links.text a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--gold);
    color: var(--navy);
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    width: auto;
    height: auto;
}

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

/* ========== FOOTER ========== */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .navigation ul {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .cards-grid,
    .skill-grid,
    .program-grid,
    .contact-grid,
    .values-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navigation {
        width: 100%;
    }

    .navigation ul {
        justify-content: flex-start;
        width: 100%;
    }

    .cta-box, .application-form, .contact-form, .quick-form {
        padding: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .social-links {
        justify-content: center;
    }
}

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

    .nav-container {
        padding: 1rem;
    }

    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2::after {
        width: 40px;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .process-list li::before {
        width: 2rem;
        height: 2rem;
        left: -1.8rem;
    }

    .process-list li {
        padding-left: 2.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.card {
    animation: slideInLeft 0.6s ease-out;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

.card:nth-child(4) {
    animation-delay: 0.3s;
}

/* ========== PRINT STYLES ========== */
@media print {
    .header, .footer, .cta-section {
        display: none;
    }

    body {
        background-color: white;
    }
}
.about-image-slider {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(11, 46, 89, 0.15);
}

.about-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .about-image-slider {
        height: 280px;
    }
}
.follow-title {
    margin-top: 1.5rem;
}

.social-links a.linkedin {
    background-color: #0A66C2;
}

.social-links a.linkedin:hover {
    background-color: #084d93;
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}
/* Photo banner for the contact page only */
.page-header.contact-header {
    background-image:
        linear-gradient(rgba(11, 46, 89, 0.75), rgba(11, 46, 89, 0.75)),
        url("images/kasanje-elite-school.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}