/* ===============================
   FULL WIDTH HERO SLIDER (FIXED)
================================= */
.rma-hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 95vh;
  min-height: 520px;
  overflow: hidden;
}

/* Track */
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ===============================
   SLIDES
================================= */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  transform: scale(1.05);
  /* slightly reduced */
  transition: opacity 0.8s ease, transform 1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Image */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.55));
}

/* ===============================
   CONTENT
================================= */
.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);

  max-width: 760px;
  width: 100%;
  padding: 0 20px;

  z-index: 3;
}

/* ===============================
   CONTROLS
================================= */
.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 5;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {
  .rma-hero-slider {
    height: 70vh;
  }
}

@media (max-width: 575px) {
  .rma-hero-slider {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}


/* ===============================
   CONTROLS
================================= */
.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 5;
}

/* Arrows */
.hero-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(31, 92, 169, 0.4);
}

/* Dots */
.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dots .dot.active {
  background: var(--color-primary);
  transform: scale(1.4);
}



/* ===============================
   ANNOUNCEMENT SECTION
================================= */
.rma-announcement {
  padding: 65px 0;
  background: linear-gradient(180deg, #f5f8fc, #eef3fb);
  overflow: visible;
}

/* ===============================
   ANNOUNCEMENT SLIDER WRAPPER & CARD
================================= */
.announcement-slider-wrapper {
  margin: 0 auto;
  max-width: 1220px;
}

.announcement-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(31, 92, 169, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(31, 92, 169, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0;
  overflow: hidden;
  min-height: 520px;
  max-height: 600px;
}

.announcement-card:hover {
  box-shadow: 0 16px 45px rgba(31, 92, 169, 0.12);
  border-color: rgba(31, 92, 169, 0.2);
}

/* Prevent flex overflow */
.announcement-card > * {
  min-width: 0;
}

/* ===============================
   FLYER IMAGE AREA
================================= */
.announcement-image {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8faff 0%, #edf3fc 100%);
  padding: 22px;
  border-right: 1px solid rgba(31, 92, 169, 0.08);
  position: relative;
  text-align: center;
}

.ann-img-wrapper {
  position: relative;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.ann-img {
  width: 100%;
  max-height: 510px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(15, 45, 83, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ann-img-wrapper:hover .ann-img {
  transform: scale(1.025);
  box-shadow: 0 10px 30px rgba(15, 45, 83, 0.2);
}

/* Hover overlay on desktop */
.ann-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 83, 0.35);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 12px;
  pointer-events: none;
}

.ann-img-wrapper:hover .ann-img-overlay {
  opacity: 1;
}

.ann-zoom-hint {
  background: #ffffff;
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(4px);
  transition: transform 0.25s ease;
}

.ann-img-wrapper:hover .ann-zoom-hint {
  transform: translateY(0);
}

/* Mobile View Button (hidden on desktop) */
.ann-mobile-view-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(31, 92, 169, 0.25);
  background: #ffffff;
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31, 92, 169, 0.08);
  transition: all 0.2s ease;
}

.ann-mobile-view-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ===============================
   CONTENT AREA
================================= */
.announcement-content {
  flex: 1;
  padding: 36px 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.ann-meta-badge {
  margin-bottom: 12px;
}

.ann-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(31, 92, 169, 0.08);
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.announcement-title {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 700;
  color: #113c72;
  margin-bottom: 16px;
}

/* Body container with wrapper, fade and scroll hint */
.ann-body-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.announcement-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 14px;
  padding-bottom: 26px;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 92, 169, 0.45) #eaf1fb;
}

.announcement-body::-webkit-scrollbar {
  width: 6px;
}

.announcement-body::-webkit-scrollbar-track {
  background: #eaf1fb;
  border-radius: 10px;
}

.announcement-body::-webkit-scrollbar-thumb {
  background: rgba(31, 92, 169, 0.45);
  border-radius: 10px;
}

.announcement-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Gradient fade at bottom indicating more content */
.ann-scroll-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 14px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95) 70%, #ffffff 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* Floating interactive scroll hint pill badge */
.ann-scroll-hint {
  position: absolute;
  bottom: 6px;
  right: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(31, 92, 169, 0.25);
  box-shadow: 0 4px 12px rgba(31, 92, 169, 0.15);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.ann-scroll-hint:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.ann-scroll-hint i {
  font-size: 11px;
  animation: annScrollBounce 1.5s infinite ease-in-out;
}

@keyframes annScrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.announcement-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
}

