/* EIBIC Bootstrap CSS - Complete Implementation with Carousel and Animations */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Root Variables */
:root {
  /* EIBIC Brand Colors */
  --EIBIC-primary: #10b981;
  --EIBIC-secondary: #7c3aed;
  --EIBIC-orange: #ea580c;
  --EIBIC-yellow: #f59e0b;
  --EIBIC-teal: #059669;
  --EIBIC-gray: #64748b;
  --EIBIC-slate: #1e293b;

  /* Bootstrap Color Overrides */
  --bs-primary: #10b981;
  --bs-secondary: #7c3aed;
  --bs-success: #059669;
  --bs-warning: #f59e0b;
  --bs-danger: #dc2626;
  --bs-info: #0ea5e9;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #7c3aed 50%, #ea580c 100%);
  --gradient-hero: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(248, 250, 252, 0.8) 50%, rgba(124, 58, 237, 0.05) 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --section-padding-sm: 3rem 0;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Animations */
  --transition-fast: all 0.15s ease-in-out;
  --transition-normal: all 0.3s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --accent-color: #e74c3c;
  --gold-accent: #f39c12;
  --text-light: #ecf0f1;
  --bg-dark: #34495e;
  --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  --shadow-elegant: 0 25px 50px rgba(0, 0, 0, 0.25);
  --border-radius: 12px;
}

/* Main Content */
.hero-section {
  padding: 0 2rem;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #fff, var(--gold-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gentleDrift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.page-title-section {
  background: linear-gradient(120deg,
    rgba(16, 185, 129, 0.2),
    rgba(124, 58, 237, 0.2),
    rgba(234, 88, 12, 0.2)
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: gentleDrift 60s ease-in-out infinite;

  padding-top: 5rem;
  padding-bottom:2rem;
  font-family: var(--font-family);
  color: var(--EIBIC-slate);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
}

.page-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--EIBIC-slate);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--EIBIC-gray);
}
.cmd-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-family);
  color: var(--EIBIC-slate);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  cursor: default;

  /* subtle border accent using gradient */
  border: 3px solid transparent;
  border-image: linear-gradient(45deg, var(--EIBIC-primary), var(--EIBIC-secondary)) 1;
}
.cmd-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-family);
  color: var(--EIBIC-slate);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  cursor: default;
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, var(--EIBIC-primary), var(--EIBIC-secondary)) 1;
  outline: none;
}

/* Accessible focus + hover effect */
.cmd-card:hover,
.cmd-card:focus-visible {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--EIBIC-primary);
}

/* Optional: subtle animated edge glow */
.cmd-card::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--EIBIC-primary), var(--EIBIC-secondary));
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.cmd-card:hover::before,
.cmd-card:focus-visible::before {
  opacity: 0.3;
}

/* Carousel Container */
.carousel-wrapper {
  max-width: 1400px;
  margin: 5rem auto 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.carousel-container {
  /* background: rgba(255, 255, 255, 0.95); */
  background:linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.5) 50%, rgba(236, 253, 245, 0.3) 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  position: relative;
  /* transform: perspective(1000px) rotateX(5deg); */
  transition: var(--transition-smooth);
  z-index: 1;
}

.carousel-container:hover {
  transform: perspective(1000px) rotateX(0deg);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}

.carousel-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.carousel-item {
  position: relative;
  transition: var(--transition-smooth);
  height: 75vh;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.carousel-item.active img {
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) rotate(0deg);
  }

  100% {
    transform: scale(1.1) rotate(1deg);
  }
}

