/* 
   Danborough College Website Styles
   Author: GitHub Copilot
   Date: July 10, 2025
*/

/* ====================================
   ENHANCED ANIMATIONS & EFFECTS
   ==================================== */

/* Performance optimizations */
.feature-box, .program-card, .step, .stat-card {
    will-change: transform;
}

/* Focus indicators for accessibility */
.btn:focus, .nav-link:focus, input:focus, button:focus {
    outline: 3px solid rgba(4, 34, 7, 0.5);
    outline-offset: 2px;
}

/* ------------------------------------ 
   Table of Contents:
   1. Global Styles
   3. Hero Section
   4. Features Section
   5. About Section
   6. Programs Section
   7. Admission Section
   8. Campus Life Section
   9. Events Section
   10. Testimonials Section
   11. Contact Section
   12. Newsletter Section
   13. Footer
   14. Responsive Styles
   15. Campuses Page Styles
   16. Staff Page Styles
   17. Animation Enhancements
   ------------------------------------ */

/* ------------------------------------ 
   1. Global Styles
   ------------------------------------ */
:root {
    --primary-color: #062a0a;  /* Green */
    --secondary-color: #e29e0b; /* Yellow */
    --accent-color: #081f08;   /* Darker Green */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #555555;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0; /* No padding needed for new hero design */
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* Green to yellow gradient for underline */
    margin: 10px auto 0;
    border-radius: 3px;
}

.section-header p {
    font-size: 18px;
    color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

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

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

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

/* Prevent body scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #333333;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: #ffd633; /* Lighter yellow */
    border-color: #ffd633;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    font-weight: 600;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 5px;
    transition: var(--transition);
}

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

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


/* ------------------------------------ 
   3. Hero Section
   ------------------------------------ */

/* School Motto Styles */
.hero-motto {
    margin: 10px 0 25px;
    display: inline-block;
    background-color: rgba(10, 38, 13, 0.85);
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-motto span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-motto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(17, 57, 21, 0.95);
}

@media (max-width: 768px) {
    .hero-motto {
        margin: 5px 0 20px;
        padding: 8px 20px;
    }
    
    .hero-motto span {
        font-size: 1rem;
    }
}
#hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}

.hero-background {
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Hero Logo */
.hero-logo {
    margin: 0;
}

.hero-logo img {
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Hero Text */
.hero-text {
    margin-bottom: 60px;
}

.hero-tagline {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtext {
    font-size: 20px;
    color: white;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Call to Action Button */
.hero-cta {
    margin-bottom: 0;
}

/* Social Media Icons */
.hero-social {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 15px;
    z-index: 1003;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    color: white;
    border-color: var(--primary-color);
}

/* ------------------------------------ 
   4. Features Section
   ------------------------------------ */
#features {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), 
                url('../images/campus2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#features .container {
    position: relative;
    z-index: 2;
}

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

.feature-box {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 136, 41, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 41, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-box:hover::before {
    left: 100%;
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 136, 41, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(30, 136, 41, 0.2);
}

.feature-box:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(30, 136, 41, 0.3);
}

.feature-icon i {
    font-size: 35px;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon i {
    transform: scale(1.2);
}

.feature-box h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-box:hover h3 {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.feature-box p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 15px;
    transition: all 0.3s ease;
}

.feature-box:hover p {
    color: var(--text-color);
}

/* ------------------------------------ 
   5. About Section
   ------------------------------------ */
#about {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1)), 
                url('../images/campus1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

#about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(30, 136, 41, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    border-radius: 20px;
}

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

.about-text {
    padding: 20px 0;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.about-text:hover h3::after {
    width: 100px;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--dark-gray);
    font-size: 16px;
    text-align: justify;
    transition: all 0.3s ease;
}

.about-text p:hover {
    color: var(--text-color);
    transform: translateX(5px);
}

.about-text .btn {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(16, 59, 20, 0.3);
}

.about-text .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.about-text .btn:hover::before {
    left: 100%;
}

.about-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 136, 41, 0.4);
    color: var(--white);
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

/* Animation support */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------ 
   6. Introduction Section
   ------------------------------------ */
#introduction {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#introduction::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 136, 41, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

#introduction .container {
    position: relative;
    z-index: 2;
}

.introduction-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.introduction-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.intro-highlight {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.4s ease;
}

.intro-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.intro-highlight h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.intro-highlight p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.intro-feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-feature-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 5px;
    min-width: 40px;
}

.intro-feature-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.intro-feature-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.introduction-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.introduction-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.introduction-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.introduction-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.introduction-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(30, 136, 41, 0.2);
    position: relative;
    overflow: hidden;
}

.introduction-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: rotate 15s linear infinite;
    z-index: 1;
}

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

