/* ===== GOOGLE FONT ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

/* ===== COLOR PALETTE (LOGO MATCH) ===== */
:root {
  --primary-blue: #062d73;
  --secondary-blue: #0b4db3;
  --red: #d61f26;
  --gold: #ffcc29;
  --white: #ffffff;
  --light-bg: #f4f7fc;
  --text-dark: #1d1d1d;
}

/* ===== HEADER ===== */
.top-header {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    #041a45
  );
  color: var(--white);
  position: relative;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 4px solid var(--red);
}

.top-header-container {
  width: 95%;
  margin: auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* ===== LEFT SECTION ===== */
.header-left {
  display: flex;
  align-items: center;
}

.school-logo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.school-logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 4px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(255, 204, 41, 0.4);
  transition: 0.4s ease;
}

.school-logo:hover {
  transform: rotate(5deg) scale(1.05);
}

.school-details h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.school-details p {
  color: var(--gold);
  font-size: 15px;
  margin-top: 4px;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ===== RIGHT SECTION ===== */
.header-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== CONTACT INFO ===== */
.header-info {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 50px;
  transition: 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.info-item i {
  width: 35px;
  height: 35px;
  background: var(--gold);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.info-item span {
  font-size: 14px;
  font-weight: 500;
}

/* ===== ACTION AREA ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ===== SOCIAL ICONS ===== */
.header-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: 0.3s ease;
  font-size: 16px;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
}

.facebook:hover {
  background: #1877f2;
  color: white;
}

.instagram:hover {
  background: #e1306c;
  color: white;
}

.youtube:hover {
  background: #ff0000;
  color: white;
}

/* ===== BUTTONS ===== */
.action-btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

/* Inquiry */
.inquiry-btn {
  background: linear-gradient(135deg, #ff5f6d, #d61f26);
}

/* Admission */
.admission-btn {
  background: linear-gradient(
    135deg,
    var(--gold),
    #ff9800
  );
  color: var(--primary-blue);
  animation: pulseGlow 2s infinite;
}

/* Prospectus */
.prospectus-btn {
  background: linear-gradient(
    135deg,
    var(--secondary-blue),
    #2196f3
  );
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* ===== GLOW EFFECT ===== */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(255, 204, 41, 0.5);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 204, 41, 0.8);
  }

  100% {
    box-shadow: 0 0 0 rgba(255, 204, 41, 0.5);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .top-header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-right {
    width: 100%;
    align-items: center;
  }

  .header-info,
  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .school-logo-wrap {
    flex-direction: column;
    text-align: center;
  }

  .school-details h2 {
    font-size: 22px;
  }

  .school-logo {
    width: 75px;
    height: 75px;
  }

  .header-info {
    flex-direction: column;
    width: 100%;
  }

  .info-item {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .school-details h2 {
    font-size: 18px;
  }

  .school-details p {
    font-size: 13px;
  }

  .info-item span {
    font-size: 12px;
  }
}