.impact-section {
  padding: 80px 0;
  background: #f8fafc;
}

.counter-box {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;

  transition: 0.3s;
  margin-bottom: 20px;
}

.counter-box h2 {
  font-size: 36px;
  font-weight: 600;
  color: #17458f; /* Rotary Blue */
  margin-bottom: 1px;
  font-family: "Open Sans", sans-serif;
}

.counter-box p {
  font-size: 14px;
  color: #6b7280;
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.5px;
}

.counter-box:hover {
  transform: translateY(-6px);
  border-bottom: 3px solid #f7a81b;
}
.about-section {
  padding: 90px 0;
  background: #ffffff;
}

/* Heading */
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #17458f;
  margin-bottom: 20px;
}

/* Paragraph */
.section-text {
  font-size: 16px;
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* List */
.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.about-list li {
  font-size: 15px;
  margin-bottom: 10px;
  color: #3c4043;
}

/* Button */
.about-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #17458f;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.about-btn:hover {
  background: #0b1f3a;
}

/* Image */
.about-img {
  border-radius: 16px;

  transition: 0.3s;
}

.about-img:hover {
  transform: scale(1.02);
}

.projects-section {
  padding: 100px 0;
  background: #f8fafc;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* CARD */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 280px;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* HOVER ZOOM */
.project-card:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.project-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
}

.project-card h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

/* HOVER EFFECT */
.project-card:hover .overlay {
  background: linear-gradient(to top, rgba(23, 69, 143, 0.8), transparent);
}

.impact-story {
  padding: 120px 0;
  background: #ffffff;
}

/* MAIN BOX */
.story-box {
  border-left: 4px solid #17458f;
  padding-left: 25px;
}

/* HEADING */
.story-box h2 {
  font-size: 38px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 20px;
}

/* PARAGRAPH */
.story-box p {
  font-size: 16px;
  line-height: 1.9;
  color: #5f6368;
  margin-bottom: 20px;
}

/* HIGHLIGHT TEXT */
.highlight {
  color: #17458f;
  font-weight: 600;
  background: rgba(23, 69, 143, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* STRONG TEXT */
.story-box strong {
  font-weight: 600;
  color: #1e2022;
}
.focus-areas {
  padding: 100px 0;
  font-family: "Open Sans", sans-serif;
}

/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
}

.section-subtitle {
  font-size: 16px;
  color: #5f6368;
  margin-top: 10px;
}

/* GRID */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ITEM */
.focus-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 320px;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.focus-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* HOVER ZOOM */
.focus-item:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  transition: 0.3s;
}

.overlay h4 {
  font-size: 18px;
  font-weight: 600;
}

.overlay p {
  font-size: 13px;
  margin: 5px 0 0;
  opacity: 0.9;
}

/* HOVER EFFECT */
.focus-item:hover .overlay {
  background: linear-gradient(to top, rgba(23, 69, 143, 0.85), transparent);
}

.what-we-do {
  padding: 90px 0;
  background: #f8f9fb;
  font-family: "Poppins", sans-serif;
}

