/* Hide menu toggle by default (desktop) */
.menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .main-nav {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    background: #1f3a4d;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    padding: 20px 0;
    display: none;
    z-index: 1001;
    align-items: center;
  }
  .main-nav ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 1002;
    margin-left: 16px;
    position: static;
  }
}
/* Hide menu toggle by default (desktop) */
.menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
}
/* ========== MOBILE NAVIGATION ========== */
@media (max-width: 900px) {
  .main-nav .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1002;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    background: #1f3a4d;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    padding: 20px 0;
    display: none;
    z-index: 1001;
  }
  .main-nav ul.active {
    display: flex;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  .logo h1 {
    font-size: 18px;
  }
  .hero {
    padding: 40px 8px;
  }
}
/* ========== TYPOGRAPHY IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Neutralized palette (non-branded) */
  --primary-blue: #1f3a4d;
  --primary-blue-light: #2b6cb0;
  --primary-blue-mid: #3f72a2;
  --secondary-purple: #6b7280;
  --secondary-pink: #8f5d76;
  --accent-teal: #2ba18c;
  --white: #ffffff;
  --grey: #f7f8fb;
  --black: #000000;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  
  /* Legacy variables for compatibility */
  --ink-900: #0b172a;
  --ink-700: #1f2937;
  --ink-500: #4b5563;
  --ink-300: #9ca3af;
  --sky-500: #2b6cb0;
  --sky-600: #1f3a4d;
  --indigo-700: #1e3a5f;
  --teal-400: #2dd4bf;
  --amber-400: #f59e0b;
  --slate-50: #f8fafc;
  --slate-100: #f3f4f6;
  --card-border: rgba(15, 23, 42, 0.06);
  --card-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  
  /* Smooth Transition Variables */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== GENERAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(180deg, #ffffff 0%, var(--grey) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

body > * {
  position: relative;
  z-index: 2;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  50% {
    background-position: 100% 0%, 0% 100%, 50% 0%;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
  background: linear-gradient(90deg, #1f3a4d 0%, #2f5275 100%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(31, 58, 77, 0.15);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  font-family: 'Poppins', sans-serif;
  margin: 0 0 6px 0;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  transition: transform 200ms ease, filter 200ms ease;
}

.logo:hover h1 {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.25));
}


.logo .tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo .group-name {
  font-size: 11px;
  color: var(--ink-300);
  font-weight: 500;
  letter-spacing: 0.2px;
  font-style: italic;
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  color: white;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: rgba(255, 255, 255, 0.8);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 60%, #273449 100%);
  color: white;
  padding: 140px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  animation: floatParticle 15s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(50px);
  animation: floatParticle 18s ease-in-out infinite reverse;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.8;
  }
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: floatParticle 20s ease-in-out infinite;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== BUTTONS ========== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
  border: none;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
  overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(120deg, #1f3a4d 0%, #2b6cb0 100%);
  color: white;
  background-size: 200% 100%;
  background-position: 0% 0%;
}

@keyframes logoFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

.btn-primary:hover {
  background-position: 100% 0%;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(31, 58, 77, 0.28);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Improve hero CTA contrast on dark backgrounds */
.hero .btn-primary {
  background: white;
  color: #1f3a4d;
  border: 2px solid white;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.hero .btn-primary:hover {
  background: #f5f7fb;
  color: #1f3a4d;
}

/* Boost CTA button visibility on dark band */
.cta-section .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.cta-section .btn-primary:hover {
  background: white;
  color: #1f3a4d;
  border: 2px solid white;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 20px;
}

.section h3 {
  font-size: 38px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.8px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #8b5cf6 100%);
  border-radius: 2px;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) scaleX(1.2);
  }
}

.section-intro {
  font-size: 17px;
  color: #6b7280;
  margin-bottom: 50px;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.8;
  font-weight: 400;
}

/* Quick links buttons */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  color: #1e3a5f;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.quick-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #0f172a;
}

.quick-links a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.quick-links a i {
  transition: transform 0.18s ease;
}

.quick-links a:hover i {
  transform: translateX(2px);
}

.quick-links a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.0) 100%);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.quick-links a:hover::after {
  transform: translateX(200%);
}

.light-bg {
  background: 
    radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
    linear-gradient(135deg, #f8fafb 0%, #f1f5f9 50%, #f3f4f6 100%);
  position: relative;
}

.light-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}

