*{
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    background-color: #0B0E14;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

header{
    background-color: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0px;
    z-index: 1000;
    width: 100%;
}
.navbar{
    height: 85px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 5%;
    animation: animate 1s ease-in-out 0.1s 1 normal;
}


.nav-logo{
    height: 80px;
    width: 120px;
}

.logo{
    background-image: url("MICE.png");
    background-size: cover;
    height: 100%;
    width: 100%;
}

.border{
    border: 1px solid rgb(38, 34, 34);
}

@keyframes animate{
    0% {
        opacity: 0;
        transform: scale(0.6); /* Starts 50% larger */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Shrinks to normal size */
    }
}

.nav-links{
    font-family: Berlin Sans FB;
    font-size: 28px;
    width: 800px;
    display: flex;
    list-style: none;
    align-items: center;
    margin-left: 80px;
    justify-content: space-evenly;
    gap: 30px;
}

.nav-links a{
    /* background-color: white; */
    color: #FFFFFF;
    font-size: 1.7rem;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-social i:hover{
    color: #0099ff;
    padding: 3px;
    text-decoration: none;
}

.nav-social{
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 28px;
    margin-left: 180px;
    margin-right: 60px;
}

.nav-social i{
    color: #FFFFFF;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hero{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    gap: 80px;
    flex-wrap: wrap;
}

.hero video{
    margin-right: -90px;
    filter: contrast(1.1) brightness(0.9) saturate(1.2);
    width: 100%;
    max-width: 450px;
    height: auto;
    flex: 1;
    border-radius: 20px;
    opacity: 0;
    border: 2px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
    animation: hero-section 1s 0.4s ease-in-out 1 forwards;
}
.hero-section{
    flex: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    opacity: 0;
    animation: hero-section 1s 0.4s ease-in-out 1 forwards;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-section h2{
    font-family: Berlin Sans FB;
    font-weight: 500;
    font-size: 50px;font-size: clamp(3rem, 8vw, 4.5rem);
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-align: center;
    background: linear-gradient(to right, #f02020,#1d2ae8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes hero-section {
    0% {
        opacity: 0;
        transform: scale(0.4); 
    }
    100% {
        opacity: 1;
        transform: scale(1); 
    }
}

.hero-content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex-direction: row;
    flex-wrap: wrap;
    perspective: 1000px;
    width: 100%;
    margin: 40px auto 0 auto;
}

.content-card{
    position: relative;
    flex: 1;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 320px;
    min-width: 280px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-content: center;
    box-sizing: border-box;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}
.content-card:hover{
    transform: translateY(-15px) scale(1.03) rotateY(180deg); 
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.6);
}

.front-content, .back-content{
    background-color: #f9fafb;
    color: #111827;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 30px 20px;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    align-content: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;

}

.front-content h3{
    font-family: Berlin Sans FB;
    display: block;
    font-size: 26px;
    margin-bottom: 10px;
    color: #111827;
}

.front-content h3 i {
    background: linear-gradient(90deg, #00f2ff, #86e17c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #007aff;
    margin-right: 8px;
}

.front-content p{
    display: block;
    font-family: Lucida Calligraphy;
    font-weight: 700;
    margin-top: 20px;
    font-size: 18px;
    color: #313534;
}

.front-content{
    background-color: #6060cb; 

    background-image: 
        radial-gradient(at 0% 0%, rgb(255, 0, 255) 0px, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(0, 242, 255, 0.842) 0px, transparent 50%);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}
.back-content p{
    display: block;
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.5;
    font-size: 1.16rem;
    color: rgb(38, 34, 34);
}

.back-content{
    padding: 10px;
    background-color: #007aff;;
    color: #ffffff;
    transform: rotateY(180deg);

}

.flip-hint{
    font-size: 13px;
    margin-top: auto;
    opacity: 0.7;
    font-family: jetBrains Mono;
    letter-spacing: 1px;
    color: #f4f4f4;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 40px 20px; /* Extra top padding prevents header overlap */
        gap: 40px;
    }

    .nav-links {
        display: none; /* Keeps menu hidden unless hamburger icon checkbox is active */
    }

    .hero video {
        margin-right: 0 !important;
        max-width: 100%;
        width: 90%;
        height: auto;
    }

    .hero-section {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-section h2 {
        font-size: 2.2rem !important; /* Prevents text from overflowing screens */
        margin-top: 20px;
        margin-bottom: 40px;
        line-height: 1.3;
    }

    .hero-content {
        flex-direction: column !important; /* Stacks cards into a clean vertical list */
        align-items: center;
        gap: 30px; /* Gives cards breathing room */
        width: 100%;
    }

    .content-card {
        width: 100%;
        max-width: 310px; /* Restricts cards from getting excessively wide on mobile */
        height: 360px;    /* Maintains structural height so faces don't collapse */
    }
    
    .punchline {
        margin: 60px auto;
        padding: 20px;
    }

    .punchline h3 {
        font-size: 1.6rem !important;
        width: 100%;
        line-height: 1.4;
    }
}

.punchline{
    margin: 100px auto;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 90%;
    max-width: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 5%;
    gap: 30px;
    border-top: #00b0fc 5px solid;
    border-bottom: #00b0fc 5px solid;
    border-radius: 15px;
    animation: scroll-punch linear forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}
.punchline h3{
    width: 430px;
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-size: 3rem;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: #00cafc 2px 2px 4px;
    animation: scroll-punch linear forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

@keyframes scroll-punch {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.main-section{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    flex-wrap: wrap;
    padding: 50px 5%;
}

.section-title h2{
    font-family: Berlin Sans FB;
    font-weight: 500;
    font-size: 48px;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #00f2ff 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #00f2ff;
    filter: drop-shadow(0px 0px 3px rgba(0, 242, 255, 0.5));
    white-space: nowrap;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
    animation: typing 5s steps(30,end) 0s forwards,scroll-punch 5s linear forwards;
    animation-timeline: view();
    animation-range: entry 30% cover 40%;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.program-image{
    background-image: url("main_content.jpeg");
    background-size: cover;
    width: 100%;
    max-width: 1100px;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
}

.enroll-button{
    margin-top: 10px;
    display: block;
    text-align: center;
    gap: 20px;
}

.enroll-button p{
    font-family: Orbitron;
    font-weight: 500;
    font-size: 50px;
    letter-spacing: 5px;
    background: linear-gradient(
        90deg,#00f2ff 0%,#ff00ff 50%,#86e17c 100%);
        -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.4));
    white-space: nowrap;
    overflow: hidden;
    display: block;
    animation: typing 5s steps(30,end) 0s forwards;
    animation-timeline: view();
    animation-range: entry 30% cover 35%;
}

.enroll-button button{
    display: inline-block;
    vertical-align: middle;
    width: 200px;
    padding: 10px;
    font-family: Berlin Sans FB;
    font-weight: 500;
    font-size: 20px;
    color: #313534;
    background-color: #00b0fc;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 40px;
}

.result-section{
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    padding: 50px 5%;
    border-top: #313534 3px solid;
}   

.result-section h2{
    font-family: Berlin Sans FB;
    font-weight: 500;
    font-size: 48px;
    letter-spacing: -1px;
    background: linear-gradient(
        to right, 
        #ffdd00 10%,   /* Cyber Cyan */
        #8A2BE2 85%,   /* Hot Pink/Purple */
        #F0F8FF 90%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #00f2ff;
    filter: drop-shadow(0px 0px 3px rgba(0, 242, 255, 0.5));
    white-space: nowrap;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
    border: 2px solid rgba(156, 203, 247, 0.899);
    padding: 10px 20px 10px 20px;
    border-radius: 8px;
}

.achievers-23-24{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.achievers-23-24 h3{
    text-align: center;
    width: 430px;
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-size: 2.8rem;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: #00cafc 2px 1px 2px;
    border: 4px solid rgba(0, 242, 255, 0.3);
    border-radius: 50px;
}

.achievers-23-24 h4{
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.5;
    font-size: 1.8rem;
    color: rgb(255, 179, 0);
    text-align: center;
}

.image-achievers-23{
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border-radius: 25px; */
    overflow: hidden;
    margin-bottom: 20px;
}

.image-achievers-23 .image-container{
    width: 180px;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: #2b43e2 3px solid;
    border-radius: 50%;
}

.achievers-24-25 h3{
    text-align: center;
    width: 430px;
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-size: 2.8rem;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: #00cafc 2px 1px 2px;
    border: 4px solid rgba(0, 242, 255, 0.3);
    border-radius: 50px;
}

.achievers-24-25 h4{
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.5;
    font-size: 1.8rem;
    color: rgb(255, 0, 212);
    text-align: center;
}

.achievers-24-25 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.image-achievers-24{
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.image-content{
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    margin-top: 20px;
}

.image-achievers-24 .image-container{
    width: 180px;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: #2b43e2 3px solid;
    border-radius: 50%;
    /* border-bottom: 2px solid rgba(0, 242, 255, 0.3); */
}

.image-achievers-24 .name-tag{
    background-color: #f62217; 
    color: #0B0514;
    text-align: center;
    padding: 5px;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 10px;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(80, 255, 177, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.image-achievers-25{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.achievers-25-26 .image-content{
    display: flex;
    width: 80%;
    gap: 60px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.achievers-25-26{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.achievers-25-26 h4{
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.5;
    font-size: 1.8rem;
    color: rgb(89, 255, 0);
    text-align: center;
}

.achievers-25-26 h3{
    width: 430px;
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-size: 2.8rem;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: #00cafc 2px 1px 2px;
    border: 4px solid rgba(0, 242, 255, 0.3);
    border-radius: 50px;
}

.image-achievers-25 .image-container{
    width: 180px;
    order: 1;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: #2b43e2 3px solid;
    border-radius: 50%;
    margin-top: 0px;
    gap: 60px;
    margin-bottom: 5px;
    /* border-bottom: 2px solid rgba(0, 242, 255, 0.3); */
}

.image-achievers-25 .name-tag{
    background-color: #f62217; 
    order: 2;
    color: #0B0514;
    text-align: center;
    padding: 5px;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 0px;
    margin-bottom: 0px;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(80, 255, 177, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.image-container{
    width: 70%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: #8A2BE2 3px solid;
    border-radius: 200px;
    /* border-bottom: 2px solid rgba(0, 242, 255, 0.3); */
}

.img1{
    background-image: url("aaliyan.jpg");
}
.img2{
    background-image: url("Divit\ singhvi.jpg");
}
.img3{
    background-image: url("palak.jpg");
}
.img4{
    background-image: url("mahek.jpg");
}
.img5{
    background-image: url("prasham.jpg");
}
.img6{
    background-image: url("yashita.jpg");
}
.img7{
    background-image: url("sarthak.jpg");
}
.img8{
    background-image: url("harsh.jpg");
}
.img9{
    background-image: url("shivam.jpg");
}
.img10{
    background-image: url("dhairya.jpg");
}
.img11{
    background-image: url("maanyaa.jpg");
}
.img12{
    background-image: url("taru.jpg");
}
.img13{
    background-image: url("naitik.jpg");
}
.img14{
    background-image: url("khush.jpg");
}
.img15{
    background-image: url("shine.jpg");
}
.img16{
    background-image: url("jiya.jpg");
}
.img17{
    background-image: url("dixi.jpg");
}
.img18{
    background-image: url("tanay.jpg");
}
.img19{
    background-image: url("anshul.png");
}
.img20{
    background-image: url("khush.jpg");
}
.img21{
    background-image: url("maanyaa.jpg");
}
.img22{
    background-image: url("mishka.jpg");
}
.img23{
    background-image: url("tanay.jpg");
}
.img24{
    background-image: url("taru.jpg");
}
.img25{
    background-image: url("Veer Mehta.jpg");
}
.img26{
    background-image: url("Smit Doshi.jpg");
}
.img27{
    background-image: url("Siya Moda.jpg");
}
.img28{
    background-image: url("Sakshi Daga.jpg");
}
.img29{
    background-image: url("Rishit Gadhiya.jpg");
}
.img30{
    background-image: url("Panth Sevalia.jpg");
}
.img31{
    background-image: url("Veer Salot.jpg");
}
.img32{
    background-image: url("Khushi Chevli.jpg");
}

.name-tag{
    background-color: #50FFB1; 
    color: #0B0514;
    text-align: center;
    padding: 10px;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 10px;
    letter-spacing: 1.5px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(80, 255, 177, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.jubilee-section{
    display: flex;
    flex-direction: column;
    /* margin: 20px; */
    border-top: 3px solid rgb(54, 50, 50);
    border-bottom: 3px solid rgb(54, 50, 50);
}

.jubilee-section h2{
    font-family: Berlin Sans FB;
    font-weight: 500;
    font-size: 48px;
    letter-spacing: 2px;
    background: linear-gradient(to left, #3cff00, #00d0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #00f2ff;
    filter: drop-shadow(0px 0px 3px rgba(0, 242, 255, 0.5));
    white-space: nowrap;
    overflow: hidden;
    display: block;
    margin: 10px auto;
    margin-bottom: 50px;
    text-align: center;
    animation: typing 5s steps(30,end) 0s forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
}
.jubilee-content-image{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content:space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.jubilee-image{
    width: 320px;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 2px solid rgba(0, 242, 255, 0.3);
}

.jimg1{
    background-image: url("jubilee1.jpg");
}
.jimg2{
    background-image: url("jubilee2.jpg");
}

.jubilee-content-text{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px;
}

.jubilee-content-text h4{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-size: 2.8rem;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: #00cafc 2px 1px 2px;
}

.jubilee-content-text p{
    font-family: Bell MT;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.5;
    font-size: 1.8rem;
    color: rgb(255, 255, 255);
    padding: 10px;
    white-space: wrap;
    overflow: hidden;
    display: block;
    animation: scroll-punch 1s linear forwards;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    /* flex-wrap: wrap; */
}

.mice-stats{
    border-bottom: 5px solid rgb(54, 50, 50);
}

.mice-stats hr{
    border: none;
    width: 50%;
    height: 4px;
    background-color: #ffea00;
    margin: 15px auto;
    border-radius: 1px;
}

.stats-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.stats-heading{
    margin: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.stats-heading h4{
    font-size: 1.2rem;
    font-family:monospace;
    padding: 2px;
    padding-right: 8px;
    padding-left: 8px;
    letter-spacing: 1.8px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px  rgba(80, 255, 177, 0.4);
    border: 2px solid #50FFB1;
    background: linear-gradient(
        to right, 
        #37ff00 5%,   /* Cyber Cyan */
        #fa2069 55%,   /* Hot Pink/Purple */
        #1243e6 90%
    );
}

.stats-card{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    letter-spacing: 1.2px;
    font-size: 1.38rem;
    margin-bottom: 30px;
    color: cyan;
}

.stats-card h4{
    letter-spacing: 1.5px;
}

.location{
    margin: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.location-heading{
    margin: 20px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 5px;
    font-size: 2.5rem;
    color: #b9d2ed;
}
.location-content{
    color: rgb(196, 189, 189);
    display: flex;
    width: 50%;
    flex-direction: column;
    gap: 20px;
    letter-spacing: 1.8px;
    font-size: 1.4rem;
}
.location-contact{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}
.location-mail{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}
.location-mail a{
    color: white;
    text-underline-offset: 5px;
}
.location-address{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.location-address i{
    margin-top: 10px;
}
.location-map iframe{
    height: 450px;
    width: 550px;
}

footer{
    width: 100%;
    text-align: center;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    font-family:Arial, Helvetica, sans-serif;
    margin: 10px;
}

.about-hero-section{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    border-radius: 20px;
    padding: 10px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.about-hero-section h1{
    font-size: 2.6rem;
    letter-spacing: -1.8px;
    background: linear-gradient(to right, #f02020,#1d2ae8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.about-hero-section p{
    max-width: 80%;
    width: 100%;
    height: auto;
    text-align: center;
    overflow: hidden;
    font-size: 1.5rem;
    margin: 20px auto 0 auto; 
    animation: hero-section 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    line-height: 1.8;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid rgba(0, 242, 255, 0.3);
}

.legacy{
    border-top: #575b5f 3px solid;
    border-bottom: #575b5f 3px solid;
    margin: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    animation: slideFromLeft 1.5s ease-out forwards;
}

.legacy-left{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 5px;
    width: 70%;
}
.legacy-left h2{
    margin-top: 10px;
    font-size: 2.2rem;
    font-weight: 100;
    font-family: Orbitron;
    letter-spacing: 3px;
    color: rgb(239, 213, 107);
    text-decoration: underline;
    text-underline-offset: 12px;
}
.content1{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1.3px;
    margin-bottom: 22px;
}
.content1 span{
    color: #00f2ff;
    font-weight: 800;
}
.content2{
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    letter-spacing: 1.3px;
    font-size: 1.4rem;
}
.legacy-right{
    display: flex;
    align-items: center;
}
.legacy-right video{
    border-radius: 20px;
    height: 230px;
    width: 400px;
    border: 2px solid rgba(171, 220, 222, 0.3);
    box-shadow: 20px 10px 30px rgba(0, 242, 255, 0.1);
    margin: 10px;
}

@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-200px); 
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* Glides into its exact original position */
    }
}

@media (max-width: 900px) {
    .legacy {
        flex-direction: column; /* Stacks text on top, video on bottom */
        gap: 30px; /* Adds space between them on small screens */
    }
    .legacy-left {
        padding-right: 0; /* Clears the right padding since the video moved below */
    }
}


@keyframes slideAndPunchRight {
    0% {
        opacity: 0;
        transform: translateX(200px) translateY(50px) scale(0.5); 
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1); 
    }
}

@keyframes slideAndPunchLeft {
    0% {
        opacity: 0;
        transform: translateX(-200px) translateY(50px) scale(0.5); 
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1); 
    }
}

.code-conduct{
    margin: 10px;
    margin-bottom: 50px;
    border-bottom: 3px solid rgba(79, 85, 85, 0.857);
}
.code-heading{
    display: flex;
    font-family: Monospace;
    justify-content: center;
    width: 35%;
    font-size: 1.5rem;
    letter-spacing: -3.6px;
    border: 2.5px solid rgba(0, 242, 255, 0.3);
    margin: 10px auto;
    color: #00bfff;
    border-radius: 15px;
}
.code1{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 60px;
    animation: slideAndPunchRight 1.5s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 50%;
}
.code1 h2{
    width: 50%;
    text-align: center;
    font-size: 9rem;
    color: #CCFF00;
}
.code1-content{
    margin: 10px;
    width: 50%;
    font-size: 1.2rem;
}
.code1-content h3{
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #F8FAFC;
    font-weight: 700;
}
.code1-content p{
    color: #94A3B8;
    font-size: 1.3rem;
}

.code2{
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 60px;
    animation: slideAndPunchLeft 1.5s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}
.code2 h2{
    width: 50%;
    color: #CCFF00;
    text-align: center;
    font-size: 9rem;
}
.code2-content{
    margin: 10px;
    width: 50%;
    font-size: 1.2rem;
}
.code2-content h3{
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #F8FAFC;
    font-weight: 700;
}
.code2-content p{
    color: #94A3B8;
    font-size: 1.3rem;
}

.leadership{
    display: flex;
    flex-direction: column;
    margin: 15px;
    border-bottom: #313534 2px solid;
}
.leadership-heading{
    font-size: 2rem;
    text-decoration: underline 2px;
    text-underline-offset: 9px;
    color: #00ff88;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.leadership-content{
    margin-top: 18px;
}
.leadership-content p{
    font-size: 1.4rem;
    color: rgb(169, 169, 169);
    margin-bottom: 1px;
}
.leadership-content h5{
    margin-bottom: 18px;
}
footer{
    margin-bottom: 20px;
}

.result-heading{
    font-size: 1.4rem;
    text-decoration: underline 4px;
    text-underline-offset: 6px;
    text-align: center;
    color: #1087ff;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    letter-spacing: 1.9px;
}
.result-subheading{
    text-align: center;
    letter-spacing: 1.4px;
    width: 45%;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin: 10px auto;
    color: #ea802e;
}
.heading25-26{
    letter-spacing: 0.6px;
    color: #3300ff;    
    font-family: handlee, cursive;
    background-image: linear-gradient(90deg, #73d7de, #e24cd5);
    animation: hero-section 1s 0s ease-in-out 1 forwards;
}

.heading24-25{
    letter-spacing: 0.6px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #c4d813;    
    font-family: handlee, cursive;
    background-image: linear-gradient(270deg, #73de7a, #723bd9);
}
.heading23-24{
    letter-spacing: 0.6px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #000000;    
    font-family: handlee, cursive;
    background-image: linear-gradient(90deg, #8ce4ea, #5742cb);
}
.heading22-23{
    letter-spacing: 0.6px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #767171;    
    font-family: handlee, cursive;
    background-image: linear-gradient(270deg, #71f8ff, #46d541);
}


.headingstyle{
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 2rem;
    width: max-content;
    margin: 15px auto;
}

.gridstyle{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start; /* Stops boxes from stretching to match heights */
    gap: 30px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex-wrap: wrap;        /* Allows wrapping on smaller screens */
    width: 100%;
}
.tierstyle ul{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    list-style-type: none;
}


.tierstyle{
    display: inline-block;  /* The magic line: forces border to hug the width */
    width: max-content;     /* Keeps the container exactly as wide as the content */
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    min-width: 260px;       /* Prevents it from getting too small if there's only 1 name */
    margin: 10px;
    padding: 25px;
    border: #007aff 2px solid;
    border-radius: 12px;

    
}

.tier-column25{
    background-color: #080a0f; /* Deeper midnight cyber blue */
    background-image: 
        radial-gradient(at 0% 0%, rgb(200, 255, 0) 0px, transparent 60%), 
        radial-gradient(at 100% 100%, rgba(255, 0, 212, 0.05) 0px, transparent 50%);
    color: #FFFFFF;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
}
.tier-column24{
    background-color: #080a0f; /* Deeper midnight cyber blue */
    background-image: 
        radial-gradient(at 0% 0%, rgb(0, 242, 255) 0px, transparent 60%), 
        radial-gradient(at 100% 100%, rgba(255, 0, 212, 0.05) 0px, transparent 50%);
    color: #FFFFFF;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
}
.tier-column23{
    background-color: #080a0f; /* Deeper midnight cyber blue */
    background-image: 
        radial-gradient(at 0% 0%, rgb(200, 0, 255) 0px, transparent 60%), 
        radial-gradient(at 100% 100%, rgba(255, 0, 212, 0.05) 0px, transparent 50%);
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #FFFFFF;
}
.tier-column22{
    background-color: #080a0f; /* Deeper midnight cyber blue */
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    background-image: 
        radial-gradient(at 0% 0%, rgb(239, 77, 139) 0px, transparent 60%), 
        radial-gradient(at 100% 100%, rgba(255, 0, 212, 0.05) 0px, transparent 50%);
    color: #FFFFFF;
}
.subheadingstyle{
    font-size: 1.6rem;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-bottom: 20px;
    border-bottom: 2px solid blue;
}

.resultstyle{
    border-bottom: 3px solid rgb(96, 76, 76);
    margin-bottom: 20px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-top: 20px;
}
.marks-25 li{
    font-size: 1.5rem;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-bottom: 10px;
    letter-spacing: 1.4px;
}

.course-main-heading{
    display: flex;
    justify-content: center;
}

.course-main-heading h1{
    font-family: handlee, cursive;
    background-image: 
        radial-gradient(at 0% 0%, rgb(239, 77, 139) 0px, transparent 60%), 
        radial-gradient(at 100% 100%, rgba(255, 0, 212, 0.05) 0px, transparent 50%);
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    letter-spacing: 3.1px;
    border: 2px solid rgba(171, 220, 222, 0.3);
    box-shadow: 20px 10px 30px rgba(0, 242, 255, 0.1);
    margin: 10px;
    padding: 15px 10px 15px 10px;
    border-radius: 15px;
    color: #d4ff00;
}

.school-courses{
    display: flex;
    justify-content: space-between;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    align-items: flex-start;
    margin: 20px;
    margin-top: 30px;
    border-bottom: 3px solid rgb(77, 73, 73);
    border-bottom-style: dashed;
}

.school-heading{
    width: 50%;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-bottom: 25px;
}

.school-heading h1{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: flex;
    align-items: flex-start;
    font-family: Lucida Calligraphy;
    letter-spacing: 1.2px;
}

.school-heading2{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-top: 30px;
}
.school-heading2 h3{
    font-size: 2.2rem;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    letter-spacing: 3.8px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    color: rgb(219, 236, 32);
    margin-left: 50px;
}

.school-heading-content{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    width: 50%;
    font-size: 1.5rem;
    font-family: cursive;
}

.icse{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin: 20px;
    display: flex;
}
.icse-left, .icse-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}
.icse-left{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #00f2ff;
    letter-spacing: 1.5px;
}
.icse-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    letter-spacing: 1.3px;
    font-size: 1.3rem;
}

.cbse{
    margin: 20px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: flex;
}
.cbse-left, .cbse-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}
.cbse-left{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #ae00ff;
    letter-spacing: 1.5px;
}
.cbse-right{
    font-size: 1.3rem;
    letter-spacing: 1.3px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.isc{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin: 20px;
    display: flex;
}
.isc-left, .isc-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}
.isc-left{
    color: #00ff6e;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    letter-spacing: 1.5px;
}
.isc-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1.3px;
}

.school-content{
    border-bottom: 3px solid rgb(77, 73, 73);
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-bottom: 20px;
}

.section2-courses{
    display: flex;
    flex-direction: column;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    align-items: center;
    margin: 20px;
}
.section2-heading{
    font-size: 1.5rem;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family:'Courier New', Courier, monospace;
}
.section2-heading-content{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: flex;
    font-size: 1.4rem;
    max-width: 60%;
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #ee5480;
}

.foundation{
    margin: 20px;
    margin-top: 30px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: flex;
    flex-direction: row;
}
.foundation-left, .foundation-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}
.foundation-left{
    color: #00ffd9;
    display: grid;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    grid-template-columns: max-content 1fr;
    align-items: center;
    letter-spacing: 1.5px;
    column-gap: 20px;
}
.foundation-left h1 {
    grid-column: 1;      
    grid-row: 1 / span 2;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 4rem;     
    margin: 0;
}
.foundation-heading {
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    grid-column: 2;     
    grid-row: 1;        
}
.foundation-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1.3px;
}

.foundation-left, .foundation-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}

.young{
    margin: 20px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-top: 30px;
    display: flex;
    flex-direction: row-reverse;
}
.young-left, .young-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}
.young-left{
    color: #ff0000;
    display: grid;
    grid-template-columns: max-content 1fr;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    align-items: center;
    letter-spacing: 1.5px;
    column-gap: 20px;
}
.young-left h1 {
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    grid-column: 1;      
    grid-row: 1 / span 2;
    font-size: 4rem;     
    margin: 0;
}
.young-heading {
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    grid-column: 2;     
    grid-row: 1;        
}
.young-right{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 1.3rem;
    letter-spacing: 1.3px;
}

.aiml{
    margin: 20px;
    margin-top: 30px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: flex;
    flex-direction: row;
}
.aiml-left, .aiml-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex: 1;
}
.aiml-left{
    color: #00ff26;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    letter-spacing: 1.5px;
    column-gap: 20px;
}
.aiml-left h1 {
    grid-column: 1;      
    grid-row: 1 / span 2;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 4rem;     
    margin: 0;
}
.aiml-heading {
    grid-column: 2;     
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    grid-row: 1;        
}
.aiml-right{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1.3px;
}

.section2{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    border-bottom: 3px solid rgb(77, 73, 73);
    margin-bottom: 20px;
}

.section3-courses{
    display: flex;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    border-bottom: #617489;
    border-bottom-style:dotted;
}
.section3-heading{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.section3-heading-content{
    display: flex;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 1.4rem;
    max-width: 60%;
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #6a56d9;
    margin-bottom: 20px;
}

.section3{
    display: flex;
    justify-content: space-evenly;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    gap: 50px;
    margin: 0 auto;
    width: 100%;
    border-bottom: 3px solid rgb(77, 73, 73);
    margin-bottom: 20px;
}
.webheadstyle{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 1.5rem;
    font-family:'Times New Roman', Times, serif;
    text-align: center;
    color: #ce00fc;
}
.websubheadstyle{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    text-align: center;
    color: #00eeff;
    margin: 20px;
    letter-spacing: 1.2px;
    font-size: 1.4rem;
}
.webcontentstyle{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin: 20px;
    letter-spacing: 1.2px;
    font-size: 1.2rem;
    font-family: cursive;
}
.dbms-main-heading{
    color: #f1d329;
}
.dbms-sub-heading{
    color: #0dff00;
}
.code-main-heading{
    color: #f1d329;
}
.code-sub-heading{
    color: #0dff00;
}


.contact-header{
    display: flex;
    flex-direction: column;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    align-items: center;
    margin: 20px;
}
.contact-main-heading{
    font-size: 1.8rem;
    background: linear-gradient(to right, #c6f020,#1d2ae8);
    border-radius: 10px;
    padding: 10px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-family: orbitron;
    color: black;
    letter-spacing: 3px;
}
.contact-sub-heading{
    box-shadow: 0 0 10px rgba(80, 255, 177, 0.4);
    border-radius: 10px;
    padding: 5px;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-family: monospace;
    margin-top: 20px;
    background: linear-gradient(to right, #f02020,#1d2ae8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-2-heading{
    font-size: 1.6rem;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin-top: 40px;
    letter-spacing: 2px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    color: #ffc400;
}

.contact-hero{
    display: flex;
    justify-content: space-between;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin: 30px;
}
.left-contact{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    display: flex;
    flex-direction: column;
}
.left-contact-heading1{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    color: #0099ff;
}
.left-contact-content1{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    font-size: 1.3rem;
}
.left-contact-content1 a{
    color: white;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.left-contact-content1 ul{
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    margin: 30px;
}

.right-contact{
    display: flex;
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    align-items: center;
}
.right-contact video{
    height: 260px;
    width: 430px;
    box-shadow: 0 0 15px rgba(7, 255, 251, 0.6);
    animation: hero-section 1s 0s ease-in-out 1 forwards;
    border-radius: 5px;
}







/* ==========================================================================
   MICE COMPUTERS - PRODUCTION RESPONSIVE LAYOUT ENGINE
   ========================================================================== */

/* Setup responsive layout selectors */
.menu-toggle-checkbox {
    display: none;
}
.hamburger-menu {
    display: none;
    font-size: 28px;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

/* --------------------------------------------------------------------------
   Laptops & Desktop Screens (Max-width: 1350px)
   -------------------------------------------------------------------------- */
@media (max-width: 1350px) {
    .nav-links {
        width: auto;
        margin-left: 20px;
        gap: 20px;
    }
    .nav-social {
        margin-left: 40px;
        margin-right: 20px;
    }
    .hero {
        justify-content: center;
        gap: 40px;
    }
    .hero video {
        margin-right: 0;
    }
}

/* --------------------------------------------------------------------------
   Tablets & Compressed Layouts (Max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* Main Landing Page Structural Conversions */
    .hero {
        flex-direction: column-reverse; /* Places text description over video on mobile screens */
        text-align: center;
        padding-top: 120px;
    }
    .hero-section {
        text-align: center;
    }
    .hero-content {
        justify-content: center;
    }
    .punchline h3 {
        font-size: 2.2rem;
        width: 100%;
    }

    /* Transform Navigation Panel into Slide-Down Mobile Menu Drawer */
    .hamburger-menu {
        display: block; /* Reveals hamburger icon */
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background-color: rgba(11, 14, 20, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(0, 242, 255, 0.2);
        padding: 40px 0;
        gap: 25px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 999;
        margin-left: 0;
    }
    .nav-links a {
        font-size: 1.6rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav-social {
        margin-left: auto;
        margin-right: 30px;
    }

    /* Toggle visibility conditions when user hits hamburger icon */
    .menu-toggle-checkbox:checked ~ .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .menu-toggle-checkbox:checked ~ .hamburger-menu {
        color: #0099ff;
    }

    /* Contact Map/Information Stacking Rules */
    .location {
        flex-direction: column !important;
        gap: 40px;
    }
    .location-map, .location-content {
        width: 100% !important;
    }
    
    /* Courses Page Inner Flex Stacking */
    .school-content, 
    .web-development-content, 
    .dbms-content-section {
        flex-direction: column !important;
        gap: 30px;
    }
    .icse-left, .icse-right,
    .section2-left, .section2-right,
    .section3-left, .section3-right {
        width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   Smartphones & Handheld Screen Viewports (Max-width: 600px)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    /* Scale heading typography profiles down to prevent clipping text borders */
    .hero-section h2, 
    .section-title h2, 
    .result-section h2,
    .course-main-heading h1,
    .result-heading h1 {
        font-size: 1.8rem !important;
        white-space: normal !important; /* Overwrites rigid nowrap clip layouts */
        line-height: 1.4;
        animation: none !important;     /* Disables width constraints on typewriter layouts */
        border-right: none !important;
        width: 100% !important;
    }
    
    .enroll-button p {
        font-size: 1.6rem !important;
        white-space: normal !important;
        animation: none !important;
    }
    .enroll-button button {
        width: 85%;
        margin: 15px auto;
        display: block;
    }

    .navbar {
        height: 70px;
    }
    .nav-logo {
        height: 55px;
        width: 85px;
    }
    .nav-links {
        top: 70px;
    }

    /* Content Cards Alignment */
    .content-card {
        width: 100%;
        max-width: 320px;
    }
    .punchline h3 {
        font-size: 1.5rem;
    }

    /* Student Result Hall Grid Adjustments */
    .grid-dev {
        grid-template-columns: 1fr !important; /* Collapses horizontal columns into a single column list */
        gap: 20px;
    }
    .achievers-23-24 h3, 
    .achievers-24-25 h3, 
    .achievers-25-26 h3 {
        width: 100% !important;
        font-size: 1.6rem;
    }
}