/* ============================================
   SRSEF Website - Main Stylesheet
   Colors: #0006f5 (Blue), #f8670d (Orange)
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap");

:root {
  --blue: #0006f5;
  --orange: #f8670d;
  --blue-dark: #0005cc;
  --blue-light: #e8eaff;
  --orange-light: #fff3ec;
  --white: #ffffff;
  --dark: #0d0d1a;
  --gray: #6b7280;
  --light-gray: #f5f5f7;
  --gradient: linear-gradient(
    135deg,
    var(--blue) 0%,
    #0050ff 50%,
    var(--orange) 100%
  );
  --gradient-blue: linear-gradient(135deg, var(--blue) 0%, #0050ff 100%);
  --gradient-text: linear-gradient(135deg, var(--blue), var(--orange));
  --shadow-sm: 0 2px 8px rgba(0, 6, 245, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 6, 245, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 6, 245, 0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 96px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  color: #4a4a6a;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Utilities ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-pad {
  padding: 100px 0;
}
.section-pad-sm {
  padding: 60px 0;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 6, 245, 0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 6, 245, 0.4);
  color: white;
}

.btn-orange {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 20px rgba(248, 103, 13, 0.3);
}
.btn-orange:hover {
  background: #e05c0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(248, 103, 13, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--blue);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  color: var(--blue);
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tag-blue {
  background: var(--blue-light);
  color: var(--blue);
}
.tag-orange {
  background: var(--orange-light);
  color: var(--orange);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-label::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid #eceef5;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: var(--transition);
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  transition: var(--transition);
}
#navbar.scrolled .navbar-inner {
  padding: 14px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-img {
  height: 66px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.1;
}
.logo-text .logo-main {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
}
.logo-text .logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Scrolled logo color fix */
#navbar:not(.scrolled) .logo-text .logo-main {
  color: white;
}
#navbar:not(.scrolled) .logo-text .logo-sub {
  color: rgba(255, 255, 255, 0.7);
}
#navbar:not(.scrolled) .logo-icon {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-bottom: 0;
}

.mobile-menu-header {
  display: none;
}

.mobile-menu-close {
  border: none;
  background: transparent;
  color: var(--dark);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  color: var(--dark);
}
#navbar.scrolled .nav-link {
  color: var(--dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange) !important;
}

/* Dropdown */
.has-dropdown > .nav-link::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border-top: 3px solid var(--orange);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  position: relative;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.dropdown-link:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.dropdown-link .arrow {
  font-size: 0.6rem;
  opacity: 0.5;
}

.sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: var(--transition);
  border-top: 3px solid var(--blue);
}

.dropdown-item:hover .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sub-dropdown a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.sub-dropdown a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-contact-btn {
  padding: 10px 24px !important;
  background: var(--orange) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(248, 103, 13, 0.3);
  margin-left: 20px;
}
.nav-contact-btn:hover {
  background: #e05c0a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(248, 103, 13, 0.4) !important;
  color: white !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

/* ── Page Header ── */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background: var(--dark);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 6, 245, 0.8) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: white;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--orange);
}
.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb .current {
  color: white;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../../images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.hero-shapes {
  display: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: white;
  top: -200px;
  right: -100px;
}
.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  bottom: -100px;
  left: -100px;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.hero h1 {
  color: white;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.9);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── Impact Numbers ── */
.impact-strip {
  background: #a3bbff;
  padding: 60px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.impact-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.impact-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.impact-item:last-child::after {
  display: none;
}

.impact-item .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: black;
}

.impact-item .number {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  display: block;
  line-height: 1;
}

.impact-item .label {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.75);
  margin-top: 6px;
}

/* ── Who We Are Section ── */
.who-we-are-preview {
  padding: 100px 0;
  background: var(--white);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-image-stack {
  position: relative;
  height: 500px;
}

.who-img-main,
.who-img-secondary {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.who-img-main {
  width: 70%;
  height: 80%;
  top: 0;
  left: 0;
}

.who-img-secondary {
  width: 55%;
  height: 60%;
  bottom: 0;
  right: 0;
  border: 4px solid white;
}

.who-img-main img,
.who-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.who-img-main:hover img,
.who-img-secondary:hover img {
  transform: scale(1.04);
}

.who-badge {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  padding: 16px 24px;
  border-radius: 16px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 8px 30px rgba(248, 103, 13, 0.4);
  white-space: nowrap;
}
.who-badge .num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.who-badge .txt {
  font-size: 0.75rem;
  opacity: 0.9;
}

.who-content .lead {
  font-size: 1rem;
  color: black;
  margin-bottom: 24px;
  line-height: 1.85;
}

.who-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.who-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light-gray);
  border-radius: var(--radius);
  transition: var(--transition);
}
.who-feature:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.who-feature .icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.who-feature h5 {
  font-size: 0.875rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
}
.who-feature p {
  font-size: 0.775rem;
  color: var(--gray);
}

/* ── Partners ── */
.partners-section {
  background: var(--light-gray);
  padding: 70px 0;
}

.partners-header {
  text-align: center;
  margin-bottom: 50px;
}

.partners-header h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.partners-header p {
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

.partners-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.partners-track {
  display: flex;
  gap: 50px;
  animation: scroll 25s linear infinite;
  width: max-content;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 20px;
  background: white;
  border-radius: 12px;
  min-width: 130px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.partner-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.partner-logo span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Services Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(248, 103, 13, 0.9) 0%,
    rgba(0, 6, 245, 0.6) 60%,
    transparent 100%
  );
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: white;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 10px;
}
.service-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.service-card .arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: var(--transition);
}
.service-card:hover .arrow-btn {
  border-color: white;
  gap: 12px;
}

