/* ==========================================================================
   1. Global CSS Reset & Professional Variables
   ========================================================================== */
:root {
  --primary: #1e3a8a;
  /* Executive Navy */
  --primary-light: #2563eb;
  /* Professional Blue */
  --header-bg: #f1f5f9;
  /* Soft Light Slate for Header */
  --footer-bg: #e2e8f0;
  /* Cool Soft Grey for Footer */
  --bg-page: #f8fafc;
  /* Crisp Canvas */
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #cbd5e1;
  --accent-gold: #b45309;
  /* Subtle Warm Amber */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Elegant, Subtle Section Separator */
.section-separator {
  border: 0;
  height: 1px;
  background: radial-gradient(circle, #94a3b8 0%, #e2e8f0 70%, transparent 100%);
  margin: 0 auto;
  width: 85%;
}

/* ==========================================================================
   2. Professional Header Layout (Soft Light Slate Tint)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 95px;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

header .header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left Side: Photo + Professional Typography */
.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ranganathan-avatar-wrap {
  /* width: 70px; */
  height: 70px;
  /* border-radius: 50%;*/
  overflow: hidden;
  /* border: 2px solid var(--primary-light); */
  /* box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15); */
  flex-shrink: 0;
  /* background-color: #ffffff; */
}

.ranganathan-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.anniversary-info {
  display: flex;
  flex-direction: column;
}

.anniversary-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.anniversary-subtitle {
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 3px;
}

/* Center: Blank space as specified */

/* Right Side: INFLIBNET Logo Container */
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo-container {
  background: #ffffff;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.inflibnet-logo {
  height: 79px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1600px) {
  .ranganathan-avatar-wrap {
    height: 60px;
  }

  .inflibnet-logo {
    height: 60px;
  }
}

@media (max-width: 1199px) {
  .ranganathan-avatar-wrap {
    height: 55px;
  }

  .inflibnet-logo {
    height: 55px;
  }
}

@media (max-width: 991px) {
  .ranganathan-avatar-wrap {
    height: 45px;
  }

  .inflibnet-logo {
    height: 45px;
  }
}

@media (max-width: 767px) {
  .header-right {
    display: none;
  }
}

@media (max-width: 575px) {
  header .header-container {
    flex-wrap: wrap;
    gap: 30px;
  }

  .ranganathan-avatar-wrap {
    height: 40px;
  }

  .inflibnet-logo {
    height: 35px;
  }
}

@media (max-width: 435px) {
  header .header-container {
    gap: 10px;
    justify-content: center;
  }
}

/* ==========================================================================
   3. Hero Section (Horizontal Infinite Slider, Single Direction)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 125px;
  padding-bottom: 3.5rem;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.04), transparent 75%);
}

.hero-rows-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0.5rem 0;
}

.row-track-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;
}

.row-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

/* All Rows Sliding Smoothly Left */
.slide-left {
  animation: scrollLeft 260s linear infinite;

}

.slide-left2 {
  animation: scrollLeft 50s linear infinite;

}

.row-track-wrapper:hover .row-track {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Rectangular Collage Cards */
.rect-card {
  position: relative;
  width: 440px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.rect-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
}

/* Clean Parallax Hover Highlight */
.rect-card:hover {
  transform: scale(1.08) translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.18);
  z-index: 100;
}

.rect-card:hover img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

.row-track:hover .rect-card:not(:hover) {
  opacity: 0.6;
  filter: grayscale(0.15);
}

/* ==========================================================================
   4. Director Message Section
   ========================================================================== */
.director-message-section {
  padding: 4.5rem 3rem;
  background: #f8fafc;
}

.director-message-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.director-message-heading {
  margin-bottom: 1.5rem;
}

.director-message-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.director-message-title {
  margin: 0;
  font-size: clamp(2.2rem, 2.4vw, 2.9rem);
  line-height: 1.05;
  color: #0f172a;
  font-weight: 400;
}

/* Updated grid container to block flow for wrapping */
.director-message-grid {
  display: block;
}

.director-message-grid::after {
  content: "";
  display: table;
  clear: both;
}

/* Floated media container to allow text wrapping around/under it */
.director-message-media {
  float: left;
  margin-right: 2.5rem;
  margin-bottom: 1.5rem;
}

.director-media-card {
  position: relative;
  display: block;
  width: 360px;
  max-width: 100%;
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.director-media-card img,
.director-media-card iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.director-media-card:hover img,
.director-media-card:hover iframe {
  transform: scale(1.02);
}

.director-media-iframe {
  position: relative;
  width: 360px;
  height: 240px;
  overflow: hidden;
}

.director-media-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.director-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-media-play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.director-media-play i {
  color: #1e3a8a;
  font-size: 1.1rem;
}

.director-message-copy {
  padding-top: 0;
}

.director-message-text {
  margin-bottom: 0.5rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.85;
  text-align: justify;
}

.director-message-signature {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #2563eb;
  background: #eef4ff;
  border-radius: 14px;
  color: #0f172a;
  clear: both;
}

.director-message-signature strong {
  font-size: 1rem;
}

.director-message-signature span {
  font-size: 0.95rem;
  color: #475569;
}

@media (max-width: 991px) {
  .director-message-media {
    float: none;
    margin-right: 0;
    display: flex;
    justify-content: center;
  }

  .director-media-card {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .director-message-section {
    padding: 3rem 1.5rem;
  }
}


/* ==========================================================================
   4. About & Pledge Section
   ========================================================================== */
.about-pledge-section {
  padding: 4.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-card-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary-light);
  border-radius: 2px;
}

.about-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.pledge-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pledge-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

.pledge-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pledge-count {
  font-size: 3.8rem;
  font-weight: 850;
  color: var(--primary);
  line-height: 1.1;
  margin: 0.5rem 0 0.85rem;
  background: linear-gradient(135deg, var(--primary) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.btn-pledge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  width: 100%;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.btn-pledge:hover {
  background: var(--primary-light);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

/* ==========================================================================
   5. Testimonial Slider
   ========================================================================== */
.testimonial-section {
  padding: 3rem 1.5rem;
  background: #f8fafc;
}

.testimonial-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.testimonial-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.testimonial-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
}

.testimonial-slider {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.testimonial-person h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.testimonial-person p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-copy {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .testimonial-slider {
    gap: 1rem;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 575px) {
  .testimonial-shell {
    padding: 1.25rem;
  }

  .testimonial-card {
    padding: 1rem;
  }
}

/* ==========================================================================
   6. Footer (Dark Premium Teal Theme)
   ========================================================================== */
footer {
  background: #002233;
  /* Deep premium navy-teal matching reference image */
  padding: 4.5rem 4rem 2.5rem;
  color: #94a3b8;
  /* Soft blue-grey text */
  border-top: none;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  /* 4 columns layout */
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 380px;
}

.footer-site-link {
  transition: all 0.3s ease;
}

.footer-site-link:hover {
  color: #38bdf8 !important;
  /* bright cyan sky blue */
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-weight: 500;
  display: inline-block;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

/* Contact Card styled like reference image */
.footer-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid #38bdf8;
  /* bright sky border on left */
  border-radius: 12px;
  padding: 1.5rem;
  color: #e2e8f0;
  text-align: left;
}

.footer-contact-card h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.footer-contact-card .title {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact-card .location {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-contact-item i {
  color: #38bdf8;
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  /* copyright left, links right */
  align-items: center;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #38bdf8;
}

.footer-bottom strong {
  color: #e2e8f0;
}

/* Responsive Design */

@media (max-width: 992px) {
  header {
    padding: 0 1.5rem;
    grid-template-columns: 1fr auto;
  }


  .about-pledge-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rect-card {
    width: 310px;
    height: 155px;
  }
}

/* ==========================================================================
   6. About Ranganathan Page Styles (Premium Refinement)
   ========================================================================== */
.about-page-wrapper {
  padding: 8.5rem 4rem 5rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* Floating-style Back Button */
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-back-home:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(-4px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
}

/* Gorgeous Hero Card */
.about-hero-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.12);
  position: relative;
  overflow: hidden;
}

.about-hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fbbf24;
  /* Soft Gold */
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.about-hero-card h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero-tagline {
  font-size: 1.15rem;
  opacity: 0.9;
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-main-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin: 2.5rem 0 1.25rem;
  position: relative;
  display: inline-block;
}

.about-main-content h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 2px;
}

.about-main-content p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

/* Bullet list overrides */
.about-main-content ul {
  list-style: none;
  margin: 1.5rem 0 1.5rem 0.5rem;
}

.about-main-content li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.about-main-content li::before {
  content: '\f058';
  /* fa-circle-check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-light);
  font-size: 1.05rem;
}

/* Vertical Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 2px;
  height: calc(100% - 16px);
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 1rem;
}

.timeline-marker {
  position: absolute;
  left: -2.35rem;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 3px solid var(--bg-page);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  transition: var(--transition);
  z-index: 2;
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-gold);
  box-shadow: 0 0 0 5px rgba(180, 83, 9, 0.2);
}

.timeline-year {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: #fef3c7;
  /* soft warm amber */
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Fact Sheet Card (Sticky Factsheet) */
.fact-sheet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 120px;
}

.fact-sheet-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.75rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.profile-avatar-large {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  outline: 2px solid var(--primary-light);
  object-fit: cover;
  object-position: center;
  margin: 0 auto 2rem;
  display: block;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.fact-list {
  list-style: none;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.fact-item:last-child {
  border-bottom: none;
}

.fact-label-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
}

.fact-label-wrap i {
  color: var(--primary-light);
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}

.fact-value {
  color: var(--text-muted);
  text-align: right;
  padding-left: 1.25rem;
  line-height: 1.5;
}

/* Five Laws Cards (Individual Accent Themes) */
.laws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.law-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.law-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(30, 58, 138, 0.08);
}

.law-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-theme);
}

/* Custom themed helper tags for each card */
.law-card-1 {
  --accent-theme: #1e3a8a;
  --bg-icon: rgba(30, 58, 138, 0.08);
  --color-icon: #1e3a8a;
}

.law-card-2 {
  --accent-theme: #b45309;
  --bg-icon: rgba(180, 83, 9, 0.08);
  --color-icon: #b45309;
}

.law-card-3 {
  --accent-theme: #059669;
  --bg-icon: rgba(5, 150, 105, 0.08);
  --color-icon: #059669;
}

.law-card-4 {
  --accent-theme: #7c3aed;
  --bg-icon: rgba(124, 58, 237, 0.08);
  --color-icon: #7c3aed;
}

.law-card-5 {
  --accent-theme: #db2777;
  --bg-icon: rgba(219, 39, 119, 0.08);
  --color-icon: #db2777;
}

.law-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-icon);
  color: var(--color-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.law-card:hover {
  border-color: var(--accent-theme);
}

.law-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-icon);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.law-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  padding-right: 2.25rem;
}

.law-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive details for About Page */
@media (max-width: 992px) {
  .about-page-wrapper {
    padding: 7.5rem 2rem 4rem;
  }

  .about-hero-card {
    padding: 2.5rem 2rem;
  }

  .about-hero-card h1 {
    font-size: 2.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .fact-sheet-card {
    order: -1;
    /* Display fact sheet at the top on mobile */
    position: static;
  }
}

/* ==========================================================================
   7. Registration & Badge Modal Styles
   ========================================================================== */
.preview-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: fill;
  border-radius: 1rem;
  display: block;
}

.banner-section {
  width: 100%;
  margin: 2.5rem 0;
}

.banner-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.banner-carousel .carousel-inner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.banner-slide {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  max-width: 100%;
}

.banner-slide-caption {
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  display: inline-block;
  font-size: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8% !important;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  border-radius: 0;
  top: 50%;
  transform: translateY(-50%);
}

.form-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 76, 129, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.ref-id-highlight {
  background-color: #fef08a;
  color: #854d0e;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px dashed #ca8a04;
}

.existing-banner-alert {
  max-width: 760px;
  margin: 0 auto;
}

.existing-photo-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.generated-badge-preview {
  max-height: 450px;
  border: 1px solid #dee2e6;
}

.banner-carousel-caption {
  bottom: 40px;
}

.btn-disabled-state {
  pointer-events: none;
  opacity: 0.6;
}

.error-field {
  display: none;
}

.error-field.visible {
  display: block;
}

.img-thumbnail {
  max-width: 50%;
  margin-top: 1rem;
}

.photo-preview-wrapper {
  margin-top: 1rem;
}

/* ==========================================================================
   8. Glassmorphism Registration Form & Compact Input Fields
   ========================================================================== */
.registration-section {
  background: linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.registration-section .form-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.06);
  color: var(--text-main);
}

.registration-section .form-card h2 {
  color: var(--primary) !important;
}

.registration-section .form-card p {
  color: var(--text-muted) !important;
}

.registration-section .form-card label {
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.registration-section .form-control {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  transition: all 0.3s ease;
}

.registration-section .form-control:focus {
  background: #ffffff;
  border-color: var(--primary-light);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
  color: var(--text-main);
}

.registration-section .form-control::placeholder {
  color: #94a3b8;
}

.registration-section .input-group-text {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0.5rem 0.8rem;
}

.registration-section .btn-primary {
  background: var(--primary-light);
  border: none;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.registration-section .btn-primary:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.registration-section .btn-primary:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
}

/* Read more button link custom translation animation */
.btn-read-more {
  transition: var(--transition);
}

.btn-read-more:hover {
  color: var(--primary) !important;
  transform: translateX(4px);
}

.share-panel {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.share-panel-title {
  color: #e2e8f0;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.75rem;
}

.share-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 50px;
  color: #ffffff;
}

.share-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.share-whatsapp {
  background: #25d366;
}

.share-facebook {
  background: #1877f2;
}

.share-twitter {
  background: #1da1f2;
}

.share-linkedin {
  background: #0a66c2;
}

.share-email {
  background: #d93025;
}

.share-native {
  background: #4b5563;
}

.share-option i {
  font-size: 1rem;
}

#copyShareUrlBtn {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

#copyShareUrlBtn:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   9. Hero Badge Container & Portrait Frame
   ========================================================================== */
.hero-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-badge-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.25rem;
}

.hero-badge-frame-wrap {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border: 3px solid #ffffff;
  aspect-ratio: 1200 / 1800;
  /* Standard default portrait size */
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-badge-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.hero-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.badge-status-ready {
  color: #059669;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #059669;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
  transition: all 0.3s ease;
}

.btn-hero-download:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25);
}

.btn-hero-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
  transition: all 0.3s ease;
}

