/* 
 * Main Stylesheet for Hadiatou Kaba Showcase Website
 * Color Palette Options:
 * Option 1 - Elegant Pink: #FF69B4, #FFB6C1, #FFD700, #FFF5F5, #2C2C2C
 * Option 2 - Royal Pink: #E91E63, #F8BBD0, #CE93D8, #FFFFFF, #212121
 * Option 3 - Modern Pink: #FF6B9D, #FADADD, #F5E6E8, #E8E8E8, #36454F
 */

/* Base Styles */
:root {
  /* Color Palette - Using Option 2 (Royal Pink) */
  --primary-pink: #E91E63;
  --light-pink: #F8BBD0;
  --accent-purple: #CE93D8;
  --white: #FFFFFF;
  --dark-gray: #212121;
  --light-gray: #F5F5F5;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
  padding-bottom: 4rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-item, .filter-btn, .gallery-photo, .card {
    transition: none;
  }
  
  .btn:active, .nav-item:active, .filter-btn:active {
    transform: scale(0.98);
  }
  
  /* Larger touch targets for mobile */
  .nav-item {
    min-height: 44px;
    min-width: 44px;
  }
  
  .filter-btn {
    min-height: 44px;
    padding: 0 1.5rem;
  }
  
  .social-btn {
    min-height: 44px;
  }
}

/* Improve grid system for better responsiveness */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: var(--spacing-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-pink);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-pink) !important;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--dark-gray) !important;
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-pink) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-pink);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* Mobile App Navigation */
.app-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  z-index: 1000;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateZ(0); /* Force hardware acceleration */
  will-change: transform; /* Optimize for animation */
}

.app-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 0.25rem;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 0; /* Allow items to shrink properly */
}

.nav-item .nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav-item.active {
  color: var(--primary-pink);
}

.nav-icon {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

.nav-item:hover {
  color: var(--primary-pink);
  transform: translateY(-3px);
}

/* Ensure proper spacing on very small screens */
@media (max-width: 360px) {
  .app-nav-container {
    padding: 0 0.25rem;
  }
  
  .nav-icon {
    font-size: 1rem;
  }
  
  .nav-label {
    font-size: 0.65rem;
  }
}

/* Add bottom padding to prevent content overlap */
body {
  padding-bottom: 4rem; /* Approximate height of bottom navbar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0; /* Reset on desktop where navbar is hidden */
  }
}

/* Hero Sections */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 0.5s ease-out;
  /* Fallback background image when video is not available */
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)), 
              url('../images/profile.jpg') center/cover no-repeat;
}

/* When video is present and not in fallback mode, hide the background */
.hero-section:has(.hero-video:not(.fallback)) {
  background: transparent;
}

.hero-section:hover {
  transform: scale(1.08);
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.5s ease;
  /* Add these properties for better compatibility */
  pointer-events: none;
  outline: none;
}

.hero-video.is-loaded {
  opacity: 0.8;
}

/* Responsive video cropping for different screen sizes */
@media (min-width: 768px) {
  .hero-video {
    object-position: center 45%;
  }
}

@media (min-width: 1200px) {
  .hero-video {
    object-position: center 40%;
  }
}

/* Hide video when in fallback mode */
.hero-video.fallback {
  display: none;
}

/* Hide background image when video is present */
.hero-video ~ .hero-overlay {
  background: linear-gradient(to bottom, 
              rgba(0, 0, 0, 0.2), 
              rgba(0, 0, 0, 0.3));
}

/* When video is in fallback mode, show the background image */
.hero-video.fallback ~ .hero-overlay {
  background: linear-gradient(to bottom, 
              rgba(0, 0, 0, 0.1), 
              rgba(0, 0, 0, 0.2)), 
              url('../images/profile.jpg') center/cover no-repeat;
}

/* More compatible approach for hiding background when video is present */
.hero-section[style*="background"] .hero-video:not(.fallback) ~ .hero-overlay {
  background: linear-gradient(to bottom, 
              rgba(0, 0, 0, 0.2), 
              rgba(0, 0, 0, 0.3));
}

