/* Core styles matching original design system */
:root {
  --primary-navy: #0B2A6F;
  --dark-navy: #071A4A;
  --deepest-navy: #081D4D;
  --accent-gold: #E0A526;
  --light-gold: #F6D365;
  --text-dark: #1B2A4A;
  --text-muted: #44536F;
  --bg-light: #F4F7FD;
  --border-light: #E1E8F5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: #1B2A4A;
  min-width: 0;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: #0B2A6F;
  margin: 0;
}

p {
  color: #44536F;
  line-height: 1.7;
  margin: 0 0 14px;
}

a {
  color: #0B2A6F;
}

img, video, iframe {
  max-width: 100%;
}

input, select, textarea, button {
  max-width: 100%;
}

section {
  padding: 88px 0;
  background: #fff;
  scroll-margin-top: 84px;
}

.w {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.eb {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #B7800F;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 10px 0 8px;
}

.gr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.gr2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid #E1E8F5;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(11, 42, 111, .07);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 42, 111, .18);
}

.card p {
  margin: 0;
}

@keyframes mq {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.mq-wrapper, .mq-strip {
  background: #E0A526;
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  display: block;
  width: 100%;
}

.mq, .mq-track {
  display: flex !important;
  width: max-content !important;
  animation: mq 28s linear infinite !important;
  will-change: transform;
}

.mq span, .mq-track span {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  padding: 0 24px;
  white-space: nowrap;
  color: #0B2A6F;
  display: inline-block;
}

.mq-wrapper:hover .mq,
.mq-strip:hover .mq-track {
  animation-play-state: paused;
}

.gc {
  border-top: 4px solid #E0A526;
}

.ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #0B2A6F;
  color: #F6D365;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  background: #E0A526;
  color: #0B2A6F;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: background-color .2s ease;
}

.btn:hover {
  background: #F0B53A;
  color: #0B2A6F;
}

.btn.n {
  background: #0B2A6F;
  color: #fff;
}

.btn.n:hover {
  background: #143a8c;
  color: #fff;
}

