/* ============================================================
   FAERI College Partnership — Layout, Navbar, Footer, Grid
   ============================================================ */

/* -- Container -- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  width: 100%;
}

/* -- Sections -- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-dark {
  background: rgba(0, 0, 0, 0.25);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--cyan);
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-divider {
  height: 2px;
  background: linear-gradient(to right, var(--cyan), transparent);
  max-width: 200px;
  margin: 0 auto;
  border: none;
}

/* ============================================================
   Navbar
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: var(--z-nav);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,230,118,0.5) 20%,
    rgba(179,157,255,0.4) 40%,
    rgba(255,215,0,0.35) 60%,
    rgba(240,147,43,0.4) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: navLineSweep 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}
@keyframes navLineSweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.site-nav.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(0, 230, 118,0.10);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 1px 0 rgba(0,230,118,0.08);
}
.site-nav.scrolled::after {
  opacity: 0.7;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 12px;
  flex-wrap: nowrap;
}

/* -- Logo + Brand -- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.nav-logo:hover {
  text-decoration: none !important;
  transform: translateX(3px);
}

.nav-logo img {
  height: 50px;
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
  filter: drop-shadow(0 0 6px rgba(240,147,43,0.35))
          drop-shadow(0 0 3px rgba(0,230,118,0.12));
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(0,230,118,0.55))
          drop-shadow(0 0 6px rgba(240,147,43,0.30))
          drop-shadow(0 0 28px rgba(0,230,118,0.15));
  transform: scale(1.05);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.nav-logo:hover .nav-brand {
  transform: translateX(2px);
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #fff 0%, #00e676 50%, #F0932B 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: navBrandShift 5s ease-in-out infinite;
  transition: filter 0.4s ease;
}
.nav-logo:hover .nav-brand-name {
  filter: drop-shadow(0 0 10px rgba(0,230,118,0.5));
}
@keyframes navBrandShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.nav-brand-full {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  color: var(--cyan);
  line-height: 1.3;
  margin-top: 3px;
  text-shadow: 0 0 8px rgba(0,230,118,0.25);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.nav-logo:hover .nav-brand-full {
  color: #fff;
  text-shadow: 0 0 14px rgba(0,230,118,0.5);
}

.nav-brand-sub {
  display: none;
}

.nav-links .nav-menu-title {
  display: none;
}

/* -- Nav Links -- */
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  padding: 0;
}
.nav-links .nav-menu-logo,
.nav-links .nav-menu-cta {
  display: none;
}
.nav-links li::before {
  content: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 0.55rem + 0.5vw, 1.02rem);
  font-weight: 600;
  color: var(--silver);
  text-decoration: none !important;
  padding: 6px clamp(4px, 0.5vw, 12px);
  position: relative;
  letter-spacing: 0.2px;
  transition: color 0.35s ease;
  background: none;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00e676, #b39dff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease,
              box-shadow 0.35s ease;
  opacity: 0;
  box-shadow: none;
}

.nav-links a:hover {
  color: #fff;
  background: none;
}
.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
  box-shadow: 0 0 10px rgba(0,230,118,0.4), 0 0 20px rgba(0,230,118,0.12);
}

.nav-links a.active {
  color: var(--cyan);
  background: none;
}
.nav-links a.active::after {
  transform: scaleX(1);
  opacity: 1;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0,230,118,0.5), 0 0 20px rgba(0,230,118,0.2);
  animation: navActiveGlow 2s ease-in-out infinite;
}
@keyframes navActiveGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(0,230,118,0.3); opacity: 0.7; }
  50%      { box-shadow: 0 0 14px rgba(0,230,118,0.6), 0 0 28px rgba(0,230,118,0.15); opacity: 1; }
}

/* -- CTA Button -- */
.nav-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00e676 0%, #b39dff 50%, #ffd700 100%);
  background-size: 200% 200%;
  animation: navCtaGrad 4s ease-in-out infinite;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(0.78rem, 0.5rem + 0.45vw, 0.95rem);
  padding: 8px clamp(12px, 1.2vw, 20px);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  text-decoration: none !important;
  transform: scale(1.06) translateY(-1px);
  box-shadow:
    0 0 20px rgba(0,230,118,0.35),
    0 0 40px rgba(179,157,255,0.15),
    0 4px 16px rgba(0,0,0,0.3);
  color: var(--navy);
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: navCtaShimmer 3s ease-in-out 1s infinite;
  pointer-events: none;
}
@keyframes navCtaShimmer {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(230%); }
}

