html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #ffffff;
}
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

/* NAVBAR */
.header{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  z-index:1000;
  transition:0.3s;
}

/* NAV CONTAINER */
.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 5%;
}

/* LOGO */
.logo img{
  height:65px;
  
}

/* LINKS */
.nav-links{
  display:flex;
  list-style:none;
}

.nav-links li{
  margin-left:25px;
}

.nav-links a{
  text-decoration:none;
  color:#fff; /* visible on video */
  font-weight:500;
  transition:0.3s;
}

.nav-links a:hover{
  color:#0077ff;
}

/* SCROLL NAVBAR */
.header.scrolled{
  background:#ffffffa1;
  backdrop-filter: blur(12px);          /* 🔥 main blur */
  -webkit-backdrop-filter: blur(12px); 
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.header.scrolled .nav-links a{
  color:#111;
}

.header.scrolled .logo img{
  filter:none;
}

/* MOBILE */
.menu-toggle{
  display:none;
  font-size:1.6rem;
  color:#fff;
  cursor:pointer;
}

@media(max-width:768px){

  .menu-toggle{
    display:block;
  }

  .nav-links{
    position:absolute;
    top:70px;
    right:-100%;
    flex-direction:column;
    background:#fff;
    width:220px;
    padding:20px;
    transition:0.3s;
  }

  .nav-links li{
    margin:15px 0;
  }

  .nav-links a{
    color:#111;
  }

  .nav-links.active{
    right:0;
  }
}

/* HERO */
.hero{
  height:100vh;
  position:relative;
  overflow:hidden;
}

/* VIDEO */
.hero video{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* DARK OVERLAY */
.hero::after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  top:0;
  left:0;
  z-index:1;
}

/* CONTENT */
.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0 8%;
  max-width:900px;
}

/* TEXT */
.hero-content h1{
  font-size:3rem;
  color:#fff;
  text-shadow:0 4px 20px rgba(0,0,0,0.8);
}

.hero-content span{
  color:#0077ff;
}

.hero-content p{
  margin-top:20px;
  color:rgba(255,255,255,0.9);
  font-size:1.2rem;
  text-shadow:0 2px 10px rgba(0,0,0,0.7);
}

/* BUTTONS */
.buttons{
  margin-top:30px;
}

.btn{
  padding:14px 30px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  margin-right:15px;
  transition:0.3s;
}

.primary{
  background:#0077ff;
  color:#fff;
}

.primary:hover{
  background:#005edb;
  transform:translateY(-3px);
}

.secondary{
  border:2px solid #fff;
  color:#fff;
}

.secondary:hover{
  background:#fff;
  color:#111;
}

/* MOBILE HERO */
@media(max-width:768px){
  .hero-content h1{
    font-size:2.2rem;
  }

  .hero-content{
    padding:0 5%;
  }
}
/* ABOUT SECTION */
.about {
  padding: 80px 8%;
  background: #f9fbff;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* IMAGE */
.about-image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 20px;
}

.about-image img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* CONTENT */
.about-content {
  flex: 1;
  min-width: 300px;

  opacity: 0;
  transform: translateY(40px);
}

.about-content.active {
  opacity: 1;
  transform: translateY(0);
  transition: 1s ease;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #111;
}

.about-content p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* CARDS */
.about-cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.card {
  background: #fff;
  padding: 15px 12px;   /* smaller padding */
  border-radius: 12px;
  flex: 0 0 190px;      /* fixed smaller width */
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-4px) scale(1.03);
}

/* TEXT SMALLER */
.card h3 {
  color: #0077ff;
  font-size: 1.0rem;
}

.card p {
  font-size: 1.0rem;
  color: #0077ff;
  
}
/* MOBILE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-content h2 {
    font-size: 2rem;
  }
  .about-cards{
    align-items: right;
    justify-content: center;
  }
}
/* FACILITIES SECTION */
.facilities {
  padding: 80px 8%;
  background: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #111;
}

/* GRID */
.facilities-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* CARD */
.facility-card {
  background: #f9fbff;
  padding: 30px 20px;
  border-radius: 18px;
  transition: 0.4s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);

  opacity: 0;
  transform: translateY(40px);
}