.hero-video:not(.fallback) ~ .hero-overlay ~ .hero-content {
  background-image: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
              rgba(0, 0, 0, 0.1), 
              rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
  -webkit-text-stroke: 1px rgba(0,0,0,0.1);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
  text-shadow: 0 2px 15px rgba(0,0,0,0.5), 0 0 5px rgba(255,255,255,0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.1);
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
  text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 3px rgba(255,255,255,0.3);
}

/* Improve hero section for mobile */
@media (max-width: 767px) {
  .hero-section {
    min-height: 500px;
    background-attachment: scroll; /* Fix for mobile performance */
  }
  
  .hero-video {
    object-fit: cover;
    opacity: 0.6; /* Reduce opacity on mobile for better readability */
    width: 100%;
    height: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-overlay {
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.05), 
                rgba(0, 0, 0, 0.1));
  }
}

@media (max-width: 575px) {
  .hero-section {
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.btn-primary {
  background: var(--primary-pink);
  border: none;
  color: white;
}

.btn-primary:hover {
  background: #c2185b;
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.8));
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-pink);
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.8));
}

/* Specific Hero Variations */
.hero-magazine {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), 
              url('../images/hero-magazine.jpg') center/cover no-repeat;
}

.hero-about {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), 
              url('../images/hero-about.jpg') center/cover no-repeat;
}

/* When video is present and not in fallback mode, hide the background */
.hero-magazine:has(.hero-video:not(.fallback)) {
  background: transparent;
}

.hero-about:has(.hero-video:not(.fallback)) {
  background: transparent;
}

.hero-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2rem;
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

/* Stats Container */
.stats-container {
  margin-top: 2rem;
  padding: 1.5rem 0;
  overflow: hidden;
}

.stats-container .row {
  margin: 0 -0.5rem;
}

.stats-container [class*='col-'] {
  padding: 0 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem 0.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card h3 {
  font-size: 1.1rem;
  color: var(--primary-pink);
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.stat-card p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0 0.5rem;
  word-break: break-word;
}

/* Responsive adjustments for stat cards */
@media (max-width: 575px) {
  .stat-card {
    padding: 1rem 0.5rem;
    min-height: 120px;
  }
  
  .stat-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .stat-card p {
    font-size: 0.8rem;
    padding: 0 0.25rem;
  }
}

@media (max-width: 767px) {
  .stats-container [class*='col-'] {
    margin-bottom: 0.75rem;
  }
  
  .stat-card {
    padding: 1.25rem 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .stat-card {
    padding: 1.5rem 0.75rem;
  }
  
  .stat-card h3 {
    font-size: 1.15rem;
  }
  
  .stat-card p {
    font-size: 0.95rem;
  }
}

.stat-card h3 {
  font-size: 1.1rem;
  color: var(--primary-pink);
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.stat-card p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0 0.5rem;
  word-break: break-word;
}

.stat-number {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--primary-pink) !important;
  margin-bottom: 0.25rem !important;
  line-height: 1 !important;
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-light);
  background: white;
  position: relative;
  color: var(--dark-gray);
}

.card .card-title {
  color: var(--primary-pink);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.card-body {
  position: relative;
  z-index: 1;
}

.card-img-top {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Achievement Cards */
.achievement-card {
  position: relative;
  overflow: hidden;
  background: white;
  color: var(--dark-gray);
}

.achievement-card .card-title {
  color: var(--primary-pink);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--light-pink);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.icon-pink {
  font-size: 2rem;
  color: var(--primary-pink);
}

.achievement-card:hover .icon-wrapper {
  transform: scale(1.1);
  background: var(--primary-pink);
}

.achievement-card:hover .icon-pink {
  color: white;
}

/* Meeting Cards */
.meeting-card {
  border-radius: 15px;
  overflow: hidden;
  background: white;
  position: relative;
  color: var(--dark-gray);
}

.meeting-card .card-title {
  color: var(--primary-pink);
}

.meeting-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.object-fit-cover {
  object-fit: cover;
}

/* Gallery Cards */
.gallery-card {
  transition: all 0.3s ease;
  border: none;
  box-shadow: var(--shadow-light);
  background: white;
  position: relative;
  border-radius: 15px;
  overflow: visible;
  color: var(--dark-gray);
  height: auto;
}

.gallery-card .card-title {
  color: var(--primary-pink);
}

.gallery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.gallery-card .card-img-top {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Social Section */
.social-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy) !important;
}

.feed-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  position: relative;
  color: var(--dark-gray);
}

