html {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  position: relative;
  min-height: 100%;
}

body {
  background: #f2f2f3;
  color: #111827;
  overflow-x: hidden;
  padding-top: 74px;
}

.py-10 {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

/* Navbar */
.ai-navbar {
  min-height: 74px;
  border-bottom: 1px solid #d8d8d8;
}

.ai-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}

.ai-navbar .nav-link {
  color: #232323;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
}

.ai-navbar .nav-link:hover,
.ai-navbar .nav-link:focus {
  color: #003261;
}

.ai-navbar .nav-link.active {
  color: #111111;
  position: relative;
}

.ai-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: #111111;
}

.btn-pe {
  background: #0b4984;
  border: 1px solid #0b4984;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 14px;
  line-height: 1.1;
}

.btn-pe:hover,
.btn-pe:focus {
  color: #fff;
  background: #083a69;
  border-color: #083a69;
}

/* Start of Hero section */
.hero-section {
  background-repeat: repeat;
  background-size: 76px 76px;
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 35px !important;
  padding-bottom: 0 !important;
}

.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headings */
.text-AI {
  font-family: "Playfair Display", serif;
  color: #003261;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 1.03;
}

.text-subAI {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 48px);
  color: #171717;
  margin-top: -9px;
}

/* Hero */
.hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 12px;
  max-width: min(930px, 100%);
  width: 100%;
}

.img-hero {
  position: relative;
  z-index: 2;
  height: min(58vh, 620px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.img-flag {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(72vw, 700px);
  z-index: 1;
}

/* Quote */
.hero-quote {
  position: absolute;
  top: 12%;
  right: -20%;
  z-index: 3;
  max-width: 280px;
  text-align: left;
}

.quote-mark {
  font-size: 80px;
  color: #003261;
  margin-bottom: 8px;
}

.quote-item {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #344054;
  letter-spacing: 1.5%;
  line-height: 1.25;
  margin: 0;
}
/* End of Hero section */


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 4px #258cfb;
}


/* Portrait tiles (match the mock) */
.tile-square {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition: transform .15s ease;
}

.tile-square:hover {
  transform: translateY(-2px);
}

/* Make slide content stretch uniformly */
swiper-container.square-swiper {
  display: block;
  padding-inline: 0;
}

swiper-container.square-swiper::part(wrapper) { align-items: stretch; }



/*** Breaking New Start ***/

/* ----- News LIST ----- */
.news-list-col {
  display: flex;
  flex-direction: column;
}

.news-list {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.news-item { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.news-item:first-of-type { padding-top: 0; }
.news-item:last-of-type { border-bottom: 0; }

.news-thumb-wrap { display:block; flex:0 0 auto; }
.news-thumb {
  width: 200px;
  height: 112px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.news-meta { font-size: 11px; color: #9AA0A6; margin-bottom: 4px; letter-spacing: 0.01em; }
.news-title a { color: #111827; text-decoration: none; }
.news-title a:hover { text-decoration: underline; }
.news-title { font-size: 25px; line-height: 1.08; }
.news-excerpt { color: #6B7280; font-size: 12px; line-height: 1.45; max-width: 32ch; }

/* ----- Feauture News ----- */
.feature-card {
  border-radius: 0 !important;
  height: 620px;
}

.feature-img  { width: 100%; height: 100%; object-fit: cover; }

.feature-badge {
  position: absolute; top: 18px; left: 18px;
  border-radius: 8px; padding: 6px 11px; z-index: 2;
}

.feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,.6) 100%);
  z-index: 1;
}

.feature-content {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
}
.feature-meta { color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 6px; }
.feature-title {
  font-weight: 800; letter-spacing: .02em; line-height: 1.1;
  font-size: clamp(18px, 2.2vw, 30px);
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .news-list .news-item {
    flex: 1 1 0;
    min-height: 0;
  }

  .news-list .news-title,
  .news-list .news-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-list .news-title {
    -webkit-line-clamp: 2;
  }

  .news-list .news-excerpt {
    -webkit-line-clamp: 3;
  }
}
/*** Feature News End ***/

/* Meet Our Team */
/* Card shell */
.teams-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(49, 49, 49, 0.1);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.teams-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16,24,40,.12);
}

.teams-media {
  width: 100%;
  aspect-ratio: 4 / 5;      
  overflow: hidden;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.teams-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teams-media-circle img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.teams-body {
  padding: 16px 12px 20px;
}
.teams-name {
  font-weight: 600;
  color: #111827;
}
.teams-role {
  font-size: 15px;
  color: #6B7280;
  margin-top: 2px;
}

.teams-section h3 { margin-bottom: 20px; }
/* ----- End Meet Our Team ----- */


/* Madani Page */
/* ===== Hero ===== */
.madani-hero-section{
  width: 100%;
  margin: 0;
}

.madani-hero-card{
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
}

.madani-hero-img{
  display:block;
  width:100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.madani-hero-overlay{
  position:absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 4vw, 46px);
  padding-left: max(12px, calc((100vw - 1320px) / 2 + 12px));
  padding-right: max(12px, calc((100vw - 1320px) / 2 + 12px));
  color:#FFFFFF;
}

.madani-title{
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 30px);
  margin: 0;
  color:rgb(255, 255, 255);
}
.madani-subtitle{
  font-size: clamp(11px, 1.35vw, 14px);
  margin: 4px 0 0;
}


/* ===== Tabs (sticky under hero) ===== */

.madani-pills{
  gap: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
}

.madani-pills .nav-link{
  border-radius: 8px;
  font-weight: 600;
  padding: 8px 16px;
  color: #7c8aa1;
  background: #eef2f7;
  border: 1px solid #e6ecf4;
}

.madani-pills .nav-link.active{
  color:#0d3a66;
  background:#e7f1ff;
  border-color:#cfe3ff;
  box-shadow: 0 2px 6px rgba(13,58,102,.12) inset;
}

/* ===== Two-column reading layout ===== */
.tab-content {
  display: block;
  width: 100%;
}

.madani-content-wrap {
  max-width: 1100px;
}

.content-columns {
  column-gap: 34px;
  column-count: 2;
}
.content-columns p { 
  color:#2b2b2b; 
  line-height: 1.92;
  margin-bottom: 16px;
  font-size: 15px; 
  
}

/* Images inline between paragraphs as in mock */
.madani-photo {
  break-inside: avoid;
  margin: 12px 0 18px;
  display: block;
}
.madani-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.teras-wrap {
  max-width: 1120px;
}

.teras-head {
  margin-bottom: 22px;
}

.teras-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #6b7280;
}

.teras-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4.3vw, 54px);
  color: #0f4378;
  line-height: 1.1;
}

