/* Custom Styles for Actuaries of Bermuda */

/* Color Variables (using CSS custom properties) */
:root {
  --primary-purple: #afacfa;
  --primary-pink: #ff8fea;
  --primary-blue: #0054a3;
  --white: #ffffff;
  --dark: #333333;
  --light-gray: #f8f9fa;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Nunito', sans-serif;
}

/* General Body Styles */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
}

/* ========================================
   CONTACT BAR SECTION
======================================== */
.contact-bar {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-bar .contact-info {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .contact-bar .contact-item {
    margin-bottom: 5px;
    margin-right: 0 !important;
  }
}

.contact-bar .contact-item a {
  color: var(--white);
  transition: all 0.3s ease;
}

.contact-bar .contact-item a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-bar .social-links {
    justify-content: flex-start !important;
    margin-top: 10px;
  }
}

.contact-bar .social-link {
  color: var(--white);
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-bar .social-link:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px) scale(1.1);
}

.contact-bar .about-link {
  font-weight: 500;
}

.contact-bar .about-link:hover {
  text-decoration: underline !important;
}


/* ========================================
   NAVIGATION BAR SECTION
======================================== */

.main-navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.main-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.main-navbar .navbar-brand:hover {
  color: var(--primary-purple);
  transform: translateY(-1px);
}

.main-navbar .navbar-brand .logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.main-navbar .navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.main-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.main-navbar .nav-link {
  font-weight: 500;
  color: var(--dark);
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.main-navbar .nav-link:hover {
  color: var(--primary-purple);
  background: rgba(175, 172, 250, 0.1);
  transform: translateY(-2px);
}

/* Removed the blinking/clicking effect and made active state consistent */
.main-navbar .nav-link.active,
.main-navbar .nav-link:active,
.main-navbar .nav-link:focus {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  box-shadow: 0 4px 15px rgba(175, 172, 250, 0.3);
  outline: none;
}

/* FIXED: Enhanced dropdown menu with better hover area */
.main-navbar .dropdown {
  position: relative;
}

.main-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 0;
  margin-top: 5px; /* Reduced gap to prevent hover loss */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease; /* Faster transition */
  pointer-events: none; /* Prevent interference when hidden */
}

/* FIXED: Better hover behavior for desktop */
@media (min-width: 992px) {
  .main-navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Add hover bridge to prevent dropdown from disappearing */
  .main-navbar .dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px; /* Bridge gap */
    background: transparent;
    z-index: 999;
  }

  .main-navbar .dropdown-menu {
    z-index: 1000;
  }
}

/* Show dropdown when has show class (for click/mobile behavior) */
.main-navbar .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.main-navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.main-navbar .dropdown-menu .dropdown-item:hover {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  transform: translateX(5px);
}

/* Mobile-specific styles */
@media (max-width: 991.98px) {
  .main-navbar .navbar-nav .nav-item {
    margin: 8px 0;
  }

  .main-navbar .nav-link {
    margin: 0;
    padding: 12px 20px !important;
    text-align: center;
  }

  /* Mobile dropdown styles */
  .main-navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin-top: 5px !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    background: rgba(175, 172, 250, 0.05) !important;
    border-radius: 8px !important;
    transform: none !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: auto !important; /* Allow clicks on mobile */
  }

  /* Mobile show state */
  .main-navbar .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 300px !important;
    animation: slideDown 0.3s ease forwards !important;
  }

  .main-navbar .dropdown-menu .dropdown-item {
    padding: 8px 25px !important;
    font-size: 0.9rem !important;
  }

  /* Remove hover bridge on mobile */
  .main-navbar .dropdown::before {
    display: none;
  }

  /* Animation for mobile dropdown */
  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 300px;
    }
  }
}

/* ========================================
   BANNER SECTION - FULL SCREEN CAROUSEL
======================================== */
.banner-section {
  position: relative;
  height: 100vh; /* Full viewport height */
  min-height: 100vh; /* Ensure it takes full screen */
  overflow: hidden;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .banner-section {
    height: 100vh;
    min-height: 100vh;
  }
}

.banner-section .carousel,
.banner-section .carousel-inner,
.banner-section .carousel-item,
.banner-section .banner-slide {
  height: 100%; /* All elements take full height */
}

.banner-section .banner-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-section .banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 84, 163, 0.7), rgba(175, 172, 250, 0.5), rgba(255, 143, 234, 0.3));
}

.banner-section .banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0;
}

/* Layout for first slide - image left, text right */
.banner-section .banner-layout-horizontal {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

@media (max-width: 992px) {
  .banner-section .banner-layout-horizontal {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 30px;
  }
}

.banner-section .banner-image-left {
  flex-shrink: 0;
}

.banner-section .banner-image-left img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .banner-section .banner-image-left img {
    width: 140px;
    height: 140px;
  }
}

.banner-section .banner-text-right {
  flex: 1;
  text-align: left;
}

@media (max-width: 992px) {
  .banner-section .banner-text-right {
    text-align: center;
  }
}

.banner-section .banner-text-right h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0; /* Remove bottom margin since no button */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .banner-section .banner-text-right h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .banner-section .banner-text-right h2 {
    font-size: 1.2rem;
  }
}

/* Centered layout for other slides */
.banner-section .banner-image {
  margin-bottom: 25px;
}

.banner-section .banner-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .banner-section .banner-image img {
    width: 120px;
    height: 120px;
  }
}

.banner-section .banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0; /* Remove bottom margin since no button */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}

@media (max-width: 768px) {
  .banner-section .banner-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .banner-section .banner-title {
    font-size: 1.6rem;
  }
}

.banner-section .banner-subtitle {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0; /* Remove bottom margin since no button */
  opacity: 0.95;
  animation: slideInUp 1s ease-out 0.3s both;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .banner-section .banner-subtitle {
    font-size: 1rem;
  }
}

/* Carousel Controls */
.banner-section .custom-carousel-control {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  opacity: 1;
  cursor: pointer;
}

.banner-section .carousel-control-prev {
  left: 30px;
}

.banner-section .carousel-control-next {
  right: 30px;
}

.banner-section .custom-carousel-control:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.15);
}

.banner-section .custom-carousel-control i {
  font-size: 26px;
  color: var(--white);
}