.cta-content h3 {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.cta-content .btn i {
    font-size: 1.1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ------------------------------------ 
   7. Programs Section
   ------------------------------------ */
#programs {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), 
                url('../images/campus3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

#programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.93);
    z-index: 1;
}

#programs .container {
    position: relative;
    z-index: 2;
}

.program-tabs {
    margin-top: 50px;
}

.nav-tabs {
    border-bottom: 2px solid var(--medium-gray);
    justify-content: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--dark-gray);
    font-weight: 600;
    padding: 15px 30px;
    margin: 0 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 41, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-tabs .nav-link:hover::before {
    left: 100%;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-tabs .nav-link:hover::after,
.nav-tabs .nav-link.active::after {
    width: 100%;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(30, 136, 41, 0.1), rgba(30, 136, 41, 0.05));
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 41, 0.15);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.program-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 136, 41, 0.1);
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 41, 0.05), rgba(0, 153, 0, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(30, 136, 41, 0.2);
    border-color: var(--primary-color);
}

.program-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.program-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(30, 136, 41, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover .program-image::after {
    opacity: 1;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.15) rotate(2deg);
}

.program-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.program-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
}

.program-card:hover .program-content h3 {
    color: var(--accent-color);
    transform: translateX(5px);
}

.program-content p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.program-card:hover .program-content p {
    color: var(--text-color);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.btn-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.btn-link:hover::before {
    width: 100%;
}

.btn-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.btn-link:hover i {
    transform: translateX(8px);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all .btn {
    background: linear-gradient(135deg, var(--secondary-color), #ffd633);
    color: var(--text-color);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.view-all .btn:hover::before {
    left: 100%;
}

.view-all .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.4);
}

/* ------------------------------------ 
   7. Admission Section
   ------------------------------------ */
#admission {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), 
                url('../images/campus4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

#admission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

#admission .container {
    position: relative;
    z-index: 2;
}

.admission-process {
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.step {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 136, 41, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 41, 0.05), transparent);
    transition: left 0.6s ease;
}

.step:hover::before {
    left: 100%;
}

.step:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(30, 136, 41, 0.2);
}

.step:hover .step-icon {
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.9));
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.step-icon span {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}

.step:hover .step-icon span {
    color: var(--primary-color);
}

.step-content h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.step:hover h3 {
    color: var(--white);
    transform: translateX(5px);
}

.step-content p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
    transition: all 0.3s ease;
}

.step:hover .step-content p {
    color: rgba(255, 255, 255, 0.9);
}

.admission-cta {
    background: linear-gradient(135deg, rgba(30, 136, 41, 0.95), rgba(0, 153, 0, 0.95));
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 136, 41, 0.2);
}

.admission-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.cta-content h3 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-content .btn {
    margin: 0 10px 10px 0;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-content .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ffd633);
    color: var(--text-color);
    border: none;
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

.cta-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.4);
    color: var(--text-color);
}

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

.cta-content .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.zimsec-logo {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 136, 41, 0.1);
}

.zimsec-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.zimsec-logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

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

.zimsec-logo p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 16px;
}

.enrollment-stats {
    margin-top: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 136, 41, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 41, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(30, 136, 41, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--text-color);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.step-icon span {
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    transition: var(--transition);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.admission-cta {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
}

.admission-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--white);
}

.admission-cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

.admission-cta .btn {
    margin: 0 10px;
}

.zimsec-logo {
    text-align: center;
    margin: 40px auto 0;
    padding: 20px;
    max-width: 300px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.zimsec-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.zimsec-logo p {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.requirements-accordion {
    margin-top: 50px;
}

.requirements-accordion h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.accordion-item {
    border: 1px solid var(--medium-gray);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--medium-gray);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-body ul {
    padding-left: 20px;
    list-style-type: disc;
}

.accordion-body ul li {
    margin-bottom: 10px;
}

/* ------------------------------------ 
   8. Campus Life Section
   ------------------------------------ */
#campus-life {
    background-color: var(--light-gray);
}

.campus-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 200px;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: var(--transition);
}

.gallery-item h3 {
    color: var(--white);
    margin: 0;
    font-size: 18px;
}

