.facilities-section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #0d47a1;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #555;
    line-height: 1.7;
}

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

}

.facility-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.facility-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-card h3 {
    padding: 15px 20px 5px;
    color: #1a237e;
    font-size: 22px;
}

.facility-card p {
    padding: 0 20px 25px;
    color: #555;
    line-height: 1.6;
}

/* Hover underline effect */
.hover-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565c0, #42a5f5);
    transition: width 0.4s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

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

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* Section */
.activities-section {
    padding: 70px 8%;
}

.activities-section .section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 12px;
}

.activities-section .section-desc {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
    line-height: 1.8;
}

/* Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

/* Card */
.activity-card {
    background: #0d1b3d;
    /* dark blue */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image */
.activity-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* Text default (dark card) */
.activity-card h3 {
    padding: 16px 20px 5px;
    color: #ffffff;
    font-size: 24px;
}

.activity-card p {
    padding: 0 20px 25px;
    color: #e0e6ff;
    line-height: 1.6;
}

/* Hover → light card */
.activity-card:hover {
    background: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Text on hover */
.activity-card:hover h3 {
    color: #0d47a1;
}

.activity-card:hover p {
    color: #555;
}

/* Underline animation */
.hover-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #64b5f6);
    transition: width 0.4s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Section */
.activities-section {
    padding: 70px 8%;
}

.activities-section .section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 12px;
}

.activities-section .section-desc {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 55px;
    line-height: 1.8;
}

/* Grid */
.activities-section .activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

/* Card */
.activities-section .activity-card {
    background: #0d1b3d;
    /* dark blue */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image */
.activity-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* Text (default dark card) */
.activity-card h3 {
    padding: 16px 20px 5px;
    color: #ffffff;
}

.activity-card p {
    padding: 0 20px 25px;
    color: #e0e6ff;
    line-height: 1.6;
}

/* Hover → light card */
.activity-card:hover {
    background: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Text on hover */
.activity-card:hover h3 {
    color: #0d47a1;
}

.activity-card:hover p {
    color: #555;
}

/* Underline animation */
.hover-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #64b5f6);
    transition: width 0.4s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.admissions-alt {
    padding: 70px 8% 0 70px;
}

.admission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
    gap: 40px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.admission-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.admission-row.reverse {
    flex-direction: row-reverse;
}

.admission-content {
    flex: 1 1 500px;
}

.admission-content h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #0d2b6b;
}

.admission-content p,
.admission-content ul,
.admission-content ol {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.admission-content ul li,
.admission-content ol li {
    margin-bottom: 10px;
}

.admission-image {
    flex: 1 1 400px;
}

.admission-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Alternate backgrounds using nth-child */
.admissions-alt .admission-row:nth-child(1) {
    background-color: #e8f0fe;
    /* light blue */
}

.admissions-alt .admission-row:nth-child(2) {
    background-color: #fdf6e3;
    /* light cream */
}

.admissions-alt .admission-row:nth-child(3) {
    background-color: #e2f7e1;
    /* light green */
}

.admissions-alt .admission-row:nth-child(4) {
    background-color: #fff0f5;
    /* light pink/lavender */
}

/* Reverse layout for alternating */
.admission-row.reverse {
    flex-direction: row-reverse;
}

/* Content styling */
.admission-content h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #0d2b6b;
}

.admission-content p,
.admission-content ul,
.admission-content ol {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.admission-content ul li,
.admission-content ol li {
    margin-bottom: 10px;
}

/* Image styling */
.admission-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.selection-policy {
    padding: 0 70px 5% 70px;
}

.policy-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.policy-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Content */
.policy-content {
    flex: 1 1 500px;
}

.policy-content h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #0d2b6b;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 14px;
    line-height: 1.7;
    color: #333;
}

/* Image */
.policy-image {
    flex: 1 1 400px;
}

.policy-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Fees Section */
.fees-structure {
    padding: 70px 8%;
    background: #f4f8fc;
    /* light outer background */
}

/* Dark blue row */
.fees-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fees-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Content */
.fees-content {
    flex: 1 1 550px;
}

.fees-content h3 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #fdf424;
}

.fees-content h4 {
    font-size: 20px;
    margin: 22px 0 10px;
    color: #fdf424;
}

.fees-content p {
    line-height: 1.7;
    color: #e0e6ff;
    margin-bottom: 12px;
}

.fees-content ul {
    padding-left: 20px;
}

.fees-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #fff0f5;
}

