/* ==========================================================================
   Foundation Trust Page Stylesheet — Local Vocal Foundation Trust
   Website: Local Vocal Bharat (LVB)
   Theme: Strictly aligned with site's core theme colors (#034766, #00194C,
          #1c5974, #eaf3f8, #f8faff), Plus Jakarta Sans typography,
          signature .custome-btn pill buttons, section kickers, and card system.
   Scope: All custom styles strictly scoped under .ft-page / .ft- prefix
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Variables & Scoped Reset
   -------------------------------------------------------------------------- */
.ft-page {
  /* Site Theme Typography */
  --ft-font: 'Plus Jakarta Sans', sans-serif;

  /* Authentic Local Vocal Bharat Brand Palette */
  --ft-primary: #034766;              /* Core brand teal-navy */
  --ft-primary-dark: #00194C;         /* Deep theme navy (headings & dark sections) */
  --ft-primary-light: #1c5974;        /* Secondary brand hover color */
  --ft-primary-soft: #eaf3f8;         /* Soft brand tint for icon boxes */
  --ft-primary-subtle: #f8faff;       /* Theme section background */
  --ft-lavender: #e6eeff;             /* Theme lavender accent */
  --ft-cyan-light: #9ee2ff;           /* Light accent for dark sections */
  --ft-cyan-soft: #c7def1;            /* Soft subtext for dark sections */

  /* Neutral Typography Palette */
  --ft-text: #334770;                 /* Body font color from site tokens */
  --ft-heading: #00194C;              /* Headings & key titles */
  --ft-muted: #556877;                /* Supporting / subtitle text */
  --ft-line: #e1e5ee;                 /* Card and divider borders (site token) */
  --ft-white: #ffffff;
  --ft-shadow-sm: 0 4px 15px rgba(3, 71, 102, 0.06);
  --ft-shadow-md: 0 10px 25px rgba(3, 71, 102, 0.08);
  --ft-shadow-lg: 0 20px 45px rgba(3, 71, 102, 0.12);

  /* Sticky Header Offset */
  --ft-header-offset: 100px;

  /* Base Styles */
  font-family: var(--ft-font);
  color: var(--ft-text);
  line-height: 1.6;
  background-color: var(--ft-white);
  overflow-x: hidden;
  width: 100%;
}

.ft-page *,
.ft-page *::before,
.ft-page *::after {
  box-sizing: border-box;
}

.ft-page a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* In-page Anchor Offsets for Sticky Header */
.ft-page section[id],
.ft-page div[id] {
  scroll-margin-top: var(--ft-header-offset);
}

/* Container */
.ft-page .ft-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Typography Base */
.ft-page h1,
.ft-page h2,
.ft-page h3,
.ft-page h4 {
  font-family: var(--ft-font);
  color: var(--ft-heading);
  margin: 0;
  font-weight: 700;
}

.ft-page p {
  font-family: var(--ft-font);
  color: var(--ft-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

.ft-page p:last-child {
  margin-bottom: 0;
}

/* Highlight Text Underline Accent */
.ft-page .ft-highlight {
  color: var(--ft-primary);
  font-style: normal;
  position: relative;
  display: inline-block;
}

.ft-page .ft-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: rgba(3, 71, 102, 0.15);
  border-radius: 4px;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Breadcrumb Area (Site Theme Integration)
   -------------------------------------------------------------------------- */
.ft-page .breadcrumb-area {
  padding: 110px 0 70px;
  position: relative;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--ft-primary-dark);
  text-align: center;
}

.ft-page .breadcrumb-content .title {
  margin-bottom: 12px;
  color: var(--ft-white);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  text-transform: capitalize;
}

.ft-page .breadcrumb-content .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.ft-page .breadcrumb-content .breadcrumb-item {
  color: var(--ft-white);
  font-weight: 600;
  font-size: 14px;
  text-transform: capitalize;
}

.ft-page .breadcrumb-content .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.ft-page .breadcrumb-content .breadcrumb-item a:hover {
  color: var(--ft-white);
}

.ft-page .breadcrumb-content .breadcrumb-item+.breadcrumb-item::before {
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.6);
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
}