.campus-features {
    margin-top: 40px;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.campus-feature {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.campus-feature:hover {
    transform: translateY(-10px);
}

.campus-feature .feature-icon {
    background-color: rgba(255, 152, 0, 0.1);
}

.campus-feature .feature-icon i {
    color: var(--secondary-color);
}

.campus-feature h3 {
    color: var(--primary-color);
    margin: 15px 0 10px;
}

/* ------------------------------------ 
   9. Events Section
   ------------------------------------ */
#events {
    background-color: var(--white);
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.event-card {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    transition: var(--transition);
}

.event-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 10px;
    margin-right: 20px;
}

.event-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 16px;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.event-card:hover h3 {
    color: var(--white);
}

.event-meta {
    font-size: 14px;
    margin-bottom: 10px;
}

.event-meta i {
    margin-right: 5px;
    margin-left: 10px;
}

.event-meta i:first-child {
    margin-left: 0;
}

.view-all-events {
    text-align: center;
}

/* ------------------------------------ 
   10. Testimonials Section
   ------------------------------------ */
#testimonials {
    background-color: var(--light-gray);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeEffect 1s;
    box-shadow: var(--box-shadow);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--medium-gray);
    font-size: 30px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    font-size: 14px;
    margin: 0;
    font-style: normal;
    color: var(--dark-gray);
}

.testimonial-navigation {
    text-align: center;
    margin-top: 30px;
}

.testimonial-nav-btn {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav-btn.active {
    background-color: var(--primary-color);
}

/* ------------------------------------ 
   11. Contact Section
   ------------------------------------ */
#contact {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 18px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details p {
    margin: 0;
    line-height: 1.6;
}

.social-media {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.social-media h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

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

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ------------------------------------ 
   12. Newsletter Section
   ------------------------------------ */
#newsletter {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), 
                url('../images/campu5.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

#newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-text {
    flex: 1;
    margin-right: 40px;
}

.newsletter-text h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.newsletter-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #ffd633);
    border-radius: 2px;
}

.newsletter-text p {
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--dark-gray);
    opacity: 0.7;
}

.newsletter-form input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
}

.newsletter-form .btn {
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #ffd633);
    color: var(--text-color);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-left: 8px;
}

.newsletter-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.newsletter-form .btn:hover::before {
    left: 100%;
}

.newsletter-form .btn:hover {
    background: linear-gradient(135deg, #ffd633, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.4);
    color: var(--text-color);
}

/* ------------------------------------ 
   Join Danborough Today Section
   ------------------------------------ */
.join-section {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), 
                url('../images/about-college.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.93);
    z-index: 1;
}

.join-section .container {
    position: relative;
    z-index: 2;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-top: 50px;
}

.join-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.join-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.join-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(30, 136, 41, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.join-image:hover::before {
    opacity: 1;
}

.join-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    border-radius: 25px;
}

.join-image:hover img {
    transform: scale(1.08);
}

.join-text {
    padding: 20px 0;
}

.join-text h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.join-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.join-text h2::after,
.join-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.join-text:hover h2::after,
.join-text:hover h3::after {
    width: 100px;
}

.join-text p {
    font-size: 18px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 35px;
    text-align: justify;
}

.join-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(30, 136, 41, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 136, 41, 0.1);
}

.feature-item:hover {
    background: rgba(30, 136, 41, 0.1);
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    color: var(--accent-color);
    transform: scale(1.2);
}

.feature-item span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover span {
    color: var(--primary-color);
}

.join-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.join-actions .btn {
    padding: 18px 40px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.join-actions .btn:hover::before {
    left: 100%;
}

.join-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    box-shadow: 0 10px 25px rgba(30, 136, 41, 0.3);
}

.join-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(30, 136, 41, 0.4);
    color: var(--white);
}

.join-actions .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(30, 136, 41, 0.1);
}

.join-actions .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 136, 41, 0.3);
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

.join-text {
    flex: 1;
    max-width: 500px;
}

.join-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.join-text p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.join-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.join-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.join-actions .btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.join-actions .btn-primary {
    background-color: var(--secondary-color);
    color: #333333;
    border: 2px solid var(--secondary-color);
}

.join-actions .btn-primary:hover {
    background-color: #ffd633;
    border-color: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

.join-actions .btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.join-actions .btn-outline:hover {
    background-color: var(--secondary-color);
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.2);
}

/* ------------------------------------ 
   13. Footer
   ------------------------------------ */
#footer {
    background: linear-gradient(135deg, #1e8829 0%, #228B22 50%, #1e8829 100%);
    color: var(--white);
}

.footer-top {
    padding: 70px 0 40px;
}

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