/* Image */
.fees-image {
    flex: 1 1 420px;
}

.fees-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.transport-section {
    padding: 70px 8%;
    background: #f4f8fc;
}

.transport-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.transport-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.transport-content {
    flex: 1 1 550px;
}

.transport-content h3 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #ffffff;
}

.transport-content h4 {
    font-size: 20px;
    margin: 22px 0 10px;
    color: #bbdefb;
}

.transport-content p,
.transport-content ul li {
    color: #e0e6ff;
    line-height: 1.7;
}

.transport-content ul {
    padding-left: 20px;
}

.transport-image {
    flex: 1 1 420px;
}

.transport-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.rules-section {
    padding: 70px 8%;
    background: #eef3fb;
}

.rules-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.rules-content {
    flex: 1 1 550px;
}

.rules-content h3 {
    font-size: 30px;
    color: #0d2b6b;
    margin-bottom: 18px;
}

.rules-content p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.rules-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #333;
}

.rules-image {
    flex: 1 1 420px;
}

.rules-image img {
    width: 100%;
    border-radius: 16px;
}

.general-rules-section {
    padding: 70px 8%;
    background: #f4f8fc;
}

.general-rules-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.general-rules-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Content */
.rules-content {
    flex: 1 1 600px;
}

.rules-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.rules-content ul {
    padding-left: 20px;
}

.rules-content ul li {
    color: #e0e6ff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.rules-content ul li::marker {
    color: #64b5f6;
}

/* Image */
.rules-image {
    flex: 1 1 420px;
}

.rules-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.discipline-section {
    padding: 70px 8%;
    background: #eef3fb;
}

/* Card */
.discipline-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover lift */
.discipline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Animate on load */
.animate-discipline {
    animation: fadeSlideUp 1s ease forwards;
}

/* Keyframes */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.discipline-content {
    flex: 1 1 600px;
}

.discipline-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.discipline-content ul {
    padding-left: 20px;
}

.discipline-content ul li {
    color: #e0e6ff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0;
    animation: listFade 0.6s ease forwards;
}

/* Stagger list animation */
.discipline-content ul li:nth-child(1) {
    animation-delay: 0.4s;
}

.discipline-content ul li:nth-child(2) {
    animation-delay: 0.6s;
}

.discipline-content ul li:nth-child(3) {
    animation-delay: 0.8s;
}

.discipline-content ul li:nth-child(4) {
    animation-delay: 1s;
}

.discipline-content ul li:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes listFade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image */
.discipline-image {
    flex: 1 1 420px;
}

.discipline-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.attendance-section {
    padding: 70px 8%;
    background: #f4f8fc;
}

/* Card */
.attendance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover */
.attendance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Entry animation */
.animate-attendance {
    animation: attendanceFade 1s ease forwards;
}

@keyframes attendanceFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.attendance-content {
    flex: 1 1 600px;
}

.attendance-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.attendance-content ul {
    padding-left: 20px;
}

.attendance-content ul li {
    color: #e0e6ff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0;
    animation: attendanceList 0.6s ease forwards;
}

/* Stagger list */
.attendance-content ul li:nth-child(1) {
    animation-delay: 0.4s;
}

.attendance-content ul li:nth-child(2) {
    animation-delay: 0.6s;
}

.attendance-content ul li:nth-child(3) {
    animation-delay: 0.8s;
}

.attendance-content ul li:nth-child(4) {
    animation-delay: 1s;
}