/* Content Overlay */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 4rem 3rem 3rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.carousel-item.active .slide-content {
  transform: translateY(0);
  opacity: 1;
  animation: slideUp 0.8s ease-out 0.5s both;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.slide-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.slide-btn {
  background: linear-gradient(45deg, var(--accent-color), var(--gold-accent));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.slide-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(231, 76, 60, 0.4);
  color: white;
}

/* Navigation Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 40%;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
  opacity: 0;
}

.carousel-container:hover .carousel-control-prev,
.carousel-container:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
  background-size: 30px;
}

/* Custom Indicators */
.carousel-indicators {
  bottom: 30px;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.carousel-indicators [data-bs-target] {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  margin: 0;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.carousel-indicators .active {
  background: var(--gold-accent);
  width: 80px;
}

/* Side Navigation */
.slide-nav {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.slide-nav-item {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.slide-nav-item:hover,
.slide-nav-item.active {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: white;
  transform: scale(1.1);
}

/* Progress Ring */
.progress-ring {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  z-index: 10;
}

.progress-ring-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 3;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.progress-ring-progress {
  fill: none;
  stroke: var(--gold-accent);
  stroke-width: 3;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.3s ease;
}
/* View All Programs CTA */
.view-all-programs {
  /* margin-top: 4rem; */
  padding: 3rem;
  background: linear-gradient(135deg, #4b2082 0%, #3b1966 100%);
  /* border-radius: 2rem; */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.view-all-programs::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(234, 181, 49, 0.1), transparent);
  animation: rotate 8s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.view-all-programs h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
}

.view-all-programs p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #eab531;
  color:#4b2082;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 300ms ease;
  box-shadow: 0 8px 30px rgba(234, 181, 49, 0.3);
}

.btn-view-all:hover {
  background: white;
  color: #4b2082;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(234, 181, 49, 0.5);
}

.btn-view-all i {
  font-size: 0.875rem;
  transition: transform 300ms ease;
}

.btn-view-all:hover i {
  transform: translateX(5px);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .carousel-item {
    height: 60vh;
  }

  .slide-content {
    padding: 2rem 1.5rem 2rem;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
  }

  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }

  .slide-nav {
    display: none;
  }

  .carousel-container {
    transform: none;
    margin: 0 0.5rem;
  }
  .leadership-profile{
    margin-top: -39.2%!important;
    margin-left: 0px!important;
  }
}

/* Accessibility */
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-indicators [data-bs-target]:focus,
.slide-nav-item:focus {
  outline: 3px solid var(--gold-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Loading Animation */
.carousel-wrapper {
  animation: fadeIn 1.2s ease-out 0.8s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  color: var(--EIBIC-slate);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: var(--EIBIC-primary);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--EIBIC-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--EIBIC-teal);
}

/* Header Styles */
.EIBIC-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition-normal);
}

.EIBIC-header .navbar {
  /* padding: 0.75rem 0; */
  padding: 0;
}

.navbar-brand-container {
  flex: 0 0 auto;
}

.EIBIC-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.EIBIC-logo-img  img{
  width: auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.EIBIC-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--EIBIC-slate);
  margin: 0;
  line-height: 1.2;
}

.EIBIC-brand-subtitle {
  font-size: 0.75rem;
  color: var(--EIBIC-gray);
  margin: 0;
  line-height: 1.2;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  position: relative;
  z-index: 1051;
}

.hamburger {
  width: 24px;
  height: 3px;
  background-color: var(--EIBIC-slate);
  border-radius: 2px;
  transition: var(--transition-normal);
  transform-origin: center;
}

/* Desktop Navigation */
.navbar-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--EIBIC-gray);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--EIBIC-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--EIBIC-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button Styles */
.EIBIC-btn-ghost {
  background: transparent;
  border: none;
  color: var(--EIBIC-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.EIBIC-btn-ghost:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--EIBIC-primary);
}

.EIBIC-btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.EIBIC-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

.EIBIC-btn-outline {
  background: transparent;
  border: 2px solid var(--EIBIC-primary);
  color: var(--EIBIC-primary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.EIBIC-btn-outline:hover {
  background: var(--EIBIC-primary);
  color: white;
}
.leadership-profile {
    position: relative;
    margin-top:-10.2%;
    margin-left:-10px;
    transform: translateY(-50%);
    z-index: 15;
    animation: slideInRight 1s ease forwards;
}
.profile-card{
    max-width: 280px;
    transition: all var(--transition-medium) ease;
    position: relative;
    overflow: hidden;
}
/* Floating Stats */
.floating-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 3s ease-in-out infinite;
}

.stat-1 {
  top: -1rem;
  left: -1rem;
  animation-delay: 0s;
}

.stat-2 {
  bottom: -1rem;
  right: -1rem;
  animation-delay: 1.5s;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.stat-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--EIBIC-slate);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--EIBIC-gray);
  line-height: 1;
}


/* Section Styles */
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--EIBIC-teal);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--EIBIC-slate);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: var(--EIBIC-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Impact Section */
.EIBIC-impact {
  padding: 2rem 0 0 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(248, 250, 252, 0.8) 100%);
  margin-top: -8%;
}

.impact-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.impact-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--EIBIC-slate);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.impact-label {
  font-size: 1rem;
  color: var(--EIBIC-gray);
  font-weight: 500;
}

/* Programmes Section */
.EIBIC-programmes {
  padding: var(--section-padding);
}
/* Background Effects */
.EIBIC-programmes::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.EIBIC-programmes::after {
  content: '';
  position: absolute;
  bottom: 25%;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.programme-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
}

.programme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.programme-image {
  position: relative;
  overflow: hidden;
}

.programme-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.programme-card:hover .programme-image img {
  transform: scale(1.1);
}