.btn-hero-scroll:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

/* Premium cropper */
body.cropper-open .modal-backdrop.show {
  opacity: 0.72;
}

.crop-modal-dialog {
  max-width: min(920px, calc(100vw - 1.5rem));
}

.crop-modal-content {
  border-radius: 18px;
  background: #0f172a;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.38);
}

.crop-modal-header {
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
  color: #ffffff;
}

.crop-modal-header .modal-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.crop-modal-body {
  background: #0f172a;
}

.crop-stage {
  position: relative;
  height: min(62vh, 560px);
  min-height: 360px;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.045) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.045) 75%),
    #111827;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  background-size: 28px 28px;
}

.crop-stage img {
  display: block;
  max-width: 100%;
}

.crop-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem 0;
  background: #0f172a;
}

.crop-tool-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.crop-tool-btn:hover,
.crop-tool-btn:focus-visible {
  background: rgba(37, 99, 235, 0.34);
  border-color: rgba(147, 197, 253, 0.72);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.crop-modal-footer {
  background: #0f172a;
}

.btn-crop-save {
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.26);
}

.btn-crop-save:hover,
.btn-crop-save:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(8, 145, 178, 0.32);
}

.cropper-container {
  font-family: inherit;
}

.cropper-modal {
  background: rgba(2, 6, 23, 0.64);
  opacity: 1;
}