.attendance-content ul li:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes attendanceList {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image */
.attendance-image {
    flex: 1 1 420px;
}

.attendance-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.uniform-section {
    padding: 70px 8%;
    background: #eef3fb;
}

/* Card */
.uniform-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover */
.uniform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Entry animation */
.animate-uniform {
    animation: uniformFade 1s ease forwards;
}

@keyframes uniformFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.uniform-content {
    flex: 1 1 600px;
}

.uniform-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.uniform-content ul {
    padding-left: 20px;
}

.uniform-content ul li {
    color: #e0e6ff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0;
    animation: uniformList 0.6s ease forwards;
}

/* Stagger list animation */
.uniform-content ul li:nth-child(1) {
    animation-delay: 0.4s;
}

.uniform-content ul li:nth-child(2) {
    animation-delay: 0.6s;
}

.uniform-content ul li:nth-child(3) {
    animation-delay: 0.8s;
}

.uniform-content ul li:nth-child(4) {
    animation-delay: 1s;
}

.uniform-content ul li:nth-child(5) {
    animation-delay: 1.2s;
}

.uniform-content ul li:nth-child(6) {
    animation-delay: 1.4s;
}

@keyframes uniformList {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image */
.uniform-image {
    flex: 1 1 420px;
}

.uniform-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.exam-section {
    padding: 70px 8%;
    background: #f4f8fc;
}

/* Card */
.exam-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover */
.exam-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Entry animation */
.animate-exam {
    animation: examFade 1s ease forwards;
}

@keyframes examFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.exam-content {
    flex: 1 1 600px;
}

.exam-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.exam-content ul {
    padding-left: 20px;
}

.exam-content ul li {
    color: #e0e6ff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0;
    animation: examList 0.6s ease forwards;
}

/* Staggered list animation */
.exam-content ul li:nth-child(1) {
    animation-delay: 0.4s;
}

.exam-content ul li:nth-child(2) {
    animation-delay: 0.6s;
}

.exam-content ul li:nth-child(3) {
    animation-delay: 0.8s;
}

.exam-content ul li:nth-child(4) {
    animation-delay: 1s;
}

.exam-content ul li:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes examList {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image */
.exam-image {
    flex: 1 1 420px;
}

.exam-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.safety-section {
    padding: 70px 8%;
    background: #eef3fb;
}

/* Card */
.safety-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover */
.safety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Entry animation */
.animate-safety {
    animation: safetyFade 1s ease forwards;
}

@keyframes safetyFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.safety-content {
    flex: 1 1 600px;
}

.safety-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.safety-content ul {
    padding-left: 20px;
}

.safety-content ul li {
    color: #e0e6ff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0;
    animation: safetyList 0.6s ease forwards;
}

/* Staggered list animation */
.safety-content ul li:nth-child(1) {
    animation-delay: 0.4s;
}

.safety-content ul li:nth-child(2) {
    animation-delay: 0.6s;
}

.safety-content ul li:nth-child(3) {
    animation-delay: 0.8s;
}

.safety-content ul li:nth-child(4) {
    animation-delay: 1s;
}

.safety-content ul li:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes safetyList {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image */
.safety-image {
    flex: 1 1 420px;
}

.safety-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.timings-section {
    padding: 70px 8%;
    background: #f4f8fc;
}

/* Card */
.timings-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover */
.timings-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Entry animation */
.animate-timings {
    animation: timingsFade 1s ease forwards;
}

@keyframes timingsFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.timings-content {
    flex: 1 1 600px;
    color: #e0e6ff;
}

.timings-content h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 22px;
}

.timings-content h4 {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.timings-content ul {
    padding-left: 20px;
}

.timings-content ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
    opacity: 0;
    animation: timingsList 0.6s ease forwards;
}

/* Staggered list animation */
.timings-content ul li:nth-child(1) {
    animation-delay: 0.4s;
}

.timings-content ul li:nth-child(2) {
    animation-delay: 0.6s;
}

.timings-content ul li:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes timingsList {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Table Styling */
.timetable {
    overflow-x: auto;
    margin-top: 10px;
}

.timetable table {
    width: 100%;
    border-collapse: collapse;
    background: rgb(17 13 13 / 10%);
    border-radius: 8px;
    color: #e0e6ff;
}

.timetable th,
.timetable td {
    padding: 10px 14px;
    text-align: left;
}

.timetable th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: #bdedf7;
    font-size: 20px;
}

.timetable tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

/* Image */
.timings-image {
    flex: 1 1 420px;
}

.timings-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.academic-section {
    padding: 70px 8%;
    background: #eef3fb;
}

/* Card */
.academic-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto;
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Reverse layout for alternating cards */
.academic-card.reverse {
    flex-direction: row-reverse;
}

/* Hover effect */
.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5);
}

/* Animation */
.animate-academic {
    animation: academicFade 1s ease forwards;
}

@keyframes academicFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content */
.academic-content {
    flex: 1 1 600px;
    color: #e0e6ff;
}

.academic-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
}

