/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  color: #1f2937;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== SCROLLBAR HIDE ===== */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ===== VARIABLES ===== */
:root {
  --blue-600: #2563eb;
  --violet-600: #7c3aed;
  --indigo-900: #1e3a8a;
  --slate-600: #475569;
  --grad-hero: linear-gradient(135deg, #1e3a8a 0%, #4338ca 40%, #7c3aed 100%);
  --grad-blue-violet: linear-gradient(to right, #2563eb, #7c3aed);
  --grad-footer: linear-gradient(135deg, #1e1b4b, #1e3a8a, #2e1065);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}
.navbar.scrolled {
  padding: 4px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-logo {
  width: 112px;
  cursor: pointer;
  transition: width 0.3s;
}
.navbar.scrolled .navbar-logo {
  width: 96px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover {
  color: #2563eb;
  background: #eff6ff;
}
.nav-link.active {
  color: #fff;
  background: var(--grad-blue-violet);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-dropdown-btn:hover {
  color: #2563eb;
  background: #eff6ff;
}
.nav-dropdown-btn.active {
  color: #fff;
  background: var(--grad-blue-violet);
}
.nav-dropdown-btn svg {
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-btn svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 256px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid #f1f5f9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  transform-origin: top;
  overflow: hidden;
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-item {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background: #eff6ff;
  color: #2563eb;
}
.dropdown-item.active {
  background: var(--grad-blue-violet);
  color: #fff;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}
.social-icon {
  color: #6b7280;
  transition: color 0.2s;
}
.social-icon:hover {
  color: #2563eb;
}
.social-icon svg {
  width: 20px;
  height: 20px;
}
.hamburger {
  display: none;
  padding: 8px;
  border-radius: 8px;
  color: #374151;
  transition: all 0.2s;
}
.hamburger:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* ===== MOBILE SIDEBAR ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 320px;
  background: #fff;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(to right, #eff6ff, #f5f3ff);
}
.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  background: var(--grad-blue-violet);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sidebar-close {
  padding: 8px;
  border-radius: 8px;
  color: #374151;
  transition: background 0.2s;
}
.sidebar-close:hover {
  background: #fff;
}
.sidebar-nav {
  padding: 16px;
  overflow-y: auto;
  height: calc(100% - 140px);
}
.sidebar-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  margin-bottom: 4px;
}
.sidebar-link:hover {
  background: linear-gradient(to right, #eff6ff, #f5f3ff);
}
.sidebar-link.active {
  background: var(--grad-blue-violet);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.sidebar-dropdown-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  margin-bottom: 4px;
}
.sidebar-dropdown-btn.active {
  background: var(--grad-blue-violet);
  color: #fff;
}
.sidebar-dropdown-btn:hover {
  background: linear-gradient(to right, #eff6ff, #f5f3ff);
}
.sidebar-sub {
  margin-left: 16px;
  border-left: 2px solid #bfdbfe;
  padding-left: 8px;
  margin-top: 4px;
  display: none;
}
.sidebar-sub.open {
  display: block;
}
.sidebar-sub-link {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.sidebar-sub-link:hover {
  background: #eff6ff;
  color: #2563eb;
}
.sidebar-sub-link.active {
  background: var(--grad-blue-violet);
  color: #fff;
}
.sidebar-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-blue-violet);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: all 0.3s;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
  min-height: 50vh;
  margin-top: 53px;
  padding: 32px 0;
}
.hero-orb-1 {
  position: absolute;
  top: -160px;
  right: -160px;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: radial-gradient(circle, #818cf8, transparent);
  opacity: 0.2;
  animation: pulse-orb 6s ease-in-out infinite;
}
.hero-orb-2 {
  position: absolute;
  bottom: 80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #a78bfa, transparent);
  opacity: 0.1;
  animation: pulse-orb 8s ease-in-out infinite 2s;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  margin-bottom: 16px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-badge-text {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: linear-gradient(to right, #60a5fa, #22d3ee);
  color: #1e3a8a;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s;
}
.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* ===== SECTION COMMON ===== */
.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: #dbeafe;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 16px;
}
.section-badge-dark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #bfdbfe;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title-grad {
  background: var(--grad-blue-violet);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.card-feature {
  background: rgba(215, 213, 213, 0.41);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.card-feature:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.card-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.card-feature:hover .card-icon {
  transform: scale(1.1);
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== BG SECTIONS ===== */
.bg-hero-grad {
  background: var(--grad-hero);
}
.bg-light {
  background: linear-gradient(135deg, #eff6ff, #eef2ff, #f5f3ff);
}
.bg-dark {
  background: linear-gradient(135deg, #1e3a8a, #1e1b4b, #2e1065);
}
.bg-white {
  background: #fff;
}
.bg-indigo-light {
  background: linear-gradient(135deg, #e0e7ff, #f5f3ff);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--grad-blue-violet);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: #fff;
  color: #1e3a8a;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background: #eff6ff;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
footer {
  background: var(--grad-footer);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo {
  width: 144px;
}
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cbd5e1;
  transition: color 0.2s;
  margin-bottom: 12px;
}
.footer-link:hover {
  color: #93c5fd;
}
.footer-link svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
.footer-link:hover svg {
  opacity: 1;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(59, 130, 246, 0.3),
    transparent
  );
  margin-bottom: 32px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s;
}
.footer-social:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ===== HORIZONTAL SCROLL CARDS ===== */
.scroll-cards {
  display: flex;
  overflow-x: scroll;
  gap: 32px;
  padding: 8px 48px 32px;
  scroll-snap-type: x mandatory;
}
.scroll-card {
  flex: none;
  width: 320px;
  scroll-snap-align: center;
}
@media (min-width: 640px) {
  .scroll-card {
    width: 384px;
  }
}
.scroll-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #bfdbfe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.scroll-nav-btn:hover {
  background: linear-gradient(to right, #60a5fa, #818cf8, #a78bfa);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}
.scroll-nav-left {
  left: -16px;
}
.scroll-nav-right {
  right: -16px;
}

/* ===== STAT CARDS (new style) ===== */
.stat-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-card-new {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}
.stat-card-new:hover {
  background: rgba(255, 255, 255, 0.09);
}
.stat-card-value {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}
.stat-card-label {
  font-size: 11px;
  color: #a5b4fc;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-card-sub {
  font-size: 12px;
  color: #90a1b9;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stat-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .stat-card-new {
    padding: 16px;
  }
}

/* ===== STATS ===== */
.stat-card {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: #a5b4fc;
  font-weight: 700;
}

/* ===== FORM ===== */
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.2s;
  outline: none;
  font-family: inherit;
}
.form-input::placeholder {
  color: #93c5fd;
}
.form-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.form-input.error {
  border-color: #dc2626;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.form-select {
  appearance: none;
}
.form-select option {
  background: #1e3a8a;
  color: #fff;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-success {
  text-align: center;
  padding: 48px 0;
}
.form-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ===== CONTACT CARDS ===== */
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.3s;
  margin-bottom: 12px;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.2);
}
.contact-card-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px;
  flex-shrink: 0;
}
.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-card-value {
  font-size: 12px;
  color: #fff;
  line-height: 1.5;
  white-space: pre-line;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
  background: linear-gradient(
    135deg,
    #1e3a8a 0%,
    #4338ca 40%,
    #7c3aed 100%
  );
  min-height: calc(100vh - 53px);
  margin-top: 53px;
  padding: 32px 0 80px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: auto;
    padding: 32px 0 60px;
  }
}
.policy-section {
  margin-bottom: 40px;
}
.policy-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-blue-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.policy-content {
  flex: 1;
}
.policy-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.policy-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-blue-violet);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-orb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}
.animate-spin-slow {
  animation: spin-slow 25s linear infinite;
}

/* ===== INTERSECTION OBSERVER ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CERTIFICATE SLIDER ===== */
.cert-slider {
  position: relative;
}
.cert-slides {
  display: flex;
  overflow: hidden;
}
.cert-slide {
  flex: none;
  width: 100%;
  display: flex;
  justify-content: center;
}
/* .cert-img-wrap {
  background: #fff;
  padding: 24px;
  border-radius: 24px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  width: 100%;
} */
 .cert-img-wrap {
background: #fff;
padding: 24px;
border-radius: 24px;
border: 2px solid #e2e8f0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
max-width: 800px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.cert-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.cert-img-1 {
  margin-top: 100px;
}
.cert-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.cert-nav:hover {
  background: #fff;
  border-color: #bfdbfe;
}
.cert-prev {
  left: 4px;
}
.cert-next {
  right: 4px;
}
.cert-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.cert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.3s;
  cursor: pointer;
}
.cert-dot.active {
  background: #2563eb;
}
@media (min-width: 769px) {
  .cert-outer {
    padding: 0 48px !important;
  }
  .cert-prev {
    left: 4px;
  }
  .cert-next {
    right: 4px;
  }
}
@media (max-width: 768px) {
  .cert-outer {
    padding: 0 !important;
  }
  .cert-img-wrap {
    padding: 12px;
    border-radius: 16px;
  }
  .cert-img-1 {
    margin-top: 60px;
  }
}

/* ===== ORBIT ANIMATION ===== */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #c7d2fe;
  animation: spin-slow 25s linear infinite;
}
.orbit-icon {
  position: absolute;
}
@keyframes float-0 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes float-3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== RESPONSIVE ===== */

/* --- Large Desktop (1280px+) --- */
@media (min-width: 1280px) {
  .container {
    padding: 0 32px;
  }
}

/* --- Tablet / Small Desktop (max 1024px) --- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-grid-layout {
    grid-template-columns: 1fr;
    text-align: start;
  }
  .hero-img-wrap {
    display: none;
  }
  .hero-badge {
    display: inline-flex;
  }
  .hero-btn {
    display: inline-flex;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  /* Fix ordered grid items on tablet */
  .grid-2 [style*="order: 2"],
  .grid-2 [style*="order:2"] {
    order: 1 !important;
  }
  .grid-2 [style*="order: 1"],
  .grid-2 [style*="order:1"] {
    order: 2 !important;
  }
  /* Certificate slider nav */

  /* CTA sections with large padding */
  .container-sm [style*="padding: 64px"] {
    padding: 40px 32px !important;
  }
}

/* --- Tablet Portrait (max 768px) --- */
@media (max-width: 768px) {
  /* Sections */
  section[style*="padding: 64px 0"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  section[style*="padding: 48px 0 64px"] {
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }

  /* Grids */
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Hero */
  .hero-section {
    padding: 24px 0;
    min-height: auto;
  }
  .hero-content {
    padding: 24px 16px;
  }
  .hero-title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .hero-desc {
    font-size: 15px;
  }

  /* Scroll cards section */
  .scroll-cards {
    padding: 8px 16px 24px;
    gap: 16px;
  }
  .scroll-nav-btn {
    display: flex;
    width: 32px;
    height: 32px;
  }
  .scroll-nav-left {
    left: -8px;
  }
  .scroll-nav-right {
    right: -8px;
  }

  /* Cert slider nav */

  /* Cards */
  .card-feature {
    padding: 24px;
  }

  /* Contact page hero */
  .contact-hero {
    min-height: auto !important;
    padding: 32px 0 60px !important;
  }

  /* About page CTA box */
  .container-sm .reveal[style*="padding: 64px"] {
    padding: 32px 24px !important;
  }

  /* Stat cards */
  .stat-card {
    padding: 16px;
  }
  .stat-value {
    font-size: 24px;
  }

  /* Footer */
  .footer-inner {
    padding: 48px 16px 24px;
  }
  .footer-grid {
    margin-bottom: 32px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  /* Buttons */
  .btn-primary,
  .btn-white,
  .btn-outline {
    padding: 10px 24px;
    font-size: 15px;
  }

  /* Policy sections */
  .policy-section [style*="display: flex; align-items: flex-start; gap: 16px"] {
    flex-direction: column;
  }

  /* Map iframe */
  iframe[src*="google.com/maps"] {
    height: 300px !important;
  }

  /* Contact orbit animation - hide on mobile */
  .reveal-right [style*="width: 320px; height: 320px"] {
    width: 240px !important;
    height: 240px !important;
  }

  /* Inline grid inside sections */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Fix image heights in grid-2 sections */
  .grid-2 img[style*="height: 384px"],
  .grid-2 img[style*="height: 320px"] {
    height: 260px !important;
  }
}

/* --- Mobile (max 480px) --- */
@media (max-width: 480px) {
  /* Container */
  .container,
  .container-sm {
    padding: 0 16px;
  }

  /* Grids */
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Scroll cards */
  .scroll-card {
    width: calc(100vw - 48px);
    max-width: 320px;
  }

  /* Hero */
  .hero-section {
    margin-top: 53px;
  }
  .hero-badge-text {
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  .hero-btn {
    padding: 10px 24px;
    font-size: 15px;
  }

  /* Navbar */
  .navbar-inner {
    padding: 8px 16px;
  }

  /* Sidebar */
  .sidebar {
    width: 100%;
    max-width: 320px;
  }

  /* Section spacing */
  section {
    padding-left: 0;
    padding-right: 0;
  }

  /* Cards */
  .card-feature {
    padding: 20px;
  }

  /* Stat cards in grid */
  .grid-3 .stat-card,
  .grid-4 .stat-card {
    padding: 14px;
  }
  .stat-value {
    font-size: 22px;
  }
  .stat-label {
    font-size: 11px;
  }

  /* Footer */
  .footer-inner {
    padding: 40px 16px 20px;
  }
  .footer-grid {
    gap: 20px;
  }
  .footer-logo {
    width: 120px;
  }

  /* Buttons */
  .btn-primary,
  .btn-white,
  .btn-outline {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Hero wave */
  .hero-wave svg {
    height: 32px !important;
  }

  /* CTA sections */
  .container-sm .reveal[style*="padding: 64px"],
  .container-sm [style*="padding: 64px"] {
    padding: 28px 20px !important;
  }

  /* About page story box */
  .reveal-right [style*="padding: 48px"] {
    padding: 28px 20px !important;
  }

  /* Contact form */
  .contact-hero .container .grid-2 {
    gap: 32px !important;
  }

  /* Map */
  iframe[src*="google.com/maps"] {
    height: 250px !important;
  }

  /* Scroll top button */
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  /* Certificate slider */

  /* Privacy policy icon wrap */
  .policy-icon-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Section badge */
  .section-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Images with fixed heights */
  img[style*="height: 384px"] {
    height: 240px !important;
  }
  img[style*="height: 320px"] {
    height: 220px !important;
  }
}

/* --- Very small screens (max 360px) --- */
@media (max-width: 360px) {
  .hero-badge-text {
    font-size: 10px;
  }
  .hero-title {
    font-size: 20px;
  }
  .section-title {
    font-size: 18px;
  }
  .scroll-card {
    width: calc(100vw - 32px);
  }
  .sidebar {
    width: 100%;
    max-width: 100%;
  }
}

/* --- Landscape mobile --- */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 16px 0;
  }
  .contact-hero {
    min-height: auto !important;
  }
}