.cropper-view-box {
  border-radius: 12px;
  outline: 2px solid #60a5fa;
  outline-color: rgba(96, 165, 250, 0.96);
  box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.28), 0 16px 42px rgba(2, 6, 23, 0.34);
}

.cropper-face {
  border-radius: 12px;
  background: transparent;
}

.cropper-dashed {
  border-color: rgba(255, 255, 255, 0.42);
}

.cropper-line,
.cropper-point {
  background-color: #ffffff;
  opacity: 1;
}

.cropper-line.line-e,
.cropper-line.line-w {
  width: 3px;
}

.cropper-line.line-n,
.cropper-line.line-s {
  height: 3px;
}

.cropper-point {
  width: 12px;
  height: 12px;
  border: 2px solid #2563eb;
  border-radius: 50%;
}

@media (max-width: 575.98px) {
  .crop-stage {
    height: 54vh;
    min-height: 300px;
  }

  .crop-tool-btn {
    width: 40px;
    height: 40px;
  }
}

/* Floating Reactions Styles */
.hero-reaction-container {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 320px;
  height: 240px;
  pointer-events: none;
  overflow: hidden;
  z-index: 100;
}

.floating-reaction {
  position: absolute;
  bottom: 0;
  left: 10%;
  background: rgba(15, 23, 42, 0.82);
  /* Dark sleek glassmorphic pill */
  color: #ffffff;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  animation: floatUpAndFade 4.2s ease-in-out forwards;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  opacity: 0;
}

