/********** Template CSS **********/

/* Fix mobile viewport */
html,
body {
  width: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

:root {
  /* Primary Colors - Modern Gradient Scheme */
  --primary: #06a3da;
  --primary-gradient: linear-gradient(135deg, #06a3da 0%, #0891c7 100%);
  --primary-dark: #0891c7;
  --primary-light: #38b6e8;

  --secondary: #34ad54;
  --secondary-gradient: linear-gradient(135deg, #34ad54 0%, #2d9848 100%);
  --secondary-dark: #2d9848;

  --light: #eef9ff;
  --dark: #091e3e;

  /* Modern Color Palette */
  --accent: #ff6b6b;
  --success: #51cf66;
  --warning: #ffd43b;
  --info: #4dabf7;

  /* Neutral Shades */
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-700: #495057;
  --gray-900: #212529;

  /* Glass Morphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Dark Mode Variables */
body.dark-mode {
  --light: #1a1d2e;
  --dark: #ffffff;
  --gray-50: #2d3348;
  --gray-100: #242838;
  --gray-200: #1e2232;
  --gray-300: #181b2a;
  --gray-700: #e9ecef;
  --gray-900: #f8f9fa;
  --glass-bg: rgba(0, 0, 0, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

body.dark-mode {
  background-color: #1a1d2e;
  color: #ffffff;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

/* Add top margin to account for fixed navbar */
@media (min-width: 992px) {
  body {
    margin-top: 110px;
  }
}

body.dark-mode .bg-light {
  background-color: #242838 !important;
}

body.dark-mode .text-dark {
  color: #ffffff !important;
}

body.dark-mode .service-item,
body.dark-mode .notice-item {
  background-color: #242838 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Remove or comment out your existing .spinner CSS */
.psz-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.psz-logo {
  width: 120px; /* Adjust based on your logo */
  height: auto;
  animation: enhancedZoomPulse 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.psz-subtext {
  font-size: 1rem;
  color: #666;
  margin-top: 1rem;
  animation: fadePulse 1.5s infinite ease-in-out;
}

/* Smoother, more pronounced zoom animation */
@keyframes enhancedZoomPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.1));
  }
  50% {
    transform: scale(1.15); /* Increased from 1.05 to 1.15 */
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.15));
  }
}

@keyframes fadePulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Keep your existing #spinner styles */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
  background: #ffffff !important;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

body.dark-mode #spinner {
  background: #1a1d2e !important;
}

/*** Heading ***/
h1,
h2,
.fw-bold {
  font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
  font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
  font-weight: 600 !important;
}

/*** Button ***/
.btn {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  transition: all var(--transition-base);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  color: #ffffff;
  background: var(--primary-gradient);
  border: none;
  box-shadow: 0 4px 15px rgba(6, 163, 218, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 163, 218, 0.4);
  background: var(--primary-dark);
}

.btn-secondary {
  color: #ffffff;
  background: var(--secondary-gradient);
  border: none;
  box-shadow: 0 4px 15px rgba(52, 173, 84, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 173, 84, 0.4);
  background: var(--secondary-dark);
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 30px;
  height: 30px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  font-family: "Nunito", sans-serif;
  position: relative;
  margin-left: 25px;
  padding: 20px 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
  color: var(--primary);
}

.navbar-dark .navbar-toggler {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-dark {
    position: relative;
    background: #ffffff;
  }

  .navbar-dark .navbar-nav .nav-link,
  .navbar-dark .navbar-nav .nav-link.show,
  .sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    color: var(--dark);
  }

  .navbar-dark .navbar-brand h1 {
    color: var(--primary);
  }
}

@media (min-width: 992px) {
  .navbar-dark {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .sticky-top.navbar-dark {
    position: fixed;
    background: #ffffff;
  }

  .navbar-dark .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: 0.5s;
  }

  .navbar-dark .navbar-nav .nav-link:hover::before,
  .navbar-dark .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }

  .navbar-dark .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }

  .sticky-top.navbar-dark .navbar-brand h1 {
    color: var(--primary);
  }
}

