/*--------------------------------------------------------------
# General

--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Raleway", sans-serif;

  --default-color: #333333; /* Dark grey for general text on light backgrounds */
  --heading-color: black; /* Black for headings on light backgrounds */
  --accent-color: #00bcd4; /* Primary Blue */
  --contrast-color: #ffffff; /* White, for text on accent backgrounds */
  --background-color: #ffffff; /* White for general background */
  --surface-color: #ffffff; /* White, typically for cards, sections on light backgrounds */
  --text-color-on-blue: #ffffff; /* New variable for text on blue backgrounds (white) */


  /* Navigation specific variables */
  --nav-color: #ffffff; /* Default nav link color on transparent header */
  --nav-hover-color: #ffffff; /* Nav link hover color on transparent header */
  --nav-dropdown-background-color: #ffffff; /* White for dropdown background */
  --nav-dropdown-color: black; /* Black for dropdown text */
  --nav-dropdown-hover-color: var(--accent-color); /* Accent color for dropdown hover text */
  --nav-mobile-background-color: var(--accent-color); /* Blue for mobile nav background */

  --scrolled-header-bg: #00bcd4; /* The desired blue color when scrolled */
  --scrolled-header-nav-color: #ffffff; /* White nav links on scroll */
  --scrolled-header-nav-hover-color: #eeeeee; /* Lighter white on scroll hover */
  --scrolled-header-text-color: #ffffff; /* White text on scroll */
  --header-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
 
}

body {
  color: var(--default-color); /* General text color (dark grey) */
  background-color: var(--background-color); /* White background */
  font-family: var(--default-font);
  overflow-x: hidden; /* Prevent horizontal scroll due to animations */
  width:100%;
}

a {
  color: var(--default-color); /* Dark grey for links */
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--default-color), transparent 25%); /* Lighter default color on hover */
  text-decoration: none; /* Keep text decoration none on hover */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color); /* Black for headings */
  font-family: var(--heading-font);
}

section {
  padding: 30px 0; /* Adjusted padding for sections */
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 20px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  color: var(--heading-color); /* Black for section title */
}



.section-title p {
  margin-bottom: 0;
  color: var(--default-color); /* Dark grey for section description */
  font-size: 16px;
}

/* --- Resource Item: Image Left, Content Right --- */
.resource {
  padding-top: 10px;
}
.resource-item-left-image {
  margin-bottom: 30px; /* Spacing between items */
  background-color: var(--surface-color); /* White background for resource card */
  border-radius: 8px;
  overflow: hidden; /* Ensures borders are rounded correctly */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-item-left-image:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.resource-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%; /* Make wrapper take full height */
}

.resource-image-wrapper img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  object-fit: cover; /* Cover the area, cropping if necessary */
  min-height: 150px; /* Ensure a minimum height for the image */
}

.resource-content-right {
  padding: 20px;
}

.resource-content-right h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px; /* Adjust as needed for bold size */
  line-height: 1.3;
}

.resource-content-right h3 a {
  color: var(--accent-color); /* Blue for link in resource content */
  text-decoration: none;
  transition: color 0.3s ease;
}

.resource-content-right h3 a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 15%); /* Highlight color on hover (darker blue) */
}

.resource-content-right p {
  font-size: 16px;
  line-height: 1.6;
  color: #666; /* Keeping a darker grey for readability on white background */
  margin-bottom: 0;
}

/* Adjustments for smaller screens if needed */
@media (max-width: 767px) {
  .resource-image-wrapper {
    height: auto; /* Allow image height to be flexible on small screens */
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 188, 212, 0);
  /* Transparent initially (blue) */
  --default-color: #ffffff;
  /* White */
  --heading-color: #ffffff;
  /* White */
  --nav-color: #ffffff;
  /* White */
  --nav-hover-color: #ffffff;
  /* White */
  /* REDUCED PADDING HERE */
  padding: 8px 0;
  /* Changed from 15px 0 to 8px 0 */
  transition: all 0.5s ease;
  z-index: 997;
}

/* Global Header on Scroll */
.scrolled .header {
  --background-color: rgba(0, 188, 212, 0.95);
  /* Blue background on scroll */
  --default-color: #ffffff;
  /* White text on scroll */
  --heading-color: #ffffff;
  /* White */
  --nav-color: #ffffff;
  /* White nav links on scroll */
  --nav-hover-color: #ffffff;
  /* White */
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  /* Ensure consistent reduced padding when scrolled too */
  padding: 8px 0;
  /* Keep it consistent with the initial state */
}