@media (max-width: 768px) {
  .banner-section .custom-carousel-control {
    width: 50px;
    height: 50px;
  }

  .banner-section .carousel-control-prev {
    left: 15px;
  }

  .banner-section .carousel-control-next {
    right: 15px;
  }

  .banner-section .custom-carousel-control i {
    font-size: 22px;
  }
}

/* Carousel Indicators */
.banner-section .carousel-indicators {
  bottom: 30px;
  margin-bottom: 0;
}

.banner-section .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  margin: 0 6px;
  transition: all 0.3s ease;
  opacity: 1;
}

.banner-section .carousel-indicators button.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Remove spacing issues */
.banner-section + section {
  margin-top: 0;
  padding-top: 80px;
}

/* ========================================
   UPDATED ABOUT SECTION
======================================== */
.about-section {
  background: var(--light-gray);
  padding: 80px 0;
}

.about-section .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .about-section .section-title {
    font-size: 2.2rem;
  }
}

.about-section .title-underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  margin: 0 auto 50px;
  border-radius: 2px;
}

.about-section .welcome-content {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .about-section .welcome-content {
    padding: 30px 20px;
  }
}

.about-section .welcome-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

.about-section .welcome-intro {
  font-size: 1.2rem;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 400;
}

@media (max-width: 768px) {
  .about-section .welcome-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
}

.about-section .missions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .about-section .missions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }
}

.about-section .mission-item {
  display: flex;
  align-items: flex-start;
  padding: 25px;
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.05), rgba(255, 143, 234, 0.05));
  border-radius: 15px;
  border-left: 5px solid var(--primary-purple);
  transition: all 0.3s ease;
  position: relative;
}

.about-section .mission-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.1), rgba(255, 143, 234, 0.1));
}

.about-section .mission-item:nth-child(even) {
  border-left-color: var(--primary-pink);
}

.about-section .mission-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(175, 172, 250, 0.3);
  transition: all 0.3s ease;
}

.about-section .mission-item:hover .mission-icon {
  transform: scale(1.1) rotate(5deg);
}

.about-section .mission-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.about-section .mission-content h4 {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.about-section .mission-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.about-section .join-call-to-action {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(0, 84, 163, 0.05), rgba(175, 172, 250, 0.1));
  border-radius: 15px;
  border: 2px solid rgba(175, 172, 250, 0.2);
  position: relative;
  overflow: hidden;
}

.about-section .join-call-to-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.about-section .cta-text {
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-section .cta-text strong {
  color: var(--primary-blue);
  font-weight: 600;
}

.about-section .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .about-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-section .cta-buttons .btn {
    width: 200px;
    margin: 0 0 10px 0 !important;
  }
}

.about-section .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.about-section .btn-primary {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(175, 172, 250, 0.3);
}

.about-section .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(175, 172, 250, 0.4);
  color: var(--white);
}

.about-section .btn-outline-primary {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.about-section .btn-outline-primary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 84, 163, 0.3);
}

/* Animation for mission items on scroll */
.about-section .mission-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.about-section .mission-item:nth-child(1) {
  animation-delay: 0.1s;
}

.about-section .mission-item:nth-child(2) {
  animation-delay: 0.2s;
}

.about-section .mission-item:nth-child(3) {
  animation-delay: 0.3s;
}

.about-section .mission-item:nth-child(4) {
  animation-delay: 0.4s;
}

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

/* ========================================
   TEAM SECTION - FINAL COMPLETE CSS
======================================== */
.team-section {
  background: var(--white);
}

.team-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .team-section .section-title {
    font-size: 2rem;
  }
}

.team-section .title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.team-section .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ===== TEAM CARD - FIXED HEIGHT & UNIFORM DESIGN ===== */
.team-section .team-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-section .team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.team-section .team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  border-color: rgba(175, 172, 250, 0.3);
}

/* ===== FIXED SQUARE IMAGE CONTAINER ===== */
.team-section .team-image-container {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.05), rgba(255, 143, 234, 0.05));
  position: relative;
  flex-shrink: 0;
}

.team-section .team-image-circle-wrapper {
  width: 180px;
  height: 180px;
  position: relative;
}

/* ===== CIRCULAR IMAGE - FILLS THE WRAPPER ===== */
.team-section .team-image-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--primary-purple), var(--primary-pink)) border-box;
  box-shadow: 0 8px 25px rgba(175, 172, 250, 0.3);
  transition: all 0.4s ease;
}

.team-section .team-card:hover .team-image-circle {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(175, 172, 250, 0.5);
}

/* ===== IMAGE PLACEHOLDER - SAME CIRCULAR STYLE ===== */
.team-section .team-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.1), rgba(255, 143, 234, 0.1));
  border: 5px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(white, white),
    linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(175, 172, 250, 0.2);
  transition: all 0.4s ease;
}

.team-section .team-card:hover .team-image-placeholder {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(175, 172, 250, 0.4);
}

.team-section .team-image-placeholder i {
  font-size: 5rem;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

/* ===== TEAM INFO SECTION - FIXED LAYOUT ===== */
.team-section .team-info {
  padding: 25px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-section .team-name {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* ===== TITLE BADGE WITH BACKGROUND ===== */
.team-section .team-position-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(175, 172, 250, 0.3);
}

/* ===== BIO WITH FIXED HEIGHT & SEE MORE BUTTON ===== */
.team-section .team-bio-wrapper {
  flex: 1;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-section .team-bio {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
  height: 76px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.team-section .see-more-btn {
  background: none;
  border: none;
  color: var(--primary-purple);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.team-section .see-more-btn:hover {
  background: rgba(175, 172, 250, 0.1);
  color: var(--primary-pink);
}

/* ===== CONTACT LINKS - ENHANCED LINKEDIN & EMAIL ===== */
.team-section .team-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid rgba(175, 172, 250, 0.2);
  margin-top: auto;
}

.team-section .contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.1), rgba(255, 143, 234, 0.1));
  color: var(--primary-purple);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.team-section .contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(175, 172, 250, 0.4);
  text-decoration: none;
}

/* ===== EMAIL LINK - WITH TEXT ===== */
.team-section .email-link {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 82, 82, 0.1));
  color: #dc3545;
  font-weight: 600;
}

.team-section .email-link:hover {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: var(--white);
}

