/* ==========================
   Global Styles
   ========================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #860397;
  margin-bottom: 1rem;
  text-align: center;
}

.lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn,
.btn-primary,
.btn-outline,
.btn-apply,
.btn-gallery {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.4s, color 0.4s, border-radius 0.4s;
}

.btn-primary,
.btn-apply,
.btn-gallery {
  background-color: #730594;
  color: #fff;
  border: none;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #730594;
  color: #ffffff;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-apply:hover,
.btn-gallery:hover {
  opacity: 0.9;
  background-color: #d3d3f0;
  color: #730594;
  border: 2px solid #ab7af5;
  border-radius: 10px;
}

/* Apply Button */
.nav-buttons {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-buttons li a {
  text-decoration: none;
  color: #ffffff;
  list-style: none;
}
.btn-apply {
  color: #ffffff;
  text-decoration: none;
  border-radius: 0px;
  background-color: #730594;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  transition: background-color 0.4s ease;
}
.btn-apply:hover {
  background-color: #f6dcfd;
  color:#000000;
  border-radius: 10px;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}

.animated-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 12px #730594;
}

.animated-card {
  transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}

.animated-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 32px rgba(135,66,245,0.18);
}
/* Hero */
    .apply-hero {
      background: url('images/1.jpg') center/cover no-repeat;
      height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      color: white;
      text-align: center;
    }
    .apply-hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
    }
    .apply-hero h1 {
      position: relative;
      font-size: 3rem;
      z-index: 1;
    }
    .eyebrow{
      color: #ffffff;
      font-size: 24px;
      letter-spacing: 2px;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    
/* ==========================
   Navbar with background image
   ========================== */
.navbar {
  color: #000000;
  position: sticky;
  top: 0;
  margin-top: 5px;
  height: 60px;
  z-index: 1000;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  background-color: white;
}


.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;  /* thickness of progress bar */
  width: 0%;    /* start empty */
  background-color: #730594; /* your purple */
  transition: width 0.1s linear;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: #070707;
  margin-left: 0.5rem;
}

.navbar-logo-img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #730594;
  box-shadow: 0 1px 4px rgba(135,66,245,0.10);
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  color: #730594;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.1rem 0.7rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: #000;
  background: #f6dcfd;
}

.navbar-menu li:hover {
  border-bottom: 2px solid#730594;
  border-left: 2px solid#730594;
  color: #730594;
}


.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #730594;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .navbar-toggle {
    display: block;
  }
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    border-radius: 0 0 1rem 1rem;
  }
  .navbar-menu.active {
    display: flex;
  }
  .nav-buttons {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    display: none;
  }
  
}
#scroll-progress {
  position: fixed;
  top: 60px; /* Adjust based on navbar height */
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #ff6600, #ae00ff);
  width: 0%;
  z-index: 1000;
  transition: width 0.25s ease-out;
}


/* ==========================
   Hero Section
   ========================== */
.hero {
  position: relative;
  background: url('images/background.JPG') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
}

.hero-sub {
  margin: 1rem auto 2rem;
  max-width: 600px;
}

.hero-ctas .btn {
  margin: 0.5rem;
}

/* Image Mosaic Section */
.image-mosaic {
  padding: 2rem 0;
  background: #b4b3b4;
  text-align: center;
}

.mosaic-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns, can adjust */
  grid-template-rows: repeat(2, 150px); /* 2 rows, can adjust */
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.mosaic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.gallery-button {
  margin-top: 1.5rem;
}

.btn-gallery {
  background-color: #730594;
  color: #fff;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-gallery:hover {
  background-color: #d3d3f0;
  color:#730594;
  border: 2px solid #ab7af5;
}
/* ==========================
   About, Academics, Facilities
   ========================== */
.about{
  opacity: 0.95;
   background-color: rgba(190, 188, 188, 0.788);
}
.academics{
  background-image: url('images/academics-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}
.values-grid,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card,
.card {
  background: #947394;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.facilities-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.facilities-list li {
  background: #f9f9f9;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border-left: 4px solid #c09bfc;
}
/* Facilities Section */
.facilities {
  padding: 60px 20px;
  background-image: url('images/_background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

.facilities .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.facility-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  gap: 30px;
}

.facility-item.reverse {
  flex-direction: row-reverse;
}

.facility-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 2px solid #ffffff;
}

.facility-text {
  flex: 1;
}

.about h4,
.academics h4{
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #7700ff;
}
#about .lead {
  color: #0c0c0c; 
  font-size: 1.2rem;
}
.facility-text h4{
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #dc86f1;
}
.about p{
  color: whitesmoke;
}
.facility-text p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .facility-item,
  .facility-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .facility-image img {
    max-width: 100%;
  }
}

/* ==========================
   Contact Section
   ========================== */
.contact{
   background-image: url('images/footer-bg.jpg');
   background-size: cover;
   background-repeat: no-repeat;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background: #8742f5;
  color: #fff;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    text-align: center;
  }
}
/* ==========================
   Team Section
   ========================== */
.team-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffffff, #887c9c);
  text-align: center;
}
.team-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #222;
}
.team-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.team-member {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 220px;
}
.team-member,
.large-card {
  max-width: 260px;
}
.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
.team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid #ccb1e2;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}
.team-member:hover .team-photo {
  filter: brightness(1);
}
.team-info {
  padding: 1rem;
}
.team-name {
  font-size: 1.25rem;
  color: #333;
  margin: 0.3rem 0;
}
.team-role {
  font-size: 1rem;
  color: #8742f5;
  font-weight: 500;
}
/* ==========================
   Footer
   ========================== */
.footer {
  background: rgb(129, 42, 179);
  color: #ffffff;
  text-align: center;
  padding: 0.1rem 0;
}

.footer a {
  color: #ffffff;
  text-decoration: underline;
}

.footer a:hover {
  color: #fff176;
}
.footer-icons {
  position: relative;
}
.footer-icons a{
  font-size: 20px;
}
/* ==========================
   Splash Screen
   ========================== */
#splash-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s;
}

.splash-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 24px rgba(135,66,245,0.13);
  animation: splashLogoPop 1.2s cubic-bezier(.4,2,.6,1);
}

.splash-title {
  color: #8742f5;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  animation: splashTitleFade 1.2s 0.3s both;
}

@keyframes splashLogoPop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes splashTitleFade {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}