/* Adjust padding for desktop navigation links if needed */
@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    /* You might also want to reduce this if the above isn't enough */
    padding: 12px 15px;
    /* Changed from 18px to 12px for nav links */
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
  }
}
.header .logo {
  line-height: 1;
}

.header .logo img {

  max-height: 32px;
  margin-right: 8px;
}

.header .logo i {
  font-size: 28px;
  /* Slightly larger icon */
  margin-right: 8px;
  color: var(--accent-color);
  /* Use accent color for icon */
  transition: 0.3s ease;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  /* Bolder for prominence */
  color: var(--heading-color);
  transition: 0.3s ease;
}

.header .logo:hover i,
.header .logo:hover h1 {
  color: var(--accent-color);
  /* Accent color on hover */
}

/* Header Text Color Adaptation on Scroll */
.scrolled .header .logo i {
  color: var(--text-color-on-blue);
  /* Becomes white */
}

.scrolled .header .logo h1 {
  color: var(--text-color-on-blue);
  /* Becomes white */
}

.scrolled .header .navmenu a,
.scrolled .header .navmenu a:focus {
  color: var(--nav-color);
}

.scrolled .header .navmenu a:hover,
.scrolled .header .navmenu .active,
.scrolled .header .navmenu .active:focus,
.scrolled .header .navmenu li:hover>a {
  color: var(--nav-hover-color);
  text-decoration: none;

}
#header.scrolled-green {
  background-color: var(--accent-color) !important;
  /* Ensures the blue background takes precedence */
  transition: background-color 0.3s ease-in-out;
  /* Smooth transition for the color change */
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping */
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 500;
    /* Slightly bolder for clarity */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    text-decoration: none;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: calc(100% + 30px);
    /* Initially below */
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
    text-decoration: none;
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    /* Slide up to position */
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    /* Slide out on hover */
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    /* Color from header var */
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    display: block;
    /* Make sure it's visible */
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--text-color-on-blue);
    /* White when menu is open */
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden off-screen */
    width: 300px;
    bottom: 0;
    background-color: var(--nav-mobile-background-color);
    /* Solid blue background for mobile */
    transition: right 0.4s ease-in-out;
    overflow-y: auto;
    /* Enable scrolling for long menus */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    /* Shadow to indicate slide */
  }

  .navmenu ul {
    display: flex;
    /* Always flex for vertical layout */
    flex-direction: column;
    list-style: none;
    padding: 20px;
    /* Padding inside the mobile menu */
    margin: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--text-color-on-blue);
    /* White text for mobile menu */
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Separator for menu items, light on blue */
  }

  .navmenu li:last-child a {
    border-bottom: none;
    /* No border for the last item */
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(255, 255, 255, 0.1);
    /* Light transparent background for icon */
    color: var(--text-color-on-blue);
    /* Icon color white */
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* Slightly less transparent on hover */
    color: var(--text-color-on-blue);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    text-decoration: none;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: rgba(255, 255, 255, 0.3);
    /* More solid background when active */
    color: var(--text-color-on-blue);
    transform: rotate(180deg);
    /* Rotate dropdown arrow when active */
  }

  .navmenu .dropdown ul {
    position: static;
    /* No absolute positioning for mobile dropdowns */
    display: none;
    /* Hidden by default */
    z-index: 99;
    padding: 10px 0 10px 20px;
    /* Indent nested menus */
    margin: 0;
    background-color: color-mix(in srgb, var(--nav-mobile-background-color), transparent 10%);
    /* Slightly lighter blue for nested dropdown */
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    border: none;
    /* Remove desktop border */
  }

  .navmenu .dropdown ul ul {
    background-color: color-mix(in srgb, var(--nav-mobile-background-color), transparent 20%);
    /* Even lighter blue for deep dropdowns */
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    /* Show dropdown when active */
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtle background for active parent */
  }

  .mobile-nav-active {
    overflow: hidden;
    /* Prevent body scroll when menu is open */
  }

  .mobile-nav-active .navmenu {
    right: 0;
    /* Slide in the menu */
  }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    /* Fix the toggle button */
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.2);
    /* Transparent white background for toggle */
    color: var(--text-color-on-blue);
    border-radius: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero .hero-container {
  position: relative;
  height: 100%;
  /* Minimum height relative to viewport */
  display: flex;
  align-items: center;
  padding: 200px 50px 80px 30px;
  /* Adjust padding for content positioning */
}