.wwd-container {
  max-width: 1400px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* LEFT IMAGES */
.wwd-images {
  flex: 1;
  position: relative;
  height: 520px;
}

.img-big {
  width: 75%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.img-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-small {
  position: absolute;
  width: 45%;
  height: 42%;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img1 {
  top: 0;
  right: 0;
}

.img2 {
  bottom: 0;
  right: 10%;
}

/* BADGE */
.circle-badge {
  position: absolute;
  width: 140px;
  height: 140px;
  background: #0b2c5f;
  color: #fff;
  border-radius: 50%;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.circle-badge h3 {
  margin: 0;
  font-size: 18px;
}

.circle-badge span {
  font-size: 13px;
  opacity: 0.8;
}

/* RIGHT CONTENT */
.wwd-content {
  flex: 1;
}

.tag {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.tag span {
  font-size: 13px;
  font-weight: 700;
  color: #f4a300;
  letter-spacing: 2px;
}

.tag .line {
  width: 120px;
  height: 1px;
  background: #ddd;
}

.wwd-content h2 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0b1b33;
}

.wwd-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

/* POINTS */
.wwd-points {
  display: grid;
  gap: 20px;
}

.point {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.point .icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.point h4 {
  margin: 0;
  font-size: 16px;
  color: #0b1b33;
}

.point p {
  margin: 5px 0 0;
  font-size: 13px;
  color: #666;
}

/* BUTTON */
.wwd-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: #0b2c5f;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.wwd-btn:hover {
  background: #f4a300;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .wwd-container {
    flex-direction: column;
  }

  .wwd-images {
    width: 100%;
  }

  .wwd-content h2 {
    font-size: 32px;
  }
}

.ngo-hero {
  padding: 80px 0;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
}

/* MAIN WRAPPER */
.hero-container {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 0 20px;
}

/* LEFT SIDE */
.hero-images {
  flex: 1;
  position: relative;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* BIG IMAGE */
.img-large {
  width: 84%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
}

.img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TOP RIGHT CIRCLE */
.img-top {
  position: absolute;
  top: 30px;
  right: 44px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BOTTOM RIGHT CIRCLE */
.img-bottom {
  position: absolute;
  bottom: 40px;
  right: 47px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
}

.img-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT SIDE */
.hero-content {
  flex: 1;
}

/* TITLE */
.hero-content h1 {
  font-size: 36px;
  line-height: 49px;
  font-weight: 600;
  color: #17458f;
}

/* PARAGRAPH */
.hero-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 15px;
}

/* FEATURE POINTS */
.feature-points {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 992px) {
  /* hide circles on mobile */
  .img-top,
  .img-bottom {
    display: none !important;
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
  }
}
@media (max-width: 992px) {
  .hero-images {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .img-large {
    width: 280px;
    height: 280px;
    border-radius: 50%;
  }

  .img-large img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 992px) {
  .hero-images {
    height: 300px;
    justify-content: center;
  }
}
.point {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 15px;
  border-radius: 10px;
  transition: 0.3s;
}

.point i {
  font-size: 18px;
  color: #0b2c5f;
}

.point span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* BUTTON */
.hero-actions {
  margin-top: 20px;
}

.btn-dark {
  background: #0b2c5f;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dark:hover {
  background: #f59e0b;
  color: #000;
}

/* FLOAT EFFECT (OPTIONAL PREMIUM LOOK) */
.img-top,
.img-bottom {
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-images {
    height: 380px;
  }

  .img-large {
    width: 85%;
  }

  .img-top {
    width: 140px;
    height: 140px;
    right: 20px;
    top: 20px;
  }

  .img-bottom {
    width: 130px;
    height: 130px;
    right: 30px;
    bottom: 20px;
  }

  .hero-content {
    margin-top: 20px;
  }
}
.feature-points {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.point {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 15px;
  border-radius: 10px;
  transition: 0.3s;
  border-left: 3px solid transparent;
}

.point i {
  font-size: 18px;
  color: #0b2c5f;
}

.point span {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* hover effect */
.point:hover {
  transform: translateX(6px);
  border-left: 3px solid #f59e0b;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.event-modern {
  padding: 40px 0;
  font-family: "Open Sans", sans-serif;
  background: #ffffff;
}

/* LABEL */
.small-label {
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
  letter-spacing: 1px;
}

/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin: 15px 0;
}

/* TEXT */
.section-subtitle {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* IMAGE */
.event-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  height: 550px;
}

.event-image img:hover {
  transform: scale(1.03);
}

/* EVENT LIST */
.event-list {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ITEM */
.event-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  border-left: 3px solid transparent;
  transition: 0.3s;
  background: #f8fafc;
  border-radius: 10px;
}

.event-item:hover {
  border-left: 3px solid #f59e0b;
  transform: translateX(6px);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* DOT */
.dot {
  width: 10px;
  height: 10px;
  background: #17458f;
  border-radius: 50%;
  margin-top: 6px;
}

/* TEXT */
.event-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e2022;
  margin: 0;
}

.event-item p {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 0;
}

/* BUTTON */
.event-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #17458f;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: 0.3s;
}

.event-btn:hover {
  background: #f59e0b;
  color: #000;
}
.team-section {
  padding: 10px 0;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
}

.section-subtitle {
  font-size: 15px;
  color: #5f6368;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.team-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.img-box {
  width: 120px;
  height: 120px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #17458f;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAME */
.team-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  color: #1e2022;
}

/* ROLE */
.team-card p {
  font-size: 14px;
  color: #6b7280;
}

/* SOCIAL */
.social {
  margin-top: 10px;
}

.social i {
  font-size: 16px;
  margin: 0 5px;
  color: #17458f;
  cursor: pointer;
  transition: 0.3s;
}

.social i:hover {
  color: #f59e0b;
}

/* HOVER EFFECT */
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #f59e0b;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.partners {
  padding: 80px 0 60px 0;
  background: #ffffff;
  font-family: "Open Sans", sans-serif;
}

/* SLIDER WRAPPER */
.logo-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
}

/* TRACK */
.logo-track {
  display: flex;
  width: max-content;
}

/* SET */
.logo-set {
  display: flex;
  align-items: center;
  gap: 35px !important;
  padding-right: 20px;
  animation: scroll 15s linear infinite;
}

.logo-set a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* LOGOS */
.logo-set img {
  width: 110px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
}

/* HOVER */
.logo-set img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* REAL INFINITE LOOP FIX */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Admin-created homepage content sections */
.rotary-custom-section {
  padding: 90px 0;
  background: var(--rotary-section-bg, #ffffff);
  color: var(--rotary-section-text, #333333);
}

.rotary-custom-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 55px;
  align-items: center;
}

.rotary-custom-section--image_right .rotary-custom-section__media {
  order: 2;
}

.rotary-custom-section--image_right .rotary-custom-section__content {
  order: 1;
}

.rotary-custom-section--centered .rotary-custom-section__grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  text-align: center;
}

.rotary-custom-section--no-image .rotary-custom-section__grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.rotary-custom-section--centered .rotary-custom-section__media {
  order: 1;
}

.rotary-custom-section--centered .rotary-custom-section__content {
  order: 2;
}

.rotary-custom-section__media img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 34, 58, 0.14);
}

.rotary-custom-section__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--custom-eyebrow-color, #f59e0b);
  font-size: var(--custom-eyebrow-size, 14px);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rotary-custom-section__content h2 {
  margin-bottom: 14px;
  color: var(--custom-title-color, #17458f);
  font-size: 34px;
  line-height: 1.15;
}

.rotary-custom-section__content h3 {
  margin-bottom: 16px;
  color: var(--custom-subtitle-color, inherit);
  font-size: var(--custom-subtitle-size, 18px);
  font-weight: 600;
  opacity: 0.86;
}

.rotary-custom-section__content p {
  margin-bottom: 24px;
  color: var(--custom-description-color, inherit);
  font-size: var(--custom-description-size, 16px);
  line-height: 1.8;
  opacity: 0.88;
}

.rotary-custom-section .event-btn {
  color: var(--custom-button-color, #ffffff);
  font-size: var(--custom-button-size, 16px);
}

/* Admin-managed homepage content */
.homepage-dynamic-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  #header[data-transparent="true"] + main.homepage-dynamic-layout {
    position: relative;
    top: -80px;
    margin-bottom: -80px;
  }
}

.homepage-dynamic-layout .homepage-managed-section {
  background-color: var(--home-section-bg, #ffffff);
  background-image: var(--home-section-image, none);
  background-position: center;
  background-size: cover;
}


.homepage-managed-section .homepage-eyebrow,
.homepage-managed-section .small-label.homepage-eyebrow {
  display: inline-block;
  color: var(--home-eyebrow-color, #f59e0b);
  font-size: var(--home-eyebrow-size, 14px);
}

.homepage-managed-section .section-title {
  color: var(--home-title-color, #17458f);
  font-size: var(--home-title-size, 34px);
  margin-top: 50px;
}

.homepage-managed-section .section-subtitle {
  color: var(--home-subtitle-color, #5f6368);
  font-size: var(--home-subtitle-size, 16px);
}

.homepage-managed-section .homepage-description {
  color: var(--home-description-color, #5f6368);
  font-size: var(--home-description-size, 16px);
}

.homepage-managed-section .homepage-dynamic-button {
  border-color: var(--home-button-bg, #17458f);
  color: var(--home-button-color, #ffffff) !important;
  background: var(--home-button-bg, #17458f);
  font-size: var(--home-button-size, 16px);
}

.homepage-managed-section .homepage-dynamic-button:hover {
  filter: brightness(0.92);
}

.homepage-section-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.homepage-dynamic-slide .slide-captions .strong {
  color: var(--slide-eyebrow-color, #ffffff);
  font-size: var(--slide-eyebrow-size, 16px);
}

.homepage-dynamic-slide .slide-captions h2 {
  color: var(--slide-title-color, #ffffff) !important;
  font-size: var(--slide-title-size, 52px);
}

.homepage-dynamic-slide .slide-captions p {
  color: var(--slide-description-color, #ffffff) !important;
  font-size: var(--slide-description-size, 18px);
}

.homepage-dynamic-slide .homepage-slide-primary,
.homepage-dynamic-slide .homepage-slide-secondary {
  border-color: var(--slide-button-bg, #17458f) !important;
  background: var(--slide-button-bg, #17458f) !important;
  background-color: var(--slide-button-bg, #17458f) !important;
  color: var(--slide-button-color, #ffffff) !important;
  font-size: var(--slide-button-size, 16px);
}

.homepage-dynamic-slide .homepage-slide-primary:hover,
.homepage-dynamic-slide .homepage-slide-primary:focus,
.homepage-dynamic-slide .homepage-slide-primary:active,
.homepage-dynamic-slide .homepage-slide-secondary:hover,
.homepage-dynamic-slide .homepage-slide-secondary:focus,
.homepage-dynamic-slide .homepage-slide-secondary:active {
  border-color: var(--slide-button-bg, #17458f) !important;
  background: var(--slide-button-bg, #17458f) !important;
  background-color: var(--slide-button-bg, #17458f) !important;
  color: var(--slide-button-color, #ffffff) !important;
  filter: brightness(0.92);
  text-decoration: none;
}

/* .homepage-dynamic-slide .homepage-slide-primary,
.homepage-dynamic-slide .homepage-slide-secondary {
  border-color: var(--slide-button-bg, #17458f) !important;
  background: var(--slide-button-bg, #17458f) !important;
  background-color: var(--slide-button-bg, #17458f) !important;
  color: var(--slide-button-color, #762a2a) !important;
  font-size: var(--slide-button-size, 16px);
} */

/* Prevent global button hover styles from overriding dynamic colours */
/* .homepage-dynamic-slide .homepage-slide-primary:hover,
.homepage-dynamic-slide .homepage-slide-primary:focus,
.homepage-dynamic-slide .homepage-slide-primary:active,
.homepage-dynamic-slide .homepage-slide-secondary:hover,
.homepage-dynamic-slide .homepage-slide-secondary:focus,
.homepage-dynamic-slide .homepage-slide-secondary:active {
  border-color: var(--slide-button-bg, #17458f) !important;
  background: var(--slide-button-bg, #17458f) !important;
  background-color: var(--slide-button-bg, #17458f) !important;
  color: var(--slide-button-color, #ffffff) !important;
  filter: brightness(0.92);
  text-decoration: none;
} */

/* 
.homepage-dynamic-slide .homepage-slide-primary,
.homepage-dynamic-slide .homepage-slide-secondary {
  border-color: var(--slide-button-bg, #17458f);
  color: var(--slide-button-color, #ffffff) !important;
  background: var(--slide-button-bg, #17458f);
  font-size: var(--slide-button-size, 16px);
} 
*/

.focus-card h4 {
  color: var(--focus-title-color, #ffffff) !important;
  font-size: var(--focus-title-size, 22px);
}

.focus-card p {
  color: var(--focus-description-color, #ffffff) !important;
  font-size: var(--focus-description-size, 15px);
}

@media (max-width: 767px) {
  .homepage-dynamic-slide .slide-captions h2 {
    font-size: clamp(28px, 9vw, var(--slide-title-size, 52px));
  }
  .rotary-custom-section__content h2 {
    margin-bottom: 14px;
    color: var(--custom-title-color, #17458f);
    font-size: 22px;
    line-height: 1.15;
  }
  .homepage-managed-section .section-title {
    color: var(--home-title-color, #17458f);
    font-size: 22px;
    margin-top: 20px;
  }
  .small-label {
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    letter-spacing: 1px;
    margin-top: 20px;
  }
  .section-title {
    font-size: 36px;
    font-weight: 600;
    color: #17458f;
    margin: 1px 0;
      
  }
  
}

/* Shared dynamic banners for non-home pages */
#page-title.rotary-dynamic-page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.rotary-dynamic-page-banner .rotary-page-banner-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.rotary-dynamic-page-banner .container,
.rotary-dynamic-page-banner .rotary-page-banner-content {
  position: relative;
  z-index: 1;
}

.rotary-dynamic-page-banner .rotary-page-banner-left {
  text-align: left !important;
}

.rotary-dynamic-page-banner .rotary-page-banner-center {
  text-align: center !important;
}

.rotary-dynamic-page-banner .rotary-page-banner-right {
  text-align: right !important;
}

.rotary-dynamic-page-banner .rotary-page-banner-content > h1 {
  line-height: 1.2;
  margin-bottom: 12px;
}

.rotary-dynamic-page-banner .rotary-page-banner-content > span {
  display: block;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .rotary-dynamic-page-banner .rotary-page-banner-content > h1 {
    font-size: clamp(26px, 9vw, 40px) !important;
  }
}

@media (max-width: 767px) {
  .rotary-custom-section {
    padding: 65px 0;
  }

  .rotary-custom-section__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rotary-custom-section--image_right .rotary-custom-section__media,
  .rotary-custom-section--image_right .rotary-custom-section__content {
    order: initial;
  }

  .rotary-custom-section__media img {
    max-height: 340px;
    border-radius: 18px;
  }
}

.gallery-section {
  padding: 40px 0;
  background: #ffffff;
  font-family: "Open Sans", sans-serif;
}
.contact-sec{
  padding: 86px 0 80px 0 ;
}
/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
}

.section-subtitle {
  font-size: 15px;
  color: #5f6368;
  margin-top: 10px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 20px;
}

/* ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: rgba(23, 69, 143, 0.85);
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
/* Focus Areas Slider */
.focus-slider {
  padding: 0px 0;
  background: #ffffff;
  overflow: hidden;
}

/* Focus Areas Text Fix */
.focus-card {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.focus-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* dark gradient for readable text */
.focus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  );
  z-index: 1;
}

/* force text visible */
.focus-card > .overlay {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  padding: 24px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: transparent !important;
}

.focus-card > .overlay h4 {
  color: #fff !important;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  opacity: 1 !important;
  visibility: visible !important;
}

.focus-card > .overlay p {
  color: #fff !important;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

.focusSwiper {
  padding: 10px 0 20px;
  overflow: hidden;
}

.focusSwiper .swiper-slide {
  height: auto;
}

.focus-card {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.focus-card img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  transition: 0.4s ease;
}

.focus-card .overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 26px 22px;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.35),
    transparent
  );
}

.focus-card .overlay h4 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.focus-card .overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.focus-card:hover img {
  transform: scale(1.08);
}

/* Mobile */
@media (max-width: 767px) {
  .focus-slider {
    padding: 0px 0;
  }

  .focus-card {
    height: 260px;
  }

  .focus-card .overlay {
    padding: 22px 18px;
  }

  .focus-card .overlay h4 {
    font-size: 20px;
  }

  .focus-card .overlay p {
    font-size: 14px;
  }
}

/* Featured Projects Text Fix */
.projects-section {
  padding: 20px 0;
  background: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.projects-section .project-card {
  position: relative;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.projects-section .project-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

.projects-section .project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.35),
    transparent
  );
}

.projects-section .project-card > .overlay {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  padding: 24px !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: transparent !important;
}

.projects-section .project-card > .overlay h4 {
  color: #fff !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

.projects-section .project-card:hover img {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .projects-section {
    padding: 0px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .projects-section .project-card {
    height: 260px;
  }

  .projects-section .project-card > .overlay h4 {
    font-size: 20px;
  }
  .who-we-are-section {
    padding: 90px 0px 0px 0px !important;
    font-family: "Open Sans", sans-serif;
    background-color: #f8fafc;
  }
}
.who-we-are-section {
  padding: 90px 4px 46px 0px;
  font-family: "Open Sans", sans-serif;
  background-color: #f8fafc;
}

.section-label {
  display: inline-block;
  color: #f59e0b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.who-we-are-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 20px;
}

.who-we-are-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: start;
}

/* ICON HIGHLIGHTS */
.highlight-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 5px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-item i {
  font-size: 20px;
  color: #0b2c5f;
}

/* ACHIEVEMENTS WITH BUTTONS */
.achievements-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.achievement-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  flex: 1 1 150px;
  max-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-top: 3px solid #f59e0b;
}

.achievement-card i {
  font-size: 28px;
  color: #17458f;
  margin-bottom: 10px;
}

.achievement-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0b2c5f;
}

.achievement-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.btn-achievement {
  display: inline-block;
  padding: 8px 18px;
  background: #17458f;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-achievement:hover {
  background: #f59e0b;
  color: #000;
}

/* IMAGE */
.who-we-are-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .who-we-are-section .row {
    flex-direction: column;
    text-align: center;
  }
  .highlight-icons,
  .achievements-row {
    justify-content: center;
  }
  .who-we-are-image {
    margin-bottom: 20px;
  }
  .mobile-top{
    margin-top: 30% !important;
  }
  #header .header-inner #logo, #header #header-wrap #logo {
    float: left;
    font-size: 28px;
    position: relative;
    z-index: 1;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    height: 80px;
    background-color: #fff !important;
  }
}
.mission-vision-alt {
  padding: 100px 20px;
  background: #eef2f5;
  font-family: "Open Sans", sans-serif;
}

/* TITLE */
.mission-vision-alt .section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
}
.mission-vision-alt .section-subtitle {
  font-size: 15px;
  color: #5f6368;
  margin-top: 8px;
}

/* GRID */
.mv-alt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

/* LEFT TEXT BLOCK */
.mv-alt-left {
  flex: 1;
}
.mv-block {
  margin-bottom: 30px;
}
.mv-block h3 {
  font-size: 20px;
  color: #0b2c5f;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #f59e0b;
  padding-bottom: 8px;
}
.mv-block p {
  font-size: 15px;
  color: #555;
  margin-top: 10px;
  line-height: 1.7;
  text-align: start;
}

/* RIGHT IMAGE */
.mv-alt-right {
  flex: 1;
  text-align: center;
}
.mv-alt-right img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .mv-alt-grid {
    flex-direction: column;
    text-align: center;
  }
  .mv-alt-right img {
    margin-top: 20px;
  }
}
/* PREMIUM LEFT SIDE */
.premium-left {
  background: linear-gradient(
    135deg,
    rgba(23, 69, 143, 0.1),
    rgba(247, 168, 27, 0.05)
  );
  padding: 30px 25px;
  border-radius: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.premium-left .mv-block {
  margin-bottom: 30px;
  position: relative;
  padding-left: 45px;
}

.premium-left .mv-block i {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 28px;
  color: #17458f;
}

.premium-left .mv-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0b2c5f;
  margin-bottom: 10px;
}

.premium-left .mv-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* HOVER EFFECT */
.premium-left:hover {
  transform: translateX(6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.core-values-section {
  padding: 20px 0px 71px 0px;
  background: #f8fafc;
  font-family: "Open Sans", sans-serif;
}

/* TITLE */
.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
}

.section-subtitle {
  font-size: 16px;
  color: #5f6368;
  margin-top: 8px;
}

/* GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 50px;
  justify-items: center;
}

/* VALUE CARD */
.value-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-top: 3px solid #f59e0b;
}

/* ICON */
.value-card i {
  font-size: 28px;
  color: #17458f;
  margin-bottom: 12px;
}

/* HEADING */
.value-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0b2c5f;
}

/* DESCRIPTION */
.value-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
.featured-projects {
  padding: 50px 20px;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

.fp-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
}

.fp-subtitle {
  font-size: 16px;
  color: #5f6368;
  margin-top: 8px;
}

/* GRID */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* CARD */
.fp-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.fp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.fp-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

.fp-card:hover .fp-img img {
  transform: scale(1.05);
}

/* CONTENT */
.fp-content {
  padding: 20px;
  text-align: center;
}

.fp-name {
  font-size: 18px;
  font-weight: 600;
  color: #0b2c5f;
  margin-bottom: 10px;
}

.fp-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.fp-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #f59e0b;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.fp-btn:hover {
  background: #17458f;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fp-grid {
    grid-template-columns: 1fr;
  }
  .fp-img img {
    height: 200px;
  }
}
.highlighted-project {
  padding: 10px 20px;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

/* SECTION LABEL */
.highlighted-project .section-label {
  display: inline-block;
  color: #f59e0b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* TITLE */
.hp-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 15px;
  line-height: 49px;
}

/* DESCRIPTION */
.hp-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* CTA BUTTON */
.hp-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #f59e0b;
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hp-btn:hover {
  background: #17458f;
  color: #fff;
}

/* IMAGE */
.hp-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .highlighted-project .row {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hp-img {
    margin-bottom: 20px;
    margin-top: 30px;
  }
}
.projects-timeline-alt {
  padding: 90px 20px;
  background: #f8fafc;
  font-family: "Open Sans", sans-serif;
  overflow: hidden;
}

.projects-timeline-alt .container {
  max-width: 1140px;
  margin: auto;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: #5f6368;
  margin-top: 8px;
  text-align: center;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 55px;
  position: relative;
}

/* Timeline center line */
.timeline-items::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 3px;
  background: rgba(23, 69, 143, 0.15);
  transform: translateX(-50%);
  border-radius: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  position: relative;
}

.timeline-content {
  background: #ffffff;
  padding: 28px 28px 26px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 2;
  transition: 0.35s ease;
}

.timeline-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(23, 69, 143, 0.12);
}

.timeline-icon {
  width: 54px;
  height: 54px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
  transition: 0.3s ease;
}

.timeline-content:hover .timeline-icon {
  background: #17458f;
  transform: scale(1.08);
}

.timeline-year {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #0b2c5f;
  background: rgba(23, 69, 143, 0.08);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-size: 21px;
  color: #17458f;
  margin: 0 0 8px;
  font-weight: 600;
}

.timeline-content p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.timeline-image {
  position: relative;
  z-index: 2;
}

.timeline-image img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}


/* Right side content align */
.timeline-item.right .timeline-content {
  text-align: right;
}

.timeline-item.right .timeline-icon {
  margin-left: auto;
}

/* Decorative center dots */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  background: #f59e0b;
  border: 4px solid #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15);
}

/* Responsive */
@media (max-width: 991px) {
  .timeline-item {
    gap: 40px;
  }

  .timeline-image img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .projects-timeline-alt {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .timeline-items {
    gap: 35px;
    margin-top: 40px;
  }

  .timeline-items::before,
  .timeline-item::before {
    display: none;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .timeline-item.right .timeline-image {
    order: 2;
  }

  .timeline-item.right .timeline-content {
    order: 1;
    text-align: left;
  }

  .timeline-item.right .timeline-icon {
    margin-left: 0;
  }

  .timeline-content {
    padding: 24px 22px;
  }

  .timeline-image img {
    height: 210px;
  }
}
.upcoming-events-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  font-family: "Open Sans", sans-serif;
  position: relative;
  overflow: hidden;
}

.upcoming-events-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: rgba(23, 69, 143, 0.07);
  border-radius: 50%;
  top: -160px;
  left: -120px;
}

.upcoming-events-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  bottom: -130px;
  right: -100px;
}

.upcoming-events-section .container {
  max-width: 1140px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.events-heading {
  max-width: 700px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: "Open Sans", sans-serif;
}

.events-heading h2 {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 8px;
  font-family: "Open Sans", sans-serif;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-card {
  background: #ffffff;
  border-radius: 11px;
  overflow: hidden;
  transition: 0.35s ease;
  position: relative;
  border: 1px solid rgba(23, 69, 143, 0.08);
  font-family: "Open Sans", sans-serif;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(23, 69, 143, 0.16);
}

.event-card.featured {
  transform: translateY(-18px);
}

.event-card.featured:hover {
  transform: translateY(-28px);
}

.event-image {
  position: relative;
  height: 235px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.08);
}

.event-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
}

.event-date {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 64px;
  height: 66px;
  background: #ffffff;
  border-radius: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", sans-serif;
}

.event-date span {
  font-size: 26px;
  line-height: 1;
  color: #17458f;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}

.event-date small {
  font-size: 13px;
  color: #f59e0b;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
}

.event-content {
  padding: 28px 26px 30px;
  font-family: "Open Sans", sans-serif;
}

.event-category {
  display: inline-block;
  background: rgba(23, 69, 143, 0.08);
  color: #17458f;
  padding: 5px 8px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Open Sans", sans-serif;
}

.event-content h3 {
  font-size: 18px;
  color: #17458f;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.35;
  font-family: "Open Sans", sans-serif;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-family: "Open Sans", sans-serif;
}

.event-info span {
  font-size: 14px;
  color: #5f6368;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Open Sans", sans-serif;
}

.event-info i {
  color: #f59e0b;
  font-size: 17px;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #17458f;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
  font-family: "Open Sans", sans-serif;
}

.event-btn:hover {
  background: #f59e0b;
  color: #ffffff;
  transform: translateX(4px);
}

.event-btn i {
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

/* Responsive */
@media (max-width: 991px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card.featured {
    transform: translateY(0);
  }

  .event-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .upcoming-events-section {
    padding: 70px 15px;
  }

  .events-heading {
    margin-bottom: 35px;
  }

  .events-heading h2 {
    font-size: 28px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .event-image {
    height: 220px;
  }

  .event-content {
    padding: 24px 22px 26px;
  }
}
.featured-event-section {
  padding: 100px 20px;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

.featured-event-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.featured-event-image {
  flex: 1;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s;
}

.featured-event-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.featured-event-image:hover {
  transform: scale(1.05);
}

.featured-event-content {
  flex: 1;
}

.event-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.event-title {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 10px;
  line-height: 49px;
}

.event-date {
  font-size: 15px;
  font-weight: 700;
  color: #0b2c5f;
  margin-bottom: 12px;
}

.event-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.event-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #17458f;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.event-btn:hover {
  background: #f59e0b;
  color: #000;
}

/* Responsive */
@media (max-width: 992px) {
  .featured-event-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .featured-event-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.president-highlight {
  padding: 100px 20px;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

.president-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  transition: 0.3s;
}

.president-image {
  flex: 1;
  max-width: 350px;
  border-radius: 20px;
  overflow: hidden;
}

.president-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s;
}

.president-image:hover img {
  transform: scale(1.05);
}

.president-content {
  flex: 2;
}

.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.president-name {
  font-size: 32px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 8px;
}

.president-designation {
  font-size: 15px;
  font-weight: 700;
  color: #0b2c5f;
  margin-bottom: 15px;
}

.president-bio {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.president-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #17458f;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.president-btn:hover {
  background: #f59e0b;
  color: #000;
}

/* Responsive */
@media (max-width: 992px) {
  .president-card {
    flex-direction: column;
    text-align: center;
  }
  .president-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.rotary-past-presidents {
  padding: 100px 20px;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

.rotary-title {
  font-size: 36px;
  font-weight: 700;
  color: #17458f;
}

.rotary-subtitle {
  font-size: 15px;
  color: #5f6368;
  margin-top: 8px;
}

.rotary-presidents-slider {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
}

.rotary-member {
  flex: 0 0 23%;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.rotary-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.rotary-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.rotary-member-name {
  font-size: 16px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 5px;
}

.rotary-member-tenure {
  font-size: 14px;
  color: #555;
}

/* Scrollbar style */
.rotary-presidents-slider::-webkit-scrollbar {
  height: 6px;
}

.rotary-presidents-slider::-webkit-scrollbar-thumb {
  background: #17458f;
  border-radius: 3px;
}

.rotary-presidents-slider::-webkit-scrollbar-track {
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .rotary-presidents-slider {
    flex-wrap: wrap;
    justify-content: center;
  }
  .rotary-member {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.rotary-president-highlight {
  padding: 30px 2px;
  font-family: "Open Sans", sans-serif;
  background: #f8fafc;
}

.rotary-president-card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  transition: 0.3s;
}

.rotary-president-image {
  flex: 1;
  max-width: 350px;
  border-radius: 20px;
  overflow: hidden;
}

.rotary-president-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s;
}

.rotary-president-image:hover img {
  transform: scale(1.05);
}

.rotary-president-content {
  flex: 2;
}

.rotary-section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 15px;
  border-radius: 50px;
  margin-bottom: 3px;
}

.rotary-president-name {
  font-size: 36px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 8px;
  line-height: 49px;
}

.rotary-president-role {
  font-size: 15px;
  font-weight: 700;
  color: #0b2c5f;
  margin-bottom: 15px;
}

.rotary-president-bio {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.rotary-president-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #17458f;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.rotary-president-btn:hover {
  background: #f59e0b;
  color: #000;
}

/* Responsive */
@media (max-width: 992px) {
  .rotary-president-card {
    flex-direction: column;
    text-align: center;
  }
  .rotary-president-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.font-heading{
  font-size: 36px;
  line-height: 49px;
}



.privacy-policy-section {
  padding: 80px 20px;
  font-family: 'Open Sans', sans-serif;
  background: #f8fafc;
  color: #333;
}

.privacy-row {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

/* LEFT: Contact Form */
.privacy-left {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;

}

.privacy-left h3 {
  font-size: 24px;
  color: #17458f;
  margin-bottom: 20px;
}

.privacy-left .form-group {
  margin-bottom: 15px;
}

.privacy-left input,
.privacy-left textarea {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.privacy-left textarea {
  resize: none;
}

.btn-privacy {
  display: inline-block;
  padding: 12px 25px;
  background: #17458f;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}

.btn-privacy:hover {
  background: #f59e0b;
  color: #000;
}

/* RIGHT: Privacy Content */
.privacy-right {
  flex: 2;
  min-width: 350px;
}

.privacy-title {
  font-size: 36px;
  font-weight: 700;
  color: #17458f;
  margin-bottom: 15px;
}

.privacy-intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.privacy-right h2 {
  font-size: 22px;
  font-weight: 600;
  color: #17458f;
  margin-top: 25px;
}

.privacy-right p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Responsive */
@media(max-width: 992px){
  .privacy-row { flex-direction: column; }
  .privacy-left, .privacy-right { min-width: 100%; }
}


.about-member {
  position: relative;
  padding: 80px 0;
  background: #f7f9fc;
}

.about-member__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 23%;
  height: 75%;
  background: linear-gradient(180deg, #04365f, #022947);
  border-radius: 0 0 30px 0;
}

.about-member__container {
  position: relative;
  z-index: 2;
}

.about-member__grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 50px;
  align-items: center;
}

/* IMAGE SIDE */
.about-member__media {
  position: relative;
}

.about-member__frame {
  position: absolute;
  inset: -25px 20px auto 0;
  height: 85%;
  border: 3px solid #f5b331;
  border-radius: 20px;
}

.about-member__image {

  border-radius: 18px;
  overflow: hidden;
}

.about-member__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-member__quote {
  position: absolute;
  bottom: 28px;
  left: 24px;
  background: #033058;
  color: #fff;
  padding: 20px;
  border-radius: 0 15px 15px 0;
  width: 260px;
}

.about-member__quote-mark {
  font-size: 70px;
  color: #f5b331;
}

/* CONTENT */
.about-member__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5b331;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-member__title {
  font-size: 36px;
line-height: 49px;
font-weight: 600;
color: #17458f;
}

.about-member__line {
  width: 100px;
  height: 4px;
  background: #f5b331;
  margin: 19px 0;
}

.about-member__text {
  font-size: 17px;
color: #555;
line-height: 1.8;
max-width: 650px;
margin-bottom: 15px;
}

/* FEATURES */
.about-member__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.about-member__feature {
  display: flex;
  gap: 15px;
  padding: 25px;
  align-items: center;
}

.about-member__icon {
  width: 60px;
  height: 60px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5b331;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .about-member__grid {
    grid-template-columns: 1fr;
  }

  .about-member__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about-member__features {
    grid-template-columns: 1fr;
  }

  .about-member__image {
    height: 420px;
    margin-left: 0;
  }
}





  /* EVENT DETAILS PAGE */

  .rotary-event-detail-page {
    font-family: inherit;
    color: #17233c;
    background: #f7f9fc;
}

.rotary-event-detail-page * {
    font-family: inherit;
}

/* HERO */

.rotary-event-hero {
    position: relative;
    min-height: 620px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rotary-event-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 36, 76, 0.92), rgba(8, 36, 76, 0.74), rgba(8, 36, 76, 0.35)),
        radial-gradient(circle at 80% 20%, rgba(247, 168, 27, 0.35), transparent 35%);
}

.rotary-event-hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -140px;
    border: 55px solid rgba(247, 168, 27, 0.18);
    border-radius: 50%;
}

.rotary-event-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 90px 0;
}

.rotary-event-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
}

.rotary-event-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: 0.3s ease;
}

.rotary-event-breadcrumb a:hover {
    color: #f7a81b;
}

.rotary-event-breadcrumb strong {
    color: #ffffff;
    font-weight: 600;
}

.rotary-event-tag,
.rotary-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f7a81b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}


.rotary-event-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 22px;
    max-width: 850px;
}

.rotary-event-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 30px;
    font-weight: 400;
}

.rotary-event-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 35px;
}

.rotary-event-hero-meta div {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    border-radius: 50px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 500;
}

.rotary-event-hero-meta i {
    color: #f7a81b;
    font-size: 18px;
}

.rotary-event-hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rotary-event-primary-btn,
.rotary-event-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.35s ease;
}

.rotary-event-primary-btn {
    background: #f7a81b;
    color: #08244c;
    box-shadow: 0 16px 35px rgba(247, 168, 27, 0.32);
}

.rotary-event-primary-btn:hover {
    background: #ffffff;
    color: #08244c;
    transform: translateY(-3px);
}

.rotary-event-outline-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.rotary-event-outline-btn:hover {
    background: #ffffff;
    color: #08244c;
    transform: translateY(-3px);
}

/* INFO CARDS */

.rotary-event-info-section {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    padding-bottom: 65px;
}

.rotary-event-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.rotary-event-info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 24px;
    text-align: center;

    border: 1px solid rgba(8, 36, 76, 0.07);
    transition: 0.35s ease;
}

.rotary-event-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 65px rgba(8, 36, 76, 0.05);
}

.rotary-event-info-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 168, 27, 0.14);
    color: #f7a81b;
    font-size: 28px;
}

