* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: #f5f7fb;
  color: #1a2c3e;
  line-height: 1.5;
}

:root {
  --royal-blue: #002366;
  --soft-white: #f8faff;
  --accent-red: #e63946;
  --shadow-color: rgba(0, 35, 102, 0.2);
  --transition-speed: 0.8s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  background-color: var(--soft-white);
  overflow: hidden; /* Prevent scrolling during loading */
  height: 100vh;
  width: 100vw;
}

/* Preloader Container */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #ffffff 0%, #e0e7ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity var(--transition-speed) ease-in-out,
    visibility var(--transition-speed);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Company Logo Bouncing Wrapper */
.logo-wrapper {
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 15px var(--shadow-color));
  animation: logoBounce 2s ease-in-out infinite;
}

/* Stylized Company Logo using CSS and SVG shapes */
.company-logo {
  width: 100px;
  height: 100px;
  background: var(--royal-blue);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 4px solid white;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.logo-initials {
  font-family: "Fredoka One", cursive;
  color: white;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -2px;
}

.logo-accent {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background: var(--accent-red);
  border-radius: 50%;
  border: 3px solid white;
}

@keyframes logoBounce {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) scale(1.05) rotate(5deg);
  }
}

/* Bookstore Text */
.brand-text {
  font-family: "Fredoka One", cursive;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--royal-blue);
  display: flex;
  gap: 4px;
  text-shadow:
    3px 3px 0px #fff,
    6px 6px 0px var(--shadow-color);
  margin-bottom: 1.5rem;
}

.letter {
  display: inline-block;
  animation: letterBounce 1.5s ease-in-out infinite;
  transform-origin: bottom;
}

/* Sequential Delays for Bouncing */
.letter:nth-child(1) {
  animation-delay: 0s;
}
.letter:nth-child(2) {
  animation-delay: 0.1s;
}
.letter:nth-child(3) {
  animation-delay: 0.2s;
}
.letter:nth-child(4) {
  animation-delay: 0.3s;
}
.letter:nth-child(5) {
  animation-delay: 0.4s;
}
.letter:nth-child(6) {
  animation-delay: 0.5s;
}
.letter:nth-child(7) {
  animation-delay: 0.6s;
}
.letter:nth-child(8) {
  animation-delay: 0.7s;
}
.letter:nth-child(9) {
  animation-delay: 0.8s;
}

@keyframes letterBounce {
  0%,
  20%,
  100% {
    transform: translateY(0) scale(1);
  }
  10% {
    transform: translateY(-20px) scale(1.1);
    color: var(--accent-red);
  }
}

/* Progress Bar */
.progress-container {
  width: 200px;
  height: 6px;
  background: rgba(0, 35, 102, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  position: absolute;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--royal-blue), var(--accent-red));
  border-radius: 10px;
  transition: width 0.1s linear;
}
/* Responsive Tweaks */
@media (max-width: 600px) {
  .brand-text {
    gap: 2px;
  }
  .progress-container {
    width: 150px;
  }
}
.premium-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid #e03a3a;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0a2b5e;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}
.nav-links a:hover,
.nav-links a.active {
  background: #0a2b5e;
  color: white;
}
.contact-phone {
  background: #0a2b5e;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 28px;
  height: 2.5px;
  background: #0a2b5e;
  margin: 4px 0;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
  }
  .nav-links.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .nav-container {
    flex-wrap: wrap;
  }
}
.hero-banner {
  width: 100%;
  height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(10, 43, 94, 0.75), rgba(10, 43, 94, 0.85)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?q=80&w=2070&auto=format");
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(224, 58, 58, 0.85);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}
.hero-banner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
  font-family: "Cormorant Garamond", serif;
}
.hero-banner h1 span {
  color: #ffd966;
}
.hero-banner p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 700px;
  margin: 0 auto 1rem;
  opacity: 0.95;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}
.hero-stat .number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffd966;
}
.hero-stat .label {
  font-size: 0.75rem;
  opacity: 0.9;
}
/* ========== ALLIANCE SECTION (UNIQUE CLASS NAMES) ========== */
.alliance-showcase {
  margin: auto;
  width: 100%;
  height: 20vh;
  min-height: 100px;
  max-height: 210px;
  background: linear-gradient(
    115deg,
    #0c2b5a 0%,
    #1a3d72 35%,
    #fef9f0 65%,
    #e03a3a12 100%
  );

  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -14px rgba(8, 35, 70, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.alliance-showcase:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 48px -18px rgba(8, 35, 70, 0.5);
}

/* Animated Border (meeting from both ends) */
.alliance-showcase::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #e03a3a, #ffb457, #e03a3a);
  animation: glideFromLeft 4.2s ease-in-out infinite;
  z-index: 4;
  border-radius: 2px;
}

