/*
Theme Name: CentenaryFoundation
Theme URI: http://example.com/centenaryfoundation
Description: A child theme for Hello Elementor theme.
Author: Your Name
Author URI: http://example.com
Template: hello-elementor
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../hello-elementor/style.css");
@import url("../centenary-foundation/assets/css/all.min.css");

.navbar-nav .show {
  width: auto !important;
}

.navbar-dark .navbar-nav .nav-link {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Section container for Mission and Vision */
.intro .detail-p {
  font-size: 100% !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .intro .detail-p {
    font-size: 80% !important;
  }
}

.impact-stats,
.priority-part,
.initiative-part {
  background-size: cover;
  background-position: center;
  /* background-color: #E7F6FF !important; */
  background-image: url(assets/image/wavy-bg.svg);
  background-repeat: no-repeat;
}

@media (max-width: 575px) {
  .carousel-item img.d-block.w-100 {
    height: auto !important;
    width: auto !important;
  }
}

/* welcome to centenary foundation details section*/
.foundation-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* latest events/news section */

.latest-events-section .blog-masonry-banner {
  display: none;
}

.latest-events-section {
  padding: 60px 30px !important;
  background-color: #e9ecef !important;
}

@media (max-width: 768px) {
  .latest-events-section {
    padding: 30px 10px !important;
  }
}

.latest-events-section .paddingub {
  padding: unset !important;
}

.latest-events-section .blog-detail .readmore,
.masonry .blog-detail .readmore {
  text-decoration: none !important;
  text-align: center !important;
  display: block !important;
  font-size: 100% !important;
  font-weight: 600 !important;
}

.latest-events-section .img-box,
.masonry .img-box {
  width: 100%;
  height: unset !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 30px !important;
}

.blog-part.masonry .blog-detail {
  padding: 15px 20px;
}

.blog-part.masonry .blog-head-two {
    font-size: 14px;
}

.latest-events-section .blog-detail,
.masonry .blog-detail {
  height: 140px;
  border: none !important;
}

.info-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.info-card h3 {
  color: #0056b3;
  margin-bottom: 0.8rem;
}

.mission-vision-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
  align-items: stretch;
}

/* Left column (mission + vision) */
.mission-vision-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

/* Right column (image) */
.mission-vision-right {
  flex: 1 1 50%;
  display: flex;
}

.mission-vision-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  max-height: 100%;
}

/* Card styling (optional, keep if you like your current design) */
.info-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
  .mission-vision-wrapper {
    flex-direction: column;
  }

  .mission-vision-left,
  .mission-vision-right {
    flex: 1 1 100%;
  }

  .mission-vision-right img {
    max-height: none;
  }
}

/* === This is the important part! Horizontal responsive grid === */
.values-section {
  width: 100%;
  padding: 4rem 1rem;
  background-color: #fff;
  box-sizing: border-box;
}

.values-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.values-header h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.values-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