.programme-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.programme-content {
  padding: 1.5rem;
}

.programme-meta {
  font-size: 0.75rem;
  color: var(--EIBIC-gray);
  margin-bottom: 0.75rem;
}

.programme-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--EIBIC-slate);
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.programme-link {
  color: var(--EIBIC-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.programme-link:hover {
  color: var(--EIBIC-teal);
}

/* Success Section */
.EIBIC-success {
  padding: var(--section-padding);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(248, 250, 252, 0.8) 100%);
}

.success-video {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.success-video-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--EIBIC-primary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.video-play-btn:hover {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.success-content {
  padding-left: 2rem;
}

.success-quote {
  font-size: 1.25rem;
  color: var(--EIBIC-slate);
  font-style: italic;
  line-height: 1.6;
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 4px solid var(--EIBIC-primary);
}

.success-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.author-avatar {
  position: relative;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: var(--EIBIC-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.author-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--EIBIC-slate);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: var(--EIBIC-gray);
  margin-bottom: 0.25rem;
}

.author-location {
  font-size: 0.75rem;
  color: var(--EIBIC-gray);
  display: flex;
  align-items: center;
}

.success-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.success-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(16, 185, 129, 0.1);
  color: var(--EIBIC-teal);
}

.badge-secondary {
  background: rgba(124, 58, 237, 0.1);
  color: var(--EIBIC-secondary);
}

/* Sponsors Section */
.EIBIC-sponsors {
  padding: var(--section-padding);
  background: rgba(248, 250, 252, 0.5);
}

.sponsor-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-normal);
}

.sponsor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sponsor-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--EIBIC-slate);
  line-height: 1.3;
}

