*{
    margin:0%;
    padding: 0%;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}
#navbar{
    position:fixed;
    top:0%;
    left:0%;
    height: 20%;
    width:100%;
    background-color: aqua;
    box-shadow: 0 0px 5px #000;
    z-index: 1000;
}
#navbar #navup{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 50%;
    width: 100%;
    background-color: rgba(16,62,97);
}
#navbar #navup #contact-info{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
#navbar #navup #contact-info li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navup #contact-info li a{
    color: #fff;
}

#navbar #navup #menu-info{
    position: absolute;
    top:50%;
    right:2%;
    transform: translateY(-50%);
}
#navbar #navup #menu-info li{
    display: inline-block;
    margin-left: 20px;
}
#navbar #navup #menu-info li a{
    color: #fff;
}

#navbar #navdn{
    position: absolute;
    top: 50%;
    left: 0%;
    height: 50%;
    width: 100%;
    background-color: rgb(197, 220, 252);
}
#navbar #navdn #menu{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:2%;
}
#navbar #navdn #menu li{
    display: inline-block;
    margin-left: 30px;
}
#navbar #navdn #menu li:last-child{
    background-color: #ffd700;
    padding: 15px;
    border-radius: 30px;
}
#navbar #navdn #menu li a{
    color: rgb(16,62,97);
    font-weight: bolder;
}
#navbar #navdn #menu li:last-child a{
    color: #020202;
}
#navbar .arrow-shape {
  background: white;
  border: none;
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}
#navbar #logo{
    position: absolute;
    top:50%;
    left: 0%;
    transform: translateY(-50%);
    height: 100%;
    width: 20%;
    background-color:rgb(255, 255, 255);
}
#navbar #logo a img{
    position: absolute;
    top:50%;
    left: 45%;
    transform: translate(-50%,-50%);
    height: 120px;
    width: 120px;
}
#titl{
    display: none;
}
#nav{
    position: fixed;
    top:10%;
    left:0%;
    width:0%;
    height:90%;
    background-color: rgba(0,0,0,0.5);
	transition: 0.5s;
}
#nav #ul{
    position: fixed;
    top:10%;
    left:0%;
    width:70%;
    height:100%;
    background-color: #fff;
    display: none;
    transition: 0.5s;
    list-style: none;
}
#nav #ul li{
    margin: 30px;
}
#nav #ul li:first-child button{
    position: absolute;
    top:3%;
    right: 10%;
    font-size: 30px;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0%;
    margin: 0%;
}
#nav #ul li a{
    font-size: 20px;
    color:rgba(24,73,103)
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-image:url("../images/bg/bg1.jpg");
  background-size: 100% 100%;
  color: white;
  position: absolute;
  top:20%;
  left:0%;
  height: 80%;
  width: 100%;
}
.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
  margin-left: 10%;
}
.hero-content h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content span {
  color: #ffd700;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}
.hero-btns {
  display: flex;
  gap: 15px;
}
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary {
  background-color: #ffd700;
  color: #000;
}
.btn-primary:hover {
  background-color: #ffcc00;
  transform: scale(1.05);
}
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #0066cc;
  transform: scale(1.05);
}
/* ---------- Hero Image ---------- */
.hero-image {
  flex: 1;
  text-align: center;
  animation: fadeIn 1.5s ease-in;
}
.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}
/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* OUR FRATERNITY */
#fret {
    position: absolute;
    top:100%;
    left:0;
    height:30%;
    width:100%;
    display: grid;
    place-items: center;
    background: #fff;
}
#fret h1 {
    width:100%;
    text-align: center;
    font-size: 5rem;
    color: rgb(29, 53, 87);
}
.counters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
}
.counter {
  font-size: 3.2em;
  font-weight: bold;
}
.label {
  font-size: 1rem;
  margin-top: 8px;
}
.counter-box {
  display: grid;
  align-content: center;
  width: 200px;
  height: 150px;
  text-align: center;
  color: rgb(0, 0, 0);
}

#about{
    position: absolute;
    top:130%;
    left:0%;
    height: 70%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
#about .col{
    display: inline-flex;
    background-color: rgb(255, 255, 255);
    flex-wrap: wrap;
    margin: 20px;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    width: 60%;
    height: 80%;
    padding: 30px;
}
#about .col:last-child{
    width: 35%;
}
#about .col:last-child img{
    padding: 0%;
    height: 100%;
    width: 100%;
}
#about .col p{
    line-height: 1.6;
}
#about .col a{
    height: 50px;
    width:100px;
    background-color: rgb(16,62,97);
    display: flex;
    color:#fff;
    justify-content: center;
    align-items: center;
}
/* Common animation styles */
#about-info, #about-pic {
    opacity: 0;
    transition: all 0.8s ease;
}