.alliance-showcase::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(270deg, #0a2b5e, #2a6eff, #0a2b5e);
  animation: glideFromRight 4.2s ease-in-out infinite;
  z-index: 4;
  border-radius: 2px;
}

@keyframes glideFromLeft {
  0% {
    width: 0%;
    left: 0;
    opacity: 0.6;
  }
  45% {
    width: 48%;
    left: 0;
    opacity: 1;
  }
  55% {
    width: 48%;
    left: 0;
  }
  100% {
    width: 0%;
    left: 100%;
    opacity: 0.6;
  }
}

@keyframes glideFromRight {
  0% {
    width: 0%;
    right: 0;
    opacity: 0.6;
  }
  45% {
    width: 48%;
    right: 0;
    opacity: 1;
  }
  55% {
    width: 48%;
    right: 0;
  }
  100% {
    width: 0%;
    right: 100%;
    opacity: 0.6;
  }
}

/* Decorative Dots Cluster (Right side - elegant) */
.ornament-dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 3;
}

.ornament-dots span {
  width: 4px;
  height: 4px;
  background: rgba(224, 58, 58, 0.45);
  border-radius: 50%;
  transition: all 0.3s;
}

.alliance-showcase:hover .ornament-dots span {
  background: #e03a3a;
  box-shadow: 0 0 8px #e03a3a;
}

/* Marquee Carousel (Slow Right ➔ Left) */
.alliance-carousel {
  width: 80%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  margin: auto;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  white-space: nowrap;
  animation: smoothMarquee 38s linear infinite;
  will-change: transform;
}

@keyframes smoothMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Partner Entity Card (unique naming) */
.alliance-entity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(5px);
  padding: 0.6rem 2rem;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  border: 1px solid rgba(224, 58, 58, 0.18);
  cursor: default;
}

.alliance-entity:hover {
  transform: translateY(-4px) scale(1.02);
  background: #ffffff;
  border-color: #e03a3a;
  box-shadow: 0 14px 24px -10px rgba(224, 58, 58, 0.28);
}

/* Emblem / Logo Icon */
.entity-emblem {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0a2b5e, #1f4788);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: white;
  font-size: 1.3rem;
}

.alliance-entity:hover .entity-emblem {
  background: #e03a3a;
  transform: rotate(3deg) scale(1.06);
  box-shadow: 0 0 12px rgba(224, 58, 58, 0.5);
}

.entity-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0a2b5e;
  letter-spacing: 0.2px;
  transition: color 0.25s;
}

.alliance-entity:hover .entity-title {
  color: #e03a3a;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .alliance-showcase {
    width: 86%;
    height: 14vh;
    min-height: 155px;
  }
  .entity-title {
    font-size: 0.85rem;
  }
  .entity-emblem {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .alliance-entity {
    padding: 0.45rem 1.6rem;
    gap: 10px;
  }
  .marquee-track {
    gap: 2.2rem;
  }
}