.rotary-event-info-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #17458f;
    margin-bottom: 1px;
    font-family: "Open Sans", sans-serif;
}

.rotary-event-info-card p {
    font-size: 14px;
    color: #6b7280;
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.5px;
}

/* MAIN CONTENT */

.rotary-event-main-section {
    padding: 20px 0 90px;
}

.rotary-event-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 35px;
    align-items: start;
}

.rotary-event-left-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rotary-event-content-card,
.rotary-event-side-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 35px;
    border: 1px solid rgba(8, 36, 76, 0.08);

}

.rotary-event-content-card h2 {
    font-size: 36px;
    font-weight: 600;
    color: #17458f;
    margin-bottom: 10px;
    line-height: 49px;
}

.rotary-event-content-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: Georgia, serif;


}

.rotary-event-content-card p:last-child {
    margin-bottom: 0;
}

/* HIGHLIGHTS */

.rotary-event-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.rotary-event-highlight-box {
    padding: 26px;
    border-radius: 22px;
    background: #f7f9fc;
    border: 1px solid rgba(8, 36, 76, 0.06);
    transition: 0.35s ease;
}

.rotary-event-highlight-box:hover {
    background: #08244c;
    transform: translateY(-5px);
}

.rotary-event-highlight-box i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(247, 168, 27, 0.14);
    color: #f7a81b;
    font-size: 26px;
    margin-bottom: 18px;
}