.btn.o {
  background: none;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn.o:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

ul.l {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

ul.l li {
  padding-left: 30px;
  position: relative;
  line-height: 1.55;
  color: #33415E;
  break-inside: avoid;
}

ul.l li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E0A526;
  color: #0B2A6F;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
}

.cols {
  columns: 2 340px;
  column-gap: 48px;
  display: block;
}

.cols li {
  margin-bottom: 14px;
}

.chip {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 99px;
  background: #EAF0FC;
  color: #0B2A6F;
  margin: 0 8px 10px 0;
  font-weight: 500;
  font-size: 15px;
}

.tl {
  color: #DCE5FA;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.tl:hover {
  color: #F6D365;
}

.nl {
  color: #1B2A4A;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease;
}

.nl:hover {
  color: #B7800F;
}

.am {
  cursor: pointer;
  border: 1.5px solid #CBD6EE;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  background: #fff;
  color: #0B2A6F;
  font: inherit;
  font-weight: 700;
  min-width: 0;
  font-size: 17px;
  transition: all 0.2s ease;
}

.am:hover {
  border-color: #0B2A6F;
}

.am.on {
  background: #0B2A6F;
  color: #fff;
  border-color: #0B2A6F;
}

.kc {
  border: 0;
}

.kc p, .kc h3 {
  color: #fff;
}

.kc .ic {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.k1 {
  background: linear-gradient(135deg, #0B2A6F, #2A5BD7);
}

.k2 {
  background: linear-gradient(135deg, #C98A0A, #F0B53A);
}

.k3 {
  background: linear-gradient(135deg, #0A6670, #0E8A86);
}

.k4 {
  background: linear-gradient(135deg, #9A3412, #C2530C);
}

.k5 {
  background: linear-gradient(135deg, #5B2A9E, #7C4DDB);
}

.kc.k2 p, .kc.k2 h3 {
  color: #0B2A6F;
}

.kc.k2 .ic {
  background: #0B2A6F;
  color: #F6D365;
}

input, select, textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid #CBD6EE;
  background: #fff;
  color: #1B2A4A;
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #E0A526;
  outline-offset: 2px;
}

.form-status {
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 14px;
  background: #e8f7ed;
  color: #176534;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.error {
  background: #fff0f0;
  color: #8a1c1c;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gallery & Video items */
.gallery-item, .video-item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #eef2f8;
  box-shadow: 0 8px 24px rgba(7, 26, 74, .08);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .25s ease;
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.video-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #071A4A;
  object-fit: contain;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 10, 24, .94);
  box-sizing: border-box;
}

.gallery-lightbox-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 94vw !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  cursor: default;
}

.gallery-lightbox-close, .gallery-lightbox-prev, .gallery-lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(20, 30, 50, .72);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox-close {
  top: 14px;
  right: 14px;
  font-size: 30px;
}

.gallery-lightbox-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-close:focus-visible, .gallery-lightbox-prev:focus-visible, .gallery-lightbox-next:focus-visible {
  outline: 3px solid #E0A526;
  outline-offset: 3px;
}

.gallery-lightbox-caption {
  position: absolute;
  left: 70px;
  right: 70px;
  bottom: 12px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

/* WhatsApp chat floating button */
.whatsapp-chat-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .24);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-chat-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

.whatsapp-chat-button:focus-visible {
  outline: 3px solid #0B2A6F;
  outline-offset: 4px;
}

.whatsapp-chat-button svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

/* Topbar & Navbar styles */
.topbar-wrapper {
  background: #0B2A6F;
  color: #DCE5FA;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-wrapper .tl {
  color: #DCE5FA;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.topbar-wrapper .tl:hover {
  color: #F6D365;
}

.main-navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #E1E8F5;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navbar.scrolled,
.main-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(7, 26, 74, 0.1);
  border-bottom-color: rgba(203, 214, 238, 0.8);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.8vw, 24px);
  padding-top: 10px;
  padding-bottom: 10px;
  min-width: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  max-width: 320px;
  min-width: 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.navbar-brand:hover {
  transform: translateY(-1px);
}

.navbar-brand img, .navbar-brand-logo {
  height: 52px;
  width: 52px;
  min-width: 52px;
  flex: 0 0 52px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 50%;
  border: 2px solid #E0A526;
  box-shadow: 0 3px 10px rgba(7, 26, 74, 0.12);
  transition: transform 0.25s ease;
}

.navbar-brand:hover img,
.navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.04);
}

.brand-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0B2A6F;
  line-height: 1;
}

.brand-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B7800F;
  margin-top: 3px;
  line-height: 1.25;
  white-space: normal;
}

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.9vw, 14px);
  flex-wrap: nowrap;
}

.desktop-nav .nl {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #1B2A4A;
  padding: 6px 8px;
  border-radius: 6px;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-nav .nl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #E0A526;
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.desktop-nav .nl:hover {
  color: #0B2A6F;
  background-color: rgba(234, 240, 252, 0.6);
}

.desktop-nav .nl:hover::after {
  width: 75%;
}

.nav-donate {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 18px !important;
  font-size: 14.5px !important;
  box-shadow: 0 4px 14px rgba(224, 165, 38, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 165, 38, 0.4);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #CBD6EE;
  border-radius: 10px;
  background: #fff;
  color: #0B2A6F;
  font: 700 14px inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: #EAF0FC;
  border-color: #0B2A6F;
}

.mobile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(300px, calc(100vw - 32px));
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #E1E8F5;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(11, 42, 111, 0.2);
  padding: 8px;
  z-index: 1100;
  display: none; /* Crucial: hidden until user clicks Menu */
  gap: 2px;
}

.mobile-menu.active,
.mobile-menu.open {
  display: grid !important;
  animation: dropdownSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #0B2A6F;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  transition: background 0.15s ease;
}

.mobile-menu a:hover, .mobile-menu a:focus {
  background: #EAF0FC;
}