.teras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.teras-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid #d7e5f8;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  gap: 14px;
  min-height: 176px;
  box-shadow: 0 10px 22px rgba(15, 67, 120, 0.08);
  opacity: 0;
  transform: translateY(14px);
}

.teras-icon {
  width: 60px;
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #2f7ccc;
  display: grid;
  place-items: center;
  color: #2f7ccc;
  background: #f2f8ff;
}

.teras-icon i {
  font-size: 28px;
}

.teras-card h4 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 700;
  color: #1f6db8;
}

.teras-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2f4d72;
}

.teras-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 67, 120, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.teras-wrap.teras-animate .teras-card {
  animation: terasRise 520ms cubic-bezier(.2,.7,.2,1) forwards;
}

.teras-wrap.teras-animate .teras-card:nth-child(2) { animation-delay: 70ms; }
.teras-wrap.teras-animate .teras-card:nth-child(3) { animation-delay: 140ms; }
.teras-wrap.teras-animate .teras-card:nth-child(4) { animation-delay: 210ms; }
.teras-wrap.teras-animate .teras-card:nth-child(5) { animation-delay: 280ms; }
.teras-wrap.teras-animate .teras-card:nth-child(6) { animation-delay: 350ms; }

@keyframes terasRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* End Madani Page */

/* Administrator Page */

.cabinet-tabs {
  padding-top: 12px;
}