.rotary-event-highlight-box h4 {
  font-size: 21px;
  color: #17458f;
  margin: 0 0 8px;
  font-weight: 600;
}

.rotary-event-highlight-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.rotary-event-highlight-box:hover h4,
.rotary-event-highlight-box:hover p {
    color: #ffffff;
}

/* TIMELINE */

.rotary-event-timeline {
    position: relative;
    margin-top: 25px;
}

.rotary-event-timeline::before {
    content: "";
    position: absolute;
    left: 81px;
    top: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background: rgba(8, 36, 76, 0.12);
}

.rotary-event-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 11px;
    padding-bottom: 26px;
}

.rotary-event-timeline-item:last-child {
    padding-bottom: 0;
}

.rotary-event-timeline-time {
    color: #f7a81b;
    font-size: 13px;
    font-weight: 600;
    padding-top: 3px;
}

.rotary-event-timeline-content {
    position: relative;
    padding: 22px 24px;
    border-radius: 20px;
    background: #f7f9fc;
    border: 1px solid rgba(8, 36, 76, 0.06);
}

.rotary-event-timeline-content::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 7px;
    width: 14px;
    height: 14px;
    background: #f7a81b;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(247, 168, 27, 0.18);
}

.rotary-event-timeline-content h4 {
  font-size: 19px;
  color: #17458f;
  margin: 0 0 2px;
  font-weight: 600;
}