/* Responsive queries */
@media (max-width: 1240px) {
  .desktop-nav {
    display: none !important;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
  .navbar-inner {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
  }
  .navbar-brand {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .primary-nav {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .nav-donate {
    padding: 9px 14px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 900px) {
  .w {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .nl {
    display: none !important;
  }
  .gr2 {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  .gr {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)) !important;
  }
  section {
    padding: 58px 0 !important;
  }
  .card {
    padding: 22px !important;
  }
}

@media (max-width: 600px) {
  .w {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .btn {
    padding: 13px 17px;
    font-size: 15px;
    max-width: 100%;
    white-space: normal;
  }
  h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
    overflow-wrap: anywhere;
  }
  h2 {
    font-size: clamp(30px, 8vw, 40px) !important;
  }
  .gr, .gr2 {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  .card {
    padding: 18px !important;
    border-radius: 14px !important;
  }
  .amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #donation-form input, #partnership-form input, #partnership-form select, #partnership-form textarea {
    font-size: 16px;
    padding: 13px 12px;
  }
  .mq span {
    font-size: 20px;
    padding: 0 16px;
  }
  .cols {
    columns: 1;
  }
  .tl {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .whatsapp-chat-button {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-chat-button svg {
    width: 29px;
    height: 29px;
  }
  .navbar-brand img, .navbar-brand-logo {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px !important;
  }
  .brand-title {
    font-size: 18px !important;
  }
  .brand-subtitle {
    font-size: 9.5px !important;
  }
  .navbar-inner {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  .nav-donate {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 420px) {
  .nav-donate {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .gallery-item img {
    transition: none;
  }
  .mq {
    animation: none;
  }
}

/* Event Updates and Post Modal Styles */
.event-filter-btn {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid #CBD6EE;
  background: #fff;
  color: #0B2A6F;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.event-filter-btn:hover {
  border-color: #0B2A6F;
  background: #EAF0FC;
}

.event-filter-btn.active {
  background: #0B2A6F;
  color: #fff;
  border-color: #0B2A6F;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-tag.upcoming {
  background: #FFF4E5;
  color: #B76E00;
  border: 1px solid #FFE2B3;
}

.category-tag.conducted {
  background: #E8F7ED;
  color: #176534;
  border: 1px solid #C4EED0;
}

.category-tag.workshop {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.category-tag.outreach {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.category-tag.announcement {
  background: #F3E8FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}

.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E1E8F5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(11, 42, 111, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 42, 111, 0.14);
}

.event-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #071A4A;
  border-bottom: 1px solid #E1E8F5;
}

.event-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 74, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-dialog {
  background: #fff;
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(7, 26, 74, 0.35);
  position: relative;
  border: 1px solid #CBD6EE;
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid #E1E8F5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFBFD;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.modal-body {
  padding: 28px;
}

.modal-close-btn {
  background: none;
  border: 1px solid #CBD6EE;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #44536F;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #F4F7FD;
  color: #0B2A6F;
  border-color: #0B2A6F;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  align-items: center;
}

@media (max-width: 800px) {
  .footer-credits {
    text-align: center;
    width: 100%;
    margin-top: 6px;
  }
}

/* ==========================================================================
   PREMIUM ANIMATION SYSTEM
   ========================================================================== */

/* Scroll Reveal Base Classes */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade-in.is-revealed {
  opacity: 1;
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-slide-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-slide-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-350 { transition-delay: 350ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Hero ambient decorative floating elements */
@keyframes heroFloat1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(14px, -18px) rotate(6deg);
  }
}

@keyframes heroFloat2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-14px, 16px);
  }
}

.floating-circle-1 {
  animation: heroFloat1 9s ease-in-out infinite;
}

.floating-circle-2 {
  animation: heroFloat2 8s ease-in-out infinite;
}

/* WhatsApp soft pulsing glow */
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 5px 18px rgba(0, 0, 0, 0.24);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 22px rgba(0, 0, 0, 0.28);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 5px 18px rgba(0, 0, 0, 0.24);
  }
}

.whatsapp-chat-button {
  animation: waPulse 3.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Interactive button micro-elevation */
.btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 165, 38, 0.35);
}

.btn.n:hover {
  box-shadow: 0 6px 20px rgba(11, 42, 111, 0.4);
}

/* Interactive Card Elevation */
.card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(11, 42, 111, 0.16);
  border-color: #CBD6EE;
}

/* Accessibility - disable scroll animations when requested */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up,
  .reveal-fade-in,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .floating-circle-1,
  .floating-circle-2,
  .whatsapp-chat-button {
    animation: none !important;
  }
}