.cabinet-tabs .container > .d-flex {
  row-gap: 14px;
}

.cabinet-pills {
  margin-bottom: 0;
  gap: 8px;
}

.cabinet-pills .nav-link {
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 17px;
  color: #3f4d66;
  border: 1px solid transparent;
  background: transparent;
}

.cabinet-pills .nav-link.active {
  color: #ffffff;
  background: #ff5a35;
  border-color: #ff5a35;
  box-shadow: 0 8px 18px rgba(255, 90, 53, 0.32);
}

.cabinet-actions .btn {
  width: 52px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #d2d6dc;
  background: #f7f8fa;
  color: #374151;
}

.cabinet-actions .btn i {
  font-size: 18px;
}

.cabinet-actions .btn.active {
  background: #d7dce5;
  border-color: #c9cfdb;
}

.cabinet-content {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.cabinet-content .chart-view {
  text-align: center;
}

.cabinet-content .chart {
  width: min(100%, 880px);
  border-radius: 12px;
}

.cabinet-member-block {
  padding-top: 4px;
  padding-bottom: 4px;
}

.cabinet-member-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  color: #172554;
  margin: 0 0 22px;
  line-height: 1.1;
}

.cabinet-member-grid {
  --bs-gutter-x: 1.45rem;
  --bs-gutter-y: 1.45rem;
}

.cabinet-member-grid .teams-card {
  border-radius: 16px;
  border: 1px solid #dde2ea;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.cabinet-member-grid .teams-media {
  aspect-ratio: 4 / 4.45;
}

.cabinet-member-grid .teams-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabinet-member-grid .teams-body {
  padding: 14px 10px 16px;
}

.cabinet-member-grid .teams-name {
  font-size: 15px;
  font-weight: 700;
}

.cabinet-member-grid .teams-role {
  font-size: 13px;
}

.cabinet-member-grid > [class*="col-"] {
  opacity: 0;
  transform: translateY(12px);
}

.cabinet-member-grid.is-animated > [class*="col-"] {
  animation: cabinetRise 500ms cubic-bezier(.2,.7,.2,1) forwards;
}

.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(2) { animation-delay: 60ms; }
.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(3) { animation-delay: 120ms; }
.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(4) { animation-delay: 180ms; }
.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(5) { animation-delay: 240ms; }
.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(6) { animation-delay: 300ms; }
.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(7) { animation-delay: 360ms; }
.cabinet-member-grid.is-animated > [class*="col-"]:nth-child(8) { animation-delay: 420ms; }

@keyframes cabinetRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* softer pill look like the mock */
#pills-tab.nav {
  width: 100%;
  gap: 16px;
  border-radius: 12px;
  padding: 6px;
}
#pills-tab .nav-link {
  color: #7f8da2;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
}
#pills-tab .nav-link.active {
  color: #0d3a66;
  background: #dbeafe;
  box-shadow: inset 0 2px 6px rgba(13,58,102,.08);
  border: 1px solid #cfe3ff;
}

/* right action buttons */
.btn-group{
  color: #4c5e77;
}
.btn-group .btn.btn-light:hover {
  background: #dfeaf7;
  color: #2c3e55;
}


.chart {
  width: 50%;
  display: block;
  margin-left: auto; 
  margin-right: auto;
}

/* Footer */
.footer-dark {
  background: url('/assets/images/footer-bg.png') no-repeat center center;
  background-size: cover;   /* makes sure it stretches full */
}

.footer-dark h6 {
  font-size: 14px;
  font-weight: 600;
  color:rgb(173, 170, 170);
}

.footer-links li {
  margin-bottom: 6px;
}
.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover {
  color: #fff;
}

.footer-logo {
  height: 50px;
}

.footer-mail a, .bi-whatsapp, .bi-telegram {
  color: #FFFFFF;
}

.footer-dark a.btn-primary {
  background-color: #0B4984;
  border-color: #0B4984;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
}

.footer-dark small {
  color: #9ca3af;
}

@media (max-width: 1399.98px) {
  .hero-quote {
    right: -12%;
  }
}