.team-section .email-link .link-text {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.team-section .email-link i {
  font-size: 1.3rem;
}

/* ===== LINKEDIN LINK - PROMINENT WITH TEXT ===== */
.team-section .linkedin-link {
  background: linear-gradient(135deg, rgba(0, 119, 181, 0.1), rgba(0, 102, 204, 0.1));
  color: #0077b5;
  font-weight: 600;
}

.team-section .linkedin-link:hover {
  background: linear-gradient(135deg, #0077b5, #005582);
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
}

.team-section .linkedin-link .link-text {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.team-section .linkedin-link i {
  font-size: 1.3rem;
}

/* ===== BIO MODAL ===== */
.bio-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

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

.bio-modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.bio-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bio-modal-close:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  transform: rotate(90deg);
}

.modal-member-name {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.modal-member-title {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(175, 172, 250, 0.3);
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.modal-bio-text {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
  margin-top: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .team-section .team-card {
    min-height: 480px;
  }

  .team-section .team-image-container {
    height: 200px;
  }

  .team-section .team-image-circle-wrapper {
    width: 160px;
    height: 160px;
  }

  .team-section .team-image-placeholder i {
    font-size: 4rem;
  }

  .team-section .team-name {
    font-size: 1.2rem;
  }

  .team-section .team-position-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .team-section .team-bio {
    font-size: 0.9rem;
  }

  .team-section .linkedin-link .link-text,
  .team-section .email-link .link-text {
    font-size: 0.85rem;
  }

  .bio-modal-content {
    padding: 30px 20px;
    width: 95%;
  }

  .modal-member-name {
    font-size: 1.5rem;
  }

  .modal-bio-text {
    font-size: 1rem;
  }
}


/* ========================================
   CLUBS SECTION
======================================== */
.clubs-section {
  background: var(--light-gray);
}

.clubs-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .clubs-section .section-title {
    font-size: 2rem;
  }
}

.clubs-section .title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.clubs-section .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.clubs-section .club-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.clubs-section .club-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.clubs-section .club-card .club-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.clubs-section .club-card .club-icon i {
  font-size: 2rem;
  color: var(--white);
}

.clubs-section .club-card:hover .club-icon {
  transform: scale(1.1) rotate(5deg);
}

.clubs-section .club-card h4 {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 15px;
}

.clubs-section .club-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.clubs-section .club-card .club-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.clubs-section .club-card .club-features li {
  color: #666;
  padding: 5px 0;
  position: relative;
}

.clubs-section .club-card .club-features li:before {
  content: '✓';
  color: var(--primary-purple);
  font-weight: bold;
  margin-right: 10px;
}

.clubs-section .club-card .btn {
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.clubs-section .club-card .btn:hover {
  transform: translateY(-2px);
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(175, 172, 250, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

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

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(175, 172, 250, 0.4);
}

.scroll-to-top i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ========================================
   FOOTER SECTION
======================================== */
.footer-section {
  background: linear-gradient(135deg, var(--primary-blue), #003d7a);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-section h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h5:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

.footer-section .footer-links {
  list-style: none;
  padding: 0;
}

.footer-section .footer-links li {
  margin-bottom: 8px;
}

.footer-section .footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section .footer-links li a:hover {
  color: var(--primary-purple);
  transform: translateX(5px);
  display: inline-block;
}

.footer-section .footer-contact p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section .footer-socials a {
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-section .footer-socials a:hover {
  color: var(--primary-purple);
  transform: translateY(-3px) scale(1.2);
}

.footer-section .query-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 8px;
}

.footer-section .query-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer-section .query-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-purple);
  color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(175, 172, 250, 0.25);
}

.footer-section .query-form .btn {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-section .query-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(175, 172, 250, 0.3);
}

.footer-section .footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 30px 0 20px;
}

.footer-section .copyright-text {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE UTILITIES
======================================== */
@media (max-width: 768px) {
  .banner-section .container,
  .about-section .container,
  .team-section .container,
  .clubs-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .team-card .team-image img,
  .club-card {
    margin-bottom: 30px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section .footer-socials,
  .footer-section .social-links {
    justify-content: center !important;
  }
}

/* ========================================
   SMOOTH SCROLLING
======================================== */
html {
  scroll-behavior: smooth;
}




/* Events Page Styles */

/* Hero Section */
.events-hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  padding: 80px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.events-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.1);
  backdrop-filter: blur(1px);
}

.events-main-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.events-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Filter Section */
.events-filter-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.filter-buttons-wrapper {
  background: var(--white);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  gap: 4px;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.filter-btn:hover {
  background: rgba(175, 172, 250, 0.1);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 84, 163, 0.3);
}

/* Event Cards */
.event-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
  position: relative;
}

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

/* Event Status Badge */
.event-status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-status-badge.upcoming {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.event-status-badge.past {
  background: rgba(107, 114, 128, 0.9);
  color: white;
}

/* Event Image */
.event-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.event-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

/* Event Card Body */
.event-card-body {
  padding: 25px;
}

.event-type-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.event-description {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Event Meta */
.event-meta {
  margin-bottom: 25px;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-secondary);
  color: #4b5563;
  font-size: 0.9rem;
}

.meta-item i {
  color: var(--primary-blue);
  width: 16px;
}

/* Event Actions */
.event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-event-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border: none;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-event-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 84, 163, 0.3);
  color: var(--white);
}

.btn-event-secondary {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-event-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* No Events State */
.no-events-state {
  padding: 80px 0;
}

.no-events-icon {
  font-size: 4rem;
  color: var(--primary-purple);
  margin-bottom: 20px;
}

.no-events-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.no-events-text {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-main-title {
    font-size: 2.5rem;
  }

  .events-subtitle {
    font-size: 1.1rem;
  }

  .filter-buttons-wrapper {
    flex-direction: column;
    padding: 15px;
    border-radius: 20px;
  }

  .filter-btn {
    justify-content: center;
    padding: 15px;
    margin-bottom: 5px;
  }

  .event-actions {
    flex-direction: column;
  }

  .btn-event-primary,
  .btn-event-secondary {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .events-hero-section {
    padding: 60px 0 40px;
  }

  .events-main-title {
    font-size: 2rem;
  }

  .event-card-body {
    padding: 20px;
  }

  .event-image-wrapper {
    height: 180px;
  }
}




/* Quick Info Card *//* Event Preview Page Styles */

/* Hero Section */
.preview-event-hero-section {
  position: relative;
  margin-bottom: 0;
}

.preview-event-hero-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
}

.preview-event-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-event-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 84, 163, 0.8), rgba(175, 172, 250, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.preview-event-hero-content {
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.preview-event-hero-no-image {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  border-radius: 20px;
  margin-bottom: 2rem;
}

.preview-event-type-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.preview-event-hero-no-image .preview-event-type-badge {
  background: var(--primary-purple);
  color: var(--white);
}

.preview-event-hero-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.preview-event-status-indicator {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
}

.preview-event-status-indicator.upcoming {
  background: rgba(16, 185, 129, 0.2);
  color: var(--white);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.preview-event-status-indicator.past {
  background: rgba(107, 114, 128, 0.2);
  color: var(--white);
  border: 1px solid rgba(107, 114, 128, 0.5);
}

.preview-event-hero-no-image .preview-event-status-indicator.upcoming {
  background: rgba(16, 185, 129, 1);
  color: var(--white);
}

.preview-event-hero-no-image .preview-event-status-indicator.past {
  background: rgba(107, 114, 128, 1);
  color: var(--white);
}

/* Card Styles */
.event-details-card,
.speaker-section-card,
.content-gallery-card,
.preview-action-card,
.preview-info-card,
.preview-map-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
}

.preview-card-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  padding: 20px 25px;
  border: none;
}

.preview-section-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.preview-card-body {
  padding: 25px;
}

/* Event Details */
.event-description {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark);
}

.preview-detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.preview-detail-item i {
  color: var(--primary-blue);
  width: 20px;
  margin-right: 8px;
}

.preview-detail-item strong {
  margin-right: 10px;
  min-width: 100px;
}

/* Speaker Section */
.preview-speaker-photo {
  text-align: center;
}

.preview-speaker-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid var(--primary-purple);
  box-shadow: 0 8px 20px rgba(175, 172, 250, 0.3);
}

.preview-speaker-name {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.preview-speaker-bio {
  font-family: var(--font-secondary);
  color: #4b5563;
  line-height: 1.6;
}

.btn-preview-linkedin {
  background: #0077b5;
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-preview-linkedin:hover {
  background: #005885;
  color: var(--white);
  transform: translateY(-2px);
}

/* Content Gallery */
.preview-content-item {
  position: relative;
  margin-bottom: 20px;
}

.preview-content-media {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.preview-content-image {
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.preview-content-image:hover {
  transform: scale(1.05);
}

.preview-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-size: 2rem;
}

.preview-content-media:hover .preview-content-overlay {
  opacity: 1;
}

.preview-video-content {
  background: var(--light-gray);
  padding: 20px;
  text-align: center;
}

.preview-youtube-embed {
  position: relative;
  width: 100%;
  height: 200px;
}

.preview-youtube-embed iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.preview-video-placeholder {
  padding: 40px 20px;
}

.preview-video-placeholder i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.preview-content-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.preview-content-subtitle {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

/* Action Card */
.preview-action-card {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  text-align: center;
}

.preview-action-card h3 {
  color: var(--white);
  font-family: var(--font-primary);
}

.btn-preview-primary {
  background: var(--white);
  color: var(--primary-blue);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-preview-primary:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-preview-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-preview-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-preview-action {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-preview-action:hover {
  background: linear-gradient(135deg, #e879d3, #9c99f0);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 143, 234, 0.3);
}

/* Quick Info Card */
.preview-info-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--light-gray);
}

.preview-info-item:last-child {
  border-bottom: none;
}

.preview-info-item i {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-right: 15px;
  width: 20px;
}

.preview-info-item div {
  flex: 1;
}

.preview-info-item strong {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.preview-info-item span {
  font-family: var(--font-secondary);
  color: #6b7280;
}

/* Map Section */
.preview-event-map {
  height: 400px;
  width: 100%;
}

.preview-map-footer {
  background: var(--light-gray);
  border-top: 1px solid #e5e7eb;
}

.preview-map-footer h5 {
  font-family: var(--font-primary);
  color: var(--dark);
  margin: 0;
}

.preview-map-footer .text-muted {
  font-family: var(--font-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .preview-event-hero-title {
    font-size: 2.2rem;
  }

  .preview-speaker-photo img {
    width: 100px;
    height: 100px;
  }

  .preview-speaker-name {
    font-size: 1.5rem;
  }

  .preview-content-image,
  .preview-youtube-embed {
    height: 180px;
  }

  .preview-info-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .preview-info-item i {
    margin-bottom: 5px;
  }
}

@media (max-width: 576px) {
  .preview-event-hero-section {
    margin: 0 -15px;
  }

  .preview-event-hero-image {
    height: 300px;
    border-radius: 0;
  }

  .preview-event-hero-overlay {
    border-radius: 0;
  }

  .preview-event-hero-title {
    font-size: 1.8rem;
  }

  .preview-card-body {
    padding: 20px;
  }

  .preview-event-map {
    height: 300px;
  }
}



/* Gallery Page Styles */

/* Hero Section */
.gallery-hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  padding: 80px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.gallery-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.1);
  backdrop-filter: blur(1px);
}

.gallery-main-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.gallery-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Filter Section */
.gallery-filter-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.gallery-filter-wrapper {
  background: var(--white);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: transparent;
  border: none;
  padding: 12px 20px;
  border-radius: 40px;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  white-space: nowrap;
}

.gallery-filter-btn:hover {
  background: rgba(175, 172, 250, 0.1);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 84, 163, 0.3);
}

/* Gallery Items */
.gallery-item-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  height: 100%;
}

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

/* Content Type Badge */
.gallery-content-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-content-badge.images {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.gallery-content-badge.videos {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.gallery-content-badge.youtube {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.gallery-content-badge.other {
  background: rgba(107, 114, 128, 0.9);
  color: white;
}

/* Media Containers */
.gallery-media-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

/* Image Container */
.gallery-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
}

.gallery-image-container:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 600;
}

.gallery-overlay-content i {
  font-size: 2rem;
  display: block;
}

/* Video Container */
.gallery-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.gallery-video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0.8;
  pointer-events: none;
}

/* YouTube Container */
.gallery-youtube-container {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
}

.gallery-youtube-embed {
  width: 100%;
  height: 100%;
}

.gallery-youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-youtube-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.gallery-youtube-placeholder i {
  font-size: 3rem;
  color: #ef4444;
  margin-bottom: 10px;
}

.gallery-youtube-placeholder span {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}

/* File Container */
.gallery-file-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  background: var(--light-gray);
}

.gallery-file-icon {
  font-size: 4rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.gallery-file-info .file-name {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 10px;
  word-break: break-all;
}

/* Gallery Info */
.gallery-info {
  padding: 20px;
}

.gallery-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.gallery-subtitle-text {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.gallery-event-tag,
.gallery-category-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-family: var(--font-secondary);
}

.gallery-event-tag {
  margin-right: 15px;
}

.gallery-event-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.gallery-event-link:hover {
  color: var(--primary-purple);
}

.gallery-category-tag {
  color: #6b7280;
}

.gallery-date {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 10px;
  border-top: 1px solid var(--light-gray);
  padding-top: 10px;
}

/* No Content State */
.gallery-no-content {
  padding: 80px 0;
}

.gallery-no-content-icon {
  font-size: 4rem;
  color: var(--primary-purple);
  margin-bottom: 20px;
}

.gallery-no-content-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.gallery-no-content-text {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-gallery-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border: none;
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-gallery-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 84, 163, 0.3);
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-main-title {
    font-size: 2.5rem;
  }

  .gallery-subtitle {
    font-size: 1.1rem;
  }

  .gallery-filter-wrapper {
    flex-direction: column;
    padding: 15px;
    border-radius: 20px;
  }

  .gallery-filter-btn {
    justify-content: center;
    padding: 15px;
    margin-bottom: 5px;
  }

  .gallery-media-wrapper {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .gallery-hero-section {
    padding: 60px 0 40px;
  }

  .gallery-main-title {
    font-size: 2rem;
  }

  .gallery-info {
    padding: 15px;
  }

  .gallery-media-wrapper {
    height: 180px;
  }

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






/* Sessions Page Styles */

/* Hero Section - Smaller */
.sessions-hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  padding: 50px 0 40px; /* Reduced from 80px to 50px */
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sessions-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.1);
  backdrop-filter: blur(1px);
}

.sessions-main-title {
  font-family: var(--font-primary);
  font-size: 2.8rem; /* Reduced from 3.5rem */
  font-weight: 700;
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  position: relative;
  z-index: 1;
}

.sessions-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.1rem; /* Reduced from 1.25rem */
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Filter Section */
.sessions-filter-section {
  margin-top: -20px; /* Reduced from -30px */
  position: relative;
  z-index: 10;
}

.sessions-filter-wrapper {
  background: var(--white);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  gap: 4px;
}

.sessions-filter-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.sessions-filter-btn:hover {
  background: rgba(175, 172, 250, 0.1);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.sessions-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 84, 163, 0.3);
}

/* Session Cards */
.sessions-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
  position: relative;
}

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

/* Session Method Badge */
.sessions-method-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sessions-method-badge.online {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.sessions-method-badge.offline {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.sessions-method-badge.other {
  background: rgba(107, 114, 128, 0.9);
  color: white;
}

/* Session Image */
.sessions-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.sessions-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

/* Session Card Body */
.sessions-card-body {
  padding: 25px;
}

.sessions-category-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sessions-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.sessions-description {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Session Meta */
.sessions-meta {
  margin-bottom: 20px;
}

.sessions-meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--font-secondary);
  color: #4b5563;
  font-size: 0.9rem;
}

.sessions-meta-item i {
  color: var(--primary-blue);
  width: 16px;
}

/* Session Price */
.sessions-price {
  background: var(--light-gray);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid rgba(175, 172, 250, 0.2);
}

.sessions-price-label {
  display: block;
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.sessions-price-amount {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Session Actions */
.sessions-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sessions-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border: none;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

.btn-sessions-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 84, 163, 0.3);
  color: var(--white);
}

.btn-sessions-secondary {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

.btn-sessions-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sessions-disabled {
  background: #9ca3af;
  border: none;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  cursor: not-allowed;
  flex: 1;
  justify-content: center;
}

/* No Content State */
.sessions-no-content {
  padding: 80px 0;
}

.sessions-no-content-icon {
  font-size: 4rem;
  color: var(--primary-purple);
  margin-bottom: 20px;
}

.sessions-no-content-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.sessions-no-content-text {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sessions-main-title {
    font-size: 2.2rem;
  }

  .sessions-subtitle {
    font-size: 1rem;
  }

  .sessions-filter-wrapper {
    flex-direction: column;
    padding: 15px;
    border-radius: 20px;
  }

  .sessions-filter-btn {
    justify-content: center;
    padding: 15px;
    margin-bottom: 5px;
  }

  .sessions-actions {
    flex-direction: column;
  }

  .btn-sessions-primary,
  .btn-sessions-secondary,
  .btn-sessions-disabled {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .sessions-hero-section {
    padding: 40px 0 30px; /* Even smaller on mobile */
  }

  .sessions-main-title {
    font-size: 1.8rem;
  }

  .sessions-card-body {
    padding: 20px;
  }

  .sessions-image-wrapper {
    height: 180px;
  }

  .sessions-title {
    font-size: 1.2rem;
  }
}


/* Institutions Page Styles */

/* Hero Section */
.institutions-hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  padding: 70px 0 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.institutions-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.1);
  backdrop-filter: blur(1px);
}

.institutions-main-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.institutions-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* Institution Cards */
.institution-card {
  background: var(--white);
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
}

.institution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Institution Header */
.institution-header {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  padding: 30px 35px;
  border-bottom: 3px solid transparent;
}

.cas-card .institution-header {
  border-bottom-color: #dc2626;
}

.soa-card .institution-header {
  border-bottom-color: var(--primary-blue);
}

.ifoa-card .institution-header {
  border-bottom-color: var(--primary-purple);
}

.institution-logo-section {
  display: flex;
  align-items: center;
}

.institution-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  margin-right: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cas-logo {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.soa-logo {
  background: linear-gradient(135deg, var(--primary-blue), #1e40af);
}

.ifoa-logo {
  background: linear-gradient(135deg, var(--primary-purple), #7c3aed);
}

.institution-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.2;
}

.institution-tagline {
  font-family: var(--font-secondary);
  color: #6b7280;
  font-size: 1rem;
  margin: 5px 0 0 0;
  font-weight: 500;
}

/* Institution Content */
.institution-content {
  padding: 35px;
}

.content-section-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-purple);
  padding-bottom: 10px;
}

.institution-description {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 30px;
}

.exam-structure-note {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
  font-style: italic;
  background: var(--light-gray);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-purple);
  margin-top: 20px;
}

/* Credentials */
.credential-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin: 25px 0 20px 0;
}