.ft-page .breadcrumb-shape-wrap img {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.ft-page .breadcrumb-shape-wrap img:nth-child(1) {
  left: 4%;
  top: 20%;
  animation: ft-float-1 7s infinite ease-in-out alternate;
}

.ft-page .breadcrumb-shape-wrap img:nth-child(2) {
  right: 5%;
  bottom: 15%;
  animation: ft-float-2 8s infinite ease-in-out alternate;
}

/* --------------------------------------------------------------------------
   Section Layout & Headings (Website Theme Pattern)
   -------------------------------------------------------------------------- */
.ft-page .ft-section {
  padding: 85px 0;
  position: relative;
}

.ft-page .ft-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

/* Website's signature section kicker with top rounded accent bar */
.ft-page .ft-kicker {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ft-primary);
  position: relative;
  padding-top: 18px;
  margin-bottom: 12px;
}

.ft-page .ft-kicker::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 32px;
  height: 4px;
  background: var(--ft-primary);
  border-radius: 4px;
}

.ft-page .ft-kicker-left {
  text-align: left;
}

.ft-page .ft-kicker-left::before {
  left: 0;
  transform: none;
}

.ft-page .ft-kicker-light {
  color: var(--ft-cyan-light);
}

.ft-page .ft-kicker-light::before {
  background: var(--ft-cyan-light);
}

.ft-page .ft-section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.22;
  color: var(--ft-heading);
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  font-weight: 800;
}

.ft-page .ft-section-head p {
  color: var(--ft-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons — Strict alignment with site's .custome-btn style
   -------------------------------------------------------------------------- */
.ft-page .ft-btn {
  user-select: none;
  background: var(--ft-primary);
  border: none;
  border-radius: 30px;
  color: var(--ft-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ft-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 16px 30px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(3, 71, 102, 0.18);
  gap: 12px;
}

/* Sliding circle expansion matching .custome-btn::before */
.ft-page .ft-btn::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--ft-primary-light);
  border-radius: 30px;
  z-index: -1;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
/* .ft-page .ft-btn::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    margin-left: 45px;
} */
.ft-page .ft-btn:hover::before {
  width: 100%;
}

.ft-page .ft-btn:hover {
  color: var(--ft-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(3, 71, 102, 0.28);
}

.ft-page .ft-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.ft-page .ft-btn:hover i {
  transform: translateX(4px);
}

/* Outline / Secondary Button (transparent-btn-two style) */
.ft-page .ft-btn-outline {
  background: transparent;
  color: var(--ft-primary);
  border: 2px solid var(--ft-primary);
  box-shadow: none;
}

.ft-page .ft-btn-outline::before {
  display: none;
}

.ft-page .ft-btn-outline:hover {
  background: var(--ft-primary);
  border-color: var(--ft-primary);
  color: var(--ft-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(3, 71, 102, 0.2);
}

/* --------------------------------------------------------------------------
   1. Hero Section (#home)
   -------------------------------------------------------------------------- */
.ft-page .ft-hero {
  background: linear-gradient(135deg, #f4f8fb 0%, #ffffff 50%, #eef5fa 100%);
  padding: 90px 0 82px;
  position: relative;
  overflow: hidden;
}

.ft-page .ft-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
}

.ft-page .ft-hero-copy {
  position: relative;
  z-index: 2;
}

.ft-page .ft-hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ft-primary-dark);
  margin: 18px 0 20px;
  font-weight: 800;
}

.ft-page .ft-hero p {
  font-size: 16px;
  color: var(--ft-muted);
  max-width: 530px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.ft-page .ft-hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Hero Right Visual — Purposeful Trust Identity Card */
.ft-page .ft-hero-art {
  min-height: 410px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-page .ft-art-card {
  width: min(390px, 94%);
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8fb 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ft-line);
  box-shadow: var(--ft-shadow-lg);
}

.ft-page .ft-orbit-ring {
  position: absolute;
  inset: 22px;
  border: 2px dashed rgba(3, 71, 102, 0.22);
  border-radius: 50%;
  pointer-events: none;
  animation: ft-rotate-orbit 45s linear infinite;
}

.ft-page .ft-art-emblem {
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: var(--ft-white);
  box-shadow: var(--ft-shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  border: 1px solid var(--ft-line);
  position: relative;
  z-index: 1;
  animation: ft-pulse 4s ease-in-out infinite;
}

.ft-page .ft-art-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ft-primary) 0%, var(--ft-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ft-white);
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(3, 71, 102, 0.22);
  margin-bottom: 12px;
}

.ft-page .ft-art-emblem-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ft-primary-dark);
  letter-spacing: 0.02em;
}