.rotary-event-timeline-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* GALLERY */

.rotary-event-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.rotary-event-gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 22px;
    transition: 0.35s ease;
}

.rotary-event-gallery img:hover {
    transform: scale(1.03);
}

/* SIDEBAR */

.rotary-event-sidebar {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rotary-event-side-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 10px;
  line-height: 49px;
}

.rotary-event-date-card {
    text-align: center;
    background:
        linear-gradient(145deg, #08244c, #0d3b7c);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.rotary-event-date-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(247, 168, 27, 0.22);
}

.rotary-event-date-card span {
    display: block;
    color: #f7a81b;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rotary-event-date-card h3 {
    color: #ffffff;
    font-size: 72px;
    font-weight: 800;
    margin: 4px 0;
    line-height: 1;
}

.rotary-event-date-card p {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    margin: 0;
}

.rotary-event-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rotary-event-detail-list li {
    display: flex;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(8, 36, 76, 0.08);
}

.rotary-event-detail-list li:first-child {
    padding-top: 0;
}

.rotary-event-detail-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rotary-event-detail-list i {
    width: 40px;
    height: 40px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 168, 27, 0.14);
    color: #f7a81b;
    border-radius: 14px;
    font-size: 18px;
}

.rotary-event-detail-list strong {
    display: block;
    font-size: 16px;
color: #17458f;
margin: 0 0 1px;
font-weight: 600;
}

