:root {
  --pri: #d81f25;
  --pri-dark: #a0151b;
  --pri-light: #e8454a;
  --pri-glow: rgba(216, 31, 37, 0.4);
  --pri-soft: rgba(216, 31, 37, 0.06);
  --pri-soft-hover: rgba(216, 31, 37, 0.12);
  --sec: #06061a;
  --sec-light: #0d0d28;
  --gold: #c9a84c;
  --gold-dark: #a8893a;
  --gold-light: #f0e090;
  --white: #fff;
  --gray: #f4f4f7;
  --text: #1a1a2e;
  --muted: #4a4a5a;
  --border: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 55px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 28px 70px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-2xl: 38px;
  --radius-full: 999px;
  --tr: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-spring: 0.55s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --h-height: 88px;
  --t-height: 44px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 17px;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--t-height) + var(--h-height));
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Footer Login Buttons */
.footer .footer-grid > div:first-child a[style*="display:inline-flex"]:hover {
  transform: translateY(-3px);
}
.footer .footer-grid > div:first-child a[style*="background:var(--pri)"]:hover {
  background: var(--pri-dark) !important;
  box-shadow: 0 8px 22px rgba(216, 31, 37, 0.35);
}
.footer
  .footer-grid
  > div:first-child
  a[style*="background:transparent"]:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button,
input,
textarea,
select {
  font-family: inherit;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}
.container {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(216, 31, 37, 0.4);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(216, 31, 37, 0);
  }
}
@keyframes pulseRing {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes particleDrift {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translate(20px, -30px);
    opacity: 0.3;
  }
  75% {
    opacity: 0.8;
  }
}
@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  33% {
    transform: translateY(-6px) rotate(3deg);
  }
  66% {
    transform: translateY(4px) rotate(-3deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* STICKY */
.sticky-bar {
  position: fixed;
  right: 18px;
  bottom: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sticky-bar a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  transition: var(--tr-spring);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: float 3s ease-in-out infinite;
}
.sticky-bar a:nth-child(1) {
  animation-delay: 0s;
}
.sticky-bar a:nth-child(2) {
  animation-delay: 0.5s;
}
.sticky-bar a:nth-child(3) {
  animation-delay: 1s;
}
.sticky-bar a::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  animation: pulseRing 2s infinite;
  z-index: -1;
}
.sticky-bar a:hover {
  transform: scale(1.25) translateY(-8px);
  animation: none;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}
.sticky-wa {
  background: #25d366;
}
.sticky-wa::before {
  border: 3px solid #25d366;
}
.sticky-call {
  background: var(--pri);
}
.sticky-call::before {
  border: 3px solid var(--pri);
}
.sticky-mail {
  background: var(--sec);
}
.sticky-mail::before {
  border: 3px solid var(--sec);
}
.sticky-tip {
  position: absolute;
  right: 66px;
  background: var(--sec);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.sticky-bar a:hover .sticky-tip {
  opacity: 1;
}

/* MOBILE BOTTOM BAR - REDESIGNED */
.mob-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 950;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 14px;
  gap: 10px;
  align-items: center;
}
.mob-bar-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.mob-bar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.mob-bar a {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--tr-spring);
  letter-spacing: 0.02em;
}
.mob-bar a:active {
  transform: scale(0.95);
}
.mob-call {
  background: var(--pri);
  color: #fff;
  box-shadow: 0 4px 14px rgba(216, 31, 37, 0.3);
}
.mob-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