.hero .hero-container .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  object-fit: cover;
  /* Cover the entire area */
  z-index: 1;
  /* Below content and overlay */
}

.hero .hero-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient overlay for better text readability */
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
  /* Above video, below content */
}

.hero .hero-container .container {
  z-index: 3;
  /* Ensure content is above overlay */
}

.hero .hero-container .hero-content {
/*  padding-right: 30px; */
  color: var(--contrast-color);
  /* White text for hero content */
}

.hero .hero-container .hero-content h1 {
  font-size: 3.0rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--contrast-color);
  /* White for hero heading */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  /* Text shadow for better contrast */
}

@media (max-width: 1200px) {
  .hero .hero-container .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero .hero-container .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
    /* Center content on smaller screens */
  }
  .hero .hero-container .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero .hero-container .hero-content .cta-buttons {
    justify-content: center; /* Center buttons on smaller screens */
  }
}

@media (max-width: 576px) {
  .hero .hero-container .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero .hero-container .hero-content .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero .hero-container .hero-content .cta-buttons a {
    width: 100%;
    max-width: 240px;
  }
}

.hero .hero-container .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero .hero-container .hero-content .cta-buttons {
  display: flex;
  gap: 15px;
}

.hero .hero-container .hero-content .cta-buttons a {
  padding: 14px 30px;
  border-radius: 8px;
  /* Slightly more rounded */
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;

}

.hero .hero-container .hero-content .cta-buttons .btn-primary {
  background-color: var(--accent-color);
  /* Blue button */
  color: var(--contrast-color);
  /* White text on blue button */
  border: 2px solid var(--accent-color);

}

/* Hero Stats Card */
.hero .hero-container .stats-card {
  background-color: rgba(0, 188, 212, 0.1);
  /* Very light transparent blue background */
  backdrop-filter: blur(15px);
  /* Stronger blur for glassmorphism effect */
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  /* Stronger shadow */
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Light border */
  color: var(--contrast-color);
  /* White text within the card */
}

.hero .hero-container .stats-card .stats-header {
  text-align: center;
  margin-bottom: 25px;
}

.hero .hero-container .stats-card .stats-header h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
  /* White for stats header */
}

.hero .hero-container .stats-card .stats-header .decoration-line {
  height: 4px;
  /* Thicker line */
  width: 80px;
  /* Longer line */
  background-color: var(--accent-color);
  /* Blue for line */
  margin: 0 auto;
  border-radius: 2px;
}

.hero .hero-container .stats-card .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  /* More space between items */
}

.hero .hero-container .stats-card .stats-grid .stat-item {
  display: flex;
  align-items: center;
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-icon {
  font-size: 2rem;
  /* Larger icons */
  height: 60px;
  /* Larger icon box */
  width: 60px;
  border-radius: 15px;
  /* More rounded */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  /* Blue for icon */
  background-color: var(--contrast-color);
  /* White background for icon */
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
  /* Icon box shadow */
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-content h4 {
  font-size: 1.8rem;
  /* Larger numbers */
  font-weight: 800;
  margin: 0;
  line-height: 1;
  color: var(--contrast-color);
  /* White for stat numbers */
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-content p {
  opacity: 0.9;
  margin: 5px 0 0 0;
  font-size: 1rem;
  /* Slightly larger description */
}

@media (max-width: 768px) {
  .hero .hero-container .stats-card {
    padding: 25px;
  }
  .hero .hero-container .stats-card .stats-grid {
    grid-template-columns: 1fr;
    /* Single column on medium screens */
    gap: 20px;
  }
  .hero .hero-container .stats-card .stats-header h3 {
    font-size: 1.8rem;
  }
  .hero .hero-container .stats-card .stats-grid .stat-item .stat-icon {
    font-size: 1.6rem;
    height: 50px;
    width: 50px;
  }
  .hero .hero-container .stats-card .stats-grid .stat-item .stat-content h4 {
    font-size: 1.6rem;
  }
}

/* Event Ticker */
.hero .event-ticker {
  background-color: var(--accent-color);
  /* Blue background */
  padding: 25px 0;
  color: var(--contrast-color);
  /* White text */
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.1);
  /* Subtle inner shadow */
}

.hero .event-ticker .ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center items in ticker */
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  text-align: center;
}

.hero .event-ticker .ticker-item .date {
  background-color: rgba(255, 255, 255, 0.15);
  /* Slightly visible background */
  color: var(--contrast-color);
  /* White text */
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* More defined border */
  flex-shrink: 0;
}

.hero .event-ticker .ticker-item .title {
  margin-right: 20px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--contrast-color);
  /* White text */
}