.feed-card .card-title {
  color: var(--primary-pink);
}

.feed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.feed-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.feed-card .card-img-top {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: rgb(255, 255, 255);
}

.footer h5 {
  color: rgb(255, 255, 255);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-pink);
  border-radius: 3px;
}

.footer a {
  color: rgb(255, 242, 242);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-pink);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-pink);
  transform: translateY(-3px);
}

.footer address p {
  margin-bottom: 0.5rem;
}

/* Magazine Page Styles */
.video-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* TikTok Video Container */
.video-container iframe[src*='tiktok'] {
  width: 100%;
  height: 500px;
  border: none;
}

/* Mobile-specific TikTok video styles */
@media (max-width: 767px) {
  .video-container iframe[src*='tiktok'] {
    height: 350px !important;
    min-height: 300px;
  }
}

/* Ensure videos are responsive on mobile */
@media (max-width: 767px) {
  .ratio {
    width: 100% !important;
    height: auto !important;
  }
  
  .ratio iframe {
    width: 100% !important;
    height: 300px !important;
  }
  
  .ratio-16x9 {
    height: 300px !important;
  }
  
  .video-container {
    margin: 0 10px;
  }
  
  /* Specific fix for TikTok embeds on mobile */
  .video-container iframe[src*='tiktok'] {
    height: 350px !important;
    min-height: 300px;
  }
  
  /* Ensure gallery photos are visible on mobile */
  .gallery-photo {
    min-height: 200px;
  }
  
  .gallery-photo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  
  /* Lightbox adjustments for mobile */
  .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }
  
  .lightbox-image {
    max-height: 70vh;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: -30px;
    font-size: 2rem;
    width: 30px;
    height: 30px;
  }
  
  .lightbox-counter {
    bottom: -40px;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 15px;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: white;
  border: 2px solid var(--primary-pink);
  border-radius: 50px;
  color: var(--dark-gray);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-pink);
  color: white;
  border-color: var(--primary-pink);
}

.gallery-photo {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(233, 30, 99, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-photo:hover .photo-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  text-align: center;
  padding: 1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-photo:hover .overlay-content {
  transform: translateY(0);
}

.article-card {
  border-radius: 15px;
  overflow: hidden;
  background: white;
  position: relative;
  color: var(--dark-gray);
}

.article-card .card-title {
  color: var(--primary-pink);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.article-date {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Partners Slider Styles */
.partners-slider-wrapper {
  overflow: hidden;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  width: 100%;
  min-height: 200px;
}

.partners-slider {
  display: flex;
  width: fit-content;
  gap: 2rem;
  animation: slide linear infinite;
  animation-duration: var(--animation-duration, 30s);
}

.partners-slider:hover {
  animation-play-state: paused;
}

.partner-item {
  flex-shrink: 0;
  min-width: 180px;
  min-height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.partner-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  background: white;
}

.partner-logo {
  max-height: 70px;
  max-width: 140px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  object-fit: contain;
}

.partner-content:hover .partner-logo {
  filter: grayscale(0);
}

.partner-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* About Page Styles */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
  clear: both;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-pink);
  left: 50%;
  margin-left: -2px;
  z-index: 1;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  margin-bottom: 40px;
  clear: both;
}

.timeline-item:nth-child(odd) {
  float: left;
  text-align: right;
  padding-right: 50px;
}

.timeline-item:nth-child(even) {
  float: right;
  text-align: left;
  padding-left: 50px;
}

.timeline-badge {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 3px solid var(--primary-pink);
  border-radius: 50%;
  top: 25px;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -10px;
}

.timeline-panel {
  position: relative;
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(233, 30, 99, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  float: none;
  background-image: 
    linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.8)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.63 16.13a6 6 0 0 1 6 6v2a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-2a6 6 0 0 1 6-6h2zm-36 0a6 6 0 0 1 6 6v2a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-2a6 6 0 0 1 6-6h2zm36 24a6 6 0 0 1 6 6v2a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-2a6 6 0 0 1 6-6h2zm-36 0a6 6 0 0 1 6 6v2a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-2a6 6 0 0 1 6-6h2z' fill='%23e91e63' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.timeline-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border-color: rgba(233, 30, 99, 0.2);
}

.timeline-panel::before {
  display: none; /* Remove the arrow */
}

.timeline-heading h3 {
  color: var(--primary-pink);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}

.timeline-heading h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-pink);
  border-radius: 3px;
}

