/* RESET + BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: #f0f4f8;
  color: #333;
}

/* HEADER */
.header {
  background: #003366;
  color: white;
  padding: 15px 10%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.college-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.college-name {
  font-size: 22px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #ffd700;
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  background: linear-gradient(to right, #ffffff, #e6f2ff);
  min-height: 90vh;
}

.hero-text {
  max-width: 600px;
  animation: fadeInLeft 1.5s ease-in;
}

.hero-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #003366;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-image img {
  width: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: fadeInRight 1.5s ease-in;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #003366;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #0059b3;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: #003366;
  color: white;
  font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-section {
    justify-content: center;
    margin-bottom: 15px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 5%;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-image img {
    width: 100%;
    max-width: 100%;
  }

  .courses-grid,
  .gallery-grid,
  .contact-container {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  .course-card,
  .gallery-item,
  .contact-form,
  .contact-info,
  form.admission-form {
    width: 100%;
    margin: auto;
  }

  form.admission-form {
    padding: 20px;
  }

  footer p {
    font-size: 13px;
    padding: 10px;
  }
}

/* CONTACT SECTION */
.contact-section {
  background-color: #f3f9ff;
  padding: 60px 20px;
  text-align: center;
}

.contact-box {
  max-width: 700px;
  margin: auto;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
  color: #002B5B;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #444;
}

.contact-icon {
  margin-right: 12px;
  font-size: 18px;
  color: #0077cc;
  min-width: 22px;
}

.contact-item a {
  color: #0077cc;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.social-media {
  margin-top: 25px;
  text-align: center;
}

.social-media a {
  display: inline-block;
  margin: 0 12px;
  font-size: 20px;
  color: #002B5B;
  transition: 0.3s;
}

.social-media a:hover {
  color: #0077cc;
}

/* VIDEO */
#video-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  width: 60%;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#introVideo {
  opacity: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

#introVideo:hover {
  transform: scale(1.01);
}
/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  background: #003366;
  padding: 15px 10%;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-mobile ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

/* Toggle Menu Open */
.nav-mobile.open {
  display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .header .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .college-name {
    font-size: 18px;
  }

  .college-logo {
    width: 50px;
    height: 50px;
  }
}
.admin-login-btn {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.admin-login-btn:hover {
    background: #0056b3;
}