.hero .event-ticker .ticker-item .btn-register {
  background-color: var(--contrast-color);
  /* White button */
  color: var(--accent-color);
  /* Blue text */
  padding: 6px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.hero .event-ticker .ticker-item .btn-register:hover {
  background-color: #e0e0e0;
  /* Lighter grey on hover */
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero .event-ticker .ticker-item {
    margin-bottom: 20px;
    /* Add spacing between stacked items */
    justify-content: center;
    /* Center all elements */
  }
  .hero .event-ticker .ticker-item:last-child {
    margin-bottom: 0;
  }
  .hero .event-ticker .ticker-item .date {
    margin-right: 0;
    margin-bottom: 10px;
    /* Stack date above title */
  }
  .hero .event-ticker .ticker-item .title {
    margin-right: 0;
    margin-bottom: 10px;
    /* Stack title above button */
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about.section {
  background-color: var(--background-color);
  /* White background */
}

/* Values Cards */
.about .value-card {
  background-color: var(--surface-color);
  /* White background for card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.about .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about .value-card .card-icon {
  font-size: 3rem;
  color: var(--accent-color);
  /* Blue icon */
  margin-bottom: 20px;
  line-height: 1;
}

.about .value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: black;
  /* Keeping black for better contrast against white card */
}

.about .value-card p {
  font-size: 0.95rem;
  color: #666;
  /* Keeping a darker grey for readability on white background */
  line-height: 1.6;
}

@media (max-width: 991px) {
  .about .image-stack {
    display: none;
    /* Hide image stack on smaller screens */
  }
  .about .pe-lg-5 {
    padding-right: 15px !important;
  }
  .about .stat-box {
    margin-bottom: 20px;
  }
  .about .mission-vision-row .col-md-4 {
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .about .display-6 {
    font-size: 2.5rem !important;
    text-align: center;
  }
  .about .lead {
    text-align: center;
  }
  .about .d-flex.flex-wrap.gap-4 {
    justify-content: center;
  }
  .about .signature-block {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Featured Programs Section
--------------------------------------------------------------*/
.featured-programs.section {
  background-color: var(--background-color);
  /* White background for this section */
}

.featured-programs .program-filters {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
  /* Space between filter items */
}

.featured-programs .program-filters li {
  cursor: pointer;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--accent-color);
  /* Blue text on white filter */
  background-color: var(--surface-color);
  /* White filter background */
  border-radius: 50px;
  transition: all 0.3s ease;
}

.featured-programs .program-filters li:hover,
.featured-programs .program-filters li.filter-active {
  background-color: var(--accent-color);
  /* Blue on active/hover */
  color: var(--contrast-color);
  /* White text */
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.featured-programs .program-item {
  background-color: var(--surface-color);
  /* White background for program item */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  /* Make it a flex container to align badge and content */
  flex-direction: column;
  position: relative;
  /* For program-badge positioning */
}

.featured-programs .program-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.featured-programs .program-item .program-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-color);
  /* Blue badge */
  color: var(--contrast-color);
  /* White text on badge */
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.featured-programs .program-item .program-image-wrapper {
  padding-top: 20px;
  width: 200px;
  height: 300px;
  /* Fixed height for consistent images */
  overflow: hidden;
}

.featured-programs .program-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-programs .program-item:hover img {
  transform: scale(1.05);
}

.featured-programs .program-item .program-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* Allow content to grow */
}

.featured-programs .program-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent-color);
  /* Blue heading on white background */
}

.featured-programs .program-item .program-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #777;
  /* Keeping a darker grey for readability on white background */
}

.featured-programs .program-item .program-highlights span {
  display: flex;
  align-items: center;
}

.featured-programs .program-item .program-btn {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  /* Blue button text */
  font-weight: 600;
  transition: 0.3s ease;
  font-size: 1rem;
}

.featured-programs .program-item .program-btn i {
  font-size: 1.2rem;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.featured-programs .program-item .program-btn:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.featured-programs .program-item .program-btn:hover i {
  transform: translateX(5px);
}

/* Isotope adjustments (if you're using Isotope JS) */
.isotope-layout .isotope-item {
  transition: all 0.5s ease-out;
  /* Smooth transitions for filtering */
}

@media (max-width: 768px) {
  .featured-programs .program-filters li {
    padding: 8px 18px;
    font-size: 14px;
  }
  .featured-programs .program-item .program-image-wrapper {
    height: 180px;
  }
  .featured-programs .program-item .program-content {
    padding: 20px;
  }
  .featured-programs .program-item h3 {
    font-size: 1.5rem;
  }
}

/*---------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials.section {
  background-color: var(--background-color);
  
  /* White background for testimonials */
}