/*** Carousel ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 50%);
  z-index: 1;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }

  /* Reduce glass card size and add side spacing on mobile */
  .carousel-caption .glass-card {
    padding: 1.5rem !important;
    margin: 0 1rem !important;
    max-width: calc(100% - 2rem) !important;
  }

  /* Reduce text sizes on mobile */
  .carousel-caption h3 {
    font-size: 1rem !important;
  }

  .carousel-caption h2 {
    font-size: 1.5rem !important;
  }

  .carousel-caption .display-1 {
    font-size: 2rem !important;
  }

  .carousel-caption .lead {
    font-size: 0.9rem !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

/*** Service ***/
.service-item {
  position: relative;
  height: 400px;
  padding: 0 30px;
  transition: all var(--transition-base);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 163, 218, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.service-item .service-icon {
  margin-bottom: 30px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.service-item:hover .service-icon {
  transform: rotate(-45deg) scale(1.1);
  box-shadow: 0 8px 24px rgba(6, 163, 218, 0.4);
}

.service-item .service-icon i {
  transform: rotate(45deg);
  font-size: 24px;
  transition: transform var(--transition-base);
}

.service-item:hover .service-icon i {
  transform: rotate(45deg) scale(1.1);
}

.service-item a.btn {
  position: absolute;
  width: 60px;
  bottom: -48px;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
  transition: all var(--transition-base);
}

.service-item:hover a.btn {
  bottom: -24px;
  opacity: 1;
}

/*** Section Title ***/
.section-title {
  position: relative;
}

/*** Section Title ***/
.section-title::before {
  position: absolute;
  content: "";
  width: 150px;
  height: 5px;
  left: 0;
  bottom: 0;
  background: var(--primary);
  border-radius: 2px;
}

.section-title.text-center::before {
  left: 50%;
  transform: translateX(-50%);
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: #dddddd;
  border-radius: 2px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--primary);
}

.testimonial-carousel .owl-item.center {
  position: relative;
  z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: #ffffff !important;
  box-shadow: 0 0 30px #dddddd;
}

/*** Team ***/
.team-item {
  transition: 0.5s;
}

.team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.team-social a.btn {
  position: relative;
  margin: 0 3px;
  margin-top: 100px;
  opacity: 0;
}

.team-item:hover {
  box-shadow: 0 0 30px #dddddd;
}

.team-item:hover .team-social {
  background: rgba(9, 30, 62, 0.7);
}

.team-item:hover .team-social a.btn:first-child {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
  transition: 0.5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
  transform: scale(1.15);
}

/*** Miscellaneous ***/
@media (min-width: 991.98px) {
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.bg-header {
  background:
    linear-gradient(rgba(9, 30, 62, 0.7), rgba(9, 30, 62, 0.7)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.link-animated a {
  transition: 0.5s;
}

.link-animated a:hover {
  padding-left: 10px;
}

@media (min-width: 767.98px) {
  .footer-about {
    margin-bottom: -75px;
  }
}

@media (max-width: 768px) {
  #header-carousel .carousel-item img {
    height: 50vh; /* Adjusts image height to half the viewport */
    object-fit: cover; /* Ensures the image covers the space properly */
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

/* Team Cards */
.team-card {
  transition: transform 0.3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
}
.team-img-container {
  height: 250px;
  overflow: hidden;
}
.team-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.social-links a {
  color: #6c757d;
  margin: 0 5px;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #0d6efd;
}

/* Committee Cards */
.committee-card {
  transition: all 0.3s ease;
}
.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.committee-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.committee-icon i {
  font-size: 1.75rem;
}

/* Partner Slider */
.partner-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.partner-item {
  flex: 0 0 calc(16.666% - 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.partner-item img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.partner-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Section Styling */
.section-header .divider {
  width: 80px;
  height: 3px;
}

/*** Modern About Page Additions (Compatible with existing styles) ***/

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 5rem 0;
  color: white;
}

.hero-section h1 {
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-light {
  background: white;
  color: var(--primary);
  transition: all 0.3s ease;
}

.hero-section .btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header span {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.section-header h2 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-header .divider {
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

.section-header p.lead {
  color: #6c757d;
  margin-top: 1rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

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

/* Team Cards */
.team-card {
  transition: all 0.3s ease;
}

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

.team-img-container {
  height: 250px;
  overflow: hidden;
}

.team-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h4 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.team-info p {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-links a {
  color: #6c757d;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Committee Cards */
.committee-card {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.committee-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  margin: 0 auto 1.5rem;
}

.committee-icon i {
  font-size: 1.75rem;
  color: var(--primary);
}

.committee-card h4 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.committee-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.committee-card ul li {
  margin-bottom: 0.5rem;
  color: #6c757d;
}

/* Partner Slider */
.partner-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.partner-item {
  flex: 0 0 calc(16.666% - 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-item img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .partner-item {
    flex: 0 0 calc(25% - 2rem);
  }

  .hero-section img {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 calc(33.333% - 2rem);
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .partner-item {
    flex: 0 0 calc(50% - 2rem);
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }
}

/* Add this to your :root if not already present */
:root {
  --primary-rgb: 6, 163, 218;
}

/* Publications Page Styles */
.publications-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.publication-card {
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 8px !important;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.publication-thumbnail {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.publication-thumbnail img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.publication-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.featured-publication {
  position: relative;
  border: 2px solid var(--primary) !important;
}

.featured-label {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.publication-actions .btn-link {
  transition: color 0.3s;
}

.publication-actions .btn-link:hover {
  color: var(--primary) !important;
}

.filter-buttons .btn {
  margin: 0 5px 10px;
  transition: all 0.3s;
}

.filter-buttons .btn.active {
  background: var(--primary);
  color: white;
}

.filter-buttons .btn:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

.bg-primary-light {
  background: rgba(var(--primary-rgb), 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .publication-card .row {
    flex-direction: column;
  }

  .publication-thumbnail {
    height: 200px;
  }
}

/* Downloads Page Styles */
.downloads-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.search-bar {
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-card {
  transition: all 0.3s ease;
  border-radius: 8px !important;
  overflow: hidden;
  position: relative;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.download-img-container {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.download-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.file-type-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.download-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.featured-download {
  border: 2px solid var(--primary) !important;
}

.filter-options .btn {
  transition: all 0.3s;
}

.filter-options .btn.active {
  background: var(--primary);
  color: white;
}

.filter-options .btn:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .download-img-container {
    height: 150px;
  }

  .filter-options {
    gap: 5px;
  }

  .filter-options .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .search-bar .btn {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.branch-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px !important;
  overflow: hidden;
  position: relative;
}

.branch-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(6, 163, 218, 0.15) !important;
}

.branch-icon-wrapper {
  position: relative;
  display: inline-block;
}

.branch-icon-wrapper .icon-box {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-gradient);
  box-shadow: 0 8px 16px rgba(6, 163, 218, 0.25);
  transition: all 0.3s ease;
}

.branch-card:hover .branch-icon-wrapper .icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(6, 163, 218, 0.35);
}

.info-item {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.info-item:hover {
  background: white !important;
  border-color: var(--primary);
  transform: translateX(5px);
}

.info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.1rem;
}

.branch-info a {
  transition: color 0.2s ease;
}

.branch-info a:hover {
  color: var(--primary) !important;
}

.branch-card .btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.branch-card .btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 163, 218, 0.3);
}

.branch-info h5 {
  color: var(--dark);
  font-size: 1rem;
}

.branch-info p {
  color: #6c757d;
  margin-bottom: 0.5rem;
}

/* Form Styles */
.form-floating label {
  color: #6c757d;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

/* Operating Hours */
.table-borderless tbody tr {
  border-bottom: 1px solid #eee;
}

.table-borderless tbody tr:last-child {
  border-bottom: none;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .branch-icon {
    width: 50px;
    height: 50px;
  }

  .branch-icon i {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .contact-hero .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .contact-hero .d-flex {
    flex-direction: column;
  }
}

/* News Page Styles */
.news-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.news-card {
  transition: all 0.3s ease;
  border-radius: 8px !important;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.news-img-container {
  height: 200px;
  overflow: hidden;
}

.news-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  z-index: 2;
}

.news-date-badge span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.news-date-badge small {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.filter-options .btn {
  transition: all 0.3s;
}

.filter-options .btn.active {
  background: var(--primary);
  color: white;
}

.filter-options .btn:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

/* News Modal Styles */
#newsModal .modal-content {
  border-radius: 10px;
  overflow: hidden;
}

#newsModal .modal-header {
  border-bottom: 1px solid #eee;
  background: var(--light);
}

#newsModal .modal-title {
  font-weight: 700;
  color: var(--dark);
}

#newsModal .modal-footer {
  border-top: 1px solid #eee;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .news-img-container {
    height: 150px;
  }

  #newsModal .modal-dialog {
    margin: 1rem;
  }

  #newsModal .row {
    flex-direction: column;
  }

  #newsModal .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

/* Notices Page Styles */
.notices-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.notice-card {
  transition: all 0.3s ease;
  border-radius: 8px !important;
  overflow: hidden;
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.notice-img-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.notice-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.notice-urgency-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.notice-details h6 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.notice-details p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

.bg-purple {
  background-color: #6f42c1;
}

/* Notice Modal Styles */
#noticeModal .modal-content {
  border-radius: 10px;
  overflow: hidden;
}

#noticeModal .modal-header {
  border-bottom: 1px solid #eee;
  background: var(--light);
}

#noticeModal .modal-title {
  font-weight: 700;
  color: var(--dark);
}

#noticeModal .modal-footer {
  border-top: 1px solid #eee;
}

.notice-meta h6 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.notice-meta p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Subscribe Form */
.subscribe-form .input-group {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.subscribe-form .form-control {
  border-right: 0;
}

.subscribe-form .btn {
  border-left: 0;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .notice-card .row {
    flex-direction: column;
  }

  .notice-img-container {
    height: 200px;
  }

  #noticeModal .modal-dialog {
    margin: 1rem;
  }

  #noticeModal .row {
    flex-direction: column;
  }

  #noticeModal .col-md-6 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .notices-hero .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .notices-hero .d-flex {
    flex-direction: column;
  }
}

/* Events Page Styles */
.events-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.event-card {
  transition: all 0.3s ease;
  border-radius: 8px !important;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.event-img-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.event-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 5px;
  z-index: 2;
}

.event-date-badge span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-badge small {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.event-type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.event-meta {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: auto;
}

.bg-primary-light {
  background-color: rgba(var(--primary-rgb), 0.1);
}

.bg-purple {
  background-color: #6f42c1;
}

/* Calendar Styles */
#eventCalendar {
  min-height: 600px;
}

.fc .fc-toolbar-title {
  font-size: 1.25rem;
  color: var(--dark);
}

.fc .fc-button {
  background-color: var(--primary);
  border-color: var(--primary);
}

.fc .fc-button:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
  background-color: var(--dark);
  border-color: var(--dark);
}

.fc-event {
  cursor: pointer;
}

/* Event Modal Styles */
.event-meta-box {
  border-left: 3px solid var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .event-img-container {
    height: 150px;
  }

  #eventCalendar {
    min-height: 400px;
  }
}

@media (max-width: 575.98px) {
  .events-hero .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .events-hero .d-flex {
    flex-direction: column;
  }
}

/* Additional styling for uniform cards in carousel */
.testimonial-item {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Ensure all cards in carousel have same height */
.owl-carousel .owl-stage {
  display: flex;
}

.owl-carousel .owl-item {
  display: flex;
  height: auto;
}

/* Carousel Image Fix */
#header-carousel .carousel-item {
  height: 100vh; /* Full viewport height */
  min-height: 400px; /* Minimum height */
}

#header-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area while maintaining aspect ratio */
}

/* Adjust carousel caption positioning */
#header-carousel .carousel-caption {
  bottom: 0;
  padding-bottom: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #header-carousel .carousel-item {
    height: 70vh; /* Slightly smaller on mobile */
  }

  #header-carousel .carousel-caption {
    padding-bottom: 30px;
  }

  #header-carousel .display-1 {
    font-size: 2.5rem !important; /* Smaller text on mobile */
  }

  #header-carousel h5 {
    font-size: 1rem !important;
  }
}

/* Add to your style.css file */
.notice-section {
  background: linear-gradient(
    135deg,
    rgba(230, 244, 255, 0.9) 0%,
    rgba(245, 245, 245, 0.9) 100%
  );
  position: relative;
  overflow: hidden;
}

.notice-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 0;
}