.footer-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.about-widget p {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 204, 0, 0.2);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.links-widget ul li,
.resources-widget ul li {
    margin-bottom: 10px;
}

.links-widget ul li a,
.resources-widget ul li a {
    color: #c5c5c5;
    transition: var(--transition);
}

.links-widget ul li a:hover,
.resources-widget ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-widget p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-widget p i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 204, 0, 0.3);
    background: linear-gradient(135deg, rgba(30, 136, 41, 0.9) 0%, rgba(34, 139, 34, 0.9) 100%);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
}

.footer-links a {
    color: #c5c5c5;
    margin-left: 20px;
    font-size: 14px;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 136, 41, 0.4);
}

/* ------------------------------------ 
   14. Responsive Styles
   ------------------------------------ */

/* Note: Tablet and mobile responsive styles moved to mobile-responsive.css and desktop-responsive.css */

/* Map Tabs */
.section-subheader {
    text-align: center;
    margin-bottom: 20px;
}

.section-subheader h3 {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.campus-features-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

/* Level Badges in Dropdown */
.level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    margin-right: 10px;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover .level-badge {
    transform: scale(1.1) rotate(5deg);
}

.level-badge.zjc {
    background-color: #1e8829;  /* Green */
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.level-badge.olevel {
    background-color: #ffcc00; /* Yellow */
    color: #333333; /* Darker text for better contrast on yellow */
    border: 2px solid rgba(30, 136, 41, 0.2);
}

.level-badge.alevel {
    background-color: #009900; /* Darker Green */
    border: 2px solid rgba(255, 204, 0, 0.3);
}

/* ------------------------------------ 
   15. Campuses Page Styles
   ------------------------------------ */

/* Page Header */
.campuses-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../images/hero2.jpg') center/cover;
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
}

.page-header-content {
    text-align: center;
}

.page-header-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Campuses Overview */
#campuses-overview {
    background: var(--light-gray);
}

.campuses-stats {
    margin-top: 50px;
}

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

.stat-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Campus Sections */
.campus-section {
    padding: 80px 0;
}

.campus-section.campus-alt {
    background: var(--light-gray);
}

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

.campus-alt .campus-content {
    direction: rtl;
}

.campus-alt .campus-content > * {
    direction: ltr;
}

.campus-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.campus-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

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

.campus-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.campus-details h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.campus-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.campus-highlights {
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.highlight-item i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 16px;
}

.campus-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0;
}

.campus-actions {
    margin-top: 30px;
}

.campus-actions .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.facility-image {
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.facility-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    margin-top: 40px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.comparison-table .table {
    margin-bottom: 0;
}

.comparison-table thead th {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 20px;
    font-weight: 600;
}

.comparison-table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--medium-gray);
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

/* Maps Section */
.map-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
    margin-top: 30px;
}

.map-info {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.map-info h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.map-info p {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.map-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Contact Campuses */
.contact-campuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-campus-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-campus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--medium-gray);
}

.contact-campus-header h3 {
    color: var(--primary-color);
    font-size: 24px;
}

.campus-type {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.contact-campus-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    font-size: 16px;
}

.contact-item span {
    color: var(--dark-gray);
}

.contact-campus-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* CTA Section */
#campuses-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

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

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 0 10px 10px 0;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* ------------------------------------ 
   16. Staff Page Styles
   ------------------------------------ */

/* Staff Hero Section */
.staff-hero {
    position: relative;
    height: 70vh;
    background: url('../images/campus1.jpg') center/cover;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.staff-hero .container {
    position: relative;
    z-index: 3;
}

.staff-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.staff-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--white);
    margin: 0 10px;
}

/* Staff Section Styles */
.staff-section {
    padding: 80px 0;
}

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

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.leadership-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.staff-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.staff-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.leadership-card .staff-image {
    height: 350px;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.05);
}

.staff-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 136, 41, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-card:hover .staff-overlay {
    opacity: 1;
}

.staff-overlay .social-links {
    display: flex;
    gap: 15px;
}