.timeline-heading .text-muted {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
  font-style: italic;
}

.timeline-body p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: #f8f9fa;
  clear: both;
}

.value-card {
  height: 100%;
  border-radius: 10px;
  padding: 30px 25px;
  margin-bottom: 30px;
  background: white;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(233, 30, 99, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-pink);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.value-card:hover .value-icon {
  background: var(--primary-pink);
  color: white;
  transform: scale(1.1);
}

.value-card .card-title {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}

.value-card .card-text {
  position: relative;
  z-index: 1;
  color: #555;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left;
  }
  
  .timeline-item:nth-child(even) {
    float: none;
    padding-left: 70px;
    padding-right: 25px;
    text-align: left;
  }
  
  .timeline-badge {
    left: 22px;
  }
  
  .timeline-item:nth-child(odd) .timeline-badge,
  .timeline-item:nth-child(even) .timeline-badge {
    left: 22px;
    right: auto;
  }
  
  .timeline-item {
    margin-bottom: 30px;
  }
}

.value-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--primary-pink);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.value-card:hover .value-icon {
  background: white;
  color: var(--primary-pink);
  transform: rotate(10deg);
}

.passion-card {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: white;
  color: var(--dark-gray);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.passion-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.passion-card .card-title {
  color: var(--primary-pink);
}

.passion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.passion-image {
  position: relative;
  z-index: 1;
  height: 200px;
  overflow: hidden;
}

.passion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.passion-card:hover .passion-image img {
  transform: scale(1.05);
}

.passion-card h4 {
  color: var(--primary-pink);
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-align: center;
}

.passion-card p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  padding: 0 1rem 1rem;
}

.passion-card .card-img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.passion-card:hover .card-img {
  transform: scale(1.1);
}

.passion-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 10px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  color: var(--dark-gray);
}

.passion-card:hover .passion-content {
  transform: translateY(0);
}

.contact-form .form-control {
  padding: 0.8rem 1rem;
  border: 2px solid #eee;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
}

.social-link {
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-pink);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--primary-pink);
  transition: all 0.3s ease;
}

.social-link:hover .social-icon {
  background: var(--primary-pink);
  color: white;
  transform: rotate(10deg);
}

.stat-card {
  background: white;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  color: var(--dark-gray);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.stat-card h3 {
  position: relative;
  z-index: 1;
  color: var(--primary-pink);
  font-weight: 700;
}

.stat-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--dark-gray);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  height: calc(100% + 10px);
}

.map-placeholder {
  height: 200px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-pink);
  border-radius: 50%;
  padding: 1rem;
  width: 3rem;
  height: 3rem;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-pink);
  border: none;
  margin: 0 0.2rem;
}

.carousel-indicators .active {
  background: var(--primary-pink);
}