@media (max-width: 1199.98px) {
  .hero-section {
    min-height: 620px;
  }

  .img-hero {
    height: min(54vh, 540px);
  }

  .hero-quote {
    right: -6%;
    top: 18%;
  }

  .feature-card {
    height: 560px;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 70px;
  }

  .ai-navbar .navbar-nav {
    gap: 0;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .ai-navbar .nav-link {
    padding: 7px 0;
  }

  .ai-navbar .btn-pe {
    margin-top: 8px;
    width: fit-content;
  }

  .hero-section {
    min-height: auto;
    padding-top: 32px !important;
  }

  .hero-media {
    margin-top: 8px;
  }

  .img-hero {
    height: min(52vh, 460px);
  }

  .img-flag {
    width: min(86vw, 560px);
  }

  .hero-quote {
    position: static;
    width: min(520px, 100%);
    margin: 16px auto 0;
    text-align: center;
  }

  .quote-mark {
    margin-bottom: 2px;
  }

  .news-section .row > .col-lg-5 {
    order: 2;
  }

  .news-section .row > .col-lg-7 {
    order: 1;
  }

  .feature-card {
    height: 440px;
  }

  .news-title {
    font-size: 19px;
  }

  .madani-hero-img {
    height: 170px;
  }
}

@media (max-width: 767.98px) {
  .py-10 {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .hero-section {
    background-size: 56px 56px;
  }

  .text-subAI {
    margin-top: -3px;
  }

  .img-hero {
    max-width: 100%;
  }

  .news-item {
    gap: 13px !important;
  }

  .news-thumb {
    width: 130px;
    height: 82px;
  }

  .news-title {
    font-size: 16px;
  }

  .news-excerpt {
    font-size: 11px;
    max-width: 26ch;
  }

  .feature-card {
    height: 300px;
  }

  .feature-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .teams-media {
    aspect-ratio: 1 / 1.08;
  }

  .cabinet-member-title {
    margin-bottom: 16px;
  }

  .cabinet-member-grid {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 1rem;
  }

  .madani-hero-img { height: 140px; }

  .madani-title {
    font-size: 20px;
    line-height: 1.05;
  }

  .madani-subtitle {
    font-size: 11px;
    line-height: 1.45;
  }

  .madani-hero-overlay {
    padding-left: 12px;
    padding-right: 12px;
  }

  .madani-content-wrap {
    max-width: 100%;
  }

  .content-columns {
    column-count: 1;
    column-gap: 0;
  }

  .teras-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .teras-card {
    min-height: 0;
  }

  .teras-card h4 {
    font-size: 19px;
  }

  .teras-card p {
    font-size: 14px;
  }
}

/* Coming soon page */
.coming-soon-page {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
}

.coming-soon-wrap {
  text-align: center;
  max-width: 720px;
}

.coming-soon-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  color: #6b7280;
  margin-bottom: 8px;
}

.coming-soon-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 54px);
  color: #0f2f56;
  margin-bottom: 8px;
}

.coming-soon-text {
  font-size: 18px;
  color: #374151;
}

/* Public Engagement Calendar */
.pe-calendar-section {
  padding-top: 8px;
}

.pe-calendar-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #d9e4f5;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(7, 39, 76, 0.1);
  overflow: hidden;
}

.pe-calendar-head {
  padding: 16px 20px;
  border-bottom: 1px solid #e1e8f3;
}

.pe-calendar-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #1f2a44;
}

.pe-calendar {
  padding: 8px 10px 12px;
}

.pe-calendar .fc .fc-daygrid-day-frame {
  min-height: 128px;
  background: #ffffff;
}

.pe-calendar .fc .fc-col-header-cell {
  background: #f0f5ff;
  border-color: #dbe5f4;
}

.pe-calendar .fc .fc-col-header-cell-cushion {
  color: #567297;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  padding: 9px 4px;
}

.pe-calendar .fc .fc-daygrid-day-number {
  color: #1f3858;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 7px 4px;
}

.pe-calendar .fc .fc-daygrid-day.fc-day-today {
  background: #e7f2ff !important;
}