.credentials-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  background: var(--light-gray);
  padding: 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.credential-item:hover {
  background: rgba(175, 172, 250, 0.1);
  transform: translateX(5px);
}

.credential-badge {
  min-width: 70px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-right: 20px;
  font-family: var(--font-primary);
}

.acas-badge, .asa-badge, .fia-badge {
  background: linear-gradient(135deg, #059669, #10b981);
}

.fcas-badge, .fsa-badge, .chartered-badge {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.cera-badge {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.credential-info h5 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px 0;
}

.credential-info p {
  font-family: var(--font-secondary);
  color: #6b7280;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Institution Features */
.institution-features {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 20px;
  height: fit-content;
}

.features-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  text-align: center;
}

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

.features-list li {
  font-family: var(--font-secondary);
  color: #4b5563;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.features-list li i {
  color: var(--primary-blue);
  font-size: 1rem;
}

/* Institution Buttons */
.btn-institution-primary {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.cas-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: var(--white);
}

.cas-btn:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  color: var(--white);
  transform: translateY(-2px);
}

.soa-btn {
  background: linear-gradient(135deg, var(--primary-blue), #1e40af);
  color: var(--white);
}

.soa-btn:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: var(--white);
  transform: translateY(-2px);
}

.ifoa-btn {
  background: linear-gradient(135deg, var(--primary-purple), #7c3aed);
  color: var(--white);
}

.ifoa-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: var(--white);
  transform: translateY(-2px);
}

/* CTA Section */
.institutions-cta-section {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  border-radius: 25px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 50px;
  border: 2px solid rgba(175, 172, 250, 0.2);
}

.cta-title {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.cta-description {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 84, 163, 0.3);
  color: var(--white);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .institutions-main-title {
    font-size: 2.5rem;
  }

  .institutions-subtitle {
    font-size: 1.1rem;
  }

  .institution-header {
    padding: 25px 20px;
  }

  .institution-content {
    padding: 25px 20px;
  }

  .institution-logo-section {
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
  }

  .institution-logo {
    margin: 0 0 15px 0;
  }

  .btn-institution-primary {
    width: 100%;
    justify-content: center;
  }

  .credentials-grid {
    gap: 15px;
  }

  .credential-item {
    flex-direction: column;
    text-align: center;
  }

  .credential-badge {
    margin: 0 0 15px 0;
    align-self: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .institutions-hero-section {
    padding: 50px 0 40px;
  }

  .institutions-main-title {
    font-size: 2rem;
  }

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

  .institution-features {
    margin-top: 25px;
  }

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



/* ========================================
   HERO BANNER SECTION (STATIC - NO CAROUSEL)
======================================== */
.hero-banner {
  position: relative;
  /* HEIGHT CONTROL: Main section height set here */
  height: 10vh;
  min-height:520px;
  overflow: hidden;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-banner {
    /* HEIGHT CONTROL: Mobile section height adjusted here */
    height: 70vh;
    min-height: 500px;
  }
}

.hero-banner .hero-slide {
  /* HEIGHT CONTROL: Inner slide takes full height of parent section */
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 0; /* VERTICAL SPACING: Reduced padding - less space from top/bottom */
}

@media (max-width: 768px) {
  .hero-banner .hero-slide {
    padding: 30px 0; /* VERTICAL SPACING: Mobile padding reduced */
  }
    .hero-banner .hero-image {
    justify-content: center; /* Center the logo */
    margin: 0 auto; /* Center the container */
  }
}

/* REMOVED: White overlay gradient - no longer needed */
/* .hero-banner .hero-slide::before was creating the white shading */

.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Logo Image on Left - Bigger size, perfectly aligned with text */
.hero-banner .hero-image {
  display: flex;
  align-items: center; /* VERTICAL ALIGNMENT: Aligns image with text perfectly */
  height: 100%;
}

.hero-banner .hero-image img {
  width: 300px; /* IMAGE SIZE: Increased to 300px - bigger logo */
  height: 300px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-banner .hero-image img {
    width: 200px; /* IMAGE SIZE: Mobile size increased */
    height: 200px;
  }
}

/* Text Content on Right */
.hero-banner .hero-text-content {
  padding-left: 40px; /* Space from logo */
  display: flex;
  flex-direction: column;
  justify-content: center; /* VERTICAL ALIGNMENT: Centers text vertically with logo */
}

@media (max-width: 768px) {
  .hero-banner .hero-text-content {
    padding-left: 0;
    text-align: center;
  }
}

.hero-banner .hero-title {
  font-size: 1.6rem; /* TEXT SIZE: Increased font size - bigger text */
  font-weight: 500;
  color: #ffffff; /* WHITE COLOR - Changed to explicit white */
  margin-bottom: 30px; /* SPACING: Space between title and button */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-banner .hero-title {
    font-size: 1.8rem; /* TEXT SIZE: Mobile font size increased */
  }
}

@media (max-width: 576px) {
  .hero-banner .hero-title {
    font-size: 1.5rem;
  }
}

/* Button wrapper - ensures button stays in text column below everything */
.hero-banner .hero-button-wrapper {
  margin-top: 10px; /* Small space from text */
}

/* Button styling - clearly visible with bottom spacing */
.hero-banner .btn {
  padding: 16px 40px; /* BUTTON SIZE: Increased padding - bigger button */
  font-weight: 600;
  font-size: 1.2rem; /* BUTTON SIZE: Increased font size */
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  color: var(--white);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(175, 172, 250, 0.5);
  display: inline-block;
}

@media (max-width: 768px) {
  .hero-banner .btn {
    font-size: 1.1rem; /* BUTTON SIZE: Mobile button size */
  }
}

.hero-banner .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(175, 172, 250, 0.6);
  color: var(--white);
}

/* Remove white space between hero banner and next section */
.hero-banner + section {
  margin-top: 0;
  padding-top: 80px;
}

/* ========================================
   ORGANIZATION GOVERNANCE SECTION
======================================== */
.governance-section {
  background: var(--white);
  padding: 80px 0;
}

.governance-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .governance-section .section-title {
    font-size: 2rem;
  }
}

.governance-section .title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.governance-section .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Remove default link styling */
.governance-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.governance-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Card styling */
.governance-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.governance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(175, 172, 250, 0.1), transparent);
  transition: all 0.6s ease;
}