/* TOPBAR */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--t-height);
  background: var(--sec);
  z-index: 1100;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.76rem;
  transition: 0.2s;
  white-space: nowrap;
}
.topbar-item i {
  color: var(--pri-light);
  font-size: 0.7rem;
}
.topbar-item:hover {
  color: #fff;
}
.topbar-social {
  display: flex;
  gap: 5px;
}
.topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}
.topbar-social a:hover {
  background: var(--pri);
  color: #fff;
  transform: translateY(-2px);
}
.btn-login {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
}
.btn-stu {
  background: var(--pri);
  color: #fff;
}
.btn-par {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-stu:hover {
  background: var(--pri-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(216, 31, 37, 0.35);
}
.btn-par:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
  transform: translateY(-2px);
}

/* HEADER */
.header {
  position: fixed;
  top: var(--t-height);
  left: 0;
  width: 100%;
  height: var(--h-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
.header.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  max-width: 263px;
  height: 70px;
  flex-shrink: 0;
}
._footer-logo {
  width: 250px;
  height: 60px;
  margin-bottom: 12px;
}
._footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header.scrolled .logo {
  max-width: 220px;
  height: 50px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 100%;
}
.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  transition: var(--tr);
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--pri);
  background: var(--pri-soft);
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-item.dropdown-open .nav-link {
  color: var(--pri);
  background: var(--pri-soft);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--tr);
  z-index: 1050;
}
.nav-item.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text);
  transition: 0.2s;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--pri-soft);
  color: var(--pri);
  padding-left: 28px;
}
.nav-dropdown a i {
  color: var(--pri);
  font-size: 0.7rem;
  width: 18px;
  text-align: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--tr-spring);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* FOOTER */
.footer {
  background: var(--sec);
  color: rgba(255, 255, 255, 0.78);
}
.footer-top {
  padding: 70px 0 50px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 44px;
}
.f-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.f-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  transition: var(--tr-spring);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.f-social a:hover {
  background: var(--pri);
  border-color: var(--pri);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(216, 31, 37, 0.4);
}
.f-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 12px;
}
.f-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background: var(--pri);
  border-radius: 2px;
}
.f-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  transition: 0.2s;
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}
.f-link:hover {
  color: #fff;
  padding-left: 4px;
}
.f-input {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  transition: var(--tr);
  width: 100%;
}
.f-input:focus {
  border-color: var(--pri);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(216, 31, 37, 0.2);
}
.btn-f-sub {
  padding: 13px 22px;
  background: var(--pri);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--tr);
}
.btn-f-sub:hover {
  background: var(--pri-dark);
  transform: translateY(-2px);
}

/* PARTICLES */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleDrift 7s infinite;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-link {
    font-size: 0.8rem;
    padding: 10px 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.lg-outer,
.lg-backdrop {
  z-index: 9999999 !important;
}

@media (max-width: 767px) {
  .container {
    padding: 0 12px;
  }
  .nav-links {
    display: none;
  }
  .topbar-right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hide-mob {
    display: none;
  }
  .sticky-bar {
    display: none;
  }
  .mob-bar {
    display: flex;
  }
  body {
    padding-bottom: 43px;
  }
  .header {
    height: 64px;
  }
  .logo {
    max-width: 180px;
    height: 48px;
  }
  .header.scrolled .logo {
    max-width: 160px;
    height: 40px;
  }
  :root {
    --h-height: 64px;
    --t-height: 38px;
  }
  body {
    padding-top: calc(var(--t-height) + var(--h-height));
  }
  html {
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  ._footer-logo {
    width: 200px;
    height: 48px;
    margin-bottom: 10px;
  }
  .f-social a {
    width: 36px;
    height: 36px;
    font-size: 0.76rem;
  }
  .footer-top {
    padding: 44px 0 32px;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 150px;
    height: 40px;
  }
  .header.scrolled .logo {
    max-width: 130px;
    height: 34px;
  }
  .mob-bar {
    padding: 6px 10px;
    gap: 6px;
  }
  .mob-bar-logo {
    width: 30px;
    height: 30px;
  }
  .mob-bar a {
    padding: 10px 10px;
    font-size: 0.76rem;
    gap: 4px;
  }
  .topbar {
    font-size: 0.7rem;
  }
  .topbar-item {
    font-size: 0.9rem;
    gap: 4px;
  }
  .topbar-social a {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .btn-login {
    padding: 5px 11px;
    font-size: 0.66rem;
  }
  ._footer-logo {
    width: 170px;
    height: 40px;
  }
}