.facility-card.active {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}

/* ICON */
.facility-card img {
  width: 60px;
  margin-bottom: 15px;
}

/* TEXT */
.facility-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.facility-card p {
  font-size: 0.9rem;
  color: #555;
}

/* HOVER */
.facility-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: #0077ff;
}

.facility-card:hover h3,
.facility-card:hover p {
  color: #fff;
}

.facility-card:hover img {
  filter: brightness(0) invert(1);
}

/* MOBILE */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}
/* ACADEMICS SECTION */
.academics {
  padding: 80px 8%;
  background: #f9fbff;
  text-align: center;
}

.academics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* CARD */
.academic-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.4s;

  opacity: 0;
  transform: translateY(40px);
}

.academic-card.active {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}

/* TEXT */
.academic-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0077ff;
}

.academic-card p {
  font-size: 0.95rem;
  color: #555;
}

/* HOVER EFFECT */
.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .academics {
    padding: 60px 5%;
  }
}
/* WHY CHOOSE US */
.why {
  padding: 80px 8%;
  background: #ffffff;
}

.why-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* TEXT */
.why-text {
  flex: 1;
  min-width: 300px;

  opacity: 0;
  transform: translateX(-40px);
}

.why-text.active {
  opacity: 1;
  transform: translateX(0);
  transition: 1s ease;
}

.why-text h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #111;
}

.why-text p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* POINTS */
.why-points .point {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.point span {
  color: #0077ff;
  font-size: 1.2rem;
  margin-right: 10px;
}

.point p {
  color: #333;
  font-size: 0.95rem;
}

/* IMAGE */
.why-image {
  flex: 1;
  min-width: 300px;
}

.why-image img {
  width: 100%;
  border-radius: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .why-container {
    flex-direction: column;
  }

  .why-text h2 {
    font-size: 2rem;
  }
}
/* GALLERY SECTION */
.gallery {
  padding: 80px 8%;
  background: #f9fbff;
  text-align: center;
}

/* GRID */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  gap: 15px;
}

/* IMAGE BOX */
.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* OPTIONAL: DIFFERENT SIZES FOR PREMIUM LOOK */
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-row: span 2;
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
}
/* GALLERY PREVIEW */
.gallery-preview {
  padding: 80px 8%;
  text-align: center;
  background: #f9fbff;
}

.gallery-text {
  max-width: 600px;
  margin: 15px auto 25px;
  color: #555;
  font-size: 0.95rem;
}
/* FOUNDER SECTION */
.founders {
  padding: 80px 8%;
  background: #f9fbff;
  text-align: center;
}

.founders-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* CARD */
.founder-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.founder-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.founder-image {
  width: 120px;
  height: 120px;
  margin: auto;
  margin-bottom: 15px;
  border-radius: 50%;
  overflow: hidden;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.founder-card h3 {
  font-size: 1.2rem;
  color: #111;
}

.role {
  color: #0077ff;
  font-weight: 500;
  margin: 5px 0;
}

.desc {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
}

/* MOBILE */
@media (max-width: 768px) {
  .founder-card {
    max-width: 100%;
  }
}
/* CONTACT SECTION */
.contact {
  padding: 80px 8%;
  background: #ffffff;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: auto;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;

  opacity: 0;
  transform: translateY(40px);
}

.contact-form.active {
  opacity: 1;
  transform: translateY(0);
  transition: 1s ease;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

/* BUTTON */
.contact-form button {
  background: #0077ff;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #005edb;
  transform: translateY(-2px);
}
/* FOOTER */
.footer {
  background: #f1f5ff;
  padding: 60px 8% 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* BOX */
.footer-box {
  flex: 1;
  min-width: 220px;
}

.footer-box h3 {
  margin-bottom: 15px;
  color: #111;
}

.footer-box p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* LINKS */
.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #555;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #0077ff;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #666;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}

/* FORM */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  transition: 0.3s;
}

.contact-form:hover {
  transform: translateY(-5px);
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

/* BUTTON */
.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #0a1f44;
  color: white;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: gold;
  color: black;
}