.governance-card:hover::before {
  left: 100%;
}

.governance-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-purple);
}

/* Card icon section */
.governance-card .card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  box-shadow: 0 8px 25px rgba(175, 172, 250, 0.4);
  transition: all 0.4s ease;
}

.governance-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.governance-card .card-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

/* Click indicator - floating icon */
.governance-card .click-indicator {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: var(--primary-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 143, 234, 0.5);
  animation: pulse 2s infinite;
}

.governance-card .click-indicator i {
  font-size: 0.9rem;
  color: var(--white);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 143, 234, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 143, 234, 0.7);
  }
}

/* Card content */
.governance-card .card-content {
  text-align: center;
  flex-grow: 1;
  margin-bottom: 20px;
}

.governance-card .card-content h4 {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.governance-card:hover .card-content h4 {
  color: var(--primary-purple);
}

.governance-card .card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* PDF badge */
.governance-card .card-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.1), rgba(255, 143, 234, 0.1));
  border-radius: 20px;
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(175, 172, 250, 0.3);
  transition: all 0.3s ease;
}

.governance-card:hover .card-badge {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  border-color: transparent;
}

.governance-card .card-badge i {
  margin-right: 5px;
  font-size: 1rem;
}

/* Card footer with action indicator */
.governance-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 2px solid rgba(175, 172, 250, 0.2);
  margin-top: auto;
  transition: all 0.3s ease;
}