.floating-reaction .reaction-emoji {
  font-size: 1rem;
}

.floating-reaction .reaction-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.2px;
}

@keyframes floatUpAndFade {
  0% {
    transform: translateY(30px) translateX(0) scale(0.85);
    opacity: 0;
  }

  12% {
    transform: translateY(0) translateX(-8px) scale(1);
    opacity: 1;
  }

  45% {
    transform: translateY(-80px) translateX(12px) scale(1);
    opacity: 1;
  }

  75% {
    transform: translateY(-160px) translateX(-5px) scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: translateY(-230px) translateX(2px) scale(0.85);
    opacity: 0;
  }
}




/* ── Floating Endorse Button ────────────────────────────────────────── */
#floatEndorseBtn {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;

  /* Professional deep navy → royal blue */
  background: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 60%, #2563eb 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  padding: 1.1rem 0.8rem;
  border-radius: 50px;
  min-width: 56px;

  /* Refined professional shadow */
  box-shadow:
    0 6px 24px rgba(37, 99, 235, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.12);

  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow 0.25s ease,
    background 0.2s ease;
}

#floatEndorseBtn i {
  font-size: 1.3rem;
  display: block;
  opacity: 0.95;
}

#floatEndorseBtn span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

#floatEndorseBtn:hover,
#floatEndorseBtn:focus-visible {
  transform: translateY(-50%) scale(1.07);
  background: linear-gradient(160deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
  color: #ffffff;
  box-shadow:
    0 12px 36px rgba(37, 99, 235, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#floatEndorseBtn:active {
  transform: translateY(-50%) scale(0.97);
}

/* Subtle professional pulse ring */
#floatEndorseBtn::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50px;
  border: 1.5px solid rgba(96, 165, 250, 0.5);
  animation: endorsePulse 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes endorsePulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  55% {
    opacity: 0;
    transform: scale(1.16);
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@media (max-width: 576px) {
  #floatEndorseBtn {
    right: 0.6rem;
    padding: 0.9rem 0.65rem;
    min-width: 48px;
    font-size: 0.68rem;
  }

  #floatEndorseBtn i {
    font-size: 1.1rem;
  }
}