/* Wrapper ensures full width and no container interference */
.values-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* GRID */
.values-grid-modern {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Card */
.value-card-modern {
  background: #f9f9f9;
  padding: 2rem 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.value-card-modern:hover {
  transform: translateY(-4px);
}

/* Icon circle */
.icon-circle {
  font-size: 2rem;
  background: #fff;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5e57;
}

/* Typography */
.value-card-modern h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #222;
}

.value-card-modern p {
  font-size: 0.95rem;
  color: #666;
}

/* RESPONSIVE GRID */
@media (max-width: 1024px) {
  .values-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .values-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* Custom styles for the logo */
/* Default desktop size */
.logo-img {
  width: auto;
  max-width: 200px;
  height: auto;
  display: inline-block;
}

/* Optional: Mobile-specific tweak */
@media (max-width: 767px) {
  .logo-img {
    max-width: 150px;
    height: auto;
  }
}

/* Custom styles for mission targers */

.img-box-new img {
  height: 150px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.uniform-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  /* Optional: rounded corners */
}

.causes-img {
  width: 100%;
  /* height: 200px; */
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .causes-img {
    height: 150px;
  }
}

@media screen and (max-width: 480px) {
  .causes-img {
    height: 120px;
  }
}

.cause-card-box {
  border: 1px solid #ede163;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cause-img-box {
  width: 100%;
  height: 100%;
  /* Adjust to match image height */
  overflow: hidden;
}

/* Image wrapper */
.img-box {
  width: 100%;
  overflow: hidden;
}

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

.cause-img-box img.causes-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.hov.zoom:hover img {
  transform: scale(1.05);
}

.cause-card-content {
  padding: 20px;
  text-align: center;
}

.causes-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  font-family: Arial, sans-serif;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #df150a !important;
  color: #fff !important;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #a65302;
}

/* priority area styles */

/* Grid layout */
.priority-img-box {
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
}

.priority-img-box img {
  width: auto;
  height: 100% !important;
  object-fit: contain;
  display: block;
}

/* On hover scale */
.priority-card:hover .priority-img-box img {
  transform: scale(1.05);
}

/* Responsive height tweaks */
@media (max-width: 1440px) {
  .priority-img-box {
    height: 320px;
  }
}

@media (max-width: 1024px) {
  .priority-img-box {
    height: auto !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .priority-img-box {
    height: auto !important;
    width: 100% !important;
  }
}

.priority-card {
  display: flex;
  flex-direction: column;
  padding: 6px;
  /* border: 1px solid #f6e960; */
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* old styles below */

/*alternative mission stats */

/* impact styles */

/* Animated background elements */
.impact-stats {
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  min-height: 10vh;
  backdrop-filter: blur(10px);
}

.section-header {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  z-index: 2;
}

.section-heading {
  font-size: 2.2rem;
  color: #f62810;
  font-weight: 700;
  position: relative;
}

.with-underline::after {
  content: "";
  display: block;
  margin: 8px auto 0;
  width: 60px;
  height: 4px;
  background-color: #f6e960;
  border-radius: 2px;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .section-heading {
    font-size: 1.8rem;
  }
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(246, 233, 96, 0.6);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.7;
  }
}

.stat-box {
  background: rgba(255, 255, 255, 0.95);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  /* border: 3px solid rgba(246, 233, 96, 0.3); */
}

.stat-box:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(246, 233, 96, 0.6);
}

.stat-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
  transform: scale(1.1);
}

.stat-box h5 {
  font-size: 1.1rem;
  color: #4a5568;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 200px;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2d3748;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-container {
    gap: 40px !important;
  }

  .impact-stats {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }

  .stat-box {
    width: 180px;
    height: 180px;
  }

  .stat-box h5 {
    font-size: 0.8rem;
    max-width: 180px;
  }

  .counter {
    font-size: 20px !important;
  }

  .stat-icon {
    font-size: 10px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }
}

/* Custom styles for alternative mission stats */

/*alterntive mission stats */

.counter {
  font-size: 36px;
  font-weight: bold;
}

/** footer  **/

.footer-part {
  background: linear-gradient(
    135deg,
    rgba(246, 40, 16, 0.7),
    rgba(246, 233, 96, 0.6)
  );
  color: #191919;
  padding: 60px 0 30px;
  font-family: "Arial", sans-serif;
}