@media (max-width: 850px) {
  .alliance-showcase {
    width: 94%;
    height: auto;
    min-height: 100px;
    margin: auto;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .alliance-carousel {
    padding: 0 0.8rem;
  }
  .entity-title {
    font-size: 0.75rem;
  }
  .entity-emblem {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .alliance-entity {
    padding: 0.35rem 1.2rem;
    gap: 8px;
  }
  .marquee-track {
    gap: 1.6rem;
  }
  .ornament-dots {
    right: 12px;
    gap: 5px;
  }
}

@media (max-width: 550px) {
  .entity-title {
    font-size: 0.65rem;
  }
  .entity-emblem {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .alliance-entity {
    padding: 0.25rem 0.9rem;
    gap: 6px;
  }
  .marquee-track {
    gap: 1.2rem;
  }
  .alliance-showcase {
    min-height: 125px;
  }
  .ornament-dots span {
    width: 3px;
    height: 3px;
  }
}

/* Optional hover glow enhancement */
.alliance-showcase {
  transition: all 0.3s;
}

/* Main Container */
.about-leadership {
  font-family: "Inter", sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: #1a2c3e;
  line-height: 1.5;
}

/* Two Column Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ========= LEFT COLUMN: MANAGEMENT TEAM ========= */
.management-side {
  background: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 58, 58, 0.12);
  padding: 0.4rem 1.2rem;
  border-radius: 60px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e03a3a;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(224, 58, 58, 0.2);
}

.team-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0a2b5e;
  margin-bottom: 1.8rem;
  line-height: 1.2;
}

.team-title span {
  color: #e03a3a;
  border-bottom: 3px solid #e03a3a;
  display: inline-block;
  padding-bottom: 4px;
}

/* Leadership Cards (stacked) */
.leader-card {
  background: white;
  border-radius: 32px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 35px -12px rgba(10, 43, 94, 0.12);
  transition: all 0.3s ease;
  border: 1px solid rgba(224, 58, 58, 0.08);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 40px -16px rgba(10, 43, 94, 0.2);
  border-color: rgba(224, 58, 58, 0.2);
}

/* Photo Container */
.leader-photo {
  flex-shrink: 0;
  width: 200px;
  height: 250px;
  background: linear-gradient(135deg, #0f2c4f, #0a2342);

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.15);

  transition: 0.3s;
}

.leader-card:hover .leader-photo {
  border-color: #e03a3a;
  transform: scale(1.02);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-photo .fallback-icon {
  font-size: 3.5rem;
  color: white;
}

.leader-details {
  flex: 1;
}

.leader-name {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: #0a2b5e;
  margin-bottom: 0.3rem;
}

.leader-position {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 58, 58, 0.1);
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e03a3a;
  margin-bottom: 0.8rem;
}

.leader-bio-mini {
  font-size: 0.8rem;
  color: #4a627a;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.contact-mini {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.contact-mini a {
  color: #6b85a3;
  font-size: 0.8rem;
  transition: 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contact-mini a:hover {
  color: #e03a3a;
}

/* ========= RIGHT COLUMN: COMPANY PROFILE & IMPACT ========= */
.company-side {
  background: white;
  border-radius: 48px;
  padding: 2.3rem;
  box-shadow: 0 30px 45px -20px rgba(10, 43, 94, 0.2);
  border: 1px solid rgba(10, 43, 94, 0.05);
  transition: 0.3s;
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.logo-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #0a2b5e, #1e3f7a);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a2b5e;
}

.logo-text span {
  color: #e03a3a;
}

.company-bio {
  margin: 1.5rem 0;
}

.company-bio p {
  color: #2e4a6c;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Impact Stats Grid */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.stat-card {
  background: #f8fafd;
  border-radius: 24px;
  padding: 1rem;
  text-align: center;
  transition: 0.2s;
  border: 1px solid #ecf1f7;
}

.stat-card:hover {
  background: white;
  border-color: #e03a3a30;
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #e03a3a;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4a6785;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-desc {
  font-size: 0.7rem;
  color: #7c92ab;
  margin-top: 5px;
}

/* Core values list */
.values-list {
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0;
  border-bottom: 1px solid #eff3f9;
  font-size: 0.85rem;
  color: #1e3a5f;
}

.value-item i {
  width: 28px;
  color: #e03a3a;
  font-size: 1rem;
}

.cta-contact {
  margin-top: 2rem;
  background: linear-gradient(135deg, #0a2b5e, #123a6b);
  border-radius: 32px;
  padding: 1.2rem;
  text-align: center;
  color: white;
}

.cta-contact p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.cta-contact a {
  color: white;
  background: #e03a3a;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

.cta-contact a:hover {
  background: #ff4f4f;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1050px) {
  .split-layout {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-leadership {
    padding: 2rem 1.5rem;
  }
  .leader-card {
    flex-direction: column;
    text-align: center;
  }
  .leader-details {
    text-align: center;
  }
  .contact-mini {
    justify-content: center;
  }
}

@media (max-width: 550px) {
  .leader-photo {
    width: 250px;
    height: 250px;
  }
  .team-title {
    font-size: 1.6rem;
  }
  .impact-stats {
    grid-template-columns: 1fr;
  }
}

/* Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leader-card,
.company-side {
  animation: fadeSlide 0.6s ease forwards;
  opacity: 0;
}

.leader-card:first-child {
  animation-delay: 0.05s;
}
.leader-card:last-child {
  animation-delay: 0.15s;
}
.company-side {
  animation-delay: 0.1s;
}
.filter-section {
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}
.filter-card {
  background: white;
  border-radius: 60px;
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 1.1rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
  font-size: 0.8rem;
}
.filter-btn.active,
.filter-btn:hover {
  background: #0a2b5e;
  color: white;
  border-color: #0a2b5e;
}
.search-wrapper {
  display: flex;
  gap: 0.5rem;
}
.search-wrapper input {
  padding: 0.5rem 1rem;
  border-radius: 40px;
  border: 1px solid #cbd5e1;
  width: 220px;
  font-size: 0.85rem;
}
.search-wrapper button {
  background: #e03a3a;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  cursor: pointer;
}
@media (max-width: 850px) {
  .filter-card {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
    padding: 1rem;
  }
  .category-filters {
    justify-content: center;
  }
  .search-wrapper {
    justify-content: center;
  }
  .search-wrapper input {
    width: 100%;
  }
}
.books-container {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.category-section {
  margin-bottom: 3rem;
}
.category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a2b5e;
  border-left: 5px solid #e03a3a;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1600px) {
  .books-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 700px) {
  .books-grid {
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
.book-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(10, 43, 94, 0.08);
}
.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(10, 43, 94, 0.2);
}
.book-cover {
  aspect-ratio: 2/2.8;
  background: linear-gradient(145deg, #f8faff, #f0f4fe);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  border-bottom: 1px solid #eef2ff;
}
.book-cover img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.book-info {
  padding: 0.8rem;
  text-align: center;
}
.book-title {
  font-weight: 800;
  color: #0a2b5e;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.book-author {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 0.8rem;
  font-style: italic;
}
.buy-btn {
  background: #e03a3a;
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 40px;
  width: 100%;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
}
.buy-btn:hover {
  background: #0a2b5e;
  transform: scale(0.98);
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 43, 94, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: 0.25s;
}
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}
.popup-card {
  background: white;
  max-width: 380px;
  width: 90%;
  border-radius: 32px;
  padding: 1.8rem;
  text-align: center;
  border-top: 5px solid #e03a3a;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}
.popup-card h3 {
  color: #0a2b5e;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.popup-number {
  font-size: 1.2rem;
  font-weight: 700;
  background: #f1f5f9;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin: 0.8rem 0;
  display: inline-block;
}
.whatsapp-link {
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0.3rem 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.location-info {
  background: #f8fafc;
  padding: 0.7rem;
  border-radius: 20px;
  margin: 0.8rem 0;
  font-size: 0.8rem;
  border-left: 3px solid #e03a3a;
}
.close-popup {
  background: #0a2b5e;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  margin-top: 0.3rem;
  cursor: pointer;
}
.close-popup:hover {
  background: #e03a3a;
}
.footer {
  background: #0a2b5e;
  color: #cfdfef;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  border-top: 3px solid #e03a3a;
  font-size: 0.85rem;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #e03a3a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.sticky-wa {
  position: fixed;
  left: 20px;
  bottom: 100px;
  background: #25d366;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 700px) {
  .sticky-wa {
    left: 10px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .book-cover {
    aspect-ratio: 2/2.6;
  }
}

/* Instructions banner for admin */
.admin-note {
  background: #fef3c7;
  border-left: 4px solid #e03a3a;
  padding: 0.8rem 1.2rem;
  max-width: 1400px;
  margin: 1rem auto 0;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.admin-note i {
  font-size: 1.2rem;
}
.admin-note code {
  background: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.75rem;
  color: #0a2b5e;
}
@media (max-width: 700px) {
  .admin-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Main Container */
.impact-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Animated Header */
.impact-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.impact-header .floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e03a3a15, #0a2b5e10);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e03a3a;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(224, 58, 58, 0.25);
  transform: translateY(0);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.impact-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #0a2b5e;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0a2b5e 0%, #1e3f7a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.impact-header h1 span {
  background: linear-gradient(135deg, #e03a3a, #ff6b6b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impact-header .wave-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #e03a3a, transparent);
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* ========== HERO DONATION CARD (3D-ish) ========== */
.donation-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-bottom: 5rem;
  background: white;
  border-radius: 56px;
  overflow: hidden;
  box-shadow: 0 35px 60px -25px rgba(10, 43, 94, 0.25);
  transition: all 0.5s ease;
}

.donation-hero:hover {
  transform: scale(1.01);
  box-shadow: 0 45px 70px -28px rgba(10, 43, 94, 0.35);
}

/* left visual side with parallax hint */
.donation-visual {
  position: relative;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.floating-books {
  position: relative;
  width: 100%;
  text-align: center;
  animation: floatBooks 4s ease-in-out infinite;
}

@keyframes floatBooks {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.floating-books i {
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

.floating-books i:first-child {
  font-size: 5rem;
  color: rgba(224, 58, 58, 0.4);
}
.floating-books i:last-child {
  font-size: 4rem;
}

.donation-visual .library-icon {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 60px;
  font-size: 0.7rem;
  color: #bfd9ff;
}

/* right content */
.donation-details {
  padding: 2.5rem;
  background: white;
}

.event-tag {
  display: inline-block;
  background: #e03a3a;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.donation-details h2 {
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  color: #0a2b5e;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.highlight-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.stat-chip {
  background: #f8fafd;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid #eef2fa;
}

.stat-chip strong {
  font-size: 1.4rem;
  color: #e03a3a;
  font-weight: 800;
}

.stat-chip span {
  font-size: 0.75rem;
  color: #4a627a;
}

.donation-details p {
  color: #496183;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial-block {
  background: linear-gradient(145deg, #fafcff, #f5f9fe);
  border-left: 5px solid #e03a3a;
  padding: 1.2rem;
  border-radius: 24px;
  margin: 1.5rem 0;
}

.testimonial-block i {
  color: #e03a3a;
  margin-right: 6px;
}

.director-name {
  font-weight: 700;
  color: #0a2b5e;
  margin-top: 8px;
  font-size: 0.8rem;
}

.btn-impact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #e03a3a;
  padding: 0.7rem 1.8rem;
  border-radius: 60px;
  font-weight: 700;
  color: #e03a3a;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.btn-impact:hover {
  background: #e03a3a;
  color: white;
  gap: 16px;
}

/* Metrics animated grid */
.metrics-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin: 4rem 0;
}

.metric-glow {
  background: white;
  padding: 1.8rem 1rem;
  border-radius: 36px;
  text-align: center;
  transition: all 0.4s;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(10, 43, 94, 0.05);
}

.metric-glow:hover {
  transform: translateY(-10px);
  border-color: #e03a3a30;
  box-shadow: 0 24px 40px -20px #e03a3a40;
}

.metric-icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(145deg, #e03a3a10, #0a2b5e05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.metric-glow h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e03a3a;
}

.metric-glow p {
  color: #5c708b;
  font-weight: 500;
  font-size: 0.8rem;
}

/* timeline / secondary initiatives */
.initiatives-title {
  text-align: center;
  margin: 3rem 0 2rem;
}

.initiatives-title h3 {
  font-size: 1.8rem;
  font-family: "Playfair Display", serif;
  color: #0a2b5e;
}

.initiatives-title span {
  color: #e03a3a;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.initiative-card {
  background: white;
  border-radius: 32px;
  padding: 1.6rem;
  transition: 0.3s;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2fa;
}

.initiative-card:hover {
  transform: translateY(-6px);
  border-color: #e03a3a20;
}

.card-icon {
  width: 55px;
  height: 55px;
  background: #f0f4fa;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  font-size: 1.6rem;
  color: #e03a3a;
}

.initiative-card h4 {
  font-size: 1.2rem;
  color: #0a2b5e;
  margin-bottom: 0.5rem;
}

.initiative-card p {
  font-size: 0.85rem;
  color: #5c708b;
  line-height: 1.5;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.donation-hero,
.metric-glow,
.initiative-card {
  animation: fadeSlideUp 0.7s cubic-bezier(0.2, 0.9, 0.4, 1) forwards;
  opacity: 0;
}
.donation-hero {
  animation-delay: 0.05s;
}
.metric-glow:nth-child(1) {
  animation-delay: 0.1s;
}
.metric-glow:nth-child(2) {
  animation-delay: 0.2s;
}
.metric-glow:nth-child(3) {
  animation-delay: 0.3s;
}
.metric-glow:nth-child(4) {
  animation-delay: 0.4s;
}
.initiative-card:nth-child(1) {
  animation-delay: 0.2s;
}
.initiative-card:nth-child(2) {
  animation-delay: 0.3s;
}
.initiative-card:nth-child(3) {
  animation-delay: 0.4s;
}

@media (max-width: 950px) {
  .donation-hero {
    grid-template-columns: 1fr;
  }
  .metrics-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .impact-wrapper {
    padding: 2rem 1rem;
  }
  .impact-header h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 550px) {
  .metrics-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* Main Container */
.showcase {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Shared Section Style */
.section {
  backdrop-filter: blur(2px);
  border-radius: 56px;
  margin-bottom: 3rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 45px -15px rgba(10, 43, 94, 0.12);
  transition: all 0.3s ease;
  border: 1px solid rgba(224, 58, 58, 0.08);
}

.section:hover {
  box-shadow: 0 25px 50px -18px rgba(10, 43, 94, 0.2);
}

/* Headers */
.section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #e03a3a15, #0a2b5e08);
  padding: 0.35rem 1.3rem;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e03a3a;
  margin-bottom: 1rem;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(224, 58, 58, 0.2);
}

.section-header h2 {
  font-size: 2.3rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: #0a2b5e;
  margin-bottom: 0.6rem;
}

.section-header h2 span {
  color: #e03a3a;
  border-bottom: 3px solid #e03a3a;
  display: inline-block;
  padding-bottom: 4px;
}

.section-header p {
  color: #5b6e8c;
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* SERVICES GRID (modern cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 32px;
  padding: 1.8rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid #f0f2f8;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.02);
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0a2b5e, #e03a3a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 58, 58, 0.2);
  box-shadow: 0 22px 40px -14px rgba(10, 43, 94, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0a2b5e08, #e03a3a08);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: 0.3s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #0a2b5e, #1e3f7a);
}

.service-icon i {
  font-size: 2rem;
  color: #e03a3a;
  transition: 0.2s;
}

.service-card:hover .service-icon i {
  color: white;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a2b5e;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #5e6f8d;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* PARTNERS SECTION */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px dashed rgba(224, 58, 58, 0.2);
}

.stat {
  text-align: center;
  animation: fadeUp 0.6s ease backwards;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e03a3a;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4e627c;
  text-transform: uppercase;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.partner-card {
  background: #fafcff;
  padding: 1.2rem 0.8rem;
  border-radius: 28px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid #ecf0f5;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-6px);
  background: white;
  border-color: #e03a3a40;
  box-shadow: 0 15px 25px -12px rgba(10, 43, 94, 0.12);
}

.partner-icon {
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.6rem;
  color: #0a2b5e;
  transition: 0.2s;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.02);
}

.partner-card:hover .partner-icon {
  background: #e03a3a;
  color: white;
  transform: scale(1.02);
}

.partner-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a2b5e;
}

.partner-card p {
  font-size: 0.7rem;
  color: #607080;
  margin-top: 4px;
}

.county-tag {
  display: inline-block;
  background: #eef3fc;
  padding: 0.15rem 0.7rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #0a2b5e;
}

/* Expandable partners */
.expand-btn {
  background: transparent;
  border: 1.5px solid #e03a3a;
  color: #e03a3a;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.8rem;
}

.expand-btn:hover {
  background: #e03a3a;
  color: white;
  gap: 12px;
}

.more-partners {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef2fa;
}

.more-partners.show {
  display: grid;
  animation: fadeIn 0.4s ease;
}

.more-badge {
  background: #f0f4fe;
  padding: 0.5rem 1rem;
  border-radius: 60px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0a2b5e;
  transition: 0.2s;
}

.more-badge i {
  margin-right: 6px;
  font-size: 0.7rem;
  color: #e03a3a;
}

.more-badge:hover {
  background: #e03a3a;
  color: white;
  transform: translateX(4px);
}

/* floating animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.partner-card,
.stat {
  animation: fadeUp 0.5s ease backwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.05s;
}
.service-card:nth-child(2) {
  animation-delay: 0.1s;
}
.service-card:nth-child(3) {
  animation-delay: 0.15s;
}
.service-card:nth-child(4) {
  animation-delay: 0.2s;
}
.service-card:nth-child(5) {
  animation-delay: 0.25s;
}
.service-card:nth-child(6) {
  animation-delay: 0.3s;
}

.partner-card:nth-child(1) {
  animation-delay: 0.1s;
}
.partner-card:nth-child(2) {
  animation-delay: 0.15s;
}
.partner-card:nth-child(3) {
  animation-delay: 0.2s;
}
.partner-card:nth-child(4) {
  animation-delay: 0.25s;
}

/* Responsive */
@media (max-width: 780px) {
  .showcase {
    padding: 1.5rem;
  }
  .section {
    padding: 1.8rem;
    border-radius: 36px;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .services-grid {
    gap: 1.2rem;
  }
  .partners-grid {
    gap: 1rem;
  }
}

@media (max-width: 550px) {
  .stats-row {
    gap: 1.2rem;
  }
  .service-card {
    padding: 1.4rem;
  }
}

/* subtle background shape */
.bg-shape {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(224, 58, 58, 0.02) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.sl-lib-contact-wrapper {
  --sl-royal: #002366;
  --sl-bright: #2563eb;
  --sl-accent: #e31837;
  --sl-bg: #f8fafc;
  --sl-white: #ffffff;
  --sl-text: #1e293b;
  --sl-muted: #64748b;
  --sl-border: #e2e8f0;

  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--sl-bg);
  padding: 80px 20px;
  color: var(--sl-text);
  line-height: 1.6;
}

.sl-lib-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography & Headers */
.sl-lib-header {
  text-align: center;
  margin-bottom: 60px;
  animation: sl-lib-fadeIn 0.8s ease-out;
}

.sl-lib-subtitle {
  color: var(--sl-bright);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.sl-lib-title {
  color: var(--sl-royal);
  font-size: 36px;
  font-weight: 800;
  margin: 0;
}

.sl-lib-divider {
  width: 50px;
  height: 4px;
  background: var(--sl-accent);
  margin: 20px auto;
  border-radius: 2px;
}

/* Layout Grid */
.sl-lib-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.sl-lib-col-left {
  flex: 1 1 400px;
}

.sl-lib-col-right {
  flex: 1.5 1 500px;
}

/* Cards & Info */
.sl-lib-info-card {
  background: var(--sl-white);
  border: 1px solid var(--sl-border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.sl-lib-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 35, 102, 0.1);
  border-color: var(--sl-bright);
}

.sl-lib-icon-circle {
  background: #eff6ff;
  color: var(--sl-bright);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.sl-lib-card-title {
  margin: 0 0 8px 0;
  color: var(--sl-royal);
  font-size: 18px;
  font-weight: 700;
}

.sl-lib-card-text {
  margin: 0;
  color: var(--sl-muted);
  font-size: 15px;
}

/* Map */
.sl-lib-map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sl-border);
  height: 300px;
  margin-top: 30px;
}

/* Form Styling */
.sl-lib-form-box {
  background: var(--sl-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--sl-border);
}

.sl-lib-form-head {
  background: var(--sl-royal);
  padding: 40px;
  color: var(--sl-white);
}

.sl-lib-form-body {
  padding: 40px;
}

.sl-lib-form-group {
  margin-bottom: 25px;
}

.sl-lib-label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--sl-royal);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.sl-lib-input,
.sl-lib-select,
.sl-lib-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--sl-border);
  border-radius: 8px;
  background: #fdfdfd;
  font-size: 15px;
  box-sizing: border-box; /* Ensures padding doesn't break width */
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}

.sl-lib-input:focus,
.sl-lib-select:focus,
.sl-lib-textarea:focus {
  border-color: var(--sl-bright);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sl-lib-btn {
  background: var(--sl-bright);
  color: white;
  border: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sl-lib-btn:hover {
  background: var(--sl-royal);
}

.sl-lib-btn:active {
  transform: scale(0.98);
}

/* Animation */
@keyframes sl-lib-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .sl-lib-grid {
    flex-direction: column;
  }
  .sl-lib-title {
    font-size: 28px;
  }
  .sl-lib-form-body,
  .sl-lib-form-head {
    padding: 25px;
  }
}
.preview-content {
  flex: 1;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fafd, #eef2f8);
}
.preview-content h2 {
  font-family: "Playfair Display", serif;
  color: #0a2b5e;
  font-size: 2rem;
}
.preview-content p {
  color: #54708f;
  margin-top: 0.5rem;
}

/* ========== PROFESSIONAL FOOTER ========== */
.premium-footer {
  background: #0a2b5e;
  color: #e0edfa;
  position: relative;
  border-top: 4px solid #e03a3a;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: red;
  letter-spacing: -0.5px;
}
.logo-text span {
  color: #ffb347;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #bfd4f0;
  margin: 0.8rem 0 1rem;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.social-links a {
  background: rgba(255, 255, 255, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4e2ff;
  transition: 0.25s;
  text-decoration: none;
  font-size: 1rem;
}
.social-links a:hover {
  background: #e03a3a;
  color: white;
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-qr h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}
.footer-links h4:after,
.footer-contact h4:after,
.footer-qr h4:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: #e03a3a;
  border-radius: 2px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #cbdff5;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a i {
  font-size: 0.7rem;
  color: #e03a3a;
}
.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #cbdff5;
}
.contact-item i {
  width: 28px;
  color: #e03a3a;
  font-size: 1rem;
}
.contact-item a {
  color: #cbdff5;
  text-decoration: none;
  transition: 0.2s;
}
.contact-item a:hover {
  color: white;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  margin-top: 0.8rem;
  transition: 0.2s;
}
.whatsapp-btn:hover {
  background: #20b859;
  transform: scale(1.02);
  gap: 10px;
}

/* QR Code Styling */
.footer-qr .qr-container {
  background: white;
  padding: 10px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.qr-container canvas {
  width: 120px !important;
  height: 120px !important;
  border-radius: 12px;
  display: block;
}
.qr-text {
  font-size: 0.7rem;
  color: #bfd4f0;
  margin-top: 0.8rem;
  max-width: 140px;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #96b1d0;
}
.footer-bottom .legal a {
  color: #96b1d0;
  text-decoration: none;
  margin-left: 1.2rem;
  transition: 0.2s;
}
.footer-bottom .legal a:hover {
  color: white;
}

@media (max-width: 850px) {
  .footer-container {
    padding: 2rem 1.5rem 1rem;
  }
  .footer-grid {
    gap: 1.8rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom .legal a {
    margin: 0 0.8rem;
  }
}

/* our global partners section  */

/* Partners Section with Background Image & Overlay */
.gpartners-section {
  width: 97%;
  max-width: 1300px;
  margin: 3rem auto;
  padding: 2rem;
  position: relative;

  overflow: hidden;
  background: url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?q=80&w=2070&auto=format")
    center/cover no-repeat;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.3);
}

/* Dark Overlay */
.gpartners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 43, 94, 0.92),
    rgba(10, 43, 94, 0.85)
  );
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Content Wrapper */
.gpartners-content {
  position: relative;
  z-index: 2;
}

/* Header */
.gpartners-header {
  text-align: center;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 1.2rem;
  border-radius: 60px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffd966;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gpartners-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
}

.gpartners-header h2 span {
  color: #ffb347;
  border-bottom: 2px solid #e03a3a;
  display: inline-block;
  padding-bottom: 4px;
}

.gpartners-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Partners Grid - Smaller & Compact */
.gpartners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Partner Cards - Elegant & Compact */
.gpartner-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 1rem 1.2rem;
  width: 160px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.gpartner-card:hover {
  background: white;
  transform: translateY(-8px) scale(1.02);
  border-color: transparent;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.3);
}

/* Partner Logo */
.gpartner-logo {
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem;
  transition: all 0.3s ease;
}

.gpartner-card:hover .gpartner-logo {
  background: linear-gradient(135deg, #0a2b5e, #1e3f7a);
  transform: scale(1.05);
}

.gpartner-logo i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s;
}

.gpartner-card:hover .gpartner-logo i {
  color: #ffb347;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Partner Text */
.gpartner-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.2rem;
  transition: color 0.3s;
  letter-spacing: -0.3px;
}

.gpartner-card:hover h3 {
  color: #0a2b5e;
}

.gpartner-type {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color 0.3s;
}

.gpartner-card:hover .gpartner-type {
  color: #e03a3a;
}

/* Trust Footer */
.trust-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-footer p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}

.trust-footer i {
  color: #ffb347;
  margin: 0 4px;
}

/* Responsive */
@media (max-width: 850px) {
  .gpartners-section {
    width: 100%;
    margin: auto;
    padding: 1.5rem;
  }
  .gpartners-header h2 {
    font-size: 1.6rem;
  }
  .gpartner-card {
    width: 140px;
    padding: 0.8rem 0.8rem;
  }
  .gpartner-logo {
    width: 55px;
    height: 55px;
  }
  .gpartner-logo i {
    font-size: 1.6rem;
  }
  .gpartner-card h3 {
    font-size: 0.85rem;
  }
}

@media (max-width: 650px) {
  .gpartners-grid {
    gap: 0.8rem;
  }
  .gpartner-card {
    width: 125px;
  }
}

/* Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gpartner-card {
  animation: fadeSlide 0.5s ease forwards;
  opacity: 0;
}

.gpartner-card:nth-child(1) {
  animation-delay: 0.05s;
}
.gpartner-card:nth-child(2) {
  animation-delay: 0.1s;
}
.partner-card:nth-child(3) {
  animation-delay: 0.15s;
}
.gpartner-card:nth-child(4) {
  animation-delay: 0.2s;
}
.gpartner-card:nth-child(5) {
  animation-delay: 0.25s;
}