.rotary-event-detail-list span {
    color: #637083;
    font-size: 14px;
    font-weight: 500;
}

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

.rotary-event-social-links a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fc;
    color: #08244c;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: 0.35s ease;
}

.rotary-event-social-links a:hover {
    background: #f7a81b;
    color: #08244c;
    transform: translateY(-4px);
}

.rotary-event-register-box {
    border-radius: 26px;
    padding: 32px;
    background:
        linear-gradient(145deg, rgba(247, 168, 27, 0.95), rgba(255, 194, 72, 0.95));
}

.rotary-event-register-box h3 {
  font-size: 25px;
  font-weight: 600;
  color: #17458f;
  margin-bottom: 10px;
  line-height: 49px;
}

.rotary-event-register-box p {
    color: rgba(8, 36, 76, 0.78);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
    font-family: Georgia, serif;
}

.rotary-event-register-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border-radius: 50px;
    background: #17458f;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: 0.35s ease;
}

.rotary-event-register-box a:hover {
    background: #ffffff;
    color: #08244c;
}

/* CTA */

.rotary-event-cta-section {
    padding: 0 0 90px;
}

.rotary-event-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, #08244c, #0d3b7c);
    position: relative;
    overflow: hidden;
}

.rotary-event-cta-box::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(247, 168, 27, 0.18);
}

