

/* Container */
.wpo-event-section {
  width: 100%;
  font-family: Arial, sans-serif;
  padding: 60px 27px;
  background-color: #fff;
  box-sizing: border-box;
}

.wpo-event-section .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Title */



/* Event Cards Grid */
.event-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* Force 4 cards per row on desktop */
  gap: 18px;
    padding: 0 5px;  /* adds left and right space to the whole container */
    align-item:center;
    margin-bottom:12px;
}

/* Event Card */
.event-card {
  background: #fff;
  border: 2px solid #E7334B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.event-card .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-content {
  padding: 20px;
}

.event-content span {
  display: block;
  font-size: 14px;
  /* color: #555;
  margin-bottom: 5px; */
}

.event-content span i {
  color: #D67834;
  margin-right: 5px;
}

.event-content h2 {
  font-size: 18px;
  margin: 10px 0;
}

.event-content h2 a {
  color: #E7334B;
  text-decoration: none;
}

.event-details {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

.event-details i {
  color: #D67834;
  margin-right: 5px;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .event-cards {
    grid-template-columns: repeat(2, 1fr);  /* 2 cards per row on tablets */
  }
}

@media (max-width: 600px) {
  .event-cards {
    grid-template-columns: 1fr;  /* 1 card per row on mobile */
  }
}


/* === Hero Slider === */
.wpo-hero-slider-1 {
  height: 100vh;
  position: relative;
}

.slide-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.slide-inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);  /* overlay for text readability */
  z-index: 1;
}

.slide-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  height: 100vh;
  padding-left: 100px;  /* Move text 100px from the left */
  z-index: 2;
}

.slide-title h2 {
  font-size: 58px;
  margin: 0;
  color: #fff;
}

.slide-content p {
  font-size: 24px;
  color: #fff;
  max-width: 600px;
  margin-top: 10px; /* reduced from 15px */
}

.slide-btns {
  margin-top: 10px; /* reduced from 20px */
}

.slide-btns .theme-btn-s3 {
  background-color: #c02148;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.slide-btns .theme-btn-s3:hover {
  background-color: #D67834;
}

/* === President About Section === */
.wpo-about-section-s2 {
  background-color: #fff;
  padding: 30px 40px;
  box-sizing: border-box;
  margin-top: 20px;
}

.about-container {
  max-width: 1500px;
  margin: auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top:30px;
}

.president-photo {
  flex: 1 1 300px;
  max-width: 700px;
    max-height: 800px;

  padding:14px;
}

.photo-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.president-info {
  flex: 1 1 400px;
  padding: 0 20px;
}

.info-text {
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: justify;
  height: 100%;
}

.info-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.info-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #DE2045;
  margin-bottom: 15px;
}

.info-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
/* ========================================== Blog Section ==================================================================== */
.wpo-blog-section {
  font-family: Arial, sans-serif;
  padding-top: 0px;
  margin-top: 60px;
}

.wpo-section-title {
  text-align: center;
  margin-bottom: 30px;
    margin-right: 25px;
}

.wpo-section-title h2 {
  font-size: 32px;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 cards per row on large screens */
  gap: 10px;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.blog-item .image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-content {
  padding: 20px;
}

.blog-content h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #274DCF;
  transition: color 0.3s;
}

.blog-card:hover .blog-content h2 {
  color: #DE2045;
}

.blog-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.theme-btn-s2 {
  display: inline-block;
  margin-top: 10px;
  background: #DE2045;
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.theme-btn-s2:hover {
  background: #c91c3e;
}

.theme-btn-s2 i {
  margin-left: 5px;
}

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

@media (max-width: 600px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }
}



/* ===== Topbar Styles ===== */


/* === Mission and Vision Section === */
.mission-vision-section {
  background-color: #fff;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
  padding-top: 20px;
  padding-bottom: 0;
}

.mission-vision-section .wpo-section-title {
  margin-bottom: 30px;
}

.mission-vision-section .wpo-section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.mission-vision-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 90px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.mission-vision-card {
  flex: 1 1 300px;  /* Increased min-width from 250px to 300px */
  min-width: 300px;
  max-width: 450px;  /* Increased max-width from 400px to 450px */
}

.mission-vision-card .card-content {
  min-height: 300px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  text-align: center;
  background: linear-gradient(145deg, #ffe6ea, #ffd6da);
  mar  /* Default gradient for mission */
}

.mission-card .card-content {
  background: linear-gradient(145deg, #ffe6ea, #ffd6da);
}

.vision-card .card-content {
  background: linear-gradient(145deg, #ffe9d3, #ffe1c4);
}

.mission-vision-card .icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.mission-card .icon {
  color: #E7334B;
}

.vision-card .icon {
  color: #D67834;
}

.mission-vision-card h4 {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mission-vision-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.mission-vision-card .subtext {
  color: #777;
  font-size: 13px;
  margin-top: 6px;
}



/* for map .. */
.custom-contact-map-section {
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
}

.custom-contact-map-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.custom-contact-map {
  flex: 1 1 65%;
  min-width: 300px;
  min-height: 400px;
  overflow: hidden;
}

.custom-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.custom-contact-info {
  flex: 1 1 35%;
  min-width: 300px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Aligns content to top */
  padding: 30px 20px 20px 20px; /* More top padding to shift upward */
  margin-top: 0px; /* Pulls section slightly upward over map */
}

.custom-contact-info h3 {
  color: #c02148;
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 700;
}

.custom-contact-box {
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
  width: 85%;
  margin: 0 auto 20px auto;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.custom-contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.custom-contact-box h4 {
  margin: 0 0 10px 0;
  color: #c02148;
  font-size: 18px;
  font-weight: 700;
}

.custom-contact-box h4 em {
  font-weight: 500;
  font-style: italic;
}

.custom-contact-box p {
  margin: 0;
  color: black;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.custom-contact-box i {
  margin-right: 8px;
  color: black;
  font-size: 16px;
}

.custom-contact-box a {
  color: black;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .custom-contact-map-wrapper {
    flex-direction: column;
  }

  .custom-contact-map,
  .custom-contact-info {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .custom-contact-map {
    min-height: 300px;
  }

  .custom-contact-info {
    margin-top: -20px;
    padding: 20px 10px;
  }

  .custom-contact-box {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .custom-contact-info h3 {
    font-size: 20px;
  }

  .custom-contact-box h4 {
    font-size: 16px;
  }

  .custom-contact-box p {
    font-size: 14px;
  }
}





/* /* External CSS (collaborators.css) */

.collaborators {
  background: #ffffff;
  padding: 3rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.collaborators-title .supportive {
  color: #e63946;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.collaborators-title h2 {
  font-size: 2.5rem;
  margin: 0;
  color: #0c4a6e;
}

.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 100px;
}

.logo-track {
    display: flex;
    white-space: nowrap;
    transition: transform 0s linear;
}

.logo-track img {
    height: 100px;
    width: auto;
    margin-right: 70px;
}

.logo-track img:hover {
  transform: scale(1.2);
  filter: grayscale(0%);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-track img {
    height: 80px;
    margin: 0 2rem;
  }

  .collaborators-title h2 {
    font-size: 2rem;
  }
}

/* Reset default browser styles */
.site-nav, .site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav {
  font-family: Arial, sans-serif;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  background-color: transparent;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  z-index: 1000;
}

.dropdown-menu li a {
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: transparent;
}

/* Show dropdown on hover */
.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Sub-menu position */
.dropdown-menu .dropdown {
  position: relative;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}
