/* ================================================
   GURUKUL INSTITUTE - HEADER & FOOTER STYLES
   ================================================ */

/* === TOP BAR === */
.gi-top-bar {
  background: #1a2340;
  border-bottom: 1px solid rgba(255,224,102,0.15);
  padding: 7px 0;
}
.gi-top-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.gi-top-left span,
.gi-top-right a {
  color: #cdd6f4;
  font-size: 0.82rem;
  margin-right: 18px;
}
.gi-top-left span i,
.gi-top-right a i { color: #ffe066; margin-right: 5px; }
.gi-top-right a:hover { color: #ffe066; }

/* === MAIN NAVBAR === */
.gi-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}
.gi-main-nav {
  background: #1e2c5c;
  padding: 0;
}
.gi-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.gi-logo img {
  height: 52px;
  width: auto;
  background: white;
  border-radius: 6px;
  padding: 3px 8px;
}

/* === HAMBURGER === */
.gi-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 100;
}
.gi-hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #ffe066;
  border-radius: 2px;
  transition: 0.3s;
}

/* === NAV MENU === */
.gi-nav { display: flex; align-items: center; gap: 10px; }
.gi-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.gi-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e8eafc;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 22px 14px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  position: relative;
  letter-spacing: 0.3px;
}
.gi-menu > li > a:hover,
.gi-menu > li.active > a {
  color: #ffe066;
  background: rgba(255,224,102,0.07);
}
.gi-menu > li > a i.fa-chevron-down {
  font-size: 0.7rem;
  margin-top: 1px;
  transition: transform 0.3s;
}
.gi-has-dropdown:hover > a i.fa-chevron-down { transform: rotate(180deg); }

/* === DROPDOWN === */
.gi-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e2c5c;
  min-width: 220px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  display: none;
  z-index: 10000;
  border-top: 2px solid #ffe066;
}
.gi-has-dropdown { position: relative; }
.gi-has-dropdown:hover .gi-dropdown { display: block; }
.gi-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cdd6f4;
  font-size: 0.88rem;
  padding: 9px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.gi-dropdown li a:hover { background: rgba(255,224,102,0.12); color: #ffe066; }
.gi-dropdown li a i { color: #ffe066; font-size: 0.8rem; }
.gi-dropdown-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffe066;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 18px 4px;
  border-bottom: 1px solid rgba(255,224,102,0.1);
}

/* Wide Dropdowns */
.gi-dropdown-wide {
  min-width: 260px;
}
.gi-dropdown-cities {
  min-width: 200px;
}

/* === NAV CTA BUTTONS === */
.gi-nav-cta { display: flex; gap: 10px; align-items: center; }
.gi-btn-call {
  background: transparent;
  border: 2px solid #ffe066;
  color: #ffe066;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  text-decoration: none;
  transition: 0.2s;
}
.gi-btn-call:hover { background: #ffe066; color: #1a2340; }
.gi-btn-enroll {
  background: #ffe066;
  color: #1a2340;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.2s;
  border: none;
}
.gi-btn-enroll:hover { background: #ffc800; color: #1a2340; }

/* === FOOTER === */
.gi-footer { background: #0f1628; color: #cdd6f4; margin-top: 0; }
.gi-footer-main { padding: 60px 0 30px; }
.gi-footer-logo { height: 56px; background: white; padding: 4px 10px; border-radius: 6px; margin-bottom: 18px; }
.gi-footer-widget p { font-size: 0.88rem; color: #a0aec0; line-height: 1.7; margin-bottom: 18px; }
.gi-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.gi-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,224,102,0.08);
  border: 1px solid rgba(255,224,102,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #ffe066;
  font-size: 0.85rem;
  transition: 0.2s;
}
.gi-footer-social a:hover { background: #ffe066; color: #1a2340; }
.gi-footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffe066;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,224,102,0.15);
  letter-spacing: 0.5px;
}
.gi-footer-links { list-style: none; padding: 0; margin: 0; }
.gi-footer-links li { margin-bottom: 8px; }
.gi-footer-links a {
  color: #a0aec0;
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s;
}
.gi-footer-links a:hover { color: #ffe066; }
.gi-footer-links a::before { content: '› '; color: #ffe066; }
.gi-footer-cities { columns: 2; }
.gi-footer-contact { list-style: none; padding: 0; margin: 0; }
.gi-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.87rem;
  color: #a0aec0;
}
.gi-footer-contact li i { color: #ffe066; margin-top: 3px; min-width: 16px; }
.gi-footer-contact a { color: #a0aec0; text-decoration: none; }
.gi-footer-contact a:hover { color: #ffe066; }

/* Footer Bottom */
.gi-footer-bottom {
  background: #080e1d;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gi-footer-bottom p { color: #6b7280; font-size: 0.84rem; margin: 0; }
.gi-footer-bottom a { color: #ffe066; text-decoration: none; }
.gi-footer-bottom-links { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; justify-content: flex-end; }
.gi-footer-bottom-links a { color: #6b7280; font-size: 0.83rem; text-decoration: none; transition: color 0.2s; }
.gi-footer-bottom-links a:hover { color: #ffe066; }

/* === SCROLL TO TOP === */
.gi-scroll-top {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: #1e2c5c;
  border: 2px solid #ffe066;
  color: #ffe066;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 9000;
}
.gi-scroll-top.visible { opacity: 1; pointer-events: auto; }
.gi-scroll-top:hover { background: #ffe066; color: #1a2340; }

/* === WHATSAPP FLOAT === */
.gi-whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  z-index: 9001;
  transition: transform 0.2s;
  animation: pulse-wa 2s infinite;
}
.gi-whatsapp-float:hover { transform: scale(1.12); color: white; }
@keyframes pulse-wa {
  0%,100%{box-shadow:0 4px 18px rgba(37,211,102,0.4);}
  50%{box-shadow:0 4px 32px rgba(37,211,102,0.7);}
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .gi-hamburger { display: flex; }
  .gi-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0f1628;
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 0 30px;
    transition: right 0.35s;
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    z-index: 9998;
  }
  .gi-nav.open { right: 0; }
  .gi-menu { flex-direction: column; width: 100%; gap: 0; }
  .gi-menu > li > a { padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .gi-dropdown {
    position: static;
    display: none;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    padding: 0;
  }
  .gi-has-dropdown.open-mobile .gi-dropdown { display: block; }
  .gi-dropdown li a { padding: 10px 32px; font-size: 0.85rem; }
  .gi-nav-cta { padding: 16px 22px; flex-direction: column; width: 100%; }
  .gi-btn-call, .gi-btn-enroll { width: 100%; text-align: center; }
  .gi-top-left { display: none; }
  .gi-footer-cities { columns: 1; }
  .gi-footer-bottom-links { justify-content: flex-start; margin-top: 8px; }
}
@media (max-width: 576px) {
  .gi-top-bar { display: none; }
  .gi-footer-main { padding: 40px 0 20px; }
}