.governance-card:hover .card-footer {
  border-top-color: var(--primary-purple);
}

.governance-card .card-footer .view-text {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.governance-card:hover .card-footer .view-text {
  color: var(--primary-purple);
}

.governance-card .card-footer i {
  font-size: 1.5rem;
  color: var(--primary-purple);
  transition: all 0.3s ease;
}

.governance-card:hover .card-footer i {
  transform: translateX(5px);
  color: var(--primary-pink);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .governance-section {
    padding: 60px 0;
  }

  .governance-card {
    padding: 30px 20px;
  }

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

  .governance-card .card-icon i {
    font-size: 2rem;
  }

  .governance-card .card-content h4 {
    font-size: 1.3rem;
  }

  .governance-card .card-content p {
    font-size: 0.95rem;
  }
}

/* Stacked on mobile */
@media (max-width: 576px) {
  .governance-section .col-lg-6 {
    margin-bottom: 20px;
  }

  .governance-card .card-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Animation on scroll */
.governance-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.governance-section .col-lg-6:nth-child(1) .governance-card {
  animation-delay: 0.1s;
}

.governance-section .col-lg-6:nth-child(2) .governance-card {
  animation-delay: 0.2s;
}

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





/* ========================================
   CONNECT WITH OTHERS PAGE - COMPLETE STYLES
======================================== */

/* Hero Section - Compact */
.connect-hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
  padding: 50px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.connect-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 84, 163, 0.1);
}