.rotary-event-cta-box h2 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
}

.rotary-event-cta-box p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.8;
    max-width: 680px;
    margin: 0;
}

.rotary-event-cta-btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 28px;
    border-radius: 50px;
    background: #f7a81b;
    color: #08244c;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: 0.35s ease;
}

.rotary-event-cta-btn:hover {
    background: #ffffff;
    color: #08244c;
    transform: translateY(-3px);
}

/* RESPONSIVE */

@media (max-width: 1199px) {
    .rotary-event-main-grid {
        grid-template-columns: 1fr 330px;
    }
}

@media (max-width: 991px) {
    .rotary-event-hero {
        min-height: auto;
    }

    .rotary-event-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rotary-event-main-grid {
        grid-template-columns: 1fr;
    }

    .rotary-event-sidebar {
        position: static;
    }

    .rotary-event-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .rotary-event-hero-content {
        padding: 75px 0 115px;
    }

    .rotary-event-hero h1 {
        font-size: 36px;
    }

    .rotary-event-hero p {
        font-size: 16px;
    }

    .rotary-event-info-section {
        margin-top: -80px;
        padding-bottom: 45px;
    }

    .rotary-event-info-grid {
        grid-template-columns: 1fr;
    }

    .rotary-event-content-card,
    .rotary-event-side-card {
        padding: 25px;
        border-radius: 22px;
    }

    .rotary-event-highlight-grid {
        grid-template-columns: 1fr;
    }

    .rotary-event-gallery {
        grid-template-columns: 1fr;
    }

    .rotary-event-gallery img {
        height: 220px;
    }

    .rotary-event-timeline::before {
        left: 0;
    }

    .rotary-event-timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 26px;
    }

    .rotary-event-timeline-content::before {
        left: -32px;
    }

    .rotary-event-timeline-time {
        padding-top: 0;
    }

    .rotary-event-hero-actions {
        width: 100%;
    }

    .rotary-event-primary-btn,
    .rotary-event-outline-btn {
        width: 100%;
    }

    .rotary-event-cta-box {
        padding: 30px 24px;
    }

    .rotary-event-cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rotary-event-hero h1 {
        font-size: 31px;
    }

    .rotary-event-hero-meta div {
        width: 100%;
        border-radius: 16px;
    }

    .rotary-event-date-card h3 {
        font-size: 58px;
    }
}