.notice-content {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(6, 163, 218, 0.1);
}

.notice-item {
  transition: all var(--transition-base);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.notice-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 163, 218, 0.1),
    transparent
  );
  transition: right 0.6s ease;
}

.notice-item:hover::after {
  right: 100%;
}

.notice-item:hover {
  background: rgba(6, 163, 218, 0.08);
  transform: translateX(8px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-left-width: 6px;
}

.notice-meta {
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.notice-item:hover .notice-meta {
  transform: scale(1.02);
}

.modern-img-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modern-img-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 163, 218, 0.2),
    rgba(52, 173, 84, 0.2)
  );
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.modern-img-container:hover::before {
  opacity: 1;
}

.modern-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.modern-img-container:hover img {
  transform: scale(1.03);
}

/* Partner Logo Styles */
.partner-logo {
  max-height: 70px;
  width: auto;
  transition: all 0.3s ease;
  object-fit: contain;
}

.partner-logo:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 0;
  padding: 0;
  min-width: 300px; /* Increased width to accommodate two columns */
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu .d-flex {
  display: flex;
}

.dropdown-column {
  padding: 0.5rem 0;
  flex: 1;
}

.dropdown-divider-vertical {
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  color: #333;
  transition: all 0.3s;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #f8f9fa;
  color: #000;
}