/* Responsive Adjustments */
/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title { font-size: 4rem; }
  .hero-subtitle { font-size: 1.8rem; }
}

/* Medium devices (tablets, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title { font-size: 3.5rem; }
  .hero-subtitle { font-size: 1.6rem; }
}

/* Small devices (landscape phones, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.8rem; }
  
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.4rem; }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-badge {
    left: 30px;
    margin-left: 0;
  }
  
  .timeline-panel {
    width: calc(100% - 80px);
    float: right;
  }
  
  .timeline-panel::before {
    left: -15px;
    border-left: none;
    border-right: 15px solid white;
  }
  
  .timeline-item:nth-child(even) .timeline-panel {
    float: right;
  }
  
  .filters {
    flex-direction: row;
    justify-content: center;
  }
  
  .filter-btn {
    width: auto;
    margin: 0 0.25rem;
  }
}

/* Extra small devices (portrait phones, less than 768px) */
@media (max-width: 767px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.2rem; }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-badge {
    left: 20px;
    width: 15px;
    height: 15px;
    margin-left: -7.5px;
  }
  
  .timeline-panel {
    width: calc(100% - 50px);
    float: right;
    padding: 1rem;
  }
  
  .timeline-panel::before {
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
  }
  
  .timeline-heading h3 {
    font-size: 1.3rem;
  }
  
  .filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 90%;
    margin: 0.25rem 0;
  }
  
  .card-img-top {
    height: auto;
  }
  
  .achievement-card .icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .social-btn {
    display: block;
    width: 90%;
    margin: 0.5rem auto;
  }
  
  .app-nav-container {
    max-width: 100%;
  }
  
  .nav-label {
    font-size: 0.7rem;
  }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575px) {
  .hero-buttons .btn {
    display: block;
    width: 90%;
    margin: 0.5rem auto;
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  
  .section-title::after {
    width: 50px;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .profile-img {
    max-width: 100%;
    height: auto;
  }
  
  .stats-container .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .stat-card {
    padding: 1rem 0.5rem;
    background: white;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    color: var(--dark-gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  
  .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 100px;
    opacity: 0.3;
    z-index: 0;
  }
  
  .stat-card h3 {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--primary-pink);
  }
  
  .stat-card p {
    position: relative;
    z-index: 1;
    color: var(--dark-gray);
  }
  
  .meeting-card .card-body {
    padding: 1rem;
  }
  
  .gallery-card .card-body {
    padding: 1rem;
  }
  
  .contact-form .form-control {
    padding: 0.6rem 0.8rem;
  }
  
  .social-link {
    padding: 1rem;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  footer .col-md-4 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .nav-label {
    font-size: 0.65rem;
  }
}

/* Small height devices (phones in landscape mode) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: auto;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-open {
  opacity: 1;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 10000;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 0;
  color: white;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 15px;
  border-radius: 20px;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }
  
  .lightbox-image {
    max-height: 70vh;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: -30px;
    font-size: 2rem;
    width: 30px;
    height: 30px;
  }
  
  .lightbox-counter {
    bottom: -30px;
    font-size: 0.9rem;
    padding: 3px 10px;
  }
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Optimize images for different screen sizes */
@media (max-width: 767px) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
  
  .card-img-top {
    height: auto;
    max-height: none;
  }
  
  .profile-img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 575px) {
  .card-img-top {
    max-height: none;
  }
}

/* High resolution screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section {
    background-size: cover;
    image-rendering: -webkit-optimize-contrast;
  }
  
  .card-img-top {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Video Page Specific Styles */
.hero-video-page {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), 
              url('../images/hero-video.jpg') center/cover no-repeat;
}

/* When video is present and not in fallback mode, hide the background */
.hero-video-page:has(.hero-video:not(.fallback)) {
  background: transparent;
}

.featured-videos-section,
.video-categories-section,
.latest-uploads-section,
.newsletter-section {
  padding: 4rem 0;
}

.video-card,
.category-card,
.upload-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-light);
  background: white;
  position: relative;
  color: var(--dark-gray);
}