/* CTA Section */
.EIBIC-cta {
  padding: var(--section-padding);
  background: var(--gradient-brand);
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.EIBIC-btn-cta-primary {
  background: white;
  color: var(--EIBIC-primary);
  border: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.EIBIC-btn-cta-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  color: var(--EIBIC-primary);
}

.EIBIC-btn-cta-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.EIBIC-btn-cta-outline:hover {
  background: white;
  color: var(--EIBIC-primary);
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0.8;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

/* Footer */
.EIBIC-footer {
  background: var(--EIBIC-slate);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.footer-brand-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.2;
}

.footer-description {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--EIBIC-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: end;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--EIBIC-primary);
  color: white;
  transform: translateY(-2px);
}
.bg-secondary{
  background-color: rgb(74 20 140)!important;
  color: #fff;
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Responsive Design */
@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
  }

  .hero-indicators {
    flex-direction: row;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .cta-features {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 3rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .success-content {
    padding-left: 3rem;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 4rem;
  }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .nav-toggle-label {
    display: flex;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
  }

  .nav-toggle:checked~.navbar-collapse {
    transform: translateX(0);
  }

  .navbar-nav {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .nav-link {
    font-size: 1.25rem;
    text-align: center;
  }

  .navbar-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar-actions .btn {
    min-width: 150px;
  }

  /* Hamburger Animation */
  .nav-toggle:checked+.nav-toggle-label .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle:checked+.nav-toggle-label .hamburger:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked+.nav-toggle-label .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Hero Adjustments */
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .floating-stat {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .success-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .footer-social {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .impact-number {
    font-size: 2rem;
  }
}

/* Print Styles */
@media print {

  .EIBIC-header,
  .nav-toggle-label {
    display: none !important;
  }

  .EIBIC-hero {
    height: auto !important;
  }

  * {
    box-shadow: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {

  .hero-badge,
  .section-badge {
    background: var(--EIBIC-primary);
    color: white;
  }

  .programme-category {
    background: var(--EIBIC-primary);
  }

  .sponsor-card {
    border: 2px solid var(--EIBIC-slate);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .carousel-container {
    transition: none;
  }

  .floating-stat {
    animation: none;
  }
}
/***inner page****/

/* Hero Section */
        .innerpage-hero-section {
            background: var(--gradient-hero);
            padding: 3rem 0;
            min-height: 70vh;
            position: relative;
            overflow: hidden;
        }

        .innerpage-hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%2310b981" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            pointer-events: none;
        }

        .innerpage-hero-content {
            position: relative;
            z-index: 2;
        }

        .innerpage-hero-title {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 700;
            background: var(--gradient-brand);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .innerpage-hero-subtitle {
            font-size: 1.25rem;
            color: var(--EIBIC-gray);
            margin-bottom: 2rem;
            font-weight: 400;
        }

        .innerpage-hero-description {
            font-size: 1.1rem;
            color: var(--EIBIC-slate);
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }

        .innerpage-hero-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-xl);
            transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
            transition: var(--transition-slow);
        }

        .innerpage-hero-image:hover {
            transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
        }

        .innerpage-hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-slow);
        }

        .innerpage-hero-image:hover img {
            transform: scale(1.05);
        }

        /* CTA Buttons */
        .btn-primary-custom {
            background: var(--gradient-primary);
            border: none;
            padding: 0.75rem 2rem;
            font-weight: 600;
            border-radius: 50px;
            color: white;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: var(--shadow-md);
            transition: var(--transition-normal);
        }

        .btn-primary-custom:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
            color: white;
        }

        .btn-outline-custom {
            border: 2px solid var(--EIBIC-primary);
            color: var(--EIBIC-primary);
            padding: 0.75rem 2rem;
            font-weight: 600;
            border-radius: 50px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition-normal);
            background: transparent;
        }

        .btn-outline-custom:hover {
            background: var(--EIBIC-primary);
            color: white;
            transform: translateY(-2px);
        }

        /* Accordion Section */
        .innerpage-programmes-section {
            padding: var(--section-padding);
            background: #f8fafc;
        }

        .innerpage-section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .innerpage-section-title {
            font-size: clamp(2rem, 4vw, 2.75rem);
            font-weight: 700;
            color: var(--EIBIC-slate);
            margin-bottom: 1rem;
        }

        .innerpage-section-subtitle {
            font-size: 1.2rem;
            color: var(--EIBIC-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Custom Accordion */
        .accordion-custom {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            background: white;
        }

        .accordion-custom .accordion-item {
            border: none;
            border-bottom: 1px solid #e2e8f0;
        }

        .accordion-custom .accordion-item:last-child {
            border-bottom: none;
        }

        .accordion-custom .accordion-header {
            border: none;
        }

        .accordion-custom .accordion-button {
            padding: 1.5rem 2rem;
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--EIBIC-slate);
            background: white;
            border: none;
            box-shadow: none;
            transition: var(--transition-normal);
        }

        .accordion-custom .accordion-button:not(.collapsed) {
            background: linear-gradient(135deg, var(--EIBIC-primary), var(--EIBIC-teal));
            color: white;
        }

        .accordion-custom .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
            border: none;
        }

        .accordion-custom .accordion-button::after {
            background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
            transform: scale(1.2);
            transition: var(--transition-normal);
        }

        .accordion-custom .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
            transform: rotate(180deg) scale(1.2);
        }

        .accordion-custom .accordion-body {
            padding: 2rem;
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
        }

        .innerpage-programme-card {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .innerpage-programme-card:last-child {
            margin-bottom: 0;
        }

        .innerpage-programme-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .innerpage-programme-content h5 {
            color: var(--EIBIC-slate);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .innerpage-programme-content p {
            color: var(--EIBIC-gray);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .innerpage-programme-stats {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: var(--EIBIC-gray);
        }

        .stat-item i {
            color: var(--EIBIC-primary);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.8s ease-out forwards;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            :root {
                --section-padding: 3rem 0;
            }

            .innerpage-hero-section {
                padding: 3rem 0;
                min-height: 60vh;
            }

            .innerpage-hero-image {
                margin-top: 2rem;
                transform: none;
            }

            .innerpage-hero-image:hover {
                transform: none;
            }

            .innerpage-programme-card {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .innerpage-programme-stats {
                justify-content: center;
            }
            .innerpage-section-title{
              font-size:1.2rem;
            }
            .accordion-custom .accordion-button {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }

            .accordion-custom .accordion-body {
                padding: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .btn-primary-custom,
            .btn-outline-custom {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
            }

            .innerpage-programme-stats {
                flex-direction: column;
                gap: 1rem;
            }
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .innerpage-hero-title {
                background: none;
                background-clip: unset;
                -webkit-background-clip: unset;
                -webkit-text-fill-color: unset;
                color: var(--EIBIC-slate);
            }
        }

        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        .innerpage-section-title{
              font-size:1.5rem;
            }
        /* Timeline Layout */
.timeline {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--EIBIC-gray);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.timeline-item .time {
  font-size: 0.875rem;
  color: var(--EIBIC-gray);
  margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .timeline-item {
    padding-left: 0.5rem;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }
}
.gallery-card {
  height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.gallery-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-card img.object-cover {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  text-align: center;
  padding: 10px 5px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gallery-card:hover .gallery-caption {
  opacity: 1;
}
/* Lightbox Nav Buttons */
.modal .lightbox-nav-btn {
  background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
  color: #fff;                          /* White icon */
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure buttons are visible on small screens */
@media (max-width: 576px) {
  .modal .lightbox-nav-btn {
    width: 36px;
    height: 36px;
  }
}