/* ===== GLOBAL RESET ===== */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f6f6f6;
  color: #333;
}

/* ===== HEADER ===== */
header {
  background-color: #011f4b;
  padding: 10px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1300px;
}

.logo img,
.college-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo,
.college-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

#navbar-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

#navbar-menu li a:hover {
  color: #00b4d8;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #011f4b;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 8px 20px;
  font-size: 0.9em;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #1a4276;
}

/* Mobile Navbar */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  #navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #011f4b;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  #navbar-menu.active {
    display: flex;
  }

  #navbar-menu li {
    border-top: 1px solid #1a4276;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #1a4276;
    box-shadow: none;
  }
}

/* ===== HERO (SPACE BACKGROUND) ===== */
.space-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.zooming-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("https://static.vecteezy.com/system/resources/previews/028/897/887/original/digital-hud-circle-tech-technology-adstract-blue-light-futuristic-background-vector.jpg");
  background-size: cover;
  background-position: center;
  animation: zoomInOut 10s infinite alternate ease-in-out;
}

@keyframes zoomInOut {
  0% { transform: scale(1); }
  100% { transform: scale(1.3); }
}

.content {
  position: relative;
  z-index: 10;
  max-width: 90%;
}

.space-background h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 10px rgba(1, 31, 75, 0.7);
}

.space-background h2 {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  color: #eee;
  margin-bottom: 25px;
  font-style: italic;
}

/* Animated elements */
.animated-design {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.circuit-line {
  position: absolute;
  width: 2px;
  height: 100vh;
  background-color: white;
  opacity: 0.3;
  animation: moveCircuit 5s linear infinite;
}

@keyframes moveCircuit {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

.gear {
  position: absolute;
  font-size: clamp(30px, 5vw, 60px);
  color: lightblue;
  opacity: 0.5;
  animation: rotateGear 6s linear infinite;
}

@keyframes rotateGear {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gear:nth-child(1) { left: 5%; top: 10%; animation-duration: 4s; }
.gear:nth-child(2) { right: 5%; bottom: 15%; animation-duration: 6s; }
.gear:nth-child(3) { left: 40%; top: 5%; animation-duration: 8s; }
.gear:nth-child(4) { right: 30%; bottom: 30%; animation-duration: 10s; }
.gear:nth-child(5) { left: 60%; top: 30%; animation-duration: 5s; }
.gear:nth-child(6) { right: 20%; bottom: 50%; animation-duration: 7s; }

@media (max-width: 768px) {
  .gear { font-size: clamp(20px, 4vw, 40px); }
  .circuit-line { width: 1px; opacity: 0.2; }
}

/* ===== DIVIDER ===== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto 40px;
  width: 40%;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: #d4af37;
}

.diamond1,
.diamond {
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
}

.diamond1 { background-color: #ffd700; }
.diamond { background-color: #ffa500; }
.diamond1 + .diamond { margin-left: -7px; }

/* ===== CORE TEAM SWIPER ===== */
.core-team {
  padding: 50px 20px;
  text-align: center;
  background-color: #f6f6f6;
}

.core-team h2 {
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #011f4b;
}

.swiper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.swiper-slide {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #011f4b !important;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .swiper { padding: 0 10px; }
  .swiper-button-next,
  .swiper-button-prev { transform: scale(0.7); }
}

/* ===== ACHIEVEMENT SLIDER ===== */
.achievement-slider-container {
  max-width: 1000px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
}

.achievement-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0 10%;
  opacity: 0;
}

.achievement-card {
  min-width: 80%;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-card.active {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.achievement-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.achievement-content { padding: 20px; }

.achievement-title {
  color: #011f4b;
  font-size: 1.25rem;
}

.achievement-description {
  color: #666;
  font-size: 0.9em;
}

.achievement-date {
  color: #d4af37;
  font-weight: bold;
  font-size: 0.85em;
}

@media (min-width: 768px) {
  .achievement-card { min-width: 30%; }
}

/* ===== PROFILE / FACULTY ===== */
.footcontainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  padding: 40px 20px;
  margin: 0 auto;
}

.profile-card {
  background-color: #011f4b;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.profile-card:hover { transform: translateY(-5px); }

.background-image {
  background-color: #E6E6E6;
  height: 120px;
}

.profile-info {
  text-align: center;
  padding: 20px;
}

.profile-image {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  margin-top: -85px;
  border: 5px solid #fff;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.profile-info h3 {
  margin-top: 10px;
  font-size: 1.5em;
  color: #f6f6f6;
}

.profile-info h5 {
  color: #bab8b8;
  margin-top: 5px;
}

.profile-info p {
  font-size: 1em;
  color: #bab8b8;
  margin-top: 15px;
}

hr {
  margin: 15px auto;
  border: 0;
  border-top: 1px solid #bab8b8;
  width: 85%;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #E6E6E6;
  font-size: 1.5em;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover { color: #ffd700; }

/* ===== STATS SECTION ===== */
.stats {
  padding: 50px 20px;
  text-align: center;
  background-color: #e9ecef;
}

.stats h1 {
  color: #011f4b;
  margin-bottom: 20px;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.stat-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 250px;
  flex: 1;
  transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-3px); }

.stat-number {
  font-size: 3em;
  color: #d4af37;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.stat-label {
  font-size: 1.1em;
  color: #011f4b;
  font-weight: 500;
}

@media (max-width: 600px) {
  .stats-grid { flex-direction: column; }
  .stat-card { min-width: 100%; }
}

/* ===== FOOTER ===== */
.footer {
  background-color: #011f4b;
  padding: 60px 20px;
  color: white;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer h4 {
  color: #d4af37;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.footer hr {
  border-top: 2px solid #376ec1;
  width: 50px;
  margin-bottom: 20px;
}

.footer p, .footer a {
  color: #bab8b8;
  font-size: 0.95em;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer a:hover { color: #ffd700; }

.copyright {
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #1a4276;
  text-align: center;
  font-size: 0.85em;
}

.copyright a {
  color: #d4af37;
  text-decoration: underline;
}

.copyright a:hover { color: white; }