.connect-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.connect-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .connect-hero-title {
    font-size: 2.2rem;
  }
  .connect-hero-subtitle {
    font-size: 1rem;
  }
}

/* Common Section Styles */
.connect-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .connect-section-title {
    font-size: 2rem;
  }
}

.connect-title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.connect-section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.connect-no-content-icon {
  font-size: 4rem;
  color: var(--primary-purple);
  margin-bottom: 20px;
}

/* ========================================
   SOCIAL CONNECTION SECTION
======================================== */
.connect-social-section {
  background: var(--light-gray);
}

.connect-social-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.connect-social-link:hover {
  text-decoration: none;
  color: inherit;
}

.connect-social-card {
  background: var(--white);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  height: 100%;
}

.connect-social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: all 0.6s ease;
}

.connect-social-card.discord::before {
  background: linear-gradient(90deg, transparent, rgba(114, 137, 218, 0.1), transparent);
}

.connect-social-card.whatsapp::before {
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
}

.connect-social-card:hover::before {
  left: 100%;
}

.connect-social-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.connect-social-card.discord:hover {
  border-color: #7289da;
}

.connect-social-card.whatsapp:hover {
  border-color: #25d366;
}

.connect-social-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.connect-social-card.discord .connect-social-icon {
  background: linear-gradient(135deg, #7289da, #5865f2);
}

.connect-social-card.whatsapp .connect-social-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.connect-social-icon i {
  font-size: 3rem;
  color: var(--white);
}

.connect-social-card:hover .connect-social-icon {
  transform: scale(1.1) rotate(-5deg);
}

.connect-social-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.connect-social-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
}

.connect-social-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-purple);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.connect-social-card:hover .connect-social-cta {
  gap: 15px;
}

.connect-social-cta i {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.connect-social-card:hover .connect-social-cta i {
  transform: translateX(5px);
}

.connect-pulse-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: pulse-animation 2s infinite;
}

.connect-social-card.discord .connect-pulse-indicator {
  background: #7289da;
  box-shadow: 0 0 0 0 rgba(114, 137, 218, 0.7);
}

.connect-social-card.whatsapp .connect-pulse-indicator {
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(114, 137, 218, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(114, 137, 218, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(114, 137, 218, 0);
  }
}

/* ========================================
   CLUBS SECTION
======================================== */
.connect-clubs-section {
  background: var(--white);
}

.connect-club-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.connect-club-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.connect-club-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

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

.connect-club-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.connect-club-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.connect-club-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

.connect-club-benefits {
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.05), rgba(255, 143, 234, 0.05));
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary-purple);
}

.connect-club-benefits h5 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.connect-club-benefits h5 i {
  color: var(--primary-pink);
}

