/* Ajmal Educare Specific Styles */

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-padding-top: 130px; /* Offset for fixed header */
}

/* Offset anchor scroll targets cleanly */
section[id] {
  scroll-margin-top: 130px;
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Main body padding to clear fixed header */
main {
  padding-top: 110px;
}

@media (min-width: 768px) {
  main {
    padding-top: 120px;
  }
}

/* Fixed Header Pinned Style */
#site-fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
}

/* Dropdown seamless bridge and hover */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-container:hover .dropdown-menu-box,
.dropdown-container:focus-within .dropdown-menu-box {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.dropdown-container:hover .dropdown-arrow,
.dropdown-container:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu-box {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  min-width: 14rem;
  z-index: 50;
}

/* Mobile marquee animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: inline-flex;
  width: 200%;
  animation: marquee 15s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}