.video-card::before,
.category-card::before,
.upload-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,20 C60,10 80,10 90,20 C100,30 100,50 90,60 C80,70 60,70 50,60 C40,70 20,70 10,60 C0,50 0,30 10,20 C20,10 40,10 50,20 Z' fill='%23CE93D8' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.video-card:hover,
.category-card:hover,
.upload-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.video-card .card-body,
.category-card .card-body,
.upload-card .card-body {
  position: relative;
  z-index: 1;
}

.video-card .card-title,
.category-card .card-title {
  color: var(--primary-pink);
}

.category-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--light-pink);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.icon-pink {
  font-size: 2rem;
  color: var(--primary-pink);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  background: var(--primary-pink);
}

.category-card:hover .icon-pink {
  color: white;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button i {
  color: var(--primary-pink);
  font-size: 1.5rem;
  margin-left: 3px;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

.duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  z-index: 2;
}

.video-meta,
.upload-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: 0.8rem 1.5rem;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
}

/* Pink and Gold Button Styles */
.btn-pink {
  background-color: #E91E63;
  border-color: #E91E63;
  color: white;
}

.btn-pink:hover, .btn-pink:focus, .btn-pink:active {
  background-color: #C2185B;
  border-color: #C2185B;
  color: white;
}

.btn-outline-pink {
  background-color: transparent;
  border-color: #E91E63;
  color: #E91E63;
}

.btn-outline-pink:hover, .btn-outline-pink:focus, .btn-outline-pink.active {
  background-color: #E91E63;
  border-color: #E91E63;
  color: white;
}

.btn-gold {
  background-color: #FFD700;
  border-color: #FFD700;
  color: #212121;
}

.btn-gold:hover, .btn-gold:focus, .btn-gold:active {
  background-color: #FFC107;
  border-color: #FFC107;
  color: #212121;
}

.bg-pink {
  background-color: #E91E63 !important;
}

.bg-gold {
  background-color: #FFD700 !important;
}

.text-pink {
  color: #E91E63 !important;
}

/* Social Stats Styling */
.social-stat-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.social-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.social-stats .social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enhanced Form Styling with More Pink */
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: #E91E63;
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.15);
}

.contact-form .form-label {
  font-weight: 600;
  color: #E91E63;
  margin-bottom: 8px;
}

.contact-form .card {
  border-radius: 20px;
  overflow: hidden;
}

.contact-form .card-header {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%) !important;
  padding: 20px 24px;
}

.contact-form .card-header h3 {
  font-weight: 600;
}

.btn-pink {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  transition: all 0.3s ease;
}

.btn-pink:hover {
  background: linear-gradient(135deg, #C2185B 0%, #AD1457 100%);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
  transform: translateY(-2px);
}

.btn-outline-pink {
  border: 2px solid #E91E63;
  color: #E91E63;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-pink:hover,
.btn-outline-pink.active {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  border-color: #E91E63;
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  border: none;
  color: #212121;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFA000 0%, #FF8F00 100%);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Contact Section Header */
.contact-type-selector .btn {
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 600;
}

/* Video Lightbox */
.video-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.video-lightbox.active {
  display: flex;
}

.video-lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.video-lightbox-content video {
  max-width: 100%;
  max-height: 80vh;
  outline: none;
}

.video-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}

.video-lightbox-close:hover {
  color: var(--primary-pink);
}

/* Video Page Responsive Adjustments */
@media (max-width: 767px) {
  .featured-videos-section,
  .video-categories-section,
  .latest-uploads-section,
  .newsletter-section {
    padding: 2rem 0;
  }
  
  .video-meta,
  .upload-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .newsletter-form .form-control {
    border-radius: 50px;
    margin-bottom: 10px;
  }
  
  .newsletter-form .btn {
    border-radius: 50px;
    width: 100%;
  }
}