/* ────────────────────────────────────────────────────────────────────── */
.campaign-banner-section {
  padding: 0 1.5rem 3rem;
}

.campaign-banner-card {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 220px;
  border-radius: 28px;
  padding: 2.5rem 2.75rem;
  /* Changed to row layout with items aligned in the center vertically */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #471e8a 0%, #0c46c2 55%, #2e03c7 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(30, 58, 138, 0.18);
  overflow: hidden;
  position: relative;
}

.campaign-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%);
  pointer-events: none;
}

.campaign-banner-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  flex: 1;
}

.campaign-banner-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-banner-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 800;
}

.campaign-banner-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

.campaign-banner-button {
  position: relative;
  z-index: 1;
  /* Removed float: right and align-self, handled by flexbox */
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: #ffffff;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-banner-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.2);
}

.campaign-banner-button i {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .campaign-banner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .campaign-banner-button {
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .campaign-banner-section {
    padding: 0 1rem 2rem;
  }

  .campaign-banner-card {
    min-height: 280px;
    padding: 1.75rem 1.25rem;
  }
}

/* For Read more button */
.stylish-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.stylish-pdf-link:hover {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}

.stylish-pdf-link:active {
  transform: translateY(0);
}

.stylish-pdf-link .icon {
  transition: transform 0.3s ease;
}

.stylish-pdf-link:hover .icon {
  transform: translate(2px, -2px);
}