/* Text animation */
#about-info {
    transform: scale(0.8);
}
#about-info.animat {
    opacity: 1;
    transform: scale(1);
}

/* Image animation */
#about-pic {
    transform: translateX(100px); /* start shifted right */
}
#about-pic.animat {
    opacity: 1;
    transform: translateX(0);
}

#course{
    position: absolute;
    top:210%;
    left:0%;
    height:80%;
    width: 100%;
    /*background: linear-gradient(180deg,#fff,aliceblue);*/
}
#course h1{
    text-align: center;
    font-size: 2.5rem;
    font-weight: bolder;
    margin: 20px;
}
#course #container{
    display: flex;
    justify-content: center;
}
/* Animation keyframes */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
#course #container .card{
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    height: 350px;
    width: 280px;
    margin: 15px;
    box-shadow: 0 0px 2px #000;
    padding: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* Active animation class */
#course #container .card.animate {
    animation: zoomIn 0.8s ease forwards;
}
/* Staggered delays */
#course #container .card.animate:nth-child(1) {
    animation-delay: 0.2s;
}
#course #container .card.animate:nth-child(2) {
    animation-delay: 0.4s;
}
#course #container .card.animate:nth-child(3) {
    animation-delay: 0.6s;
}
#course #container .card.animate:nth-child(4) {
    animation-delay: 0.8s;
}
#course #container .card h3{
    font-size: 1.2rem;
    color: #000000;
}
#course #container .card h4{
    font-size: 0.8rem;
    color: rgb(29, 53, 87);
}
#course #container .card .cont{
    line-height: 2rem;
}
.checked {
  color: orange;
}
#course #container .card .btn{
    float: right;
    padding: 5px;
    background-color: rgb(29, 53, 87);
    color: #fff;
    font-size: 15px;
    width: 80px;
    text-align: center;
    border-radius: 10px;
}
#course #vmc{
    position: absolute;
    padding: 20px;
    background-color: rgb(29, 53, 87);
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
}
#facility{
    position:absolute;
    top:290%;
    left:0%;
    height:70%;
    width:100%;   
    display: flex;
    justify-content: center;
    overflow: hidden;
}
#facility .col{
    display: inline-flex;
    background-color: rgb(255, 255, 255);
    flex-wrap: wrap;
    margin: 20px;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    width: 50%;
    height: 80%;
    padding: 30px;
}
#facility .col h1{
    font-size: 3rem;
    margin-top: 10px;
    margin-bottom: 10px;
}
#facility .col .lst{
    margin: 20px;
    line-height: 2rem;
}
#facility .col:last-child{
    width: 30%;
}
#facility .col:last-child img{
    padding: 0%;
    height: 100%;
    width: 100%;
}
#facility .col p{
    line-height: 1.6;
    text-align: justify;
}
/* Zoom-in keyframes */
@keyframes zoomIn2 {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Default hidden state */
#facility .col {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

/* Animate when visible */
#facility .col.animate {
    animation: zoomIn2 0.8s ease forwards;
}

/* Add small delay between text + image */
#facility .col.animate:nth-child(1) {
    animation-delay: 0.2s;
}
#facility .col.animate:nth-child(2) {
    animation-delay: 0.4s;
}
#facility .col:last-child #exp{
    position: absolute;
    bottom:-1%;
    left:-5%;
    height: 100px;
    width:120px;
    box-shadow: 0 0px 2px #000;
    background-color:rgb(197, 220, 252);
    display: grid;
    justify-content: center;
    place-items: center;
    align-content: center;
    border-radius: 10px;
}
#facility .col:last-child #exp span{
    font-size: 1.5rem;
    font-weight: bolder;
    color: rgb(29, 53, 87);
}
#contact{
    position: absolute;
    top:360%;
    left:0%;
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    place-items: center;
    overflow: hidden;
}
.contact-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.contact-info.animate, .contact-form.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Info Items */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item i {
  background: #0c1122;
  color: #fff;
  font-size: 18px;
  padding: 15px;
  border-radius: 50%;
  margin-right: 15px;
  height: 20px;
  width: 20px;
  display: grid;
  place-items: center;
}

.info-item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.info-item p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #444;
}

.map {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form .row {
  display: flex;
  gap: 15px;
}

.contact-form .row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  width: 93%;
}

.contact-form button {
  padding: 12px;
  background: #0c1122;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #000;
}