.announcement-body p:last-child {
  margin-bottom: 0;
}

.announcement-body strong {
  color: #0f2d53;
  font-weight: 700;
}

.announcement-content a {
  color: var(--color-primary);
  font-weight: 600;
  word-break: break-word;
}

/* ===============================
   ANNOUNCEMENT SLIDER & CONTROLS
================================= */
.announcement-slider {
  position: relative;
  width: 100%;
}

.announcement-viewport {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 12px 0;
  touch-action: pan-y;
}

.announcement-track {
  display: flex;
  transition: transform 0.6s ease;
}

.announcement-track > .announcement-card {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}

.announcement-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 16px;
}

.announcement-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.announcement-nav:hover {
  transform: translateY(-2px);
  background: #154580;
  box-shadow: 0 6px 18px rgba(31, 92, 169, 0.35);
}

.announcement-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ann-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(31, 92, 169, 0.25);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ann-dot:hover {
  background: rgba(31, 92, 169, 0.5);
}

.ann-dot.active {
  background: var(--color-primary);
  transform: scale(1.35);
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

/* Laptops / Small Desktops (992px to 1199px) */
@media (max-width: 1199px) {
  .announcement-card {
    min-height: 480px;
    max-height: 560px;
  }

  .announcement-image {
    flex: 0 0 44%;
    max-width: 44%;
    padding: 18px;
  }

  .ann-img {
    max-height: 470px;
  }

  .announcement-content {
    padding: 30px 34px;
  }

  .announcement-title {
    font-size: 23px;
  }
}

/* Tablets (Stacked View - 820px and below) */
@media (max-width: 820px) {
  .announcement-card {
    flex-direction: column;
    min-height: auto;
    max-height: none;
    border-radius: 18px;
  }

  .announcement-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(31, 92, 169, 0.1);
    padding: 20px 18px 16px;
    background: linear-gradient(180deg, #f4f8fd 0%, #edf3fc 100%);
  }

  .ann-img-wrapper {
    max-height: 340px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .ann-img {
    max-height: 330px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .ann-mobile-view-btn {
    display: inline-flex;
  }

  .announcement-content {
    padding: 24px 26px 28px;
  }

  .announcement-title {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .announcement-body {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .announcement-body p {
    font-size: 14.5px;
    line-height: 1.65;
  }
}

/* Mobile Screens (575px and below) */
@media (max-width: 575px) {
  .rma-announcement {
    padding: 45px 0;
  }

  .announcement-card {
    border-radius: 16px;
  }

  .announcement-image {
    padding: 14px 12px;
  }

  .ann-img-wrapper {
    max-height: 270px;
  }

  .ann-img {
    max-height: 260px;
    border-radius: 10px;
  }

  .ann-mobile-view-btn {
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .announcement-content {
    padding: 18px 16px 22px;
  }

  .ann-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .announcement-title {
    font-size: 18.5px;
    line-height: 1.32;
    margin-bottom: 12px;
  }

  .announcement-body {
    max-height: 240px;
    padding-right: 4px;
  }

  .announcement-body p {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .announcement-controls {
    margin-top: 18px;
    gap: 12px;
  }

  .announcement-nav {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* ===============================
   FLYER LIGHTBOX MODAL
================================= */
.ann-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.ann-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.ann-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 45, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ann-lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ann-lightbox.active .ann-lightbox-container {
  transform: scale(1);
}

.ann-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.ann-lightbox-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f5ca9;
  font-weight: 700;
  font-size: 14.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 12px;
}

.ann-lightbox-title-box i {
  font-size: 16px;
  flex-shrink: 0;
}

.ann-lightbox-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ann-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ann-lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ann-lightbox-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.ann-lightbox-btn.ann-lightbox-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.ann-lightbox-body {
  padding: 14px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-height: calc(94vh - 100px);
}

.ann-lightbox-img {
  max-width: 100%;
  max-height: calc(94vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.ann-lightbox-footer {
  padding: 8px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

.ann-lightbox-footer i {
  margin-right: 4px;
}

/* rma vision section css -----------------------------------------------------------------------------------------------------------------------------------*/
/* ===============================
   OUR VISION SECTION
================================= */
.rma-vision-section {
  padding: 60px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}



/* Layout */
.rma-vision-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

/* ===============================
   LEFT VISUAL
================================= */
.rma-vision-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===============================
   3D VISION CIRCLE – ANIMATED
================================= */
.vision-circle {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;

  background: linear-gradient(135deg,
      #2a6fc2,
      #4a92e6,
      #2f7bd1);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transform: perspective(900px) rotateX(8deg);

  animation: visionFloat 6s ease-in-out infinite;
  overflow: hidden;
}

.circle-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.vision-circle span {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* Soft breathing glow */
.vision-circle::before {
  content: "";
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(31, 92, 169, 0.4),
      rgba(31, 92, 169, 0.15),
      transparent 70%);
  animation: visionGlow 4s ease-in-out infinite;
  z-index: -1;
}

/* Pulse Wave Ring */
.vision-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 92, 169, 0.4);
  animation: visionPulse 3s linear infinite;
  z-index: -2;
}

/* ===============================
   KEYFRAMES
================================= */

/* Floating 3D movement */
@keyframes visionFloat {
  0% {
    transform: perspective(900px) rotateX(8deg) translateY(0);
  }

  50% {
    transform: perspective(900px) rotateX(8deg) translateY(-12px);
  }

  100% {
    transform: perspective(900px) rotateX(8deg) translateY(0);
  }
}

/* Glow breathing */
@keyframes visionGlow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

/* Expanding pulse ring */
@keyframes visionPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}




/* ===============================
   RIGHT CONTENT
================================= */
.rma-vision-content {
  position: relative;
  z-index: 2;
}

.rma-section-title.text-left {
  text-align: left;
}

.vision-highlight {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 20px 0;
  line-height: 1.5;
}

.vision-description {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-muted);
  max-width: 600px;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {
  .rma-vision-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .rma-section-title.text-left {
    text-align: center;
  }

  .vision-description {
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .rma-vision-section {
    padding: 90px 0;
  }

  .vision-circle {
    width: 200px;
    height: 200px;
    font-size: 22px;
  }

  .vision-highlight {
    font-size: var(--fs-subtitle);
  }
}



/* rma mission section css-------------------------------------------------------------------------- */
/* ===============================
   MISSION SECTION
================================= */
.rma-mission {
  padding: 60px 0;
  background: #ffffff;
  overflow: hidden;
}

.mission-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* ===============================
   LEFT TEXT CONTENT
================================= */
.mission-title {
  text-align: left;
}


.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: var(--fs-body);
  color: var(--text-main);
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ===============================
   RIGHT CIRCLE VISUAL
================================= */
.mission-visual {
  display: flex;
  justify-content: center;
  position: relative;
}


/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {

  .mission-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-title {
    text-align: center;
  }

  /* 🔥 CHANGE ORDER ON MOBILE */
  .mission-visual {
    order: -1;
    /* move circle to top */
    margin-bottom: 40px;
  }

  .mission-content {
    order: 1;
  }

  .mission-description {
    margin-left: auto;
    margin-right: auto;
  }

  .mission-list li {
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}





/* ===============================
   NEWSLETTER SECTION
================================= */
.rma-newsletter {
  padding: 70px 0;
  background: linear-gradient(180deg, #f5f8fc, #eef3fb);
  overflow-x: hidden;
}

.rma-symp-flyer {
  padding: 70px 0;
  background: #f6f9ff;
  overflow-x: hidden;
}

/* ===============================
   NEWSLETTER 4-THUMBNAIL GRID
================================= */
.newsletter-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.newsletter-thumb-link {
  display: block;
  position: relative;
  text-decoration: none;
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid rgba(31, 92, 169, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.newsletter-thumb-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(31, 92, 169, 0.18);
  border-color: var(--color-primary, #1f5ca9);
}

.newsletter-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbff;
}

.newsletter-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.newsletter-thumb-link:hover .newsletter-thumb-box img {
  transform: scale(1.06);
}

.newsletter-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 92, 169, 0.25) 0%, rgba(15, 44, 89, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.newsletter-thumb-link:hover .newsletter-thumb-overlay {
  opacity: 1;
}

.newsletter-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ffffff;
  color: var(--color-primary, #1f5ca9);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.newsletter-thumb-link:hover .newsletter-overlay-btn {
  transform: translateY(0);
}

/* Actions Container */
.newsletter-action-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--color-primary, #1f5ca9);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid var(--color-primary, #1f5ca9);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--color-primary, #1f5ca9);
  color: var(--color-white, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 92, 169, 0.25);
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {
  .newsletter-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .rma-section-title h2 {
    font-size: 26px;
  }

  .newsletter-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}






/* ===============================
   COUNTER SECTION
================================= */
.rma-counter-section {
  position: relative;
  padding: 90px 0;
  background: url("../img/rma-number-bg.webp") center/cover no-repeat;
  color: var(--color-white);
  overflow: hidden;
  object-fit: cover;
}

/* Dark blue overlay */
.rma-counter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 44, 89, 0.55), rgba(8, 25, 52, 0.65));
  z-index: 0;
}

.rma-counter-section .rma-container {
  position: relative;
  z-index: 2;
}

/* ===============================
   GRID (2x2)
================================= */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

/* ===============================
   COUNTER BOX
================================= */
.counter-box {
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.counter-box:hover {
  transform: translateY(-6px) scale(1.03);
}

/* ===============================
   ICON
================================= */
.counter-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary, #1f5ca9), #113c72);
  color: var(--color-white, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(31, 92, 169, 0.45);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.counter-box:hover .counter-icon {
  transform: scale(1.08);
  background: #ffffff;
  color: var(--color-primary, #1f5ca9);
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
}

/* ===============================
   NUMBER
================================= */
.counter-number {
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ===============================
   TEXT
================================= */
.counter-box p {
  font-size: var(--fs-body);
  opacity: 0.9;
  max-width: 280px;
  margin: 0 auto;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 575px) {
  .counter-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .counter-number {
    font-size: 38px;
  }
}



/* ===============================
   TESTIMONIAL SECTION
================================= */
.rma-testimonial {
  padding: 80px 0;
  background: #f6f9ff;
}

/* ===============================
   DOCUMENT CARD
================================= */
.document-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;

  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 92, 169, 0.18);
  padding: 36px;

  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.document-card:hover {
  transform: translateY(-8px) rotateX(2deg);
}

/* Prevent overflow */
.document-card>* {
  min-width: 0;
}

/* ===============================
   IMAGE
================================= */
.document-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.document-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-md);
  background: #fff;
}

/* ===============================
   CONTENT
================================= */
.document-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.document-content span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.document-content p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-muted);
  margin-bottom: 14px;
}

.document-sign {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-main);
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {
  .document-card {
    grid-template-columns: 1fr;
  }

  .document-image img {
    max-width: 360px;
  }
}

@media (max-width: 575px) {
  .document-card {
    padding: 24px;
  }

  .document-content h3 {
    font-size: 22px;
  }

  .document-image img {
    max-width: 100%;
  }
}



/* ===============================
   GALLERY SECTION
================================= */
.rma-gallery {
  padding: 80px 0;
  background: white;
}

/* ===============================
   MASONRY GRID
================================= */
.gallery-grid {
  column-count: 3;
  column-gap: 22px;
}

/* ===============================
   GALLERY ITEM
================================= */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;

  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) rotateX(2deg);
}

/* Image */
.gallery-item img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

/* ===============================
   TEXT OVERLAY (ALWAYS VISIBLE)
================================= */
.gallery-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.75));

  padding: 14px 16px;
}

.gallery-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: block;
}

/* Lift text slightly on hover */
.gallery-item:hover .gallery-overlay {
  transform: translateY(-4px);
}

/* ===============================
   MODAL VIEWER
================================= */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-modal.active {
  display: flex;
}

.modal-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  display: block;
  opacity: 1;
}

.modal-caption {
  position: absolute;
  bottom: 10px;
  color: #fff;
  font-size: 16px;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
}

/* Navigation buttons */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

/* ===============================
   ANIMATION
================================= */
@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 991px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    column-count: 1;
  }
}




/* news section css ========================================================================*/
/* SECTION */
.rma-news-section {
  padding: 90px 0;
  background: #f4f8ff;
}

/* SLIDER */
.news-slider {
  max-width: 900px;
  margin: auto;
}

/* 🚨 VIEWPORT – THIS WAS MISSING */
.news-viewport {
  overflow: hidden;
  /* ← THIS IS WHY IT WAS BROKEN */
  width: 100%;
}

/* TRACK */
.news-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

/* SLIDE */
.news-slide {
  min-width: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: center;
}

/* IMAGE */
.news-slide img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

/* CONTENT */
.news-content span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.news-content h3 {
  font-size: 26px;
  margin: 12px 0;
}

.news-content p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: var(--lh-body);
}

/* CONTROLS */
.news-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.news-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .news-slide {
    flex-direction: column;
    text-align: center;
  }

  .news-slide img {
    width: 100%;
    height: 240px;
  }
}