/* Admin-managed About page */
.about-managed-who {
  background-color: var(--about-bg, #f8fafc);
}

.about-managed-who .section-label {
  color: var(--about-eyebrow-color, #f59e0b);
  font-size: var(--about-eyebrow-size, 13px);
}

.about-managed-who .who-we-are-content h2 {
  color: var(--about-title-color, #17458f);
  font-size: var(--about-title-size, 36px);
}

.about-managed-who .about-who-subtitle {
  margin: -8px 0 18px;
  color: var(--about-subtitle-color, #5f6368);
  font-size: var(--about-subtitle-size, 18px);
}

.about-managed-who .who-we-are-content p {
  color: var(--about-description-color, #555555);
  font-size: var(--about-description-size, 15px);
}

.about-managed-who .about-who-button {
  display: inline-block;
  margin-top: 24px;
  border-color: var(--about-button-bg, #17458f);
  background: var(--about-button-bg, #17458f);
  color: var(--about-button-color, #ffffff) !important;
  font-size: var(--about-button-size, 16px);
}

.about-managed-mission {
  background: var(--about-mv-bg, #eef2f5);
}

.about-managed-mission .section-title {
  color: var(--about-mv-title-color, #17458f);
  font-size: var(--about-mv-title-size, 36px);
}

.about-managed-mission .section-subtitle {
  color: var(--about-mv-subtitle-color, #5f6368);
  font-size: var(--about-mv-subtitle-size, 15px);
}

.about-managed-mission .premium-left .mv-block i {
  color: var(--about-mv-icon-color, #17458f);
}

.about-managed-mission .premium-left .mv-block h3 {
  color: var(--about-mv-item-title-color, #0b2c5f);
  font-size: var(--about-mv-item-title-size, 20px);
}

.about-managed-mission .premium-left .mv-block p {
  color: var(--about-mv-description-color, #555555);
  font-size: var(--about-mv-description-size, 15px);
}

@media (max-width: 767px) {
  .about-managed-who .who-we-are-content h2 {
    font-size: clamp(28px, 9vw, var(--about-title-size, 36px));
  }

  .about-managed-mission .section-title {
    font-size: clamp(28px, 9vw, var(--about-mv-title-size, 36px));
  }
}

/* Dynamic project details page */
.rotary-project-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.rotary-project-detail-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 45, 0.88), rgba(4, 20, 45, 0.5));
}

.rotary-project-detail-hero .container,
.rotary-project-detail-hero .page-title {
  position: relative;
  z-index: 1;
}

.rotary-project-detail-hero .page-title {
  max-width: 920px;
  margin: 0 auto;
}

.rotary-project-detail-label,
.rotary-project-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #f7a81b !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.rotary-project-detail-hero .page-title > h1 {
  margin-bottom: 18px;
  color: #ffffff !important;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.rotary-project-detail-hero .page-title > p {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
}

.rotary-project-detail-section {
  padding: 160px 0;
  background: #f7f9fc;
}

.rotary-project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: -125px 0 45px;
  position: relative;
  z-index: 3;
}

.rotary-project-meta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 35, 70, 0.09);
}

.rotary-project-meta-card i {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 14px;
  background: #edf4ff;
  color: #17458f;
  font-size: 24px;
}

.rotary-project-meta-card span {
  display: block;
  margin-bottom: 3px;
  color: #7a8494;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.rotary-project-meta-card strong {
  color: #12284b;
  font-size: 16px;
}

.rotary-project-content-card {
  padding: 45px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 35, 70, 0.07);
}

.rotary-project-content-card h2 {
  margin-bottom: 24px;
  color: #17458f;
  font-size: 36px;
}

.rotary-project-rich-text p,
.rotary-project-info-card p {
  margin-bottom: 18px;
  color: #566174;
  font-size: 16px;
  line-height: 1.9;
}

.rotary-project-rich-text p:last-child,
.rotary-project-info-card p:last-child {
  margin-bottom: 0;
}

.rotary-project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.rotary-project-info-card {
  padding: 34px;
  border: 1px solid #e7edf5;
  border-radius: 22px;
  background: #ffffff;
}

.rotary-project-info-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 17px;
  background: #17458f;
  color: #ffffff;
  font-size: 27px;
}

.rotary-project-info-card h3 {
  margin-bottom: 14px;
  color: #12284b;
  font-size: 23px;
}

.rotary-related-projects {
  padding: 90px 0;
  background: #ffffff;
}

.rotary-related-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rotary-related-project-card {
  overflow: hidden;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(15, 35, 70, 0.07);
}

.rotary-related-project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.rotary-related-project-card > div {
  padding: 25px;
}

.rotary-related-project-card h3 {
  margin-bottom: 10px;
  color: #17458f;
  font-size: 21px;
}

.rotary-related-project-card p {
  min-height: 48px;
  color: #687386;
  line-height: 1.6;
}

.rotary-related-project-card a {
  color: #17458f;
  font-weight: 700;
}

.rotary-project-detail-cta {
  padding: 55px 0;
  background: #17458f;
}

.rotary-project-detail-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.rotary-project-detail-cta h2,
.rotary-project-detail-cta p {
  color: #ffffff;
}

.rotary-project-detail-cta h2 {
  margin-bottom: 8px;
}

.rotary-project-detail-cta p {
  margin: 0;
  opacity: 0.88;
}

.rotary-project-not-found {
  min-height: 65vh;
  padding: 150px 0 90px;
  background: #f7f9fc;
}

.rotary-project-not-found i {
  color: #17458f;
  font-size: 70px;
}

.rotary-project-not-found h1 {
  margin: 18px 0 10px;
  color: #17458f;
}

@media (max-width: 991px) {
  .rotary-project-meta-grid,
  .rotary-related-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rotary-project-meta-grid {
    margin-top: -105px;
  }
}

@media (max-width: 767px) {
  .rotary-project-detail-section,
  .rotary-related-projects {
    padding: 60px 0;
  }

  .rotary-project-meta-grid,
  .rotary-project-detail-grid,
  .rotary-related-project-grid {
    grid-template-columns: 1fr;
  }

  .rotary-project-meta-grid {
    margin: 0 0 30px;
  }

  .rotary-project-content-card,
  .rotary-project-info-card {
    padding: 26px;
  }

  .rotary-project-content-card h2 {
    font-size: 29px;
  }

  .rotary-project-detail-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* New lines after final check */
@media (max-width: 767px) {
  .rotary-project-detail-hero {
    padding: 60px 0;
  }

  .rotary-project-detail-hero .page-title > h1 {
    font-size: clamp(28px, 9vw, 34px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .rotary-project-detail-hero .page-title > p {
    font-size: 15px;
    line-height: 1.6;
  }

  .rotary-project-meta-card > div {
    min-width: 0;
  }

  .rotary-project-meta-card strong {
    overflow-wrap: anywhere;
  }

  .rotary-project-detail-cta .event-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .rotary-project-content-card,
  .rotary-project-info-card {
    padding: 22px 18px;
  }

  .rotary-project-meta-card {
    padding: 18px;
  }
}