/* Footer Styles */
.footer {
  position:absolute;
  top:440%;
  left:0%;
  width:100%;
  background-color: #0c1122;
  color: #dcdcdc;
  padding-top: 40px;
  padding-bottom: 20px;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 80%;
  margin: 0 25px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-column ul li a {
  color: #dcdcdc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.logo-box {
  background-color: #fff;
  color: rgb(29, 53, 87);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
}

.small-text {
  font-size: 0.8rem;
  color: #ccc;
}

.footer hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}
/* ---------------------------------------------------
      RESPONSIVE DESIGN (MAX-WIDTH: 450PX)
----------------------------------------------------*/
@media screen and (max-width:450px){

    /* NAVBAR */
    #navbar{
        height:10%;
    }
    #navbar #navup{
        display: none;
    }
    #navbar #navdn{
        top:0;
        height:100%;
    }
    #navbar #logo a img{
        height:50px;
        width:50px;
        top:50%;
        left:45%;
        transform:translate(-50%, -50%);
    }
    #navbar #navdn #menu{
        display:none;
    }
    #navbar #navbtn{
        position:absolute;
        top:50%;
        right:5%;
        transform:translateY(-50%);
        height:50px;
        width:50px;
    }
    #navbar #navbtn button{
        height:100%;
        width:100%;
        font-size:1.8rem;
        background:transparent;
        border:none;
        color:darkblue;
    }
    #titl{
        display:block;
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%);
    }
    #titl h1{
        color:#0c1122;
    }
    #nav{
        z-index:1;
    }

    /* HERO */
    .hero{
        top:10%;
        height:90%;
        background-image:url("../images/bg/bg2.png");
    }
    .hero-content{
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        margin-left:0;
        background:rgba(0,0,0,0.5);
        display:grid;
        place-items:center;
        align-content:center;
    }
    .hero-content h1{
        font-size:2.5rem;
        margin:25px;
    }
    .hero-content p{
        font-size:1rem;
        margin:25px;
        text-align:justify;
    }
    .hero-btns{
        justify-content:center;
        flex-wrap:wrap;
    }
    .btn{
        padding:10px 25px;
        font-size:0.9rem;
    }
    .hero-image img{
        max-width:350px;
        margin-top:20px;
    }

    /* COUNTERS (Fret) */
    .counters{
        gap:10px;
    }

    /* ABOUT */
    #about{
        top:200%;
        flex-direction:column;
        height:auto;
        width:100%;
        padding:20px 0;
    }
    #about .col{
        width:90%;
        height:auto;
        margin:10px 0;
        padding:20px;
        justify-content:center;
        text-align:center;
    }
    #about .col:last-child{
        width:100%;
        padding:0;
        height:auto;
    }
    #about .col:last-child img{
        width:100%;
        height:auto;
        object-fit:cover;
    }
    #about .col p{
        font-size:14px;
        line-height:1.5;
    }
    #about .col a{
        width:120px;
        height:45px;
        font-size:14px;
        margin-top:10px;
    }
    #about-info{
        transform:scale(0.9);
    }
    #about-pic{
        transform:translateX(0);
    }
   #course{
        position:absolute;     /* IMPORTANT */
        top:350%;
        height:80%;
        width: 90%;
        padding:30px 15px;
    }

    #course h1{
        font-size:2rem;
    }

    /* Scroll container */
    #course #container{
        width:100%;
        display:flex;
        gap:10px;
        overflow: hidden;
        overflow-x:scroll;
        padding:10px 5px;
        justify-content:flex-start;
    }

    /* Hide scrollbar */
    #course #container::-webkit-scrollbar{
        display:none;
    }

    /* Cards */
    #course #container .card{
        min-width:80%;
        max-width:250px;
        height:auto;
        flex-shrink:0;
        margin:0 auto;
        opacity:1;
        transform:scale(1);
    }

    #contact{
        position: absolute;
        top: 440%;          /* adjust as per your design */
        width: 100%;
        height: auto;
        display: block;
    }

    .contact-container{
        display: flex;
        flex-direction: column-reverse;
        width: 90%;
        gap: 20px;
    }

    .contact-info, 
    .contact-form{
        width: 85%;
        min-height: auto;
        padding: 20px;
        box-shadow: 0 0px 10px rgba(0,0,0,0.1);
    }

    /* Info Items */
    .info-item{
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .info-item i{
        padding: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Contact Form */
    .contact-form form{
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-form .row{
        flex-direction: column;
        gap: 12px;
    }

    .contact-form input,
    .contact-form textarea{
        width: 90% !important;
        font-size: 0.95rem;
        padding: 12px;
    }

    .contact-form button{
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        margin-top: 10px;
    }

    /* Google Map */
    .map iframe{
        width: 100%;
        height: 200px;
        border: none;
    }
    .footer{
        position: absolute;
        top:610%;
    }
    /* HIDE COURSE & FACILITY (your request) */

    #facility{
        display:none;
    }
}