@keyframes navCtaGrad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* -- Section Switcher — cross-section link pill -- */
.nav-section-switch {
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  border-radius: 20px;
  padding: 8px clamp(12px, 1.2vw, 20px);
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 0.5rem + 0.45vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-section-switch:hover {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 14px rgba(0,230,118,0.35);
  text-decoration: none !important;
}
/* Mobile: hide desktop pill, show it as a list item inside the mobile menu */
.nav-section-item { display: none; }
@media (max-width: 900px) {
  .nav-section-switch { display: none; }
  .nav-section-item { display: list-item; }
}

/* -- Hamburger Toggle -- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 7px;
  z-index: calc(var(--z-nav) + 1);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-toggle:hover {
  border-color: rgba(0,230,118,0.5);
  background: rgba(0,230,118,0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.68,-0.55,0.27,1.55),
              opacity 0.25s ease,
              width 0.3s ease,
              background 0.3s ease;
  transform-origin: center;
}
.nav-toggle span:nth-child(2) {
  width: 16px;
  margin-left: auto;
}

body {
  padding-top: var(--nav-height);
}
body.has-hero {
  padding-top: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #060b16;
  border-top: 1px solid rgba(0, 230, 118,0.12);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
  display: inline-block;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
}
.footer-heading.fh-cyan   { color: #00e676; }
.footer-heading.fh-orange { color: #F0932B; }
.footer-heading.fh-gold   { color: #ffd700; }
.footer-heading.fh-violet { color: #b39dff; }
.footer-heading.fh-cyan::after   { background: linear-gradient(90deg, #00e676, transparent); }
.footer-heading.fh-orange::after { background: linear-gradient(90deg, #F0932B, transparent); }
.footer-heading.fh-gold::after   { background: linear-gradient(90deg, #ffd700, transparent); }
.footer-heading.fh-violet::after { background: linear-gradient(90deg, #b39dff, transparent); }

.footer-domain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-domain-list li {
  padding: 0;
  margin-bottom: 8px;
}
.footer-domain-list li::before {
  content: none;
}
.footer-domain-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--silver);
  transition: color 0.3s ease;
}
.footer-domain-item:hover {
  color: #fff;
}
.footer-domain-icon {
  font-size: 0.9rem;
}

.footer-about-text {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-logo {
  height: 40px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li::before {
  content: none;
}

.footer-links a {
  color: var(--silver);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--silver);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-icon {
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 230, 118,0.08);
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.82rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,230,118,0.10), rgba(179,157,255,0.08));
  border: 1.5px solid rgba(0,230,118,0.25);
  font-size: 1.4rem;
  cursor: pointer;
  text-decoration: none !important;
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: bttFloat 3s ease-in-out infinite;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  text-decoration: none !important;
  border-color: rgba(0,230,118,0.6);
  background: linear-gradient(135deg, rgba(0,230,118,0.18), rgba(179,157,255,0.14));
  box-shadow: 0 0 18px rgba(0,230,118,0.3), 0 0 36px rgba(0,230,118,0.1);
  transform: translateY(-4px);
}
@keyframes bttFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* -- Website Float -- */
.website-float {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 91;
  text-decoration: none !important;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  padding: 10px 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0,230,118,0.15), rgba(179,157,255,0.12));
  border: 1px solid rgba(0,230,118,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.website-float:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(0,230,118,0.25), rgba(179,157,255,0.2));
  border-color: rgba(0,230,118,0.6);
  box-shadow: 0 6px 24px rgba(0,230,118,0.25), 0 0 14px rgba(0,230,118,0.15);
}
.website-float svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #00e676;
  transition: filter 0.3s ease;
}
.website-float:hover svg {
  filter: drop-shadow(0 0 6px rgba(0,230,118,0.6));
}
.website-float-text {
  color: rgba(255,255,255,0.85);
  transition: color 0.3s ease;
}
.website-float:hover .website-float-text {
  color: #fff;
}

/* -- WhatsApp Float -- */
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 91;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 16px rgba(37,211,102,0.3);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 0; }
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ============================================================
   Grid Utilities
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