.ft-page .ft-art-emblem-text span {
  display: block;
  font-size: 12px;
  color: var(--ft-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Floating Feature Badges */
.ft-page .ft-float-badge {
  position: absolute;
  background: var(--ft-white);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--ft-shadow-md);
  border: 1px solid var(--ft-line);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ft-page .ft-float-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--ft-shadow-lg);
}

.ft-page .ft-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ft-primary-soft);
  color: var(--ft-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ft-page .ft-badge-content b {
  color: var(--ft-primary);
  font-size: 18px;
  line-height: 1.1;
  display: block;
  font-weight: 800;
}

.ft-page .ft-badge-content span {
  font-size: 12px;
  color: var(--ft-primary-dark);
  font-weight: 700;
  display: block;
}

.ft-page .ft-badge-1 {
  top: 25px;
  left: -15px;
  animation: ft-float-1 4s ease-in-out infinite alternate;
}

.ft-page .ft-badge-2 {
  right: -15px;
  bottom: 50px;
  animation: ft-float-2 5s ease-in-out infinite alternate;
}

.ft-page .ft-badge-3 {
  bottom: -15px;
  left: 30px;
  animation: ft-float-1 4.5s ease-in-out infinite alternate;
}

/* Decorative Hero Background Shapes */
.ft-page .ft-hero-shape-wrap img {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.ft-page .ft-hero-shape-wrap .ft-shape-1 {
  right: 2%;
  top: 10%;
  width: 140px;
  opacity: 0.6;
  animation: ft-float-1 9s ease-in-out infinite alternate;
}

.ft-page .ft-hero-shape-wrap .ft-shape-2 {
  left: 2%;
  bottom: 8%;
  width: 110px;
  opacity: 0.5;
  animation: ft-float-2 10s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   2. About / Purpose Section (#about)
   -------------------------------------------------------------------------- */
.ft-page .ft-about {
  background: var(--ft-white);
  position: relative;
}

.ft-page .ft-about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 55px;
  align-items: center;
}

.ft-page .ft-about-visual {
  background: linear-gradient(145deg, #022f45 0%, var(--ft-primary) 100%);
  border-radius: 20px;
  padding: 40px;
  color: var(--ft-white);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(3, 71, 102, 0.2);
}

.ft-page .ft-about-visual::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  right: -90px;
  bottom: -90px;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.06),
              0 0 0 70px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.ft-page .ft-about-visual-content {
  position: relative;
  z-index: 1;
}

.ft-page .ft-about-big {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: var(--ft-cyan-light);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.ft-page .ft-about-visual strong {
  font-size: 23px;
  max-width: 270px;
  line-height: 1.3;
  color: var(--ft-white);
  display: block;
  font-weight: 700;
  margin-bottom: 24px;
}

.ft-page .ft-about-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ft-page .ft-about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ft-cyan-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ft-page .ft-about-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.22;
  color: var(--ft-heading);
  margin: 10px 0 18px;
  font-weight: 800;
}

.ft-page .ft-about-copy p {
  color: var(--ft-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.ft-page .ft-values {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.ft-page .ft-value {
  font-weight: 700;
  color: var(--ft-primary);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ft-primary-soft);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #d4e6f1;
}

.ft-page .ft-value i {
  color: var(--ft-primary);
  font-size: 15px;
}

.ft-page .ft-about-shape-wrap img {
  position: absolute;
  right: 2%;
  bottom: 5%;
  width: 100px;
  opacity: 0.5;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. Initiatives Section (#initiatives)
   -------------------------------------------------------------------------- */
.ft-page .ft-initiatives {
  background: var(--ft-primary-subtle);
}

.ft-page .ft-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.ft-page .ft-card {
  background: var(--ft-white);
  border: 1px solid var(--ft-line);
  border-radius: 18px;
  padding: 28px 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 255px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ft-shadow-sm);
  position: relative;
}

.ft-page .ft-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ft-shadow-lg);
  border-color: var(--ft-primary);
}

.ft-page .ft-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ft-primary-soft);
  color: var(--ft-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ft-page .ft-card:hover .ft-ico {
  background: var(--ft-primary);
  color: var(--ft-white);
  transform: scale(1.06);
}

.ft-page .ft-card h3 {
  color: var(--ft-heading);
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  font-weight: 700;
}

.ft-page .ft-card p {
  font-size: 13.5px;
  color: var(--ft-muted);
  margin: 0;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   4. Impact Section (#impact) — Matches site dark theme (.services-bg)
   -------------------------------------------------------------------------- */
.ft-page .ft-impact {
  background: var(--ft-primary);
  color: var(--ft-white);
  overflow: hidden;
}

.ft-page .ft-impact .ft-section-head h2 {
  color: var(--ft-white);
}

.ft-page .ft-impact .ft-section-head p {
  color: var(--ft-cyan-soft);
}

.ft-page .ft-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.ft-page .ft-stat {
  text-align: center;
  padding: 28px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.ft-page .ft-stat:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

.ft-page .ft-stat strong {
  display: block;
  font-size: 38px;
  color: var(--ft-cyan-light);
  line-height: 1.15;
  font-weight: 800;
  font-family: var(--ft-font);
}

.ft-page .ft-stat span {
  font-size: 13px;
  color: #e5f2fa;
  font-weight: 700;
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.ft-page .ft-impact-shape-wrap img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  opacity: 0.15;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Gallery Section (#gallery)
   -------------------------------------------------------------------------- */
.ft-page .ft-gallery {
  background: var(--ft-white);
}

.ft-page .ft-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 190px 190px;
  gap: 16px;
}

.ft-page .ft-gallery-tile {
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f6fa 0%, #e6f0f7 100%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--ft-primary-dark);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ft-line);
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.ft-page .ft-gallery-tile:hover,
.ft-page .ft-gallery-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--ft-shadow-md);
  border-color: var(--ft-primary);
  outline: none;
}

.ft-page .ft-gallery-tile-icon {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 58px;
  color: var(--ft-primary);
  opacity: 0.16;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.ft-page .ft-gallery-tile:hover .ft-gallery-tile-icon {
  opacity: 0.32;
  transform: scale(1.08);
}

.ft-page .ft-gallery-tile.has-image .ft-gallery-tile-icon {
  color: #ffffff;
  opacity: 0.32;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ft-page .ft-gallery-tile.has-image:hover .ft-gallery-tile-icon {
  opacity: 0.55;
  transform: scale(1.08);
}

.ft-page .ft-gallery-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-page .ft-gallery-tile:hover .ft-gallery-tile-img,
.ft-page .ft-gallery-tile:focus-visible .ft-gallery-tile-img {
  transform: scale(1.06);
}

.ft-page .ft-gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 44, 0.1) 0%, rgba(8, 28, 44, 0.42) 55%, rgba(8, 28, 44, 0.72) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.ft-page .ft-gallery-tile:hover .ft-gallery-tile-overlay,
.ft-page .ft-gallery-tile:focus-visible .ft-gallery-tile-overlay {
  background: linear-gradient(180deg, rgba(8, 28, 44, 0.05) 0%, rgba(8, 28, 44, 0.35) 55%, rgba(8, 28, 44, 0.65) 100%);
}

.ft-page .ft-gallery-tile-large {
  grid-row: span 2;
  background: linear-gradient(145deg, #e4f0f7 0%, #edf5fa 100%);
}

.ft-page .ft-gallery-chip {
  position: relative;
  z-index: 2;
  background: var(--ft-white);
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ft-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Dynamic Image Gallery Popup Modal
   -------------------------------------------------------------------------- */
.ft-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ft-gallery-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ft-gm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 34, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.28s ease;
}

.ft-gm-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  max-height: 94vh;
  background: #0f2233;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-gallery-modal.is-active .ft-gm-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.ft-gm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 34, 51, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.ft-gm-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ft-gm-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(13, 164, 139, 0.18);
  color: #20c997;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ft-gm-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ft-gm-subtitle {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.ft-gm-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ft-gm-counter {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.ft-gm-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.ft-gm-close:hover {
  background: rgba(239, 68, 68, 0.88);
  border-color: rgba(239, 68, 68, 1);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Modal Body */
.ft-gm-body {
  position: relative;
  flex: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #081622;
  overflow: hidden;
}

/* Image Stage */
.ft-gm-stage {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 300px;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-gm-image-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 64px;
}

.ft-gm-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: scale(0.98);
}

.ft-gm-image.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.ft-gm-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0da48b;
  font-size: 32px;
  background: rgba(8, 22, 34, 0.6);
  z-index: 2;
  transition: opacity 0.2s ease;
}

.ft-gm-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Navigation Buttons */
.ft-gm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 34, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
}

.ft-gm-prev {
  left: 16px;
}

.ft-gm-next {
  right: 16px;
}

.ft-gm-nav:hover {
  background: #0da48b;
  border-color: #0da48b;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.ft-gm-nav:disabled,
.ft-gm-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Empty State */
.ft-gm-empty {
  padding: 56px 24px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ft-gm-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.ft-gm-empty h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.ft-gm-empty p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Thumbnails Strip */
.ft-gm-footer {
  padding: 12px 18px;
  background: rgba(15, 34, 51, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ft-gm-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.ft-gm-thumbs::-webkit-scrollbar {
  height: 5px;
}

.ft-gm-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.ft-gm-thumb {
  position: relative;
  width: 68px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all 0.2s ease;
  background: #081622;
  padding: 0;
}

.ft-gm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ft-gm-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.ft-gm-thumb.is-active {
  opacity: 1;
  border-color: #0da48b;
  box-shadow: 0 0 12px rgba(13, 164, 139, 0.45);
  transform: scale(1.05);
}

/* Modal Responsive Breakpoints */
@media (max-width: 768px) {
  .ft-gallery-modal {
    padding: 10px;
  }
  .ft-gm-dialog {
    max-height: 96vh;
    border-radius: 16px;
  }
  .ft-gm-header {
    padding: 12px 16px;
  }
  .ft-gm-title {
    font-size: 15px;
  }
  .ft-gm-stage {
    height: 48vh;
    min-height: 240px;
  }
  .ft-gm-image-viewport {
    padding: 8px 44px;
  }
  .ft-gm-nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .ft-gm-prev {
    left: 8px;
  }
  .ft-gm-next {
    right: 8px;
  }
  .ft-gm-thumb {
    width: 56px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .ft-gallery-modal {
    padding: 6px;
  }
  .ft-gm-header {
    padding: 10px 12px;
  }
  .ft-gm-subtitle {
    display: none;
  }
  .ft-gm-title {
    font-size: 14px;
  }
  .ft-gm-stage {
    height: 44vh;
  }
  .ft-gm-image-viewport {
    padding: 6px 36px;
  }
  .ft-gm-thumb {
    width: 48px;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   6. Support Us Section (#support)
   -------------------------------------------------------------------------- */
.ft-page .ft-support {
  background: var(--ft-primary-subtle);
}

.ft-page .ft-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ft-page .ft-support-card {
  background: var(--ft-white);
  border-radius: 18px;
  padding: 34px 28px;
  border: 1px solid var(--ft-line);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--ft-shadow-sm);
  display: flex;
  flex-direction: column;
}

.ft-page .ft-support-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ft-shadow-lg);
  border-color: var(--ft-primary);
}

.ft-page .ft-support-card h3 {
  color: var(--ft-heading);
  font-size: 20px;
  margin: 12px 0 8px;
  font-weight: 700;
}

.ft-page .ft-support-card p {
  color: var(--ft-muted);
  font-size: 14px;
  margin: 0 0 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.ft-page .ft-support-link {
  color: var(--ft-primary);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.ft-page .ft-support-link i {
  transition: transform 0.25s ease;
}

.ft-page .ft-support-card:hover .ft-support-link i {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   7. Quote Band Section
   -------------------------------------------------------------------------- */
.ft-page .ft-quote {
  padding: 75px 0;
  background: linear-gradient(135deg, #eef5f9 0%, #f7fafc 50%, #eaf3f8 100%);
  text-align: center;
  border-top: 1px solid var(--ft-line);
  border-bottom: 1px solid var(--ft-line);
}

.ft-page .ft-quote blockquote {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ft-primary-dark);
  max-width: 860px;
  margin: 0 auto 16px;
  letter-spacing: -0.6px;
  font-family: var(--ft-font);
}

.ft-page .ft-quote small {
  color: var(--ft-muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Contact Section (#contact)
   -------------------------------------------------------------------------- */
.ft-page .ft-contact {
  background: var(--ft-white);
}

.ft-page .ft-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.ft-page .ft-contact-copy h2 {
  color: var(--ft-heading);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.22;
  margin: 10px 0 16px;
  font-weight: 800;
}

.ft-page .ft-contact-copy p {
  color: var(--ft-muted);
  font-size: 15px;
}

.ft-page .ft-contact-detail {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.ft-page .ft-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--ft-primary-subtle);
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--ft-line);
}

.ft-page .ft-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ft-primary);
  color: var(--ft-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.ft-page .ft-contact-item b {
  color: var(--ft-heading);
  font-size: 13.5px;
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.ft-page .ft-contact-item span {
  font-size: 14px;
  color: var(--ft-text);
}

.ft-page .ft-contact-pending {
  color: var(--ft-muted);
  font-style: italic;
  font-size: 13.5px;
}

/* Form Panel — Matches site's .contact-form pill input aesthetics */
.ft-page .ft-contact-panel {
  background: var(--ft-primary-subtle);
  border: 1px solid var(--ft-line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--ft-shadow-sm);
}

.ft-page .ft-contact-panel h3 {
  color: var(--ft-heading);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 800;
}

.ft-page .ft-field {
  margin-bottom: 18px;
}

.ft-page .ft-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ft-heading);
  margin-bottom: 8px;
}

.ft-page .ft-field input,
.ft-page .ft-field textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #d5dae4;
  border-radius: 30px;
  background: var(--ft-white);
  font-family: var(--ft-font);
  font-size: 14px;
  color: var(--ft-heading);
  transition: all 0.25s ease;
}

.ft-page .ft-field input::placeholder,
.ft-page .ft-field textarea::placeholder {
  color: #94a3b8;
  font-weight: 500;
  font-size: 13.5px;
}

.ft-page .ft-field input:focus,
.ft-page .ft-field textarea:focus {
  outline: none;
  border-color: var(--ft-primary);
  box-shadow: 0 0 0 3px rgba(3, 71, 102, 0.15);
}

.ft-page .ft-field textarea {
  border-radius: 18px;
  min-height: 110px;
  resize: vertical;
}

.ft-page .ft-btn-submit {
  width: 100%;
  margin-top: 6px;
}

.ft-page .ft-form-alert:empty {
  display: none;
}

.ft-page .ft-field label.error {
  display: block;
  color: #dc2626 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-top: 6px;
  margin-bottom: 0;
}

.ft-page .ft-field input.error,
.ft-page .ft-field textarea.error {
  border-color: #dc2626 !important;
}

/* --------------------------------------------------------------------------
   Animations (Subtle & Polished)
   -------------------------------------------------------------------------- */
@keyframes ft-rotate-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ft-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes ft-float-1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes ft-float-2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ft-page .ft-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .ft-page .ft-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .ft-page .ft-hero-grid,
  .ft-page .ft-about-grid {
    gap: 35px;
  }
}

@media (max-width: 900px) {
  .ft-page .ft-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .ft-page .ft-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .ft-page .ft-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .ft-page .ft-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ft-page .ft-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .ft-page .ft-hero-actions {
    justify-content: center;
  }

  .ft-page .ft-about-grid,
  .ft-page .ft-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ft-page .ft-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
  }

  .ft-page .ft-gallery-tile-large {
    grid-row: auto;
    grid-column: span 2;
  }

  .ft-page .ft-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .ft-page {
    --ft-header-offset: 80px;
  }

  .ft-page .ft-section {
    padding: 60px 0;
  }

  .ft-page .ft-container {
    width: min(100% - 32px, 560px);
  }

  .ft-page .breadcrumb-area {
    padding: 85px 0 50px;
  }

  .ft-page .ft-hero {
    padding: 55px 0 45px;
  }

  .ft-page .ft-hero-art {
    min-height: 350px;
    padding: 18px 0 24px;
  }

  .ft-page .ft-art-card {
    width: min(290px, 92%);
  }

  .ft-page .ft-art-emblem {
    width: 60%;
    height: 60%;
    padding: 14px 12px;
  }

  .ft-page .ft-art-icon-circle {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 8px;
  }

  .ft-page .ft-art-emblem-text strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .ft-page .ft-art-emblem-text span {
    font-size: 11px;
    margin-top: 3px;
  }

  .ft-page .ft-float-badge {
    padding: 8px 12px;
    border-radius: 12px;
    gap: 8px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100% - 16px);
  }

  .ft-page .ft-badge-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border-radius: 8px;
  }

  .ft-page .ft-badge-content b {
    font-size: 13px;
  }

  .ft-page .ft-badge-content span {
    font-size: 10.5px;
  }

  .ft-page .ft-badge-1 {
    top: -10px;
    left: 4px;
  }

  .ft-page .ft-badge-2 {
    top: auto;
    bottom: 54px;
    right: 4px;
  }

  .ft-page .ft-badge-3 {
    top: auto;
    bottom: -12px;
    left: 0;
    right: 0;
    margin-inline: auto;
  }

  .ft-page .ft-about-visual {
    min-height: 280px;
    padding: 30px;
  }

  .ft-page .ft-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ft-page .ft-card {
    min-height: 220px;
    padding: 20px 16px;
  }

  .ft-page .ft-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ft-page .ft-stat:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .ft-page .ft-stat strong {
    font-size: 30px;
  }

  .ft-page .ft-support-grid {
    grid-template-columns: 1fr;
  }

  .ft-page .ft-contact-panel {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .ft-page .ft-hero h1 {
    font-size: 30px;
  }

  .ft-page .ft-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ft-page .ft-btn {
    width: 100%;
  }

  .ft-page .ft-cards {
    grid-template-columns: 1fr;
  }

  .ft-page .ft-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ft-page .ft-gallery-tile-large {
    grid-column: auto;
  }

  .ft-page .ft-gallery-tile {
    min-height: 200px;
  }
}
@media (max-width: 360px) {
  .ft-page .ft-hero h1 {
    font-size: 26px;
  }

  .ft-page .ft-hero-art {
    min-height: 330px;
    padding: 14px 0 20px;
  }

  .ft-page .ft-art-card {
    width: 268px;
  }

  .ft-page .ft-art-emblem {
    width: 62%;
    height: 62%;
    padding: 12px 10px;
  }

  .ft-page .ft-art-icon-circle {
    width: 42px;
    height: 42px;
    font-size: 18px;
    margin-bottom: 6px;
  }

  .ft-page .ft-art-emblem-text strong {
    font-size: 12px;
  }

  .ft-page .ft-art-emblem-text span {
    font-size: 10px;
  }

  .ft-page .ft-float-badge {
    padding: 6px 10px;
    gap: 6px;
  }

  .ft-page .ft-badge-icon {
    width: 26px;
    height: 26px;
    font-size: 11px;
    border-radius: 7px;
  }

  .ft-page .ft-badge-content b {
    font-size: 12px;
  }

  .ft-page .ft-badge-content span {
    font-size: 9.5px;
  }

  .ft-page .ft-badge-1 {
    top: -8px;
    left: 2px;
  }

  .ft-page .ft-badge-2 {
    bottom: 34px;
    right: 2px;
  }

  .ft-page .ft-badge-3 {
    bottom: -10px;
  }

  .ft-page .ft-section-head h2 {
    font-size: 24px;
  }

  .ft-page .ft-stat strong {
    font-size: 26px;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .ft-page * {
    transition: none !important;
    animation: none !important;
  }
}