.connect-club-benefits-text {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.connect-club-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.connect-club-btn,
.connect-club-btn-outline {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.connect-club-btn {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  border: none;
}

.connect-club-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(175, 172, 250, 0.4);
  color: var(--white);
}

.connect-club-btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.connect-club-btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

@media (max-width: 576px) {
  .connect-club-footer {
    flex-direction: column;
  }
}

/* ========================================
   PROFESSIONAL SESSIONS SECTION
======================================== */
.connect-sessions-section {
  background: var(--light-gray);
}

.connect-sessions-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.connect-session-filter-btn {
  background: var(--white);
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.connect-session-filter-btn:hover {
  background: var(--primary-purple);
  color: var(--white);
  transform: translateY(-2px);
}

.connect-session-filter-btn.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(175, 172, 250, 0.4);
}

.connect-session-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.connect-session-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.connect-session-badge.online {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.connect-session-badge.offline {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.connect-session-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.connect-session-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.connect-session-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.connect-session-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.connect-session-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.connect-session-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.connect-session-meta {
  margin-bottom: 20px;
}

.connect-session-meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 0.9rem;
  gap: 8px;
}

.connect-session-meta-item i {
  color: var(--primary-blue);
  width: 16px;
}

.connect-session-price {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid rgba(175, 172, 250, 0.2);
}

.connect-session-price-label {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.connect-session-price-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.connect-session-actions {
  margin-top: auto;
}

.connect-session-btn-primary,
.connect-session-btn-disabled {
  width: 100%;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.connect-session-btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
}

.connect-session-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 84, 163, 0.3);
  color: var(--white);
}

.connect-session-btn-disabled {
  background: #9ca3af;
  color: var(--white);
  cursor: not-allowed;
}

/* ========================================
   COMMUNITY GALLERY SECTION
======================================== */
.connect-gallery-section {
  background: var(--white);
}

.connect-gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 1;
}

.connect-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.connect-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.connect-gallery-item:hover img {
  transform: scale(1.1);
}

.connect-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(175, 172, 250, 0.9), rgba(255, 143, 234, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.connect-gallery-item:hover .connect-gallery-overlay {
  opacity: 1;
}

.connect-gallery-overlay i {
  font-size: 2.5rem;
  color: var(--white);
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.connect-gallery-item:hover .connect-gallery-overlay i {
  transform: scale(1);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  .connect-hero-section {
    padding: 40px 0;
  }

  .connect-social-card {
    padding: 30px 20px;
  }

  .connect-social-icon {
    width: 80px;
    height: 80px;
  }

  .connect-social-icon i {
    font-size: 2.5rem;
  }

  .connect-social-title {
    font-size: 1.5rem;
  }

  .connect-club-content {
    padding: 20px;
  }

  .connect-club-image {
    height: 200px;
  }

  .connect-sessions-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .connect-session-filter-btn {
    justify-content: center;
  }

  .connect-session-image {
    height: 180px;
  }

  .connect-gallery-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .connect-hero-title {
    font-size: 2rem;
  }

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

  .connect-social-description {
    font-size: 0.95rem;
  }

  .connect-club-title {
    font-size: 1.4rem;
  }

  .connect-session-card {
    margin-bottom: 20px;
  }
}

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

.connect-social-card,
.connect-club-card,
.connect-session-card,
.connect-gallery-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation delays */
.connect-social-section .col-lg-5:nth-child(1) .connect-social-card {
  animation-delay: 0.1s;
}

.connect-social-section .col-lg-5:nth-child(2) .connect-social-card {
  animation-delay: 0.2s;
}




/* ========================================
   MEMBER TYPE MODAL STYLES
======================================== */
.member-modal {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.member-modal-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  color: var(--white);
  border: none;
  padding: 25px 30px;
}

.member-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.member-modal-body {
  padding: 30px;
  background: var(--light-gray);
}

.member-modal-description {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 25px;
}

/* Member Type Cards */
.member-type-card {
  display: block;
  background: var(--white);
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.member-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.member-type-card:hover.member-type-card {
  border-color: var(--primary-purple);
}

/* Member Type Icons */
.member-type-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.member-type-icon.mentor {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.member-type-icon.volunteer {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
}

.member-type-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.member-type-card:hover .member-type-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Member Type Content */
.member-type-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.member-type-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 60px;
}

/* Member Features */
.member-type-features {
  margin-bottom: 20px;
  text-align: left;
}

.member-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #666;
  font-size: 0.9rem;
}

.member-feature-item i {
  color: var(--primary-purple);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Member Type CTA */
.member-type-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-purple);
  padding-top: 15px;
  border-top: 2px solid rgba(175, 172, 250, 0.2);
  transition: all 0.3s ease;
}

.member-type-card:hover .member-type-cta {
  gap: 12px;
  color: var(--primary-pink);
}

.member-type-cta i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.member-type-card:hover .member-type-cta i {
  transform: translateX(5px);
}

/* Modal Footer */
.member-modal-footer {
  background: var(--white);
  border: none;
  padding: 20px 30px;
  justify-content: center;
}

.member-modal-note {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

.member-modal-note i {
  color: var(--primary-purple);
}

/* Responsive */
@media (max-width: 768px) {
  .member-modal-body {
    padding: 20px;
  }

  .member-type-card {
    margin-bottom: 15px;
  }

  .member-type-icon {
    width: 70px;
    height: 70px;
  }

  .member-type-icon i {
    font-size: 2rem;
  }

  .member-type-title {
    font-size: 1.2rem;
  }

  .member-type-description {
    min-height: auto;
  }
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: scale(0.9);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}


/* ========================================
   MEMBER REGISTRATION FORM STYLES
======================================== */

.member-form-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  padding: 60px 0;
  color: var(--white);
}

.member-form-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.member-form-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  opacity: 0.95;
}

.member-form-intro-sub {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
}

.member-form-section {
  background: var(--light-gray);
}

.member-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.member-form-alert {
  border-radius: 12px;
  margin-bottom: 30px;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--light-gray);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.form-section-title i {
  color: var(--primary-purple);
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.required {
  color: #dc3545;
  font-weight: bold;
}

.form-control,
.form-select {
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(175, 172, 250, 0.25);
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1d5db;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
}

.form-check-label {
  margin-left: 8px;
  cursor: pointer;
}

.member-form-submit {
  padding: 15px 50px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border: none;
  transition: all 0.3s ease;
}

.member-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 84, 163, 0.3);
}

.form-note {
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .member-form-title {
    font-size: 2.2rem;
  }

  .member-form-card {
    padding: 25px 20px;
  }

  .form-section-title {
    font-size: 1.4rem;
  }
}