.warning {
  background: linear-gradient(135deg, #fff8e6 0%, #fffbeb 100%);
  border-left: 5px solid #f59e0b;
  padding: 30px 25px !important;
  border-radius: 8px;
}

.warning h3 {
  color: #92400e;
  text-align: left;
  margin-bottom: 15px;
}

.warning p {
  color: #92400e;
  font-size: 15px;
  line-height: 1.8;
}

/* ========== GRIDS ========== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-top: 50px;
}

.grid-2 .card {
  animation: slideInUp 0.6s ease-out backwards;
}

.grid-2 .card:nth-child(1) { animation-delay: 0.1s; }
.grid-2 .card:nth-child(2) { animation-delay: 0.2s; }
.grid-2 .card:nth-child(3) { animation-delay: 0.3s; }
.grid-2 .card:nth-child(4) { animation-delay: 0.4s; }
.grid-2 .card:nth-child(5) { animation-delay: 0.5s; }
.grid-2 .card:nth-child(6) { animation-delay: 0.6s; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.grid-3 .card {
  animation: slideInUp 0.6s ease-out backwards;
}

.grid-3 .card:nth-child(1) { animation-delay: 0.15s; }
.grid-3 .card:nth-child(2) { animation-delay: 0.25s; }
.grid-3 .card:nth-child(3) { animation-delay: 0.35s; }
.grid-3 .card:nth-child(4) { animation-delay: 0.45s; }
.grid-3 .card:nth-child(5) { animation-delay: 0.55s; }
.grid-3 .card:nth-child(6) { animation-delay: 0.65s; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.grid-4 .card {
  animation: slideInUp 0.6s ease-out backwards;
}

.grid-4 .card:nth-child(1) { animation-delay: 0.1s; }
.grid-4 .card:nth-child(2) { animation-delay: 0.2s; }
.grid-4 .card:nth-child(3) { animation-delay: 0.3s; }
.grid-4 .card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CARDS ========== */
.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(45, 212, 191, 0.08) 50%, rgba(139, 92, 246, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-700) 0%, var(--sky-500) 50%, var(--teal-400) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.light-bg .card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.97));
}

