:root {
    --primary-color: #4a90e2;
    --secondary-color: #f8b03d;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}


/* Add smooth scrolling to the whole page */

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}


/* Enhanced hero section */

.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(74, 144, 226, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    height: 90vh;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero .lead {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}


/* Enhanced navbar */

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}


/* Enhanced cards */

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

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

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}


/* Enhanced buttons */

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}


/* Enhanced form inputs */

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}


/* Animations */

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


/* Section enhancements */

section {
    padding: 100px 0;
    position: relative;
}

section h2 {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero .lead {
        font-size: 1.4rem;
    }
    section {
        padding: 60px 0;
    }
}


/* Add smooth reveal animations for sections */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* About Page Styles */

.content-box {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.check-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.staff-profile {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.staff-image-container {
    position: relative;
    padding-bottom: 100%;
    /* Creates a square aspect ratio */
    height: 0;
    overflow: hidden;
}

.staff-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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


/* Enhanced section titles */

section h1,
section h2 {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h1::after,
section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}


/* YouTube video container enhancement */

.ratio {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

@media (max-width: 768px) {
    .staff-profile {
        text-align: center;
    }
    .staff-image-container {
        max-width: 300px;
        margin: 0 auto;
    }
}


/* Programs Page Styles */

.curriculum-card,
.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.curriculum-image,
.program-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.curriculum-image img,
.program-image img {
    transition: transform 0.5s ease;
}

.curriculum-image:hover img,
.program-image:hover img {
    transform: scale(1.05);
}

.session-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.session-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blockquote {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(248, 176, 61, 0.1));
    border-radius: 15px;
}

.blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.mission-vision {
    position: relative;
    padding-top: 2rem;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.camp-info {
    border-left: 4px solid var(--primary-color);
}


/* Enhanced list styles */

.list-unstyled strong {
    color: var(--primary-color);
}


/* Session cards enhancement */

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

.session-card .small {
    color: var(--dark-color);
    opacity: 0.8;
}


/* Admission Page Styles */

.steps-container {
    position: relative;
    padding: 2rem 0;
}

.step-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 3rem;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.step-item:last-child .step-content::before {
    display: none;
}

.checklist {
    max-width: 800px;
    margin: 0 auto;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.checklist-item i {
    margin-right: 1rem;
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.social-share {
    position: relative;
    padding-top: 2rem;
}

.social-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

@media (max-width: 768px) {
    .step-item {
        padding-left: 3rem;
    }
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
    .step-content::before {
        left: -1.5rem;
    }
}


/* Contact Page Styles */

.contact-header {
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(248, 176, 61, 0.1));
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    font-size: 24px;
    color: white;
}

.info-card {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.map-container {
    position: relative;
    height: 450px;
    background: #f8f9fa;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.form-container {
    transition: transform 0.3s ease;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-body {
    padding: 1.25rem;
    background-color: #fff;
}

@media (max-width: 768px) {
    .contact-header {
        padding-top: 100px;
    }
    .info-card {
        margin-bottom: 1rem;
    }
    .map-container {
        height: 300px;
    }
}