/* ── Loan Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}
.product-card:hover .product-card-overlay {
  background: linear-gradient(
    to top,
    rgba(248, 103, 13, 0.92) 0%,
    rgba(0, 6, 245, 0.5) 70%,
    transparent 100%
  );
}

.product-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: white;
}

.product-card h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: white;
}
.product-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

.product-card .more-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: var(--transition);
}
.product-card:hover .more-link {
  border-color: white;
}

/* ── Testimonial ── */
.testimonial-section {
  background: #a3bbff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Playfair Display", serif;
  font-size: 25rem;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  line-height: 1;
}

.testimonial-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: black;
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: black;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.testimonial-info .name {
  font-weight: 700;
  color: black;
  display: block;
}
.testimonial-info .role {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
}

/* ── FAQ ── */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e8eaff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: white;
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background: var(--blue-light);
}

.faq-question span {
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--dark);
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: transparent;
  color: var(--orange);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ── Contact Section ── */
.contact-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}
.contact-info p {
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--gray);
}
.contact-card a:hover {
  color: var(--blue);
}

.contact-form-wrap {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--light-gray);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 6, 245, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  background: #ffffff;
  border-radius: 10px;
  padding: 4px 10px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: #d5d5d5;
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ── Content Sections ── */
.content-section {
  padding: 100px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.content-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  padding-left: 0;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.bullet-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Terms/Conditions table */
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.term-item {
  background: white;
  border: 1px solid #e8eaff;
  border-radius: var(--radius);
  padding: 16px 20px;
}

.term-item .term-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}

.term-item .term-value {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
}

/* GET Programs grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.program-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #e8eaff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.program-icon {
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 24px;
}

.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.program-card p {
  font-size: 0.9rem;
}

/* Stats banner inside pages */
.stats-strip {
  background: var(--light-gray);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card .number {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.stat-card .label {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 8px;
}

/* SDG badges */
.sdg-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.sdg-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue);
}

/* Alert/info box */
.info-box {
  background: linear-gradient(135deg, var(--blue-light), #dde0ff);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 30px 0;
}
.info-box h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--blue);
}
.info-box p {
  font-size: 0.9rem;
  margin: 0;
}

.orange-box {
  background: linear-gradient(135deg, var(--orange-light), #fde8d6);
  border-left: 4px solid var(--orange);
}
.orange-box h4 {
  color: var(--orange);
}

/* Two-col text */
.two-col-text {
  columns: 2;
  column-gap: 40px;
}

/* ── CSR Cards ── */
.csr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.csr-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #e8eaff;
  transition: var(--transition);
  display: flex;
  gap: 20px;
}

.csr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.csr-icon {
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--orange);
  flex-shrink: 0;
}

.csr-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.csr-card p {
  font-size: 0.875rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-contact-btn {
    margin-left: 0px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
  body {
    padding-top: 82px;
  }
  .logo-img {
    height: 54px;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-menu-open .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 80px 24px 40px;
    z-index: 999;
    overflow-y: auto;
    gap: 8px;
  }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
  }
  .mobile-menu-title {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f8670d;
  }
  .mobile-menu-open .nav-item {
    width: 100%;
  }
  .mobile-menu-open .nav-link,
  .mobile-menu-open .dropdown-link,
  .mobile-menu-open .sub-dropdown a {
    width: 100%;
    border-radius: 10px;
  }
  .mobile-menu-open .nav-link {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
  }
  .mobile-menu-open .nav-link {
    color: var(--dark) !important;
  }
  .mobile-menu-open .dropdown {
    position: static;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 12px;
    margin-top: 0;
    border-top: none;
    transition:
      max-height 0.25s ease,
      opacity 0.2s ease;
  }
  .mobile-menu-open .has-dropdown.open > .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 900px;
    padding: 6px 0 0 12px;
    margin-top: 2px;
  }
  .mobile-menu-open .sub-dropdown {
    position: static;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 12px;
    margin-top: 0;
    border-top: none;
    transition:
      max-height 0.25s ease,
      opacity 0.2s ease;
  }
  .mobile-menu-open .dropdown-item.has-sub.open > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 800px;
    padding: 4px 0 0 12px;
    margin-top: 2px;
  }
  .mobile-menu-open .dropdown-link .arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }
  .mobile-menu-open .dropdown-item.has-sub.open > .dropdown-link .arrow {
    transform: rotate(90deg);
  }
  .who-grid {
    grid-template-columns: 1fr;
  }
  .who-image-stack {
    height: 350px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .csr-grid {
    grid-template-columns: 1fr;
  }
  .terms-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: fit-content;
  }
  .two-col-text {
    columns: 1;
  }
}

/* ── AOS tweaks ── */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ── Misc ── */
.text-center {
  text-align: center;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-6 {
  margin-bottom: 24px;
}
.mb-8 {
  margin-bottom: 32px;
}
.mt-8 {
  margin-top: 32px;
}
.mt-12 {
  margin-top: 48px;
}
.bg-light {
  background: var(--light-gray);
}
.bg-white {
  background: white;
}

/* Counter animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(248, 103, 13, 0.4);
  border: none;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: #e05c0a;
  transform: translateY(-3px);
}

/* Divider accent */
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 20px 0;
}
.accent-line.center {
  margin: 20px auto;
}