/* Adjust the active state for dropdown items */
.dropdown-item.active {
  background-color: #f8f9fa;
  color: #000;
  font-weight: bold;
}

/* Tab styling for AGM Archives */
.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  border: none;
  color: var(--gray-700);
  padding: 15px 20px;
  transition: all var(--transition-base);
  border-radius: 0;
  background: transparent;
  position: relative;
}

.nav-tabs .nav-link:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
}

.nav-tabs .nav-link.active {
  color: var(--primary);
  background: linear-gradient(
    to bottom,
    rgba(var(--primary-rgb), 0.1) 0%,
    transparent 100%
  );
  border-bottom: 3px solid var(--primary);
}

.nav-tabs .nav-link i {
  font-size: 1.1rem;
}

.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

/* Tab content styling */
.tab-content {
  min-height: 200px;
}

.tab-pane {
  animation: fadeIn 0.3s ease-in;
}

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

body.dark-mode .nav-tabs .nav-link {
  color: var(--gray-400);
}

body.dark-mode .nav-tabs .nav-link:hover {
  color: var(--primary-light);
}

body.dark-mode .nav-tabs .nav-link.active {
  color: var(--primary-light);
}

/* Sponsor tiers */
.sponsor-tier h4 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
}

.text-warning {
  color: #ffc107 !important;
}

/* General styling */
.fw-bold {
  font-weight: 700 !important;
}

