body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header Section Container */
.hero {
    position: relative;
    width: 100%;
    height: 40vh; /* Adjust the height as needed */
    overflow: hidden;
}

.hero video, .hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#fallbackImage {
    display: none; /* Hide fallback image by default */
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 8px;
}

.overlay span {
    color: #ff9800; /* Highlight color */
}


/* Sections */
section {
    padding: 50px;
    margin: 20px 0;
}

/* Registration & History */
.registration, .academy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background: #ECF0F1;
}

.registration img, .academy img {
    width: 40%;
    border-radius: 10px;
}

.registration div, .academy div {
    width: 55%;
}

/* History Section Styling */
.history {
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Blue gradient */
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    text-align: center;
}

/* History Heading */
.history h2 {
    font-size: 2.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.history h2::after {
    content: "";
    width: 80%;
    height: 4px;
    background: #ff9800; /* Accent color */
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Content Box for Glass Effect */
.history div {
    max-width: 900px;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    background: rgba(255, 255, 255, 0.15); /* Glass effect */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

/* Highlighted Text */
.history .highlight {
    font-weight: bold;
    color: #ffeb3b; /* Golden highlight */
}

/* Responsive Design */
@media (max-width: 768px) {
    .history {
        padding: 40px 15px;
    }

    .history h2 {
        font-size: 2.2rem;
    }

    .history div {
        font-size: 1rem;
    }
}

/* Prospectus */
.prospectus {
    background: #E74C3C;
    color: white;
    text-align: left;
}

.prospectus ul {
    list-style: none;
    padding: 0;
}

.prospectus li {
    font-size: 18px;
    margin: 10px 0;
}

/* Programs */
.programs {
    text-align: center;
    padding: 20px;
}

.program-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.program {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.program h3 {
    margin-top: 0;
    margin-bottom: 10px;
    align-self: flex-start;
}

.program p {
    margin-top: 0;
    text-align: justify;
}


/* Chairman Section */
.chairman-section {
    background-color: #8E44AD;
    color: white;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
   /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); */
    text-align: center;
}

.chairman-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.chairman-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d35400;
}

.chairman-info {
    max-width: 400px;
    text-align: left;
}

.chairman-info h3 {
    color: yellow;
}



/* Team */
.team {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Stylish gradient */
    color: white;
}

.team h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.team h2::after {
    content: "";
    width: 80%;
    height: 3px;
    background: #ff9800;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-member {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent card */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    width: 250px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ff9800;
}

.team-member h3 {
    margin: 15px 0 5px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.team-member p {
    font-size: 1.1rem;
    color: #ffcc80;
    font-weight: bold;
}