.card:hover {
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

.card h4 {
  color: var(--ink-900);
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.card h4 i {
  color: var(--sky-500);
  font-size: 24px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.card:hover h4 i {
  transform: scale(1.15) rotate(5deg);
}

.card p {
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.card ul {
  margin-top: 18px;
  padding-left: 24px;
  position: relative;
  z-index: 1;
}

.card ul li {
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
}

.card ul li::before {
  content: '→';
  position: absolute;
  left: -24px;
  color: var(--sky-500);
  font-weight: bold;
}

/* ========== STEPS ========== */
.step {
  text-align: center;
  padding: 35px;
  position: relative;
}

.step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 12px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

/* ========== BULLET LIST ========== */
.bullet-list {
  list-style: none;
  font-size: 16px;
  color: #1f2937;
  max-width: 900px;
  margin: 0 auto;
}

.bullet-list li {
  margin-bottom: 16px;
  line-height: 1.8;
  padding-left: 36px;
  position: relative;
  font-weight: 500;
  color: #4b5563;
}

.bullet-list li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== LINK STYLING ========== */
.link-styled {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(45, 212, 191, 0.03) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.link-styled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(45, 212, 191, 0.08));
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-styled::after {
  content: '→';
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.link-styled:hover {
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.link-styled:hover::before {
  opacity: 1;
}

.link-styled:hover::after {
  transform: translateX(6px);
}

/* ========== SUBNAV ========== */
.subnav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.subnav a {
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease;
}

.subnav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subnav a:hover {
  color: #3b82f6;
}

.subnav a:hover::after {
  width: 100%;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #1f3a4d 0%, #2b6cb0 55%, #3f72a2 100%);
  padding: 80px 20px;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 60px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.1"/><circle cx="90" cy="70" r="2" fill="white" opacity="0.1"/><circle cx="10" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-weight: 700;
  line-height: 1.3;
}

.cta-section .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  padding: 14px 40px;
  font-weight: 600;
}

.cta-section .btn-primary:hover {
  background: white;
  color: #1f3a4d;
}

.cta {
  background: 
    radial-gradient(circle at 25% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 75% 60%, rgba(43, 108, 176, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #1f3a4d 40%, #2b6cb0 85%, #3f72a2 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  animation: floatSlow 20s ease-in-out infinite;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: floatSlow 18s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

.cta h3 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.cta p {
  font-size: 18px;
  position: relative;
  z-index: 2;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0a2540;
  color: #d4d4d4;
  padding: 70px 20px 30px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #1f3a4d 0%, #2b6cb0 50%, #3f72a2 100%) 1;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(43, 108, 176, 0.3) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.footer-grid p {
  color: #a0c4d4;
  font-size: 14px;
  line-height: 1.8;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 12px;
}

.footer-grid ul a {
  color: #a0c4d4;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-grid ul a::before {
  content: '';
  width: 0;
  height: 2px;
  background: #2b6cb0;
  transition: width 0.3s ease;
  display: inline-block;
}

.footer-grid ul a:hover {
  color: #2b6cb0;
}

.footer-grid ul a:hover::before {
  width: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 13px;
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: #1f2937;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: #2b6cb0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.12);
  background-color: rgba(43, 108, 176, 0.02);
}

.privacy-note {
  background: linear-gradient(135deg, #f0f4f8 0%, #f7f9fb 100%);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #2b6cb0;
  margin-top: 30px;
}

.privacy-note p {
  color: #0c4a6e;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-note p:last-child {
  margin-bottom: 0;
}

.privacy-note a {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 600;
}

.privacy-note a:hover {
  text-decoration: underline;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(120deg, rgba(31, 58, 77, 0.12), rgba(63, 114, 162, 0.12));
  color: #1f3a4d;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(31, 58, 77, 0.18);
  font-size: 12px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  display: none;
}

.form-status.info {
  display: block;
  background: rgba(43, 108, 176, 0.08);
  color: #1f3a4d;
  border: 1px solid rgba(43, 108, 176, 0.2);
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ========== NEWS FILTER TABS ========== */
.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 40px 0 50px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #f3f4f6 100%);
  border-radius: 12px;
}

.filter-btn {
  padding: 12px 20px;
  border: 2px solid #d1d5db;
  background: white;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #2b6cb0;
  color: #2b6cb0;
  background: rgba(43, 108, 176, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, #1f3a4d, #2b6cb0);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(43, 108, 176, 0.3);
}

.filter-btn i {
  font-size: 15px;
}

/* News badges for update types */
.news-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: 1px solid;
}

.news-badge.official {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.25);
}

.news-badge.circular {
  background: rgba(43, 108, 176, 0.1);
  color: #1f3a4d;
  border-color: rgba(43, 108, 176, 0.25);
}

.news-badge.alert {
  background: rgba(220, 38, 38, 0.1);
  color: #7f1d1d;
  border-color: rgba(220, 38, 38, 0.25);
}

.news-badge.directive {
  background: rgba(168, 85, 247, 0.1);
  color: #4c1d95;
  border-color: rgba(168, 85, 247, 0.25);
}

/* ========== NEWS CARDS - ENHANCED ========== */
.news-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.news-card.hidden {
  display: none !important;
}

.news-card.card-animate {
  animation: fadeIn 0.4s ease-in forwards !important;
}

.news-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f3a4d, #2b6cb0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #2b6cb0;
}

.news-card:hover::after {
  transform: scaleX(1);
}

.news-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.news-body {
  margin-top: 16px;
  max-height: none;
  overflow: visible;
  opacity: 1;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(43, 108, 176, 0.1);
  color: #1f3a4d;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(43, 108, 176, 0.2);
}

.news-chip.subtle {
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink-700);
  border-color: rgba(15, 23, 42, 0.08);
}

.news-summary {
  margin-top: 6px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.6;
}

.news-date {
  color: #2b6cb0;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card h4 {
  color: #0f172a;
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
}

.news-card p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.8;
}

.news-disclaimer {
  background: linear-gradient(135deg, #f0f9ff 0%, #f3f4f6 100%);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #2b6cb0;
  margin-top: 45px;
}

.news-disclaimer p {
  color: #92400e;
  font-size: 14px;
  line-height: 1.8;
}

/* ========== SERVICE DETAIL PAGE ========== */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail h3 {
  text-align: left;
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 28px;
  color: #0f172a;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.service-detail h4 {
  color: #0f172a;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.service-detail p {
  margin-bottom: 18px;
  line-height: 1.8;
  color: #6b7280;
}

.service-detail ul {
  margin: 22px 0 22px 32px;
  line-height: 1.9;
}

.service-detail ul li {
  margin-bottom: 12px;
  color: #6b7280;
  font-weight: 500;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    gap: 16px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .main-nav a.active::after {
    display: none;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h2 {
    font-size: 36px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 60px 20px;
  }

  .section h3 {
    font-size: 32px;
  }

  .section h3::after {
    width: 60px;
  }

  .section-intro {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 28px;
  }

  .cta {
    padding: 70px 20px;
  }

  .cta h3 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 22px;
  }

  .logo .tagline {
    font-size: 11px;
  }

  .main-nav ul {
    gap: 10px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .section h3 {
    font-size: 26px;
  }

  .card {
    padding: 20px;
  }

  .card h4 {
    font-size: 19px;
  }

  .card p {
    font-size: 14px;
  }
}

/* ========== TAB INTERFACE (Services Page) ========== */
.tab-container {
  max-width: 1000px;
  margin: 50px auto 0;
}

.tab-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
}

.tab-button {
  padding: 12px 28px;
  border: 2px solid #d1d5db;
  background-color: white;
  color: #4b5563;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-button:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.05);
}

.tab-button.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tab-button i {
  font-size: 16px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-detail-box {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-detail-box-header {
  padding: 28px;
  border-bottom: 4px solid #3b82f6;
}

.service-detail-box-header h4 {
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.service-detail-box-header p {
  color: #6b7280;
  font-size: 15px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.detail-item {
  padding: 28px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
  border-right: none;
}

.detail-item:nth-child(n+3) {
  border-bottom: none;
}

@media (max-width: 768px) {
  .detail-item {
    border-right: none;
  }

  .detail-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
  }
}

.detail-item h5 {
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-item h5::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
}

.detail-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-item ul li {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.detail-item ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

/* ========== ANIMATIONS ========== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card {
  animation: slideInLeft 0.6s ease-out both;
}

.card:nth-child(2) {
  animation-delay: 0.1s;
}

.card:nth-child(3) {
  animation-delay: 0.2s;
}

.card:nth-child(4) {
  animation-delay: 0.3s;
}

/* ========== PAGE TRANSITIONS ========== */
body {
  animation: pageTransitionIn 0.5s ease-out;
}

@keyframes pageTransitionIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageTransitionOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

body.page-transitioning {
  animation: pageTransitionOut 0.3s ease-in forwards;
}

/* ========== LINK CLICK ANIMATION ========== */
a[href]:not([href^="#"]) {
  position: relative;
}

a[href]:not([href^="#"])::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
  transform: scale(0);
  animation-name: clickRipple;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
}

a[href]:not([href^="#"]).clicked::after {
  animation-name: clickRipple;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
}

@keyframes clickRipple {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.text-muted {
  color: #6b7280;
}

.text-primary {
  color: #3b82f6;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.pt-40 {
  padding-top: 40px;
}

.pb-40 {
  padding-bottom: 40px;
}

/* ========== SCROLL PROGRESS INDICATOR ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #8b5cf6 100%);
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

/* ========== ENHANCED ANIMATIONS ========== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

/* Smooth page transitions */
body.page-transitioning {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Image hover effects */
img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #1f3a4d 0%, #2b6cb0 50%, #3f72a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legal pages and content pages styling */
.section h3 {
  color: #1f3a4d;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 15px;
}

.section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1f3a4d, #2b6cb0);
  border-radius: 2px;
}

.section h4 {
  color: #1f3a4d;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Enhanced bullet list styling */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.bullet-list li {
  padding-left: 30px;
  margin-bottom: 12px;
  position: relative;
  color: #4b5563;
  line-height: 1.7;
}

.bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2b6cb0;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ========== VFX EFFECTS ========== */

/* Floating Particles Animation */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(20px) rotate(-180deg); opacity: 0.8; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(43, 108, 176, 0.3), 0 0 10px rgba(43, 108, 176, 0.2); }
  50% { box-shadow: 0 0 20px rgba(43, 108, 176, 0.5), 0 0 30px rgba(43, 108, 176, 0.3); }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(43, 108, 176, 0.3); }
  50% { border-color: rgba(43, 108, 176, 0.8); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

/* Hero Floating Particles */
.hero {
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatReverse 10s ease-in-out infinite;
  pointer-events: none;
}

/* Additional floating elements via pseudo-elements on hero container */
.hero .container::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 20%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(43, 108, 176, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero .container::after {
  content: '';
  position: absolute;
  bottom: 25%;
  left: 15%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 1;
}

/* Card VFX - 3D Hover Effect */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(31, 58, 77, 0.2), 0 10px 20px rgba(43, 108, 176, 0.15);
}

/* Card Glow Border on Hover */
.card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #2b6cb0, #2dd4bf, #2b6cb0, #2dd4bf);
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.card:hover::after {
  opacity: 1;
}

/* Button Ripple Effect */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.btn-primary:active::after, .btn-secondary:active::after {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition: width 0s, height 0s, opacity 0s;
}

/* Icon Animations */
.card h4 i, .fas, .fab {
  transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover h4 i {
  transform: scale(1.2) rotate(5deg);
  color: #2dd4bf;
}

/* Section Title Animation */
.section h3 {
  position: relative;
  display: inline-block;
}

.section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2b6cb0, #2dd4bf);
  transition: width 0.6s ease;
  border-radius: 2px;
}

.section:hover h3::after,
.section h3:hover::after {
  width: 100%;
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Animation for Grid Items */
.grid-2 .card:nth-child(1), .grid-3 .card:nth-child(1) { animation-delay: 0.1s; }
.grid-2 .card:nth-child(2), .grid-3 .card:nth-child(2) { animation-delay: 0.2s; }
.grid-3 .card:nth-child(3) { animation-delay: 0.3s; }
.grid-2 .card:nth-child(3), .grid-3 .card:nth-child(4) { animation-delay: 0.4s; }
.grid-2 .card:nth-child(4), .grid-3 .card:nth-child(5) { animation-delay: 0.5s; }
.grid-3 .card:nth-child(6) { animation-delay: 0.6s; }

/* Link Hover Effect */
a:not(.btn-primary):not(.btn-secondary):not(.main-nav a) {
  position: relative;
  transition: color 0.3s ease;
}

/* Nav Link Glow on Hover */
.main-nav a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Text Glow */
.hero h2 {
  animation: textGlow 3s ease-in-out infinite;
}

/* CTA Section Glow Effect */
.cta, .cta-section {
  position: relative;
  overflow: hidden;
}

.cta::before, .cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(43, 108, 176, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

/* Form Input Focus Effects */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2b6cb0 !important;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2), 0 0 15px rgba(43, 108, 176, 0.1);
  transition: all 0.3s ease;
}

/* News Card Hover Effect */
.news-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(31, 58, 77, 0.15);
}

/* Tab Button Effects */
.tab-button {
  position: relative;
  overflow: hidden;
}

.tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 108, 176, 0.1), transparent);
  transition: left 0.5s ease;
}

.tab-button:hover::before {
  left: 100%;
}

/* Footer Link Hover */
.site-footer a {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.site-footer a:hover {
  color: #2dd4bf;
  transform: translateX(5px);
}

/* Pill/Badge Pulse */
.pill, .news-badge, .news-chip {
  transition: all 0.3s ease;
}

.pill:hover, .news-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(43, 108, 176, 0.3);
}

/* Logo Hover Effect */
.logo:hover h1 {
  animation: logoFloat 1s ease-in-out;
}

/* Scroll Progress Bar Glow */
.scroll-progress {
  box-shadow: 0 0 10px rgba(43, 108, 176, 0.5), 0 0 20px rgba(43, 108, 176, 0.3);
}

/* Header Glassmorphism on Scroll */
.site-header {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Loading Shimmer for Images/Elements */
.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Typewriter Cursor Effect for Hero (optional class) */
.typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Magnetic Button Effect - removed harsh animation */
.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
}

/* Glassmorphism Card Variant */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text Animation */
.gradient-text {
  background: linear-gradient(90deg, #1f3a4d, #2b6cb0, #2dd4bf, #2b6cb0, #1f3a4d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 4s linear infinite;
}

@keyframes gradientText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ========== SMOOTH PAGE TRANSITIONS ========== */

/* Page fade in/out */
body {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-transitioning {
  opacity: 0;
}

body.page-loading {
  opacity: 0;
}

/* Smooth element transitions */
.card,
.news-card,
.service-detail-box,
.tab-button,
.filter-btn,
.btn-primary,
.btn-secondary,
.pill,
.news-badge {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth link transitions */
a {
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth form input transitions */
input,
textarea,
select {
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth icon transitions */
.fas, .fab, .far, i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth section title underline */
.section h3::after {
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll indicator */
.scroll-progress {
  transition: width 0.1s linear;
}

/* Smooth nav hover */
.main-nav a::after {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