.academic-content p {
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 15px;
    color: #ffffff;
}

.academic-content ul {
    padding-left: 20px;
}

.academic-content ul li {
    margin-bottom: 10px;
}

/* Image */
.academic-image {
    flex: 1 1 420px;
}

.academic-image img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.academic-card.bg1 {
    background: linear-gradient(135deg, #0a1f44, #0d2b6b);
    /* Deep Navy Blue */
}

.academic-card.bg2 {
    background: linear-gradient(135deg, #132850, #1b376c);
    /* Dark Indigo Blue */
}

.academic-card.bg3 {
    background: linear-gradient(135deg, #1c305c, #25407e);
    /* Steel Blue / Deep Blue */
}

.academic-card.bg4 {
    background: linear-gradient(135deg, #203466, #2b4b8c);
    /* Royal Blue / Navy Gradient */
}

.academic-card.bg5 {
    background: linear-gradient(135deg, #263b70, #325096);
    /* Deep Cobalt Blue */
}

.academic-card.bg6 {
    background: linear-gradient(135deg, #2b4176, #3a5aa3);
    /* Sapphire Blue */
}

.academic-card.bg7 {
    background: linear-gradient(135deg, #1b2c50, #243a78);
    /* Midnight Blue / Indigo */
}

.academic-card.bg8 {
    background: linear-gradient(135deg, #0f1b3d, #1a2a60);
    /* Dark Navy / Ocean Blue */
}


.principal-message-container {
    max-width: 1300px;
    margin: 60px auto;
    background-color: #0a1f44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    border: 3px solid #d4af37;
    /* gold border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.principal-message-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.principal-content {
    flex: 1;
}

.principal-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.principal-name {
    font-size: 20px;
    font-style: italic;
    color: #f1f1f1;
    margin-bottom: 25px;
}

.principal-text {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
}

.principal-message-container .highlight {
    color: #d4af37;
    font-weight: 600;
}

.principal-photo {
    flex: 0 0 450px;
    text-align: center;
}

.principal-photo img {
    width: 450px;
    height: auto;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.principal-photo img:hover {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
    .principal-message-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .principal-photo {
        margin-bottom: 25px;
    }
}

.secretary-message-container {
    max-width: 1300px;
    margin: 60px auto;
    background-color: #0a1f44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    border: 3px solid #d4af37;
    /* gold border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.secretary-message-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.secretary-content {
    flex: 1;
}

.secretary-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.secretary-name {
    font-size: 20px;
    font-style: italic;
    color: #f1f1f1;
    margin-bottom: 25px;
}

.secretary-text {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
}

.secretary-message-container .highlight {
    color: #d4af37;
    font-weight: 600;
}

.secretary-photo {
    flex: 0 0 450px;
    text-align: center;
}

.secretary-photo img {
    width: 450px;
    height: auto;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.secretary-photo img:hover {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
    .secretary-message-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .secretary-photo {
        margin-bottom: 25px;
    }
}

.correspondent-message-container {
    max-width: 1300px;
    margin: 60px auto;
    background-color: #0a1f44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    border: 3px solid #d4af37;
    /* gold border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.correspondent-message-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.correspondent-content {
    flex: 1;
}

.correspondent-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.correspondent-name {
    font-size: 20px;
    font-style: italic;
    color: #f1f1f1;
    margin-bottom: 25px;
}

.correspondent-text {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
}

.correspondent-message-container .highlight {
    color: #d4af37;
    font-weight: 600;
}

.correspondent-photo {
    flex: 0 0 450px;
    text-align: center;
}

.correspondent-photo img {
    width: 450px;
    height: auto;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.correspondent-photo img:hover {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
    .correspondent-message-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .correspondent-photo {
        margin-bottom: 25px;
    }
}

.message-section {
    max-width: 1300px;
    margin: 60px auto;
    background-color: #0a1f44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 60px;
    border: 3px solid #d4af37;
    /* gold border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.message-section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* Alternate layout */
.message-section.reverse {
    flex-direction: row-reverse;
}

.message-content {
    flex: 1;
}

.message-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.message-text {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
}

.message-list {
    list-style: none;
    padding: 0;
}

.message-list li {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.message-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 18px;
}

.message-photo {
    flex: 0 0 250px;
    text-align: center;
}

.message-photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.message-photo img:hover {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {

    .message-section,
    .message-section.reverse {
        flex-direction: column;
        text-align: center;
    }

    .message-photo {
        margin-bottom: 25px;
    }
}

.history-section {
    max-width: 1300px;
    margin: 60px auto;
    background-color: #0a1f44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 60px;
    border: 3px solid #d4af37;
    /* gold border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.history-section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.history-section .history-content {
    flex: 1;
    padding: 0;
}

.history-section .history-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.history-section .history-text {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
}

.history-section .highlight {
    color: #d4af37;
    font-weight: 600;
}

.history-section .history-photo {
    flex: 0 0 480px;
    text-align: center;
}

.history-section .history-photo img {
    width: 480px;
    height: auto;
    border-radius: 15px;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.history-section .history-photo img:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
    .history-section {
        flex-direction: column;
        text-align: center;
    }

    .history-section .history-photo {
        margin-bottom: 25px;
    }
}

.trust-section {
    max-width: 1300px;
    margin: 60px auto;
    background-color: #0a1f44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 60px;
    border: 3px solid #d4af37;
    /* gold border */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.trust-section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.trust-content {
    flex: 1;
}

.trust-title {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trust-text {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    text-align: justify;
    margin-bottom: 20px;
}

.trust-list {
    list-style: none;
    padding: 0;
}

.trust-list li {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.trust-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 18px;
}

.trust-photo {
    flex: 0 0 350px;
    text-align: center;
}

.trust-photo img {
    width: 350px;
    height: auto;
    border-radius: 50%;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.trust-photo img:hover {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
    .trust-section {
        flex-direction: column;
        text-align: center;
    }

    .trust-photo {
        margin-bottom: 25px;
    }
}

.subjects-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 20px;
}

.subjects-container .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #0a1f44;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subject-card {
    background-color: #0a1f44;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 30px;
    border: 3px solid #d4af37;
    margin-bottom: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.subject-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.subject-card.reverse {
    flex-direction: row-reverse;
}

.subject-content {
    flex: 1;
}

.subject-level {
    font-size: 26px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.subject-text {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 15px;
    text-align: justify;
}

.subject-list {
    list-style: none;
    padding: 0;
}

.subject-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.subject-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 16px;
}

.subject-photo {
    flex: 0 0 350px;
    text-align: center;
}

.subject-photo img {
    width: 350px;
    height: auto;
    border-radius: 15px;
    border: 4px solid #d4af37;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.subject-photo img:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {

    .subject-card,
    .subject-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    .subject-photo {
        margin-bottom: 20px;
    }
}
.rules-row.rules-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px;
  background: linear-gradient(135deg, #0d2b6b, #132850); /* dark blue gradient */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rules-row.rules-section-row:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
}

/* Left content */
.rules-row.rules-section-row .rules-content {
  flex: 1;
  color: #f0f8ff; /* light text */
}

.rules-row.rules-section-row .rules-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.rules-row.rules-section-row .rules-content h3::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #a3c9f1; /* underline on hover */
  transition: width 0.4s ease;
}

.rules-row.rules-section-row:hover .rules-content h3::after {
  width: 50%;
}

.rules-row.rules-section-row .rules-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e6ebf8;
}

.rules-row.rules-section-row .rules-content ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #e6ebf8;
}

.rules-row.rules-section-row .rules-content ul li {
  margin-bottom: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.rules-row.rules-section-row .rules-content ul li:hover {
  color: #ffd700; /* golden hover */
  transform: translateX(5px);
}

/* Right image */
.rules-row.rules-section-row .rules-image {
  flex: 1;
  text-align: right;
}

.rules-row.rules-section-row .rules-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rules-row.rules-section-row:hover .rules-image img {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Responsive for smaller screens */
@media screen and (max-width: 992px) {
  .rules-row.rules-section-row {
    flex-direction: column;
    text-align: center;
  }
  .rules-row.rules-section-row .rules-image {
    text-align: center;
    margin-top: 20px;
  }
}