.staff-overlay .social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.staff-overlay .social-links a:hover {
    background: var(--secondary-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.staff-info {
    padding: 30px;
}

.leadership-card .staff-info {
    padding: 40px 30px;
}

.staff-info h3, .staff-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.staff-info h3 {
    font-size: 1.4rem;
}

.staff-info h4 {
    font-size: 1.2rem;
}

.position {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qualification {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.experience {
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info {
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    margin-top: 20px;
}

.contact-info span {
    display: block;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
}

/* Department Tabs */
.department-tabs {
    margin-top: 50px;
}

.department-tabs .nav-tabs {
    border-bottom: 3px solid var(--primary-color);
    justify-content: center;
    margin-bottom: 40px;
}

.department-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 25px 25px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.department-tabs .nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.department-tabs .nav-link:hover {
    background: rgba(30, 136, 41, 0.1);
    color: var(--primary-color);
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Support Staff Grid */
.support-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.support-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.support-icon i {
    font-size: 2rem;
    color: var(--white);
}

.support-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.support-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.staff-count {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

/* Join Team Section */
.join-team-content {
    text-align: center;
    color: var(--white);
}

.join-team-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.join-team-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.benefit-item h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.cta-buttons {
    margin-top: 40px;
}

.cta-buttons .btn {
    margin: 0 10px 10px 0;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.btn-light:hover {
    background: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* ------------------------------------ 
   17. Animation Enhancements
   ------------------------------------ */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Pulse animation for important elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Fade in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Scale in */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Rotate in */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* Bounce in */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Loading animation for buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typewriter effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Enhanced text animations */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-text-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

/* Card hover animations */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Slide in animations for sections */
.slide-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    /* The following line is not valid CSS, so it should be removed or replaced with a proper animation or class toggle in JS */
}

.counter
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Enhanced dropdown styling for better UX */
.dropdown-menu li a .level-badge {
    margin-right: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.dropdown-menu li a .level-badge.zjc {
    background-color: var(--primary-color);
}

.dropdown-menu li a .level-badge.olevel {
    background-color: var(--secondary-color);
}

.dropdown-menu li a .level-badge.alevel {
    background-color: var(--accent-color);
}

.dropdown-menu li a .level-badge:not(.zjc):not(.olevel):not(.alevel) {
    background-color: var(--primary-color);
}

/* Better spacing and typography */
/* Level badge styling only - dropdown menu styling moved to navigation.css */

.dropdown-menu li a:hover .level-badge {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Removing conflicting dropdown styles from style.css */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top Bar Enroll Button Styles */
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.enroll-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(30, 136, 41, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enroll-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 136, 41, 0.4);
    color: var(--white);
}

.enroll-btn i {
    font-size: 12px;
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

/* ------------------------------------ 
   Contact Page Styles
   ------------------------------------ */
.contact-section {
    background-color: var(--white);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-form .form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 41, 0.25);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 41, 0.3);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-info-sidebar h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-item-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-item-card .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-card .contact-details h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-item-card .contact-details p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

.social-contact h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Map Section */
.map-section {
    background-color: var(--light-gray);
}

.campus-map-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.campus-map-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.campus-info p {
    margin-bottom: 5px;
    color: var(--text-color);
}

.campus-info strong {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-section .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-weight: 600;
    padding: 20px;
    border: none;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 20px;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
}

/* Page Header specific to contact */
.page-header {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 41, 0.9), rgba(0, 153, 0, 0.9));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.page-header p {
    color: var(--white);
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

/* ------------------------------------ 
   YouTube Video Container Styles
   ------------------------------------ */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-container-small {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-container-small iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Music Gallery YouTube Enhancement */
.music-card .music-thumbnail img {
    transition: transform 0.3s ease;
}

.music-card:hover .music-thumbnail img {
    transform: scale(1.05);
}

.performance-image img {
    transition: transform 0.3s ease;
}

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

/* Play button overlay enhancements */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-btn-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(30, 60, 114, 0.9);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-large:hover {
    background: rgba(30, 60, 114, 1);
    transform: scale(1.1);
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 60, 114, 0.9);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: rgba(30, 60, 114, 1);
    transform: scale(1.1);
}

/* Music overlay positioning */
.music-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-thumbnail:hover .music-overlay {
    opacity: 1;
}

/* Featured performance styling */
.featured-performance {
    background: linear-gradient(135deg, rgba(30, 136, 41, 0.05) 0%, rgba(255, 204, 0, 0.1) 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.performance-badge.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.performance-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.performance-tags .tag {
    background: rgba(30, 136, 41, 0.1); /* Light green background */
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

/* ====================================
   ENHANCED ANIMATIONS & EFFECTS
   ==================================== */

/* Performance optimizations */
.feature-box, .program-card, .step, .stat-card {
    will-change: transform;
}

/* Focus indicators for accessibility */
.btn:focus, .nav-link:focus, input:focus, button:focus {
    outline: 3px solid rgba(30, 136, 41, 0.5);
    outline-offset: 2px;
}

/* Note: Mobile responsive styles moved to mobile-responsive.css */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