.footer-part .footer-links .heading-five {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-part .footer-links {
  margin-bottom: 40px;
}

.bottom-footer {
  padding: 20px 0;
  background-color: #191919;
}

.footer-part {
  background: linear-gradient(135deg, #003ca6 0%, #002a75 50%, #001a4d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer-part::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #003ca6 0%,
    #003ca6 75%,
    #f62810 75%,
    #f62810 87.5%,
    #f6e960 87.5%,
    #f6e960 100%
  );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.footer-main {
  /* background: #ffffff; */
  padding: 40px 0;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.logo-wrapper {
  background-color: #fff;
}

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

.footer-detail li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 10px 0;
  border-left: 3px solid transparent;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.footer-detail li:hover {
  border-left-color: #f6e960;
  background: rgba(246, 233, 96, 0.1);
  border-radius: 0 8px 8px 0;
}

.footer-detail li img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  opacity: 0.8;
  flex-shrink: 0;
  margin-top: 2px;
  color: #f6e960;
}

.company-detail {
  color: #f6e960;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.company-detail:hover {
  color: #f6e960;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-main {
    padding: 30px 0;
  }

  .footer-logo {
    max-width: 150px;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-detail {
    text-align: left;
  }
}

.bottom-footer {
  background: rgba(0, 26, 77, 0.8);
  border-top: 1px solid rgba(246, 233, 96, 0.1);
  padding: 20px 0;
}

.bottom-footer .row {
  align-items: center;
  justify-content: space-between;
}

.copyright {
  flex: 1;
}

.copyright p {
  color: #b8d4ff;
  font-size: 14px;
  margin: 0;
}

.copyright a {
  color: #f6e960;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #f62810;
}

.social-icon {
  display: flex;
  gap: 15px;
}

.social-icon a {
  width: 40px;
  height: 40px;
  background: rgba(246, 233, 96, 0.1);
  border: 1px solid rgba(246, 233, 96, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6e960;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #f62810;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.social-icon a:hover::before {
  width: 100%;
  height: 100%;
}

.social-icon a:hover {
  color: #ffffff;
  border-color: #f62810;
  transform: translateY(-2px);
}

/* Decorative elements */
.footer-part::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(246, 233, 96, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 40px;
  }

  .footer-links {
    padding-left: 15px;
  }

  .bottom-footer .row {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Animation for smooth loading */
.footer-part {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fab.fa-twitter {
  font-family: sans-serif;
}

.fab.fa-twitter::before {
  content: "𝕏";
  font-size: 1.2em;
}

/* end of twitter */

/* YouTube Video Widget Styles */
/* YouTube Video Carousel Styles */

.youtube-videos-section {
  padding: 80px 0;
  background-color: rgba(246, 233, 96, 0.1);
  font-family: inherit;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 0px;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f62810;
  margin: 0;
  position: relative;
  display: inline-block;
  font-family: inherit;
  line-height: 1.2;
  font-size: 45px;
}

.section-heading.with-underline::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #f6e960;
  border-radius: 2px;
}

/* Videos Grid */
.videos-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.videos-grid.columns-1 {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.videos-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.videos-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Video Card */
.video-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Video Thumbnail */
.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Play Button Overlay */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.1); */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-button {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
}

.play-button svg {
  margin-left: 3px;
  /* Center the play icon */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
}

.video-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  text-decoration: none;
  display: block;
}

/* Video Content */
.video-content {
  padding: 20px;
}

.video-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.3;
  font-family: inherit;
  text-transform: capitalize;
}

.video-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-family: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .videos-grid.columns-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .youtube-videos-section {
    padding: 60px 0;
  }

  .videos-grid.columns-4,
  .videos-grid.columns-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .youtube-videos-section {
    padding: 40px 0;
  }

  .videos-grid.columns-4,
  .videos-grid.columns-3,
  .videos-grid.columns-2 {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-description {
    font-size: 0.85rem;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button svg {
    width: 30px;
    height: 30px;
  }
}

/* end of youtuber */

/* priorities area */
.priority-part {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.priority-content,
.initiative-content {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.section-detail {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.priority-slider-wrapper {
  padding: 0 15px;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.priority-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.priority-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.priority-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  /* Maintains the 1080x1350 ratio */
  overflow: hidden;
  position: relative;
}

.priority-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

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

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .priority-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .priority-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .priority-part {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .priority-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-detail {
    font-size: 1rem;
  }

  .priority-content,
  .initiative-content {
    margin-bottom: 40px;
  }

  .priority-part {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .priority-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 12px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .priority-slider-wrapper {
    padding: 0 10px;
  }

  .priority-card,
  .initiative-card {
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  /* .priority-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  } */

  .section-title {
    font-size: 1.6rem;
  }

  .priority-part {
    padding: 30px 0;
  }
}

/* For very small screens, ensure minimum card size */
@media (max-width: 360px) {
  /* .priority-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  } */

  .priority-slider-wrapper {
    padding: 0 8px;
  }
}
.blog-part .container{
	margin:10px !important;
	max-width:unset !important;
}
.custom-box-shadow{
	box-shadow: 0 13px 19px -4px rgba(0, 0, 0, 0.25);
	margin-bottom:15px;
}

/* Show image by default */
.cslider-box .cslider-img {
   display: block !important;
}

/* Hide text content initially */
.cslider-box .cslider-listing {
  display: none !important;
}

/* Hide image and show text when hovering */
.cslider-box .cslider-img {
   display: none !important;
}
.cslider-box .cslider-listing {
	 display: block !important;
}

@media (max-width: 768px) {
 .cslider-listing h2 {
    font-size: 2rem;
  }

  .cslider-listing p {
    font-size: 1rem;
  }
}
/* Initiatives Areas */

.initiative-container {
  max-width: 100%;
  margin: 0 auto;
}
.initiative-part {
  padding: 60px 0;
  position: relative;
}

.initiative-content.text-center {
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #d32f2f;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.section-heading.with-underline::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d32f2f, #ff5722);
  margin: 15px auto;
  border-radius: 2px;
}

.initiative-slider-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  perspective: 1000px;
}

.priority-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
  transition: transform 0.3s ease;
}

.initiative-card {
  position: relative;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.initiative-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
}
/* #FFBD38 */
.initiative-img-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background-color: #f5f5f5;
}

.initiative-img-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 80%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
  transition: opacity 0.3s ease;
}

.initiative-card:hover .initiative-img-box::before {
  opacity: 0.7;
}

.initiative-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: brightness(1.1) contrast(1.05);
  display: block;
}

.initiative-card:hover .initiative-img-box img {
  transform: scale(1.1);
}

/* Dynamic content area that adapts to WordPress content */
.initiative-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* WordPress post title styling */
.initiative-card h3,
.initiative-card .post-title,
.initiative-card .initiative-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.initiative-card:hover h3,
.initiative-card:hover .post-title,
.initiative-card:hover .initiative-title {
  color: #d32f2f;
}

/* WordPress excerpt/content styling */
.initiative-card .post-excerpt,
.initiative-card .initiative-description,
.initiative-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  margin: 0;
}

.initiative-card:hover .post-excerpt,
.initiative-card:hover .initiative-description,
.initiative-card:hover p {
  opacity: 1;
}

/* Floating accent elements with dynamic colors */
.initiative-card::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d32f2f, #ff5722);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 3;
}

.initiative-card:hover::after {
  opacity: 0.9;
  transform: scale(1);
}

/* Individual card color accents for dynamic content */
.priority-card-link:nth-child(1) .initiative-card {
  border-left: 4px solid #2196f3;
}

.priority-card-link:nth-child(2) .initiative-card {
  border-left: 4px solid #4caf50;
}

.priority-card-link:nth-child(3) .initiative-card {
  border-left: 4px solid #ff9800;
}

.priority-card-link:nth-child(4) .initiative-card {
  border-left: 4px solid #9c27b0;
}

.priority-card-link:nth-child(5) .initiative-card {
  border-left: 4px solid #e91e63;
}

.priority-card-link:nth-child(6) .initiative-card {
  border-left: 4px solid #00bcd4;
}

/* Handle WordPress featured images properly */
.initiative-img-box .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: brightness(1.1) contrast(1.05);
}