.testimonials .testimonial-masonry {
  column-count: 3;
  /* 3 columns for masonry layout */
  column-gap: 30px;
  /* Space between columns */
}

.testimonials .testimonial-item {
  display: inline-block;
  /* Essential for masonry */
  width: 100%;
  /* Take full width of its column */
  margin-bottom: 20px;
  /* Space between items in a column */
  background-color: var(--surface-color);
  /* White background for testimonial item */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.testimonials .testimonial-item.highlight {
  background-color: var(--accent-color);
  /* Blue highlight background */
  color: var(--contrast-color);
  /* White text for highlight */
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern {
  color: rgba(255, 255, 255, 0.3);
  /* Lighter white quote for highlight */
}

.testimonials .testimonial-item.highlight p {
  color: var(--text-color-on-blue);
  /* White text for quote in highlight */
}

.testimonials .testimonial-item.highlight .client-details h3 {
  color: var(--text-color-on-blue);
  /* White text for client name in highlight */
}
.testimonials .testimonial-item.highlight .client-details .position {
  color: var(--text-color-on-blue);
  /* White text for position in highlight */
}

.testimonials .testimonial-content {
  padding: 30px;
  position: relative;
}

.testimonials .testimonial-content .quote-pattern {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.1);
  /* Muted quote icon on white background */
  line-height: 1;
  z-index: 1;
}
/* Corrected icon class name */
.testimonials .testimonial-content .quote-pattern .bi-quote {
    font-size: inherit; /* Ensure the icon takes the parent's font-size */
}


.testimonials .testimonial-content p {
  position: relative;
  /* Bring text above quote pattern */
  z-index: 2;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  /* Dark grey for readability on white background */
  margin-bottom: 25px;
}

.testimonials .testimonial-content .client-info {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-content .client-image {
  flex-shrink: 0;
  /* Prevent image from shrinking */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid var(--accent-color);
  /* Blue accent border around image */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-content .client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials .testimonial-content .client-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--accent-color);
  /* Blue text for client name on white background */
}

.testimonials .testimonial-content .client-details .position {
  font-size: 0.9rem;
  color: #777;
  /* Darker grey for readability on white background */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* In your CSS file (e.g., style.css) */

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  /* Blue color */
  color: var(--contrast-color);
  /* White text */
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  /* Darker blue on hover */
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 991px) {
  .testimonials .testimonial-masonry {
    column-count: 2;
    /* 2 columns on medium screens */
    column-gap: 20px;
  }
}

@media (max-width: 768px) {
  .testimonials .testimonial-masonry {
    column-count: 1;
    /* Single column on small screens */
    column-gap: 0;
  }
  .testimonials .testimonial-item {
    margin-bottom: 10px;
  }
}
/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
stats .stats-overview {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color:white;
}

.stats.section {
  padding-bottom: 0;
}

.testimonials.section {
  padding-top: 0;
}

.stats .stats-overview .stats-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align:center;
 
}

.stats .stats-overview .stats-description {
  align:center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.stats .stats-overview .stats-cta {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.stats .stats-overview .stats-cta .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.stats .stats-overview .stats-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.stats .stats-overview .stats-cta .btn-outline {
  border: 2px solid var(--heading-color);
  color: var(--heading-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background-color: transparent;
  transition: all 0.3s ease;
}

.stats .stats-overview .stats-cta .btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .stats .stats-overview {
    margin-bottom: 3rem;
  }
}

.stats .stats-card {
  background-color: var(--surface-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.stats .stats-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats .stats-card .stats-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--accent-color);
}

.stats .stats-card .stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
  line-height: 1;
}

.stats .stats-card .stats-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--default-color);
}

.stats .achievements-gallery {
  margin-top: 2rem;
}

.stats .achievements-gallery .achievement-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.stats .achievements-gallery .achievement-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.stats .achievements-gallery .achievement-item .achievement-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.stats .achievements-gallery .achievement-item .achievement-content h4 {
  color: var(--contrast-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stats .achievements-gallery .achievement-item .achievement-content p {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.stats .achievements-gallery .achievement-item:hover img {
  transform: scale(1.1);
}


