/* ==========================================
   SANSKAR ACADEMY - RESPONSIVE NAVBAR & TOP BAR (VANILLA CSS)
   ========================================== */

/* ---------- TOP BAR ---------- */
.top-bar {
  width: 100%;
  background: #0B2C5F;
  color: #ffffff;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar .left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-bar a.top-bar-item:hover {
  color: #FFD54F;
}

.top-bar i {
  color: #FFD54F;
  font-size: 13px;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  user-select: none;
}

.top-bar .right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar .right a {
  color: #e2e8f0;
  text-decoration: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.top-bar .right a:hover {
  background: #FFD54F;
  color: #0B2C5F;
  transform: translateY(-2px);
}

.top-bar .right a i {
  color: inherit;
  font-size: 12px;
}

/* ---------- STICKY HEADER & NAVBAR ---------- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-link img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logo-link:hover img {
  transform: scale(1.05);
}

.logo-text h2 {
  color: #0F172A;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin: 0;
}

.logo-text p {
  color: #d97706;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 2px 0 0 0;
}

/* Desktop Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0B2C5F;
  background-color: #f1f5f9;
}

.nav-link.active {
  font-weight: 700;
  background-color: #fef3c7;
  color: #0B2C5F;
}

/* Apply Now CTA Button */
.apply-btn {
  text-decoration: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  font-size: 24px;
  color: #0B2C5F;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
}

.hamburger-btn:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #d97706;
}

/* Mobile Navigation Dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 16px 20px 24px;
  gap: 8px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  text-decoration: none;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: #fffbeb;
  color: #0B2C5F;
}

.mobile-nav-link.active {
  font-weight: 700;
}

.mobile-nav-link i {
  font-size: 12px;
  color: #94a3b8;
}

.mobile-apply-container {
  margin-top: 8px;
  padding-top: 8px;
}

.mobile-apply-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .top-bar-container {
    padding: 0 16px;
    gap: 10px;
  }
  
  .top-bar .left {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 16px;
  }

  .logo-text h2 {
    font-size: 18px;
  }

  .logo-text p {
    font-size: 10px;
  }

  .logo-link img {
    width: 45px;
    height: 45px;
  }
  
  .nav-menu,
  header > .navbar > .apply-btn {
    display: none !important;
  }

  .hamburger-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding: 8px 0;
  }

  .top-bar-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .top-bar .left {
    justify-content: center;
    gap: 10px;
  }

  .top-bar-item {
    font-size: 12px;
  }

  .top-bar-divider {
    display: none;
  }

  .top-bar .right {
    gap: 12px;
  }
  
  .top-bar .right a {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================
   STANDARD WEB FOOTER STYLES
   ========================================== */
.site-footer {
  background: #04152f;
  color: #e2e8f0;
  padding: 80px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
}

/* Column 1: Brand */
.footer-col.brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  border: 2px solid #f59e0b !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-text h3 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-text .brand-sub {
  color: #f59e0b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  line-height: 1.1;
}

.footer-desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Headings */
.footer-heading {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #f59e0b;
  border-radius: 4px;
}

/* Column 2: Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 10px;
  color: #f59e0b;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover i {
  transform: translateX(2px);
}

/* Column 3: Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  gap: 14px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-list li i {
  color: #f59e0b;
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #f59e0b;
}

.phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Column 4: Social Icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-social a:hover {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #0B2C5F !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35) !important;
}

.footer-social a i {
  color: inherit !important;
  font-size: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748b;
  font-size: 14px;
}

.footer-bottom strong {
  color: #cbd5e1;
}

/* Media Queries */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}