.initiative-card:hover .initiative-img-box .wp-post-image {
  transform: scale(1.1);
}

/* Loading states for dynamic content */
.initiative-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.initiative-card:nth-child(1) {
  animation-delay: 0.1s;
}
.initiative-card:nth-child(2) {
  animation-delay: 0.2s;
}
.initiative-card:nth-child(3) {
  animation-delay: 0.3s;
}
.initiative-card:nth-child(4) {
  animation-delay: 0.4s;
}
.initiative-card:nth-child(5) {
  animation-delay: 0.5s;
}
.initiative-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 1200px) {
  .initiative-grid {
    gap: 20px;
  }

  .initiative-card {
    height: 380px;
  }

  .initiative-slider-wrapper {
    padding: 0 15px;
  }
}

@media (max-width: 900px) {
  .initiative-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .initiative-card {
    height: 400px;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .initiative-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .initiative-card {
    height: 450px;
  }

  .initiative-img-box {
    height: 75%;
  }

  .initiative-card-content {
    height: 40%;
    padding: 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .initiative-part {
    padding: 40px 0;
  }
}

/* Accessibility improvements */
.priority-card-link:focus {
  outline: 2px solid #d32f2f;
  outline-offset: 2px;
  border-radius: 20px;
}

.initiative-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Print styles */
@media print {
  .initiative-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .initiative-card::after {
    display: none;
  }
}

/* === Global Page styles. Page-Specific Hero Styles === */
/* Full-width hero image */
/* Hero wrapper */
.cf-hero {
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Image centered with small gutters */
.cf-hero__image {
  display: block;
  width: 100%;
  max-width: 2400px; /* control the maximum width */
  margin: 0 auto; /* centers it */
  padding-left: 16px; /* gutter left */
  padding-right: 16px; /* gutter right */
  height: auto;
  object-fit: cover;
}

/* base state */
.cf-anim {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition-property: opacity, transform, filter;
  transition-duration: 600ms; /* default if not set via inline style */
  transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* duration & delay from attributes */
.cf-anim {
  transition-duration: var(--cf-anim-duration, 600ms);
  transition-delay: var(--cf-anim-delay, 0ms);
}

/* bind attrs to CSS variables with a tiny trick (set via JS or inline style).
   We'll set them inline via style attribute for precision: */
.cf-anim[data-anim-duration] {
  --cf-anim-duration: calc(attr(data-anim-duration number) * 1ms);
}
.cf-anim[data-anim-delay] {
  --cf-anim-delay: calc(attr(data-anim-delay number) * 1ms);
}

/* FINAL state */
.cf-anim.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Variants (initial states) */
.cf-anim--none {
  opacity: 1;
}

.cf-anim--fade {
  transform: none;
}
.cf-anim--fade-up {
  transform: translateY(24px);
}
.cf-anim--fade-down {
  transform: translateY(-24px);
}
.cf-anim--slide-left {
  transform: translateX(28px);
}
.cf-anim--slide-right {
  transform: translateX(-28px);
}
.cf-anim--zoom-in {
  transform: scale(0.92);
}
.cf-anim--zoom-out {
  transform: scale(1.08);
}
.cf-anim--rotate {
  transform: rotate(-3deg) scale(0.98);
  transform-origin: 50% 60%;
}
.cf-anim--blur-in {
  filter: blur(8px);
}

/* When visible, reset transforms/filters (handled by .is-visible) */

/* Mission Vision new section styles start */

/* ========================================
   VISION MISSION WIDGET - MAIN STYLES
======================================== */

.vision-mission-widget {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  min-height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* ========================================
   LEFT IMAGE SECTION
======================================== */

.vm-left-image {
  position: relative;
  overflow: hidden;
  z-index: 3; /* Above background overlay */
}

.vm-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ========================================
   VISION & MISSION CARDS
======================================== */

.vm-vision-card,
.vm-mission-card {
  position: relative;
  z-index: 2;
}

.vm-card-content {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative;
  z-index: 3; /* Above background overlay */
}

/* Background image only on cards (not left image) */
.vm-vision-card,
.vm-mission-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vm-vision-card::before,
.vm-mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

/* Background color overlay for cards */
.vm-vision-card::after,
.vm-mission-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: inherit;
  opacity: 0.9; /* This will be controlled by Elementor */
  z-index: 2;
  pointer-events: none;
}

/* Dynamic opacity controls for card backgrounds */
.vm-vision-card[data-bg-opacity="0"]::before,
.vm-mission-card[data-bg-opacity="0"]::before { opacity: 0; }
.vm-vision-card[data-bg-opacity="5"]::before,
.vm-mission-card[data-bg-opacity="5"]::before { opacity: 0.05; }
.vm-vision-card[data-bg-opacity="10"]::before,
.vm-mission-card[data-bg-opacity="10"]::before { opacity: 0.1; }
.vm-vision-card[data-bg-opacity="15"]::before,
.vm-mission-card[data-bg-opacity="15"]::before { opacity: 0.15; }
.vm-vision-card[data-bg-opacity="20"]::before,
.vm-mission-card[data-bg-opacity="20"]::before { opacity: 0.2; }
.vm-vision-card[data-bg-opacity="25"]::before,
.vm-mission-card[data-bg-opacity="25"]::before { opacity: 0.25; }
.vm-vision-card[data-bg-opacity="30"]::before,
.vm-mission-card[data-bg-opacity="30"]::before { opacity: 0.3; }
.vm-vision-card[data-bg-opacity="35"]::before,
.vm-mission-card[data-bg-opacity="35"]::before { opacity: 0.35; }
.vm-vision-card[data-bg-opacity="40"]::before,
.vm-mission-card[data-bg-opacity="40"]::before { opacity: 0.4; }
.vm-vision-card[data-bg-opacity="45"]::before,
.vm-mission-card[data-bg-opacity="45"]::before { opacity: 0.45; }
.vm-vision-card[data-bg-opacity="50"]::before,
.vm-mission-card[data-bg-opacity="50"]::before { opacity: 0.5; }

/* ========================================
   CARD CONTENT ELEMENTS
======================================== */

.vm-icon {
  margin: 20px 0;
}

.vm-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.vm-header {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0 0 25px 0;
  padding: 12px 25px;
  border: 1px solid;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.vm-description {
  font-size: 2.0rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 280px;
  margin: 0;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* Animation states */
.vm-left-image[data-animation]:not([data-animation="none"]):not(.animated),
.vm-card-content[data-animation]:not([data-animation="none"]):not(.animated) {
  opacity: 0;
  animation-fill-mode: both;
}

.vm-left-image.animated,
.vm-card-content.animated {
  opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
  .vision-mission-widget {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto auto;
  }

  .vm-card-content {
    padding: 30px 20px;
    min-height: 250px;
  }

  .vm-description {
    font-size: 1.5rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .vm-card-content {
    padding: 25px 15px;
    min-height: 220px;
  }

  .vm-description {
    font-size: 1.3rem;
  }

  .vm-header {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  .vm-icon img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .vision-mission-widget {
    grid-template-rows: 250px auto auto;
  }

  .vm-card-content {
    padding: 20px 15px;
    min-height: 200px;
  }

  .vm-description {
    font-size: 1.1rem;
  }

  .vm-header {
    font-size: 1rem;
    padding: 8px 15px;
    margin-bottom: 20px;
  }

  .vm-icon {
    margin-bottom: 15px;
  }
}

/* Mission Vision new section styles End */


/* start drive context section */

.dci-widget {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.dci-container {
    display: flex;
    min-height: 600px;
    position: relative;
}

.dci-image-section {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.dci-feature-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.dci-feature-image img {
    width: auto !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.dci-content-area {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    z-index: 2;
}

.dci-content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.dci-section {
    margin-bottom: 30px;
    opacity: 0;
    position: relative;
}

.dci-section:last-child {
    margin-bottom: 0;
}

.dci-header-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.dci-header-right {
    justify-content: flex-end;
}

.dci-header {
    padding: 8px 20px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
    border: 2px solid;
    border-color: inherit;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.dci-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px;
    margin: 0 15px;
}

.dci-arrow-left {
    order: -1;
}

.dci-content {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    margin-left: 20px;
}

.dci-context .dci-content {
    text-align: right;
    margin-left: 0;
    margin-right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dci-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .dci-image-section {
        flex: none;
        height: 300px;
    }
    
    .dci-feature-image {
        border-radius: 0 0 50px 50px !important;
    }
    
    .dci-content-area {
        border-radius: 50px 50px 0 0 !important;
        margin-top: -50px;
        z-index: 3;
        padding: 60px 30px 30px;
    }
    
    .dci-content {
        text-align: left !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
    }
    
    .dci-header-container {
        justify-content: flex-start !important;
    }
    
    .dci-arrow-left {
        order: 1;
    }
}

@media (max-width: 480px) {
    .dci-content-area {
        padding: 40px 20px 20px;
    }
    
    .dci-header {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .dci-content {
        font-size: 14px;
        margin-left: 10px !important;
    }
    
    .dci-section {
        margin-bottom: 25px;
    }
}

/* end drive context section */


/* contact card */
.contact-card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 30px;
    cursor: pointer;
    position: relative;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    padding-top: 13px;
    margin: 20px;
}