/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
.top-header {
  background: #061e3e;
  color: #fff;
  font-size: 14px;
  width: 100%;
}

.top-header .student-corner {
  color: #ffffff;
  font-size: 15px;
}

/* ===== CONTAINER ===== */
.top-header-container {
  width: 100%;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  /* Important for one row */
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-header-container::-webkit-scrollbar {
  display: none;
}

/* ===== LEFT INFO ===== */
.header-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 1;
  min-width: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}


.info-item i:hover {
  transform: translateY(-2px) scale(1.08);
}
.info-item i {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;

  color: #ffffff;
  transition: all 0.3s ease;
}

.info-item:nth-child(1) i {
  background: linear-gradient(135deg, #00c853, #009624);
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
}

/* Phone 2 */
.info-item:nth-child(2) i {
  background: linear-gradient(135deg, #2962ff, #0039cb);
  box-shadow: 0 4px 10px rgba(41, 98, 255, 0.3);
}

/* Email */
.info-item:nth-child(3) i {
  background: linear-gradient(135deg, #ff6d00, #e65100);
  box-shadow: 0 4px 10px rgba(255, 109, 0, 0.3);
}

.info-item a {
  color: #ffffff;
  transition: 0.3s ease;
  font-size: 14px;
}

.info-item a:hover {
  color: #d32f2f;
}

/* ===== SOCIAL ICONS ===== */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}


/* ===== SOCIAL ICONS ===== */
.social-icon {
  width: 38px;
  height: 38px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
}


.social-icon i {
  color: #333;
  font-size: 15px;
  transition: 0.3s;
}

/* Facebook */
.social-icon.facebook {
  color: #1877f2;
  border: 2px solid #1877f2;
}

/* Instagram */
.social-icon.instagram {
  color: #e4405f;
  border: 2px solid #e4405f;
}

/* Youtube */
.social-icon.youtube {
  color: #ff0000;
  border: 2px solid #ff0000;
}
/* Hover */
.social-icon.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  transform: translateY(-3px);
}

.social-icon.instagram:hover {
  background: #e4405f;
  color: #ffffff;
  transform: translateY(-3px);
}

.social-icon.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  transform: translateY(-3px);
}

.social-icon:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

/* ===== BUTTONS ===== */
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 9px 16px;
  font-size: 14px;

  border: none;
  border-radius: 6px;

  background-color: #f44444;
  color: #ffffff;

  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;

  flex-shrink: 0;
}

.login-btn i {
  font-size: 13px;
}

.login-btn:hover {
  background-color: #d21616;
}

/* ===== ADMISSION BUTTON ===== */
.admission-action-area {
  flex-shrink: 0;
}

.admission-action-area .btn-glow-custom-style {
  background-color: #000080;
  color: #fff100;

  padding: 9px 14px;

  border: 2px solid #fff100;
  border-radius: 8px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.3s ease;
  text-transform: uppercase;

  animation: high-alert-pulse 2s infinite;

  white-space: nowrap;
}

.admission-action-area .btn-glow-custom-style i {
  color: #fff100;
}

/* ===== ANIMATION ===== */
@keyframes high-alert-pulse {
  0% {
    background-color: #000080;
    box-shadow: 0 0 0 0 rgba(0, 0, 128, 0.7);
  }

  33% {
    background-color: #fff100;
    color: #000080;
    box-shadow: 0 0 15px 5px rgba(255, 241, 0, 0.5);
  }

  66% {
    background-color: #ff0000;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.6);
  }

  100% {
    background-color: #000080;
    box-shadow: 0 0 0 0 rgba(0, 0, 128, 0);
  }
}

.admission-action-area .btn-glow-custom-style:hover {
  animation-play-state: paused;
  transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .top-header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 12px;
    text-align: center;
  }

  .header-info {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-social {
    justify-content: center;
  }

  .info-item a {
    font-size: 13px;
  }

  .login-btn,
  .admission-action-area .btn-glow-custom-style {
    width: 100%;
    justify-content: center;
  }
}

/* ===== FIX OVERLAP ISSUE ===== */
.top-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.info-item a {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Social icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Buttons */
.login-btn,
.admission-action-area {
  flex-shrink: 0;
}

/* Reduce button size slightly */
.login-btn,
.admission-action-area .btn-glow-custom-style {
  padding: 8px 12px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .top-header-container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .top-header-container {
    flex-direction: column;
    align-items: center;
  }

  .header-info {
    justify-content: center;
    flex-wrap: wrap;
  }
}