.pe-calendar .fc-theme-standard td,
.pe-calendar .fc-theme-standard th {
  border-color: #e3e9f3;
}

.pe-calendar .fc .fc-day-other .fc-daygrid-day-frame {
  background: #f9fbfe;
}

.pe-calendar .fc-event {
  border: 0;
  background: transparent;
  margin: 3px 4px 0;
  padding: 0;
}

.pe-calendar .fc-daygrid-event .fc-event-title {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.pe-calendar .fc-event.ev-rakyat .fc-event-title {
  color: #0f5db7;
  background: #e9f2ff;
  border-color: #cfe1fb;
}

.pe-calendar .fc-event.ev-giveaway .fc-event-title {
  color: #c06e00;
  background: #fff4dc;
  border-color: #ffe1b0;
}

.pe-calendar .fc-event.ev-reel .fc-event-title {
  color: #c62c3e;
  background: #ffeaf0;
  border-color: #ffc8d3;
}

.pe-calendar .fc-event.ev-quote .fc-event-title {
  color: #355fc8;
  background: #ebf0ff;
  border-color: #d2dcff;
}

@media (max-width: 767.98px) {
  .pe-calendar-title {
    font-size: 18px;
  }

  .pe-calendar {
    padding: 6px 6px 10px;
  }

  .pe-calendar .fc .fc-daygrid-day-frame {
    min-height: 88px;
  }

  .pe-calendar .fc-daygrid-event .fc-event-title {
    font-size: 10px;
    padding: 1px 6px;
  }
}

@media (max-width: 575.98px) {
  .news-thumb {
    width: 116px;
    height: 74px;
  }

  .news-meta {
    font-size: 10px;
  }

  .news-title {
    font-size: 15px;
    line-height: 1.12;
  }

  .news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .footer-dark .text-lg-end {
    text-align: left !important;
  }

  .footer-dark .btn {
    margin-top: 6px;
  }
}

/* About AI page */
.about-ai-page {
  background: #f2f2f3;
}

.about-ai-container {
  max-width: 1120px;
  padding-top: 36px;
  padding-bottom: 30px;
}

.about-ai-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: start;
  gap: 12px;
}

.about-ai-hero-copy {
  padding-top: 20px;
  max-width: 510px;
}

.about-ai-eyebrow {
  font-size: 29px;
  letter-spacing: 6px;
  color: #161616;
  margin-bottom: 10px;
}

.about-ai-title {
  font-family: "Playfair Display", serif;
  font-size: 67px;
  line-height: 1;
  color: #121212;
  margin-bottom: 30px;
}

.about-ai-content p,
.about-ai-hero-copy p {
  font-size: 14px;
  line-height: 2.02;
  color: #151515;
  margin-bottom: 16px;
}

.about-ai-hero-image-wrap {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.about-ai-hero-circle {
  position: absolute;
  right: -170px;
  bottom: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: #ececec;
}

.about-ai-hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 610px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(1) contrast(1.04);
}

.about-ai-content {
  margin-top: 36px;
}

.about-ai-row {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 26px;
  align-items: start;
  margin-bottom: 12px;
}

.about-ai-row-mid {
  grid-template-columns: 470px 1fr;
  margin-top: 8px;
}

.about-ai-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-ai-photo-wrap {
  width: 100%;
  max-width: 470px;
}

.about-ai-copy {
  min-width: 0;
}

.about-ai-full {
  margin-top: 4px;
}

.about-ai-card-center {
  text-align: center;
  margin: 34px 0 14px;
}

.about-ai-card-image {
  width: min(100%, 395px);
  height: auto;
}

.about-ai-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 7px 0 28px;
}

.about-ai-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #989898;
}

.about-ai-dots .is-active {
  background: #114278;
}

.about-ai-book {
  text-align: center;
  margin-top: 30px;
}

.about-ai-book-image {
  width: min(100%, 265px);
  height: auto;
}