.fw-medium {
  font-weight: 500;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.list-group-item {
  border-left: none;
  border-right: none;
  padding: 1rem;
}

.list-group-item:first-child {
  border-top: none;
}

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

.gallery-img {
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.modal-title {
  font-size: 1.5rem;
}

/* ==================== MODERN ENHANCEMENTS 2025 ==================== */

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  position: fixed;
  top: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: var(--shadow-xl);
}

.dark-mode-toggle i {
  transition: transform var(--transition-base);
}

body.dark-mode .dark-mode-toggle {
  background: linear-gradient(135deg, #ffd43b 0%, #fab005 100%);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 9998;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Smooth Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--primary-gradient);
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 2px 10px rgba(6, 163, 218, 0.5);
}

/* Carousel Ken Burns Effect */
.carousel-item img {
  animation: kenBurns 15s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.carousel-item:hover img {
  animation-play-state: paused;
}

/* Enhanced Carousel Caption */
.carousel-caption {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: all var(--transition-base);
}

.carousel-item:hover .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
}

/* Glass Card Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 30px;
  transition: all var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}



/* Footer Hero Section with Background Image */
.footer-hero-section {
  position: relative;
  background-image: url('../img/secretariat.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 20, 41, 0.85);
  z-index: 1;
}

.footer-hero-section .container {
  z-index: 2;
}


/* Gradient Text */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer Effect for Loading */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--gray-200) 0%,
    var(--gray-100) 50%,
    var(--gray-200) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Improved Shadow Utilities */
.shadow-soft {
  box-shadow: var(--shadow-sm);
}

.shadow-medium {
  box-shadow: var(--shadow-md);
}

.shadow-strong {
  box-shadow: var(--shadow-lg);
}

.shadow-extra-strong {
  box-shadow: var(--shadow-xl);
}

/* Hover Lift Effect */
.hover-lift {
  transition: all var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Sticky Navbar Enhancement */
.sticky-top.navbar-dark {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-md);
}

body.dark-mode .sticky-top.navbar-dark {
  background: rgba(26, 29, 46, 0.95) !important;
}

/* Dark Mode Footer */
body.dark-mode .bg-dark {
  background-color: #0d0f1a !important;
}

body.dark-mode .container-fluid.bg-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode Carousel */
body.dark-mode .carousel-caption {
  background: rgba(0, 0, 0, 0.6);
}

/* Dark Mode Dropdown */
body.dark-mode .dropdown-menu {
  background-color: #242838;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-item {
  color: #e9ecef;
}

body.dark-mode .dropdown-item:hover {
  background-color: rgba(6, 163, 218, 0.2);
  color: var(--primary-light);
}


/* Section Divider */
.divider {
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 20px auto;
  border-radius: 2px;
}

/* Modern Notice Cards */
.notice-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.notice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.notice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.notice-card:hover::before {
  transform: scaleX(1);
}

/* Notice Badges */
.notice-badge-urgent,
.notice-badge-important,
.notice-badge-info {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.notice-badge-urgent {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.notice-badge-important {
  background: linear-gradient(135deg, #ffd43b 0%, #fab005 100%);
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 212, 59, 0.3);
}

.notice-badge-info {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(77, 171, 247, 0.3);
}

/* Notice Icon */
.notice-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(6, 163, 218, 0.3);
  transition: all var(--transition-base);
}

.notice-card:hover .notice-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(6, 163, 218, 0.4);
}

.notice-icon-wrapper i {
  font-size: 32px;
  color: white;
}

/* Notice Date */
.notice-date {
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.notice-date i {
  color: var(--primary);
}

/* Notice Title */
.notice-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.notice-card:hover .notice-title {
  color: var(--primary);
}

/* Notice Description */
.notice-description {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Notice Details */
.notice-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.notice-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 14px;
}

.notice-detail-item i {
  color: var(--primary);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Notice Button */
.notice-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 10px 0;
}

.notice-btn:hover {
  color: var(--primary-dark);
  gap: 12px;
  text-decoration: none;
}

.notice-btn i {
  transition: transform var(--transition-fast);
}

.notice-btn:hover i {
  transform: translateX(4px);
}

/* Dark Mode Notice Cards */
body.dark-mode .notice-card {
  background: #242838;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .notice-title {
  color: #ffffff;
}

body.dark-mode .notice-description,
body.dark-mode .notice-detail-item,
body.dark-mode .notice-date {
  color: var(--gray-700);
}

body.dark-mode .notice-card:hover {
  background: #2d3348;
  border-color: var(--primary-light);
}

body.dark-mode .notice-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Featured Notice Card with Image */
.notice-card-featured {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.notice-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-gradient);
}

.notice-card-featured:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.notice-card-background {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  position: relative;
}

.notice-glass-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: calc(100% - 40px);
  text-align: center;
}

.notice-glass-content .notice-date {
  color: #ffffff;
  justify-content: center;
  font-weight: 600;
}

.notice-glass-content .notice-title {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notice-card-background::before {
  background: transparent;
}

.notice-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.notice-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.notice-card-featured:hover .notice-image-wrapper img {
  transform: scale(1.05);
}

.notice-icon-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(6, 163, 218, 0.4);
  animation: floatIcon 3s ease-in-out infinite;
}

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

.notice-icon-overlay i {
  font-size: 28px;
  color: white;
}

.notice-content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.notice-card-featured .notice-date {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.notice-card-featured .notice-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.notice-card-featured .notice-description {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.notice-card-featured .notice-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  padding-top: 20px;
  border-top: 2px solid var(--gray-200);
}

.notice-card-featured .notice-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 15px;
}

.notice-card-featured .notice-detail-item i {
  color: var(--primary);
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.notice-card-featured .btn-primary {
  align-self: flex-start;
}

/* Dark Mode Featured Notice */
body.dark-mode .notice-card-featured {
  background: #242838;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .notice-card-featured .notice-title {
  color: #ffffff;
}

body.dark-mode .notice-card-featured .notice-description,
body.dark-mode .notice-card-featured .notice-detail-item {
  color: var(--gray-700);
}

body.dark-mode .notice-card-featured .notice-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .notice-section {
  background-color: #1a1d2e !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .notice-card-featured {
    padding: 25px;
  }

  .notice-card-featured .notice-title {
    font-size: 22px;
  }

  .notice-image-wrapper {
    min-height: 250px;
    margin-bottom: 20px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .dark-mode-toggle,
  .back-to-top {
    width: 45px;
    height: 45px;
    right: 20px;
  }

  .floating-cta {
    bottom: 80px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .carousel-caption {
    padding: 20px;
  }
}

/* ==================== MODERN EVENT CARDS ==================== */

.event-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

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

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

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

.event-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-gradient);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(6, 163, 218, 0.4);
  z-index: 2;
}

.event-day {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.event-category-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(52, 173, 84, 0.3);
  z-index: 2;
}

.event-category-badge.workshop {
  background: linear-gradient(135deg, #ffd43b 0%, #fab005 100%);
  box-shadow: 0 4px 15px rgba(255, 212, 59, 0.3);
}

.event-category-badge.forum {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  box-shadow: 0 4px 15px rgba(77, 171, 247, 0.3);
}

.event-category-badge.summit {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.event-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gray-200);
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
}

.event-meta-item i {
  color: var(--primary);
  font-size: 14px;
}

.event-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.event-card:hover .event-title {
  color: var(--primary);
}

.event-description {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.event-attendees {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
}

.event-attendees i {
  color: var(--secondary);
  font-size: 16px;
}

.event-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.event-card:hover .event-link {
  gap: 8px;
}

.event-link i {
  transition: transform var(--transition-fast);
}

.event-card:hover .event-link i {
  transform: translateX(4px);
}

/* Dark Mode Event Cards */
body.dark-mode .event-card {
  background: #242838;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .event-title {
  color: #ffffff;
}

body.dark-mode .event-description,
body.dark-mode .event-meta-item,
body.dark-mode .event-attendees {
  color: var(--gray-700);
}

body.dark-mode .event-card:hover {
  background: #2d3348;
  border-color: var(--primary-light);
}

body.dark-mode .event-meta,
body.dark-mode .event-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Event Cards */
@media (max-width: 768px) {
  .event-image-container {
    height: 200px;
  }

  .event-content {
    padding: 20px;
  }

  .event-title {
    font-size: 18px;
  }

  .event-date-badge {
    width: 60px;
    height: 60px;
  }

  .event-day {
    font-size: 24px;
  }

  .event-month {
    font-size: 12px;
  }

  .event-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* ==================== GOVERNANCE STRUCTURE ==================== */

.governance-structure-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.governance-level {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.governance-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.governance-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.governance-box:hover::before {
  transform: scaleX(1);
}

.governance-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.governance-box-primary {
  border-color: var(--primary);
  max-width: 600px;
  width: 100%;
}

.governance-box-secondary {
  border-color: var(--secondary);
  max-width: 700px;
  width: 100%;
}

.governance-box-info {
  border-color: var(--info);
}

.governance-box-success {
  border-color: var(--success);
}

.governance-box-member {
  border-color: var(--primary-light);
  max-width: 700px;
  width: 100%;
}

.governance-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(6, 163, 218, 0.3);
  transition: all var(--transition-base);
}

.governance-box:hover .governance-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(6, 163, 218, 0.4);
}

.governance-icon i {
  font-size: 36px;
  color: white;
}

.governance-box h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.governance-box:hover h4 {
  color: var(--primary);
}

.governance-box p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.governance-members {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.member-badge {
  background: var(--gray-100);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.member-badge:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.committee-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  text-align: left;
}

.committee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 15px;
  padding: 10px 15px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.committee-item:hover {
  background: var(--primary-light);
  color: white;
  transform: translateX(8px);
}

.committee-item i {
  color: var(--primary);
  font-size: 16px;
  transition: color var(--transition-fast);
}

.committee-item:hover i {
  color: white;
}

.membership-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.stat-item i {
  font-size: 24px;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.stat-item:hover i {
  color: white;
}

/* Governance Connectors */
.governance-connector {
  margin: 0 auto;
}

.governance-connector.vertical {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  margin: 0 auto;
}

.governance-connector.horizontal-split {
  width: 500px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  margin: 20px auto;
  position: relative;
}

.governance-connector.horizontal-split::before,
.governance-connector.horizontal-split::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 30px;
  background: var(--primary-gradient);
}

.governance-connector.horizontal-split::before {
  left: 0;
  top: -30px;
}

.governance-connector.horizontal-split::after {
  right: 0;
  top: -30px;
}

/* Dark Mode Governance Structure */
body.dark-mode .governance-box {
  background: #242838;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .governance-box h4 {
  color: #ffffff;
}

body.dark-mode .governance-box p {
  color: var(--gray-700);
}

body.dark-mode .governance-box:hover {
  background: #2d3348;
}

body.dark-mode .committee-item {
  background: #1a1d2e;
  color: var(--gray-700);
}

body.dark-mode .committee-item:hover {
  background: var(--primary);
  color: white;
}

body.dark-mode .stat-item {
  background: #1a1d2e;
  color: #ffffff;
}

body.dark-mode .stat-item:hover {
  background: var(--primary);
}

body.dark-mode .member-badge {
  background: #1a1d2e;
  color: var(--primary-light);
}

body.dark-mode .member-badge:hover {
  background: var(--primary);
  color: white;
}

/* Responsive Governance Structure */
@media (max-width: 992px) {
  .governance-connector.horizontal-split {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .governance-box {
    padding: 25px;
  }

  .governance-box h4 {
    font-size: 20px;
  }

  .governance-icon {
    width: 60px;
    height: 60px;
  }

  .governance-icon i {
    font-size: 28px;
  }

  .governance-connector.horizontal-split {
    width: 200px;
  }

  .membership-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== NEWS & UPDATES SECTION ==================== */

/* Featured News Card */
.news-card-featured {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.news-image-large {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.news-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card-featured:hover .news-image-large img {
  transform: scale(1.08);
}

.news-badge-featured {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  z-index: 2;
}

.news-category-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
}

.news-content-large {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta-large {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gray-200);
  flex-wrap: wrap;
}

.news-meta-large span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
}

.news-meta-large i {
  color: var(--secondary);
}

.news-title-large {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 15px;
  transition: color var(--transition-fast);
}

.news-card-featured:hover .news-title-large {
  color: var(--primary);
}

.news-excerpt {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.news-footer-large {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.news-reading-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
}

.news-reading-time i {
  color: var(--info);
}

/* Compact News Card */
.news-card-compact {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 20px;
  padding: 20px;
  height: 100%;
}

.news-card-compact:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.news-image-compact {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.news-image-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-compact:hover .news-image-compact img {
  transform: scale(1.1);
}

.news-date-compact {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary-gradient);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(52, 173, 84, 0.3);
  z-index: 2;
}

.news-date-compact .day {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.news-date-compact .month {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content-compact {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-category-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.news-category-tag.education {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  color: white;
}

.news-category-tag.regulation {
  background: linear-gradient(135deg, #ffd43b 0%, #fab005 100%);
  color: #333;
}

.news-title-compact {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.news-card-compact:hover .news-title-compact {
  color: var(--primary);
}

.news-excerpt-compact {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.news-footer-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.news-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 500;
}

.news-author i {
  color: var(--primary);
  font-size: 16px;
}

.news-link-compact {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-link-compact:hover {
  color: var(--primary-dark);
  gap: 8px;
}

.news-link-compact i {
  transition: transform var(--transition-fast);
}

.news-link-compact:hover i {
  transform: translateX(4px);
}

/* Dark Mode News Section */
body.dark-mode .news-card-featured,
body.dark-mode .news-card-compact {
  background: #242838;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .news-title-large,
body.dark-mode .news-title-compact {
  color: #ffffff;
}

body.dark-mode .news-excerpt,
body.dark-mode .news-excerpt-compact,
body.dark-mode .news-meta-large span,
body.dark-mode .news-author,
body.dark-mode .news-reading-time {
  color: var(--gray-700);
}

body.dark-mode .news-card-featured:hover,
body.dark-mode .news-card-compact:hover {
  background: #2d3348;
}

body.dark-mode .news-meta-large,
body.dark-mode .news-footer-large,
body.dark-mode .news-footer-compact {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive News Cards */
@media (max-width: 768px) {
  .news-image-large {
    height: 200px;
  }

  .news-content-large {
    padding: 25px;
  }

  .news-title-large {
    font-size: 20px;
  }

  .news-card-compact {
    flex-direction: column;
    padding: 15px;
  }

  .news-image-compact {
    width: 100%;
    height: 180px;
  }

  .news-footer-large,
  .news-footer-compact {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* ============================================
   About Pages Styling
   ============================================ */

/* Icon Boxes */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.icon-box i {
  font-size: 28px;
}

/* Value Icons */
.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon i {
  font-size: 20px;
}

/* Modern Lists */
.modern-list {
  list-style: none;
  padding-left: 0;
}

.modern-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.modern-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--primary-gradient);
  border-radius: 50%;
}

.modern-checklist {
  list-style: none;
  padding-left: 0;
}

.modern-checklist li {
  padding: 8px 0;
  display: flex;
  align-items: start;
}

.modern-checklist i {
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Stat Cards */
.stat-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

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

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.stat-icon i {
  font-size: 32px;
}

/* Governance Cards */
.governance-card {
  transition: var(--transition-base);
}

.governance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.governance-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.governance-icon i {
  font-size: 36px;
}

/* Strategic Cards */
.strategic-card {
  border-left: 4px solid transparent;
  border-image: var(--primary-gradient) 1;
  transition: var(--transition-base);
}

.strategic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-image: var(--secondary-gradient) 1;
}

.strategic-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.strategic-icon i {
  font-size: 28px;
}

/* Alert Variants */
.alert-primary-gradient {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-md);
}

/* Membership Category Cards */
.membership-card {
  transition: var(--transition-base);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.membership-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.membership-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  padding: 8px 20px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.price-tag {
  font-size: 48px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Committee Cards */
.committee-card {
  transition: var(--transition-base);
  border-top: 4px solid transparent;
}

.committee-card:hover {
  border-top-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.committee-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.committee-icon i {
  font-size: 48px;
}

/* Partner Cards */
.partner-card {
  transition: var(--transition-base);
  overflow: hidden;
}

.partner-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.partner-img-container {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.partner-img-container img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-base);
}

.partner-card:hover .partner-img-container img {
  transform: scale(1.1);
}

/* Branch Cards */
.branch-card {
  border-left: 4px solid var(--primary);
  transition: var(--transition-base);
}

.branch-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.branch-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  font-size: 28px;
  box-shadow: var(--shadow-md);
}

/* Executive Member Cards */
.executive-card {
  transition: var(--transition-base);
}

.executive-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.executive-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.executive-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.executive-card:hover .executive-photo::after {
  opacity: 1;
}

/* Text Gradient Effect */
.text-primary-gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .icon-box i {
    font-size: 24px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

  .stat-icon i {
    font-size: 28px;
  }

  .governance-icon {
    width: 70px;
    height: 70px;
  }

  .governance-icon i {
    font-size: 32px;
  }

  .committee-icon {
    width: 80px;
    height: 80px;
  }

  .committee-icon i {
    font-size: 40px;
  }
}

/* ================================
   RESOURCES PAGES STYLING
   ================================ */

/* CPD Event Cards */
.cpd-event-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.cpd-event-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.cpd-event-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.cpd-event-icon i {
  font-size: 28px;
}

.cpd-event-details {
  font-size: 14px;
}

.cpd-event-details p {
  margin-bottom: 6px;
}

.alert-primary-gradient {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #ffffff;
  border: none;
}

.alert-info-gradient {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: #ffffff;
  border: none;
}

body.dark-mode .cpd-event-card {
  background: #2d3348;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .cpd-event-card:hover {
  background: #363b54;
  border-color: var(--primary-light);
}

/* Download Cards */
.download-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-icon i {
  font-size: 28px;
}

.bg-danger-light {
  background-color: rgba(220, 53, 69, 0.1);
}

.bg-warning-light {
  background-color: rgba(255, 193, 7, 0.1);
}

.bg-info-light {
  background-color: rgba(23, 162, 184, 0.1);
}

.text-warning {
  color: #ffc107 !important;
}

.text-info {
  color: #17a2b8 !important;
}

.bg-danger-gradient {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.bg-warning-gradient {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.bg-info-gradient {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.bg-success-gradient {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.btn-modern {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

body.dark-mode .download-icon {
  opacity: 0.9;
}

/* Publication Cards */
.publication-card-modern {
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.publication-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 250px;
}

.publication-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.publication-card-modern:hover .publication-image-wrapper img {
  transform: scale(1.05);
}

.publication-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  transition: opacity var(--transition-base);
}

.publication-card-modern:hover .publication-overlay {
  opacity: 0.8;
}

.publication-badge-new {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.publication-actions {
  display: flex;
  gap: 5px;
}

.publication-actions .btn {
  padding: 4px 8px;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.publication-actions .btn:hover {
  opacity: 1;
  color: var(--primary) !important;
}

body.dark-mode .publication-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive Resources Pages */
@media (max-width: 768px) {
  .cpd-event-icon {
    width: 50px;
    height: 50px;
  }

  .cpd-event-icon i {
    font-size: 24px;
  }

  .download-icon {
    width: 50px;
    height: 50px;
  }

  .download-icon i {
    font-size: 24px;
  }

  .publication-image-wrapper {
    min-height: 200px;
  }
}

/* ================================
   EVENTS PAGES STYLING
   ================================ */

/* Event Cards */
.event-card-modern {
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.event-card-modern .event-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.event-card-modern .event-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.event-card-modern:hover .event-img-container img {
  transform: scale(1.1);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.event-card-modern:hover .event-overlay {
  opacity: 0.8;
}

.event-date-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 60px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.event-date-badge span {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.event-date-badge small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 4px;
}

.event-details {
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}

body.dark-mode .event-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .event-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* Events Carousel */
#events-carousel .item {
  text-align: center;
  padding: 20px;
  margin-bottom: 40px;
  opacity: 0.5;
  transform: scale3d(0.85, 0.85, 1);
  transition: all 0.3s ease-in-out;
}

#events-carousel .owl-item.active.center .item {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

#events-carousel.owl-carousel .owl-dots .owl-dot.active span,
#events-carousel.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--primary);
  transform: translate3d(0px, -50%, 0px) scale(0.7);
}

#events-carousel.owl-carousel .owl-dots {
  display: inline-block;
  width: 100%;
  text-align: center;
}

#events-carousel.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
}

#events-carousel.owl-carousel .owl-dots .owl-dot span {
  background: var(--primary);
  display: inline-block;
  height: 20px;
  margin: 0 2px 5px;
  transform: translate3d(0px, -50%, 0px) scale(0.3);
  transform-origin: 50% 50% 0;
  transition: all 250ms ease-out 0s;
  width: 20px;
}

/* Contact Page Enhancements */
.contact-info-item {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  transition: all var(--transition-base);
}

.contact-info-item:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

body.dark-mode .contact-info-item {
  background: #2d3348;
}

body.dark-mode .contact-info-item:hover {
  background: #363b54;
}

/* Responsive Events Pages */
@media (max-width: 768px) {
  .event-card-modern .event-img-container {
    height: 180px;
  }

  .event-date-badge {
    padding: 8px;
    min-width: 50px;
  }

  .event-date-badge span {
    font-size: 20px;
  }

  .event-date-badge small {
    font-size: 10px;
  }
}