@media (max-width: 1199.98px) {
  .about-ai-container {
    max-width: 100%;
  }

  .about-ai-hero {
    grid-template-columns: 1fr 0.96fr;
    gap: 14px;
  }

  .about-ai-title {
    font-size: 54px;
  }

  .about-ai-hero-circle {
    width: 600px;
    height: 600px;
    right: -165px;
  }

  .about-ai-row {
    grid-template-columns: 1fr 430px;
  }

  .about-ai-row-mid {
    grid-template-columns: 430px 1fr;
  }

  .about-ai-photo-wrap {
    max-width: 430px;
  }
}

@media (max-width: 991.98px) {
  .about-ai-container {
    padding-top: 24px;
  }

  .about-ai-hero {
    grid-template-columns: 1fr;
  }

  .about-ai-hero-copy {
    padding-top: 10px;
  }

  .about-ai-title {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .about-ai-eyebrow {
    font-size: 23px;
  }

  .about-ai-hero-image-wrap {
    min-height: 470px;
  }

  .about-ai-hero-circle {
    width: 510px;
    height: 510px;
    right: 50%;
    transform: translateX(50%);
  }

  .about-ai-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .about-ai-row-mid {
    grid-template-columns: 1fr;
  }

  .about-ai-photo-wrap {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .about-ai-container {
    padding-top: 18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-ai-title {
    font-size: 40px;
  }

  .about-ai-eyebrow {
    font-size: 19px;
    letter-spacing: 4px;
  }

  .about-ai-content p,
  .about-ai-hero-copy p {
    font-size: 14px;
    line-height: 1.86;
  }

  .about-ai-hero-image-wrap {
    min-height: 390px;
  }

  .about-ai-hero-circle {
    width: 430px;
    height: 430px;
  }

  .about-ai-dots {
    gap: 12px;
  }

  .about-ai-dots span {
    width: 8px;
    height: 8px;
  }
}

/* Gallery Page */
.gallery-page {
  background: #f2f2f3;
}

.gallery-hero-img {
  height: 230px;
  object-position: center 36%;
  filter: saturate(1.06) contrast(1.04);
}

.gallery-section {
  padding-top: 10px;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.gallery-section-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: #0f2f56;
  line-height: 1.1;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-filter-btn {
  border: 1px solid #d2deec;
  background: #f7faff;
  color: #365478;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  transition: all 180ms ease;
}

.gallery-filter-btn:hover {
  border-color: #b8cbe3;
  background: #edf4ff;
}

.gallery-filter-btn.is-active {
  color: #ffffff;
  background: #0b4984;
  border-color: #0b4984;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: #dbe4f3;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  transform: translateY(0);
  transition: transform 230ms ease, box-shadow 230ms ease;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 280ms ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(5, 18, 42, 0.68) 100%);
  z-index: 1;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.18);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-tag {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.91);
  color: #16345b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 440ms ease, transform 440ms ease;
}

.gallery-modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #08172e;
}

.gallery-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(11, 73, 132, 0.95) 0%, rgba(8, 23, 46, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-modal-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.gallery-modal-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.gallery-modal-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-modal-counter {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.gallery-tool-btn {
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
}

.gallery-tool-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.gallery-tool-btn.is-on {
  background: #0b4984;
  border-color: #0b4984;
}

.gallery-modal-body {
  position: relative;
  padding: 20px;
  min-height: 460px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #132948 0%, #08172e 68%);
}

.gallery-modal-body img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 33, 61, 0.82);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: background 180ms ease;
}

.gallery-nav-btn:hover {
  background: rgba(11, 73, 132, 0.95);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-card img {
    height: 230px;
  }

  .gallery-section-title {
    font-size: 34px;
  }

  .gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .gallery-hero-img {
    height: 170px;
  }

  .gallery-section-title {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    height: 236px;
  }

  .gallery-modal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-modal-tools {
    width: 100%;
    justify-content: space-between;
  }

  .gallery-modal-title {
    font-size: 18px;
  }

  .gallery-modal-body {
    min-height: 340px;
    padding: 14px;
  }

  .gallery-nav-btn {
    width: 40px;
    height: 40px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }
}
