/* =========================
   ENHANCED ROOT VARIABLES
   ========================= */

   :root {
    --primary: #FDDC5C;
    --primary-dark: #e6c753;
    --dark: #996515;
    --darker: #7a5011;
    --light-gold: #fff9e6;
    --topbar-h: 40px;
    --nav-h: 70px;
    --nav-compact: 50px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  }
  
  /* =========================
     INTERACTIVE TOPBAR
     ========================= */
  
     .topbar {
      height: var(--topbar-h);
      background: linear-gradient(135deg, var(--dark), var(--darker));
      color: #fff;
      padding: 0;
      position: relative;
      overflow: hidden;
      display: flex; /* Enable flexbox */
      align-items: center; /* Center vertically */
    }

  .topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px; /* Add top spacing */
    }

    /* Style all topbar content containers */
.topbar .d-flex {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 25px; /* Better spacing between items */
}
  
/* Adjust text elements */
.topbar small {
  padding: 4px 0; /* Vertical padding */
  display: inline-flex;
  align-items: center;
}

.social-btn {
  width: 34px;
  height: 34px;
  margin: 0 3px;
}

/* Shimmer animation adjustment */
.topbar::before {
  top: 8px; /* Adjust to new spacing */
  height: calc(100% - 16px); /* Reduce height to match padding */
}

  .topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
  }
  
  @keyframes shimmer {
    100% { left: 100%; }
  }
  
  .phone-hover, .email-hover {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }
  
  .phone-hover::before, .email-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253,220,92,0.3), transparent);
    transition: left 0.5s ease;
  }
  
  .phone-hover:hover::before, .email-hover:hover::before {
    left: 100%;
  }
  
  .phone-hover:hover, .email-hover:hover {
    color: var(--primary);
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
  }
  
  .live-time {
    position: relative;
    padding: 4px 12px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
  }
  
  .social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin: 0 2px;
  }
  
  .social-btn:hover {
    transform: translateY(-3px) rotate(360deg);
    border-color: transparent;
  }
  
  .social-btn.twitter:hover { background: #1DA1F2; }
  .social-btn.facebook:hover { background: #1877F2; }
  .social-btn.instagram:hover { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
  .social-btn.youtube:hover { background: #FF0000; }
  
  /* =========================
     COMPACT NAVBAR
     ========================= */
  
  .header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: var(--transition);
  }
  
  .site-header {
    height: var(--nav-h);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
  }
  
  .site-header.compact {
    height: var(--nav-compact);
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
  }
  
  .site-header.compact .navbar-brand {
    font-size: 1.4rem;
  }
  
  .site-header.compact .nav-link {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  
  .logo-wrapper {
    display: flex;
    align-items: center;
    transition: var(--transition);
  }
  
  .logo-main {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    background: linear-gradient(135deg, var(--primary), var(--dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
  }
  
  .logo-rest {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    opacity: 0.9;
    margin-left: 2px;
  }
  
  .site-header.compact .logo-main {
    font-size: 1.6rem;
  }
  
  .site-header.compact .logo-rest {
    font-size: 1.2rem;
  }
  
  .nav-hover {
    position: relative;
    overflow: hidden;
  }
  
  .nav-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--dark));
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .nav-hover:hover::after {
    width: 100%;
  }
  
  /* =========================
     INTERACTIVE HERO WITH PARTICLES
     ========================= */
  
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .hero {
    position: relative;
    min-height: 120vh;
    z-index: 1;
    overflow: visible;
  }
  
  .hero-slides {
    position: relative;
    height: 100%;
  }
  
  .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
  }

  .hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
  }
 
  .btn-hero-primary, .btn-hero-secondary {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
  }
  
  .btn-hero-primary {
    background: var(--primary);
    color: var(--dark);
    border: 2px solid var(--primary);
  }
  
  .btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
  }
  
  .btn-hero-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-5px);
  }
  
  .btn-hero-secondary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-5px);
  }

  /* Force hero buttons horizontal on all screens */
.hero-btns {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Reduce button size on mobile */
@media (max-width: 768px) {
  .hero-btns {
    gap: 10px;
  }
  
  .btn-hero-primary, 
  .btn-hero-secondary {
    padding: 10px 20px !important;  /* Smaller padding */
    font-size: 0.9rem !important;    /* Smaller text */
    min-width: 140px;                /* Set minimum width */
    flex: 0 1 auto;                  /* Prevent stretching */
  }
}

/* Even smaller screens */
@media (max-width: 480px) {
  .btn-hero-primary, 
  .btn-hero-secondary {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    min-width: 120px;
  }
}
  
  .glitch-text {
    position: relative;
  }
  
  .glitch-text::before,
  .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .glitch-text:hover::before {
    animation: glitch-1 0.4s infinite;
    color: #ff00ff;
    z-index: -1;
  }
  
  .glitch-text:hover::after {
    animation: glitch-2 0.4s infinite;
    color: #00ffff;
    z-index: -2;
  }
  
  @keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
  }
  
  @keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, 2px); }
    100% { transform: translate(0); }
  }
  
  /* =========================
     INTERACTIVE CIRCLES SECTION
     ========================= */
  
  .interactive-title {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .interactive-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary);
    z-index: -1;
    animation: textGlow 2s ease-in-out infinite alternate;
  }
  
  @keyframes textGlow {
    from { opacity: 0.5; filter: blur(2px); }
    to { opacity: 0.8; filter: blur(4px); }
  }
  
  .interactive-card {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    --mouse-x: 0.5;
    --mouse-y: 0.5;
    z-index: 10045; /* Higher than circles section */
  }
  
  .interactive-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(
      circle at calc(var(--mouse-x) * 100%) calc(var(--mouse-y) * 100%),
      rgba(253, 220, 92, 0.1),
      transparent 50%
    );
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .interactive-card:hover::before {
    opacity: 1;
  }
  
  /* When hover box is active, temporarily increase z-index of parent */
.interactive-card:hover {
  z-index: 10060 !important;
}

  .circle-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ripple 2s linear infinite;
    opacity: 0;
  }
  
  .circle-sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    filter: blur(4px);
    animation: sparkle 3s infinite;
    opacity: 0;
  }
  
  @keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
  }
  
  @keyframes sparkle {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    50% { opacity: 1; transform: translate(10px, -10px); }
  }
  
  .interactive-card:hover .circle-ripple {
    animation: ripple 1s linear;
  }
  
  .interactive-card:hover .circle-sparkle {
    animation: sparkle 1.5s infinite;
  }
  
  .circle-hover-content {
    position: absolute;
    top: calc(100% - 20px);  /* lift upward slightly */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    width: 250px;
    z-index: 10050 !important; /* Higher than upcoming section */
    pointer-events: auto !important; /* Enable interaction */
    text-align: left;
    transform: translateX(-50%) translateY(5px);
  }
  
  /* Add backdrop to prevent interaction with elements underneath */
.circle-hover-content::before {
  content: '';
  position: fixed;
  top: -100vh;
  left: -100vw;
  width: 300vw;
  height: 300vh;
  background: transparent;
  z-index: -1;
  pointer-events: none;
  }
  .interactive-card:hover .circle-hover-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px);
  }
  
  .circle-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
  }
  
  .circle-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .interactive-panel {
    position: fixed;
    top: 65%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 300px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: grab;
    user-select: none;
  }
  
  .preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .preview-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark);
  }
  
  .close-preview {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .close-preview:hover {
    color: var(--dark);
    transform: rotate(90deg);
  }
  
  .preview-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }
  
  .preview-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 10px;
    flex-shrink: 0;
  }
  
  .preview-info h4 {
    margin: 0 0 8px 0;
    color: var(--dark);
  }
  
  .preview-info p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
  }
  
  .preview-actions {
    display: flex;
    gap: 10px;
  }
  
  .btn-preview {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
  }
  
  .btn-preview:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
  
  .btn-preview.secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--dark);
  }
  
  /* =========================
     REDESIGNED UPCOMING SECTION
     ========================= */
  
  .upcoming-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    z-index: 10000 !important; /* Lower than hover boxes */
    overflow: visible !important; /* Allow hover boxes to overflow */
  }
  
  .upcoming-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    
  }
  
  .section-header.enhanced {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  .view-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .view-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
  }
  
  .view-toggle:hover:not(.active) {
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
  }
  
  .upcoming-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Event Cards Redesign */
  .event-card {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    position: relative;
  }
  
  .event-card.interactive {
    border-left: 4px solid var(--primary);
  }
  
  .event-card.exhibition {
    border-left: 4px solidrgb(9, 96, 142);
  }
  
  .event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 10px;
  }
  
  bultimore.comte {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
    background: linear-gradient(135deg, var(--dark), var(--darker));
    color: white;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
  }
  
    /* =========================
   LUXURY COMPACT DATE BOX
   ========================= */

.interactive-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #f7cf47);
  color: var(--dark);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.date-day {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.date-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 2px 0;
}

.date-year {
  font-size: 0.65rem;
  opacity: 0.7;
}

  .event-badge {
    display: flex;
    gap: 8px;
  }
  
  .badge {
    padding: 4px 10px;
    font-size: 0.65rem;
    border-radius: 14px;
    letter-spacing: 0.5px;
  }
  
  
  .interactive-badge {
    background: linear-gradient(135deg, var(--primary), #ffd700);
    color: var(--dark);
  }
  
  .exhibition-badge {
    background: linear-gradient(135deg, #6f42c1, #8a63d2);
    color: white;
  }
  
  .category-badge {
    background: #e9ecef;
    color: #495057;
  }
  
  .event-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    padding: 20px;
  }
  
  .event-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
  }
  
  .event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .event-image-container:hover .event-image {
    transform: scale(1.05);
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .event-image-container:hover .image-overlay {
    opacity: 1;
  }
  
  .image-zoom {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-zoom:hover {
    background: var(--primary);
    transform: scale(1.1);
  }
  
  .event-content h6 {
    font-size: 1.4rem;
    color: var(--dark);
    margin: 0 0 15px 0;
    line-height: 1.3;
  }
  
  .interactive-features {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
  }
  
  .feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #495057;
  }
  
  .feature-tag i {
    color: var(--primary);
  }
  
  .event-progress {
    margin: 20px 0;
  }
  
  .progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6c757d;
  }
  
  .progress-count {
    font-weight: 600;
    color: var(--dark);
  }
  
  .progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--dark));
    border-radius: 4px;
    transition: width 1s ease;
  }
  
  .event-meta.enhanced {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
  }
  
  .meta-item i {
    color: var(--primary);
  }
  
  .event-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
  }
  
  .btn-event-action {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .rsvp-btn {
    background: linear-gradient(135deg, var(--primary), #ffd700);
    color: var(--dark);
    flex: 1;
  }
  
  .preview-btn {
    background: #6f42c1;
    color: white;
    flex: 1;
  }
  
  .share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    padding: 0;
    justify-content: center;
  }
  
  .btn-event-action:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  .rsvp-btn:hover { background: linear-gradient(135deg, #ffd700, var(--primary)); }
  .preview-btn:hover { background: #5a32a3; }
  .share-btn:hover { background: var(--primary); color: var(--dark); }
  
  .event-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
  }
  
  .event-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .tag {
    padding: 4px 12px;
    background: white;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #6c757d;
    border: 1px solid #e9ecef;
    transition: var(--transition);
  }
  
  .tag:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
  }
  
  /* Compact Sidebar */
  * CONTAINER FOR THE ENTIRE SIDEBAR */
.upcoming-sidebar-compact {
  position: sticky;
  top: 100px;
  align-self: start;
  height: fit-content;
  width: 380px;
  margin-left: auto;
  background: white;
  border-radius: 16px;
  border: 1px solid #e9ecef;
  overflow: visible !important; /* Changed from hidden to visible */
  box-shadow: var(--shadow-sm);
  isolation: isolate; /* CRITICAL - creates new stacking context */
}

  /*.upcoming-sidebar-compact {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
  }*/
  
  .sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--dark), var(--darker));
    color: white;
    position: relative;
  }
  
  .sidebar-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .sidebar-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(180deg);
  }
  
  .sidebar-content {
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
  }
  
  .sidebar-content.collapsed {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
  }
  
  .compact-event-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
  }
  
  .compact-event-card.active {
    border-color: var(--primary);
    background: rgba(253, 220, 92, 0.1);
  }
  
  .compact-event-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
  }
  
  .compact-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 8px;
    min-width: 60px;
  }
  
  .compact-date span {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
  }
  
  .compact-date strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
  }
  
  .compact-info {
    flex: 1;
  }
  
  .compact-info h6 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--dark);
  }
  
  .compact-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
  }
  
  .compact-meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6c757d;
  }
  
  .compact-join {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .compact-join:hover {
    background: var(--dark);
    color: white;
    transform: scale(1.05);
  }
  
  /* Mini Calendar */
  .mini-calendar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
  }
  
  .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .calendar-header h5 {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
  }
  
  .calendar-nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e9ecef;
    background: white;
    color: #6c757d;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .calendar-nav:hover {
    border-color: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
  }
  
  .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
  }
  
  /* CONTAIN THE CALENDAR - PREVENT LEAKAGE */
.mini-calendar {
  position: relative !important;
  overflow: hidden !important;
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
  border: 1px solid #e9ecef;
  z-index: 1;
}

.calendar-days {
  position: relative !important;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  isolation: isolate; /* Creates new stacking context */
}
.calendar-day {
  position: relative !important;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  background: white;
  z-index: 2;
}
  
.calendar-day.today {
  background: var(--primary) !important;
  color: var(--dark) !important;
  font-weight: 700;
  position: relative !important;
  z-index: 2;
}
  
  .calendar-day:hover {
    background: var(--light-gold);
    border-color: var(--primary);
  }

  
  .calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background: var(--dark);
    border-radius: 50%;
  }
  
  .calendar-day.selected {
    background: var(--dark);
    color: white;
  }
  
  .calendar-day.empty {
    visibility: hidden;
  }
  
  .sidebar-stats {
    margin-top: 25px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
  }
  
  .stat-item:hover {
    transform: translateX(5px);
    background: var(--light-gold);
  }
  
  .stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
  }
  
  .stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--dark);
    line-height: 1;
  }
  
  .stat-item small {
    font-size: 0.8rem;
    color: #6c757d;
  }
  
  /* View Styles */
  .grid-view .event-card {
    width: 100%;
  }
  
  .list-view .events-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .list-view .event-card {
    display: flex;
    flex-direction: column;
  }
  
  .list-view .event-body {
    grid-template-columns: 1fr;
  }
  
  .calendar-view .events-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .calendar-view .event-card {
    margin: 0;
  }
  
  .calendar-view .event-body {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  
  /* =========================
     QUOTE SECTION
     ========================= */
  
  .quote-section {
    background: linear-gradient(135deg, var(--dark) 0%, #7a5011 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
  }
  
  .quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
  }
  
  .quote-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .quote-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
  }
  
  .quote-content {
    flex: 1;
  }
  
  .quote-text {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 300;
    font-style: italic;
    position: relative;
    padding-left: 20px;
  }
  
  .quote-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
  }
  
  .quote-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .author-info h5 {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    color: var(--primary);
  }
  
  .author-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
  }
  
  .quote-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .btn-quote-action {
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .btn-quote-action:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
  }
  
  .btn-quote-action.primary {
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
  }
  
  .btn-quote-action.primary:hover {
    background: white;
    transform: translateY(-3px);
  }
  
  .quote-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 200px;
  }
  
  #audio-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    gap: 2px;
  }
  
  #audio-visualizer .bar {
    width: 8px;
    background: var(--primary);
    border-radius: 4px;
    transition: height 0.3s ease;
  }
  
  .quote-stats {
    display: flex;
    gap: 20px;
  }
  
  .quote-stats .stat {
    text-align: center;
    flex: 1;
  }
  
  .quote-stats strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
  }
  
  .quote-stats span {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-top: 5px;
  }
  
  /* =========================
     BULTIMORE ARTS SECTION
     ========================= */
  
  .arts-section {
    background: #f8f9fa;
    padding: 100px 0;
  }
  
  .arts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .art-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    height: 100%;
  }
  
  .art-card-inner {
    padding: 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .art-icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.5rem;
  }
  
  .icon-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
  }
  
  .art-content h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0 0 15px 0;
  }
  
  .art-content p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
  }
  
  .art-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #6c757d;
  }
  
  .art-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .art-meta i {
    color: var(--primary);
  }
  
  .art-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--dark);
    padding: 20px 30px;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
  }
  
  .art-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  
  .art-card:hover .art-hover {
    transform: translateY(0);
  }
  
  /* Card Colors */
  .art-card.gallery .art-icon { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
  .art-card.library .art-icon { background: linear-gradient(135deg, #48dbfb, #0abde3); }
  .art-card.market .art-icon { background: linear-gradient(135deg, #1dd1a1, #10ac84); }
  .art-card.archive .art-icon { background: linear-gradient(135deg, #f368e0, #ff9ff3); }
  
  .art-card.gallery:hover { border-color: #ff6b6b; }
  .art-card.library:hover { border-color: #48dbfb; }
  .art-card.market:hover { border-color: #1dd1a1; }
  .art-card.archive:hover { border-color: #f368e0; }
  
  .arts-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
  }
  
  .stat-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    border: 1px solid #e9ecef;
    transition: var(--transition);
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
  }
  
  .stat-card i {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
  }
  
  .stat-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0 0 15px 0;
  }
  
  .stat-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .stat-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
  }
  
  .stat-link:hover {
    color: var(--primary);
    gap: 12px;
  }
  
  /* =========================
     REDESIGNED FOOTER
     ========================= */
  
  .footer-redesigned {
    background: #1a1a1a;
    color: #e0e0e0;
    margin-top: 100px;
  }
  
  .footer-main {
    padding: 80px 0;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  
  .footer-col:first-child {
    grid-column: span 2;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
  }
  
  .footer-logo h3 {
    font-size: 2rem;
    color: white;
    margin: 0;
  }
  
  .footer-description {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
  }
  
  .footer-media-icons {
    display: flex;
    gap: 20px;
  }
  
  .media-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 16px;
    background: rgba(253, 220, 92, 0.1);
    border-radius: 8px;
  }
  
  .media-icon:hover {
    background: var(--primary);
    color: #1a1a1a;
    transform: translateY(-3px);
  }
  
  .footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  .footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
  }
  
  .footer-links i {
    width: 20px;
    color: var(--primary);
    opacity: 0.7;
  }
  
  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  
  .footer-contact i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
  }
  
  .footer-contact strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .footer-contact a, .footer-contact p {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
  }
  
  .footer-contact a:hover {
    color: var(--primary);
  }
  
  .newsletter-text {
    color: #a0a0a0;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
  }
  
  .newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
  }
  
  .newsletter-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .newsletter-btn:hover {
    background: white;
    transform: translateY(-3px);
  }
  
  .footer-social {
    display: flex;
    gap: 12px;
  }
  
  .social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .social-circle:hover {
    background: var(--primary);
    color: #1a1a1a;
    transform: translateY(-3px);
    border-color: var(--primary);
  }
  
  .footer-bottom {
    padding: 30px 0;
    background: #0d0d0d;
  }
  
  .footer-bottom-content {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .footer-bottom-content p:first-child {
    margin-bottom: 10px;
  }
  
  /* =========================
     MODALS & NOTIFICATIONS
     ========================= */
  
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
  }
  
  .modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
  }
  
  @keyframes modalSlideIn {
    from { transform: translateY(50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
  }
  
  .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-close:hover {
    background: var(--primary);
    color: var(--dark);
    transform: rotate(90deg);
  }
  
  .modal-body {
    padding: 40px;
  }
  
  .modal-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
  }
  
  .modal-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .modal-btn:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-3px);
  }
  
  .notification-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .notification-toast.show {
    transform: translateY(0);
    opacity: 1;
  }
  
  .toast-content i {
    color: var(--primary);
    font-size: 1.2rem;
  }
  
  /* =========================
     RESPONSIVE DESIGN
     ========================= */
  
 /* =========================
   UPCOMING LAYOUT FIX
   ========================= */

.upcoming-layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* Fixed sidebar width */
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }
  
  /* Ensure sidebar stays on the right */
  .upcoming-sidebar-compact {
    position: sticky;
    top: 140px;
    align-self: start;
    height: fit-content;
    width: 380px;
    margin-left: auto; /* Push to right */
  }
  
  /* Fix the media query that's breaking it */
  @media (max-width: 992px) {
    .upcoming-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .upcoming-sidebar-compact {
      position: relative;
      top: 0;
      width: 100%;
      max-width: 600px;
      margin: 40px auto 0;
      order: 2; /* Make sure it comes after main content */
    }
  }
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }
    
    .footer-col:first-child {
      grid-column: span 2;
    }
  
  @media (max-width: 992px) {
    .event-body {
      grid-template-columns: 1fr;
    }
    
    .arts-grid {
      grid-template-columns: 1fr;
    }
    
    .arts-stats {
      grid-template-columns: 1fr;
    }
    
    .quote-wrapper {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .quote-icon {
      font-size: 3rem;
    }
    
    .quote-text {
      font-size: 1.6rem;
    }
  }
  
  @media (max-width: 768px) {
    .topbar .d-flex {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
    
    .live-time {
      order: -1;
      width: 100%;
      justify-content: center;
    }
    
    .hero-btns {
      flex-direction: column;
      gap: 15px;
    }
    
    .hero-controls {
      bottom: 20px;
      right: 20px;
    }
    
    .circle-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      position: relative;
      z-index: 30;
      margin-top: -50px;
      }
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .footer-col:first-child {
      grid-column: span 1;
    }
    
    .modal-body {
      padding: 20px;
    }
  
  
  @media (max-width: 576px) {
    .circle-grid {
      grid-template-columns: 1fr;
    }
    
    .quote-text {
      font-size: 1.3rem;
      padding-left: 15px;
    }
    
    .quote-author {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .quote-actions {
      width: 100%;
    }
    
    .btn-quote-action {
      flex: 1;
      justify-content: center;
    }
    
    .notification-toast {
      left: 20px;
      right: 20px;
      bottom: 20px;
    }
  }
  /* =========================
   EXTENDED HERO CONTROLS
   ========================= */

.hero-controls-extended {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 500px;
    justify-content: space-between;
  }
  
  .slide-dots-extended {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    width: 300px;
  }
  
  .dot-info {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 100%;
  }
  
  .dot-info:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .dot-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .dot-number.active {
    color: var(--dark);
    background: var(--primary);
    box-shadow: 0 0 20px rgba(253, 220, 92, 0.5);
  }
  
  .dot-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .dot-info:hover .dot-label,
  .dot-number.active ~ .dot-label {
    opacity: 1;
    transform: translateX(5px);
  }
  
  .progress-track {
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    border-radius: 2px;
  }
  
  .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 33.33%;
    background: linear-gradient(to bottom, var(--primary), #ffd700);
    border-radius: 2px;
    transition: height 0.5s ease;
  }
  
  /* =========================
     CIRCLES OVERLAPPING HERO
     ========================= */
  

  .bultimore-circles.section {
    margin-top: -200px !important; /* Increased overlap */
    padding: 180px !important;
    position: relative;
    z-index: 20;
    background: linear-gradient(to bottom, 
      transparent 0%, 
      rgba(255, 255, 255, 0.1) 20%,
      white 40%,
      white 100%
    );
  }
  
  .circle-grid-overlap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 30;
    margin-top: 100px; /* Start lower in the section */
  }
  
  /* Adjust circle size for overlap effect */
  .circle-grid-overlap .circle-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.8);
  }
  
  .circle-grid-overlap .circle-icon i {
    font-size: 48px;
  }
  
  .circle-grid-overlap h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Enhanced hover effects for overlapping circles */
  .circle-grid-overlap .interactive-card {
    position: relative;
  }
  
  .circle-grid-overlap .interactive-card::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(
      circle at center,
      rgba(253, 220, 92, 0.15),
      transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .circle-grid-overlap .interactive-card:hover::after {
    opacity: 1;
  }
  
  /* Mobile adjustments for overlap */
  @media (max-width: 992px) {
    .hero-controls-extended {
      min-width: 400px;
      padding: 15px 30px;
      bottom: 60px;
    }
    
    .slide-dots-extended {
      width: 250px;
    }
    
    .bultimore-circles.section {
      margin-top: -120px;
      padding: 180px 0 80px;
    }
    
    .circle-grid-overlap {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
      margin-top: 60px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-controls-extended {
      min-width: 90%;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
      bottom: 40px;
    }
    
    .slide-dots-extended {
      width: 100%;
    }
    
    .hero-controls-extended .hero-control {
      order: 3;
      width: 100%;
      justify-content: center;
      border-radius: 30px;
      height: 50px;
    }
    
    .bultimore-circles.section {
      margin-top: -80px;
      padding: 150px 0 60px;
    }
    
    .circle-grid-overlap {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
    
    .circle-grid-overlap .circle-icon {
      width: 120px;
      height: 120px;
    }
    
    .circle-grid-overlap .circle-icon i {
      font-size: 36px;
    }
  }
  
  @media (max-width: 576px) {
    .hero-controls-extended {
      padding: 15px;
      bottom: 30px;
    }
    
    .dot-info {
      padding: 6px 15px;
    }
    
    .dot-label {
      font-size: 0.8rem;
    }
    
    .bultimore-circles.section {
      margin-top: -60px;
      padding: 120px 0 40px;
    }
    
    .circle-grid-overlap {
      grid-template-columns: 1fr;
      gap: 25px;
      margin-top: 30px;
    }
    
    .circle-grid-overlap .circle-icon {
      width: 140px;
      height: 140px;
      margin: 0 auto 15px;
    }
  }

  /* =========================
   EXTENDED SIMPLE HERO CONTROLS
   ========================= */

.hero-controls-extended-simple {
    position: absolute;
    bottom: 180px !important; /* Moved up */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    justify-content: space-between;
  }
  
  .hero-control-extended {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .hero-control-extended:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
    border-color: var(--primary);
  }
  
  .slide-dots-container {
    display: flex;
    gap: 12px;
  }
  
  .dot-extended {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot-extended.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(253, 220, 92, 0.5);
  }
  
  .dot-extended:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
  }
  
  /* =========================
     CIRCLES WITH SMALL OVERLAP
     ========================= */
  
  .bultimore-circles.section {
    margin-top: -80px; /* Small overlap */
    padding-top: 40px; /* Reduce top padding */
    padding-bottom: 70px;
    position: relative;
    z-index: 20;
    background: linear-gradient(to bottom, 
      transparent 0%, 
      rgba(255, 255, 255, 0.95) 30%,
      white 100%
    );
  }
  
  /* Keep original circle grid styles but add subtle enhancement */
  .circle-grid .circle-card {
    position: relative;
    overflow: visible;
  }
  
  .circle-grid .circle-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(
      circle at center,
      rgba(253, 220, 92, 0.05),
      transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .circle-grid .circle-card:hover::before {
    opacity: 1;
  }
  
  /* Enhanced circle icons for overlap effect */
  .circle-grid .circle-icon {
    position: relative;
    z-index: 2;
  }
  
  .circle-grid .circle-card:hover .circle-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px rgba(157, 126, 56, 0.4);
  }
  
  @media (max-width: 992px) {
    .hero {
      min-height: 700px !important;
    }
    
    .hero-slide .hero-content {
      top: 50% !important;
      transform: translate(-50%, -50%) !important;
    }
    
    .bultimore-circles {
      margin-top: -200px !important;
      padding-top: 180px !important;
      z-index: 10040 !important; /* Below hover boxes, above upcoming */
    }
    
    .circle-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: -30px !important;
    }
    
    .hero-controls-extended-simple {
      bottom: 280px !important;
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      min-height: 650px !important;
      height: 80vh;
    }
    
    .hero-slide .hero-content {
      top: 55% !important;
    }
    
    .bultimore-circles {
      margin-top: -150px !important;
      padding-top: 130px !important;
    }
    
    .circle-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      margin-top: -20px !important;
    }
    
    .hero-controls-extended-simple {
      bottom: 220px !important;
      padding: 10px 20px;
      min-width: 150px;
    }
  }
  
  @media (max-width: 576px) {
    .hero {
      min-height: 600px !important;
      height: 85vh;
    }
    
    .hero-slide .hero-content {
      top: 60% !important;
    }
    
    .bultimore-circles {
      position: relative;
      z-index: 200;   /* higher than upcoming */
      margin-top: -100px !important;
      padding-top: 90px !important;
      padding-bottom: 250px !important; /* hover buffer space */
      }
    
    .circle-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: -15px !important;
    }
    
    .circle-icon {
      width: 100px !important;
      height: 100px !important;
      margin-bottom: 12px !important;
    }
    
    .circle-icon i {
      font-size: 28px !important;
    }
    
    .hero-controls-extended-simple {
      bottom: 180px !important;
      padding: 8px 16px;
      min-width: 130px;
      gap: 15px;
    }
  }
  
  /* For very small screens, stack circles */
  @media (max-width: 400px) {
    .circle-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .circle-icon {
      width: 120px !important;
      height: 120px !important;
    }
  }
  
  /* =========================
     REMOVE OLD UNUSED CONTROLS CSS
     ========================= */
  /* Delete or comment out these old styles from previous version:
  
  .hero-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
  }
  
  .hero-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
  }
  
  .hero-control:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
  }
  
  .slide-dots {
    display: flex;
    gap: 10px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot.active {
    background: var(--primary);
    transform: scale(1.2);
  }
  */

  /* =========================
   FIX MISSING SECTIONS
   ========================= */

/* Ensure main content displays properly */
main {
    position: relative;
    z-index: 10;
    background: white;
    margin-top: 0;
  }
  
  /* Fix section spacing */
  .section {
    background: white !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: visible;
  }
  
  /* Fix upcoming section */
  .upcoming {
    background: white !important;
    padding: 100px 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Fix circles section overlap */
  .bultimore-circles.section {
    margin-top: -60px !important; /* Reduced overlap */
    padding-top: 120px !important;
    padding-bottom: 60px !important;
    background: white !important;
    position: relative;
    z-index: 20;
  }
  
  /* Ensure circles are visible */
  .circle-grid {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Fix hero controls positioning */
  .hero-controls-extended-simple {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Fix image paths fallback */
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  /* Debug - remove this after fixing */
  /* body * {
    outline: 1px solid #f00 !important;
  } */

  /* =========================
   FOOTER GRID FIX
   ========================= */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start; /* Changed from default to fix alignment */
  }
  
  .footer-col:first-child {
    grid-column: span 2;
  }
  
  .footer-col {
    display: flex;
    flex-direction: column;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Better spacing */
  }
  
  .footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    width: 100%;
  }
  
  /* Fix newsletter form alignment */
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-form .newsletter-input {
    width: 100%;
  }
  
  /* Ensure equal height columns */
  .footer-col {
    min-height: 300px; /* Adjust as needed */
  }/* =========================
   FIX EVENT CARD LAYOUT
   ========================= */

.event-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    padding: 20px;
    align-items: start; /* Changed from stretch */
  }
  
  .event-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .event-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .event-description {
    margin: 15px 0;
  }
  
  .interactive-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
  }
  
  .feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(253, 220, 92, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
    border: 1px solid rgba(253, 220, 92, 0.3);
  }
  
  .event-meta.enhanced {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
  }
  
  /* Fix GGHub button to look like a link */
  .btn-event-action.preview-btn {
    text-decoration: none;
    text-align: center;
  }
  
  /* Ensure event cards have proper spacing */
  .event-card {
    margin-bottom: 30px;
    overflow: visible;
  }
  
  /* Responsive fixes */
  @media (max-width: 992px) {
    .event-body {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .event-image-container {
      height: 250px;
    }
  }

  /* =========================
   QUOTE SECTION INTERACTIVE BACKGROUND
   ========================= */

.quote-background-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 60px;
    background: linear-gradient(135deg, 
      rgba(26, 26, 26, 0.95) 0%, 
      rgba(42, 30, 10, 0.95) 100%);
    box-shadow: 
      0 25px 50px -12px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(253, 220, 92, 0.2);
    backdrop-filter: blur(20px);
    min-height: 500px;
  }
  
  /* Interactive animated background */
  .bg-card-interactive {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(253, 220, 92, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(153, 101, 21, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
    opacity: 0.8;
    animation: bgFloat 20s ease-in-out infinite;
  }
  
  /* Animated pattern overlay */
  .bg-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 1px 1px, rgba(253, 220, 92, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
    animation: patternMove 40s linear infinite;
  }
  
  /* Floating particles */
  .bg-card-interactive::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
      radial-gradient(circle at 50% 80%, rgba(253, 220, 92, 0.15) 1px, transparent 1px),
      radial-gradient(circle at 90% 40%, rgba(153, 101, 21, 0.1) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    animation: particleFloat 30s linear infinite;
  }
  
  /* Ensure content stays above background */
  .quote-wrapper {
    position: relative;
    z-index: 2;
  }
  
  /* Update existing quote text for better contrast */
  .quote-text {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
  }
  
  .quote-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
  }
  
  /* Update quote icon */
  .quote-icon {
    color: var(--primary) !important;
    filter: drop-shadow(0 0 10px rgba(253, 220, 92, 0.5));
  }
  
  /* Update author info */
  .author-info h5 {
    color: var(--primary) !important;
  }
  
  .author-info p {
    color: rgba(255, 255, 255, 0.8) !important;
  }
  
  /* Update buttons for better visibility */
  .btn-quote-action {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
  }
  
  .btn-quote-action:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 220, 92, 0.3);
  }
  
  .btn-quote-action.primary {
    background: var(--primary);
    color: var(--dark);
  }
  
  .btn-quote-action.primary:hover {
    background: white;
    color: var(--dark);
  }
  
  /* Update visualizer */
  #audio-visualizer {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  #audio-visualizer .bar {
    background: linear-gradient(to top, var(--primary), #ffd700);
  }
  
  /* Update stats */
  .quote-stats strong {
    color: var(--primary);
  }
  
  .quote-stats span {
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* Animations */
  @keyframes bgFloat {
    0%, 100% {
      background-position: 0% 0%;
    }
    25% {
      background-position: 100% 0%;
    }
    50% {
      background-position: 100% 100%;
    }
    75% {
      background-position: 0% 100%;
    }
  }
  
  @keyframes patternMove {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 100px 100px;
    }
  }
  
  @keyframes particleFloat {
    0% {
      background-position: 0 0, 0 0, 0 0;
    }
    100% {
      background-position: 200px 200px, 300px 300px, 250px 250px;
    }
  }
  
  /* Hover effects */
  .quote-background-card:hover .bg-card-interactive {
    animation-duration: 10s;
  }
  
  .quote-background-card:hover .bg-card-interactive::before {
    animation-duration: 20s;
  }
  
  .quote-background-card:hover .bg-card-interactive::after {
    animation-duration: 15s;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .quote-background-card {
      padding: 40px 30px;
    }
    
    .quote-text {
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .quote-background-card {
      padding: 30px 20px;
    }
    
    .quote-text {
      font-size: 1.3rem;
    }
    
    .quote-actions {
      flex-direction: column;
      gap: 10px;
    }
    
    .btn-quote-action {
      width: 100%;
      justify-content: center;
    }
  }

  /* =========================
   INTERACTIVE SOCIAL FEED
   ========================= */

.social-feed-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
  }
  
  .social-feed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 10% 20%, rgba(253, 220, 92, 0.05) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(153, 101, 21, 0.05) 0%, transparent 40%);
    pointer-events: none;
  }
  
  /* Social Tabs */
  .social-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 30px;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .social-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .social-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .social-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
  }
  
  .social-tab:hover::before {
    left: 100%;
  }
  
  .social-tab.active {
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
  
  .social-tab i {
    font-size: 1.2rem;
  }
  
  .post-count {
    font-size: 0.8rem;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 5px;
  }
  
  /* Platform-specific colors */
  .social-tab[data-platform="instagram"].active {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  }
  
  .social-tab[data-platform="twitter"].active {
    background: linear-gradient(135deg, #1DA1F2, #0c7abf);
  }
  
  .social-tab[data-platform="youtube"].active {
    background: linear-gradient(135deg, #FF0000, #cc0000);
  }
  
  .social-tab[data-platform="facebook"].active {
    background: linear-gradient(135deg, #1877F2, #0d5cb6);
  }
  
  .social-tab[data-platform="tiktok"].active {
    background: linear-gradient(135deg, #000000, #25F4EE, #FE2C55);
  }
  
  /* Refresh Button */
  .social-refresh {
    display: flex;
    align-items: center;
  }
  
  #refresh-feed {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  #refresh-feed:hover {
    background: var(--dark);
    color: white;
    transform: rotate(45deg);
  }
  
  #refresh-feed:hover i {
    animation: spin 0.6s ease;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Social Feed Grid */
  .social-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
  }
  
  .social-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .social-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  }
  
  /* Platform indicators */
  .social-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
  }
  
  .social-post-card.instagram::before { background: linear-gradient(90deg, #405DE6, #C13584, #FD1D1D); }
  .social-post-card.twitter::before { background: linear-gradient(90deg, #1DA1F2, #0c7abf); }
  .social-post-card.youtube::before { background: linear-gradient(90deg, #FF0000, #cc0000); }
  .social-post-card.facebook::before { background: linear-gradient(90deg, #1877F2, #0d5cb6); }
  .social-post-card.tiktok::before { background: linear-gradient(90deg, #000000, #25F4EE, #FE2C55); }
  
  /* Post Header */
  .post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 20px 15px;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .user-info {
    flex: 1;
  }
  
  .user-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #212529;
  }
  
  .user-info p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #6c757d;
  }
  
  .platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
  }
  
  /* Post Content */
  .post-content {
    padding: 0 20px 15px;
  }
  
  .post-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
  }
  
  .post-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  }
  
  .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .social-post-card:hover .post-image img {
    transform: scale(1.05);
  }
  
  /* Post Footer */
  .post-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid #f1f3f5;
  }
  
  .post-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
  }
  
  .stat-item-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
  }
  
  .stat-item-small i {
    font-size: 0.9rem;
  }
  
  .stat-item-small.likes i { color: #e63946; }
  .stat-item-small.comments i { color: #1d3557; }
  .stat-item-small.shares i { color: #2a9d8f; }
  
  .post-actions {
    display: flex;
    gap: 10px;
  }
  
  .action-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #495057;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .action-btn.like:hover { background: #ffe3e3; border-color: #e63946; color: #e63946; }
  .action-btn.comment:hover { background: #e3f2fd; border-color: #1d3557; color: #1d3557; }
  .action-btn.share:hover { background: #e8f4f3; border-color: #2a9d8f; color: #2a9d8f; }
  
  /* Post Tags */
  .post-tags {
    padding: 0 20px 20px;
  }
  
  .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(253, 220, 92, 0.1);
    color: #996515;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(253, 220, 92, 0.3);
    transition: all 0.3s ease;
  }
  
  .tag:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
  }
  
  /* Social Stats */
  .social-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 60px;
  }
  
  .social-stats .stat-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f5;
  }
  
  .social-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--primary);
  }
  
  .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
  }
  
  .social-stats .stat-item:nth-child(1) .stat-icon { 
    background: linear-gradient(135deg, #e63946, #ff6b6b); 
  }
  .social-stats .stat-item:nth-child(2) .stat-icon { 
    background: linear-gradient(135deg, #1d3557, #457b9d); 
  }
  .social-stats .stat-item:nth-child(3) .stat-icon { 
    background: linear-gradient(135deg, #2a9d8f, #1a936f); 
  }
  .social-stats .stat-item:nth-child(4) .stat-icon { 
    background: linear-gradient(135deg, #996515, #d4a017); 
  }
  
  .stat-content h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: #212529;
    line-height: 1;
  }
  
  .stat-content p {
    margin: 10px 0 0;
    color: #6c757d;
    font-size: 0.95rem;
  }
  
  /* Animation for new posts */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .social-post-card {
    animation: slideIn 0.5s ease;
  }
  
  /* Live indicator */
  .live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.1);
    color: #e63946;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
  }
  
  .live-pulse {
    width: 8px;
    height: 8px;
    background: #e63946;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .social-feed-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 992px) {
    .social-feed-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .social-tabs-container {
      flex-direction: column;
      align-items: stretch;
    }
    
    .social-tabs {
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    .social-feed-grid {
      grid-template-columns: 1fr;
    }
    
    .social-stats {
      grid-template-columns: 1fr;
    }
    
    .social-tab {
      flex: 1;
      min-width: 140px;
      justify-content: center;
    }
  }
  
  @media (max-width: 576px) {
    .social-tabs {
      flex-direction: column;
    }
    
    .social-tab {
      width: 100%;
    }
    
    .post-actions {
      flex-direction: column;
    }
  }

  /* =========================
   INTERACTIVE WHAT WE DO ACTIVITIES
   ========================= */

.activities-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
  }
  
  .activities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 80% 10%, rgba(253, 220, 92, 0.03) 0%, transparent 50%),
      radial-gradient(circle at 20% 90%, rgba(153, 101, 21, 0.03) 0%, transparent 50%);
    pointer-events: none;
  }
  
  /* Filter Tabs */
  .activities-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 40px;
  }
  
  .filter-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
  }
  
  .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 220, 92, 0.2), transparent);
    transition: left 0.5s ease;
  }
  
  .filter-btn:hover::before {
    left: 100%;
  }
  
  .filter-btn:hover {
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
  }
  
  .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 8px 25px rgba(253, 220, 92, 0.3);
  }
  
  /* Wamsonian Style Grid */
  .activities-grid.wamsonian-style {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
  }
  
  /* Activity Card - Wamsonian Style */
  .activity-card-wamsonian {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .activity-card-wamsonian:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  }
  
  /* Card Categories */
  .activity-card-wamsonian[data-category="culture"] {
    border-top: 4px solid #1d3557;
  }
  
  .activity-card-wamsonian[data-category="education"] {
    border-top: 4px solid #2a9d8f;
  }
  
  .activity-card-wamsonian[data-category="community"] {
    border-top: 4px solid #e63946;
  }
  
  .activity-card-wamsonian[data-category="arts"] {
    border-top: 4px solid #9d4edd;
  }
  
  .activity-card-wamsonian[data-category="digital"] {
    border-top: 4px solid #4361ee;
  }
  
  /* Card Header */
  .card-header-wamsonian {
    padding: 25px 25px 0;
    position: relative;
  }
  
  .category-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(253, 220, 92, 0.1);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(253, 220, 92, 0.3);
  }
  
  .activity-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
  }
  
  .activity-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }
  
  .activity-card-wamsonian:hover .activity-icon::before {
    transform: translateX(100%);
  }
  
  /* Icon colors by category */
  .activity-card-wamsonian[data-category="culture"] .activity-icon {
    background: linear-gradient(135deg, #1d3557, #457b9d);
  }
  
  .activity-card-wamsonian[data-category="education"] .activity-icon {
    background: linear-gradient(135deg, #2a9d8f, #1a936f);
  }
  
  .activity-card-wamsonian[data-category="community"] .activity-icon {
    background: linear-gradient(135deg, #e63946, #ff6b6b);
  }
  
  .activity-card-wamsonian[data-category="arts"] .activity-icon {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
  }
  
  .activity-card-wamsonian[data-category="digital"] .activity-icon {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
  }
  
  /* Card Content */
  .card-content-wamsonian {
    padding: 0 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .card-content-wamsonian h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    color: #212529;
    line-height: 1.3;
  }
  
  .card-content-wamsonian p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    font-size: 0.95rem;
  }
  
  /* Interactive Features */
  .card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    font-size: 0.85rem;
    color: #495057;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .feature-badge:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    transform: translateY(-2px);
  }
  
  .feature-badge i {
    font-size: 0.9rem;
  }
  
  /* Progress Indicator */
  .activity-progress {
    margin: 20px 0;
  }
  
  .progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6c757d;
  }
  
  .progress-container {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
  }
  
  .progress-bar-animated {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--dark));
    width: 0;
    transition: width 1.5s ease;
  }
  
  /* Card Footer */
  .card-footer-wamsonian {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }
  
  .card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #6c757d;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .meta-item i {
    color: var(--primary);
  }
  
  .action-btn-wamsonian {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }
  
  .action-btn-wamsonian:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.3);
  }
  
  /* Hover Effects */
  .activity-card-wamsonian::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(253, 220, 92, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .activity-card-wamsonian:hover::before {
    opacity: 1;
  }
  
  /* Flip Animation for Hover */
  .activity-card-wamsonian .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    padding: 30px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.6s ease;
  }
  
  .activity-card-wamsonian:hover .card-back {
    transform: rotateY(0);
    opacity: 1;
  }
  
  .activity-card-wamsonian:hover .card-front {
    opacity: 0;
  }
  
  /* Stats Counter */
  .activities-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0 40px;
  }
  
  .stat-counter {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f5;
  }
  
  .stat-counter:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
  }
  
  .stat-counter .counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .stat-counter p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
  }
  
  /* View All Button */
  .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary), #ffd700);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(253, 220, 92, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
  }
  
  .btn-view-all:hover::before {
    left: 100%;
  }
  
  .btn-view-all:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(253, 220, 92, 0.4);
  }
  
  .btn-view-all i {
    transition: transform 0.3s ease;
  }
  
  .btn-view-all:hover i {
    transform: translateX(8px);
  }
  
  /* Animation for cards */
  @keyframes cardSlideIn {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .activity-card-wamsonian {
    animation: cardSlideIn 0.6s ease;
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .activities-grid.wamsonian-style {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 992px) {
    .activities-grid.wamsonian-style {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .activities-filter {
      gap: 8px;
    }
    
    .filter-btn {
      min-width: 120px;
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 768px) {
    .activities-grid.wamsonian-style {
      grid-template-columns: 1fr;
      max-width: 500px;
      margin: 0 auto;
    }
    
    .activities-filter {
      flex-direction: column;
      align-items: center;
    }
    
    .filter-btn {
      width: 100%;
      max-width: 300px;
    }
    
    .activities-stats {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 576px) {
    .activities-stats {
      grid-template-columns: 1fr;
    }
    
    .btn-view-all {
      width: 100%;
      justify-content: center;
    }
  }

  /* =========================
   HERO WITH CIRCLES OVERLAP - CLEAN VERSION
   ========================= */

/* HERO SECTION - OPTIMIZED FOR OVERLAP */
.hero {
  position: relative;
  z-index: 1;
  overflow: visible; /* critical for overlap */
  height: 130vh;   /* try 110–130vh */
  min-height: 120vh;
  }

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, #fff 100%);
  pointer-events: none;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
  text-align: center;
  inset: 0;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 60px;
}

.hero.overlap-section {
  position: relative;
  height: 100vh;
  min-height: 650px !important; /* Reduced from 850px */
  overflow: visible !important; /* Changed from hidden */
  z-index: 10;
  margin-bottom: 0;
}

.hero.overlap-section .hero-slides {
  position: relative;
  height: 60vh; /* Hero takes 60% of viewport */
  min-height: 400px;
  width: 100%;
}

.hero.overlap-section .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.overlap-section .hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero.overlap-section .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero.overlap-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 20%,
      rgba(0, 0, 0, 0.2) 35%,
      rgba(0, 0, 0, 0.1) 50%,
      transparent 65%
  ) !important;
}

/* HERO CONTENT - HIGH POSITION */
.hero.overlap-section .hero-slide .hero-content {
  position: absolute;
  top: 35% !important; /* Much higher position */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
}

.hero.overlap-section .hero-slide.active .hero-content {
  opacity: 1;
  animation: heroFadeUp 1s ease forwards;
}

/* HERO CONTROLS - POSITIONED CLOSER TO CIRCLES */
.hero.overlap-section .hero-controls-extended-simple {
  position: absolute;
  bottom: 280px !important;  /* sit above circles */
  left: 50%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 12px 25px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  justify-content: space-between;
  transform: translateX(-50%);
  z-index: 20;     /* higher than circles */
}

.hero-control-extended {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-control-extended:hover {
  background: var(--primary);
  color: var(--dark);
  transform: scale(1.1);
  border-color: var(--primary);
}

.slide-dots-container {
  display: flex;
  gap: 12px;
}

.dot-extended {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot-extended.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(253, 220, 92, 0.5);
}

/* =========================
 CIRCLES OVERLAPPING HERO - STRONG OVERLAP
 ========================= */
 .bultimore-circles {
  position: relative;
  margin-top: 200px;   /* adjust between 100px to 160px */ /* pushes downward from hero text */
  padding-top: 160px;   /* compensates for negative pull */
  z-index: 50;
  background: transparent;
  }

.bultimore-circles.overlap-circles {
  position: relative;
  margin-top: -50px !important; /* Strong overlap into hero */
  z-index: 20;
  background: transparent !important;
  padding: 40px 0 80px !important;
  min-height: 300px;
}

.bultimore-circles.overlap-circles .container {
  position: relative;
  z-index: 30;
  padding: 0 15px;
}

.circle-grid-overlap {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 25px !important;
  text-align: center;
  position: relative;
  margin-top: -20px; /* Pull circles up further */
}

/* CIRCLES - LARGE AND PROMINENT */
.circle-grid-overlap .circle-card {
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 35;
}

.circle-grid-overlap .circle-card:hover {
  transform: translateY(-8px);
}

.circle-grid-overlap .circle-icon {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: visible;
  border: 3px solid rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* INDIVIDUAL CIRCLE COLORS */
.circle-grid-overlap .circle-card:nth-child(1) .circle-icon {
  background: linear-gradient(135deg, #8f7336, var(--dark), #b79b5b);
}

.circle-grid-overlap .circle-card:nth-child(2) .circle-icon {
  background: linear-gradient(135deg, #9e8446, #b79b5b, var(--primary));
}

.circle-grid-overlap .circle-card:nth-child(3) .circle-icon {
  background: linear-gradient(135deg, #7f662f, #a88945, var(--primary));
}

.circle-grid-overlap .circle-card:nth-child(4) .circle-icon {
  background: linear-gradient(135deg, #a88d4e, var(--dark), var(--primary));
}

.circle-grid-overlap .circle-card:hover .circle-icon {
  background: #b79b5b;
  box-shadow: 0 25px 50px rgba(157, 126, 56, 0.4);
  transform: scale(1.1);
  border-color: white;
}

.circle-grid-overlap .circle-icon i {
  font-size: 48px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.circle-grid-overlap .circle-card h4 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin: 15px 0 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

/* =========================
 RESPONSIVE - ALWAYS 4 COLUMNS
 ========================= */

@media (max-width: 1200px) {
  .circle-grid-overlap {
      gap: 20px !important;
  }
  
  .circle-grid-overlap .circle-icon {
      width: 140px;
      height: 140px;
  }
  
  .circle-grid-overlap .circle-icon i {
      font-size: 42px;
  }
  
  .circle-grid-overlap .circle-card h4 {
      font-size: 1.1rem;
      padding: 7px 15px;
  }
}

@media (max-width: 992px) {
  .hero.overlap-section {
      min-height: 550px !important;
  }
  
  .hero.overlap-section .hero-slides {
      height: 50vh;
      min-height: 350px;
  }
  
  .hero.overlap-section .hero-slide .hero-content {
      top: 30% !important;
  }
  
  .bultimore-circles.overlap-circles {
      margin-top: -80px !important;
      padding: 30px 0 60px !important;
  }
  
  .circle-grid-overlap {
      gap: 15px !important;
  }
  
  .circle-grid-overlap .circle-icon {
      width: 120px;
      height: 120px;
  }
  
  .circle-grid-overlap .circle-icon i {
      font-size: 36px;
  }
  
  .circle-grid-overlap .circle-card h4 {
      font-size: 1rem;
      padding: 6px 12px;
      white-space: normal;
      line-height: 1.2;
  }
  
  .hero.overlap-section .hero-controls-extended-simple {
      bottom: 100px !important;
  }
}

@media (max-width: 768px) {
  .hero.overlap-section {
      min-height: 500px !important;
  }
  
  .hero.overlap-section .hero-slides {
      height: 45vh;
      min-height: 300px;
  }
  
  .hero.overlap-section .hero-slide .hero-content {
      top: 25% !important;
  }
  
  .bultimore-circles.overlap-circles {
      margin-top: -60px !important;
      padding: 20px 0 40px !important;
  }
  
  .bultimore-circles.overlap-circles .container {
      padding: 0 10px;
  }
  
  .circle-grid-overlap {
      gap: 10px !important;
  }
  
  .circle-grid-overlap .circle-icon {
      width: 100px;
      height: 100px;
      margin-bottom: 15px;
  }
  
  .circle-grid-overlap .circle-icon i {
      font-size: 28px;
  }
  
  .circle-grid-overlap .circle-card h4 {
      font-size: 0.9rem;
      padding: 5px 10px;
      line-height: 1.1;
  }
  
  .hero.overlap-section .hero-controls-extended-simple {
      bottom: 80px !important;
      padding: 10px 20px;
      min-width: 150px;
  }
}

@media (max-width: 576px) {
  .hero.overlap-section {
      min-height: 450px !important;
  }
  
  .hero.overlap-section .hero-slides {
      height: 40vh;
      min-height: 250px;
  }
  
  .hero.overlap-section .hero-slide .hero-content {
      top: 20% !important;
  }
  
  .bultimore-circles.overlap-circles {
      margin-top: -40px !important;
      padding: 15px 0 30px !important;
  }
  
  .circle-grid-overlap {
      gap: 8px !important;
  }
  
  .circle-grid-overlap .circle-icon {
      width: 85px;
      height: 85px;
      margin-bottom: 12px;
      border-width: 2px;
  }
  
  .circle-grid-overlap .circle-icon i {
      font-size: 24px;
  }
  
  .circle-grid-overlap .circle-card h4 {
      font-size: 0.8rem;
      padding: 4px 8px;
  }
  
  .hero.overlap-section .hero-controls-extended-simple {
      bottom: 60px !important;
      padding: 8px 16px;
      min-width: 130px;
  }
}

/* ANIMATION */
@keyframes heroFadeUp {
  from {
      opacity: 0;
      transform: translate(-50%, 20px);
  }
  to {
      opacity: 1;
      transform: translate(-50%, -50%);
  }
}

/* =========================
   INDUSTRIAL DESIGN PORTFOLIO
   ========================= */

.portfolio-section {
    background: linear-gradient(135deg, #f9f5f0 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(253, 220, 92, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(153, 101, 21, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Section Header Enhancement */
.section-header.enhanced {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: attr(data-text);
    position: absolute;
    top: 2px;
    left: 2px;
    color: var(--primary);
    z-index: -1;
    opacity: 0.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.section-badge {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* DESIGN PHILOSOPHY CARD */
.design-philosophy-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 24px;
    padding: 40px;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.design-philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--dark));
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.philosophy-icon {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.philosophy-icon i {
    font-size: 3rem;
    color: var(--dark);
    position: relative;
    z-index: 2;
}

.icon-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(253, 220, 92, 0.2);
    animation: ripple 3s infinite;
}

.philosophy-text h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.philosophy-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1.1rem;
}

.philosophy-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(253, 220, 92, 0.1);
    border-radius: 25px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(253, 220, 92, 0.3);
    transition: var(--transition);
}

.pillar:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.pillar i {
    color: var(--dark);
}

/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-card.interactive:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(253, 220, 92, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-card:hover::before {
    opacity: 1;
}

.portfolio-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 15px;
}

.zoom-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.category-tag {
    padding: 6px 15px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.portfolio-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.portfolio-year {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    background: rgba(253, 220, 92, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
}

.portfolio-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.portfolio-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(253, 220, 92, 0.1);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--dark);
}

.feature i {
    color: var(--dark);
}

.portfolio-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.spec {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.spec-label {
    color: #666;
    font-weight: 600;
}

.spec-value {
    color: var(--dark);
    text-align: right;
}

.badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.production {
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    color: white;
}

.badge.launched {
    background: linear-gradient(135deg, #38b000, #2d6a4f);
    color: white;
}

.badge.deployed {
    background: linear-gradient(135deg, #f72585, #b5179e);
    color: white;
}

.badge.certified {
    background: linear-gradient(135deg, #f8961e, #f3722c);
    color: white;
}

.portfolio-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-portfolio {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    flex: 1;
    justify-content: center;
}

.btn-portfolio.view-details {
    background: var(--primary);
    color: var(--dark);
}

.btn-portfolio.secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-portfolio:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.btn-portfolio.view-details:hover {
    background: var(--dark);
    color: white;
}

.btn-portfolio.secondary:hover {
    background: var(--primary);
}

/* PORTFOLIO FILTERS */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 60px 0 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 220, 92, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 8px 25px rgba(253, 220, 92, 0.3);
}

/* DESIGN PROCESS */
.design-process {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 50px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.design-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, rgba(253, 220, 92, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(153, 101, 21, 0.1) 0%, transparent 50%);
}

.process-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 50px;
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 -20px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--dark));
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.process-step.active {
    opacity: 1;
    transform: translateY(-10px);
}

.process-step:hover {
    opacity: 1;
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    transition: var(--transition);
}

.process-step.active .step-icon,
.process-step:hover .step-icon {
    border-color: var(--primary);
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.step-icon i {
    font-size: 1.8rem;
    color: var(--dark);
}

.process-step h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0 0 10px;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* AWARDS SECTION */
.awards-section {
    margin: 100px 0;
}

.awards-header {
    text-align: center;
    margin-bottom: 50px;
}

.awards-header h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.awards-header p {
    color: #666;
    font-size: 1.1rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.award-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.award-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.award-content {
    flex: 1;
}

.award-content h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 0 0 5px;
}

.award-content p {
    color: #666;
    margin: 0 0 10px;
    font-size: 0.9rem;
}

.award-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(253, 220, 92, 0.1);
    color: var(--dark);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* CALL TO ACTION */
.portfolio-cta {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    border-radius: 24px;
    padding: 60px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(253, 220, 92, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

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

.btn-cta {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
}

.btn-cta.primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-cta.secondary {
    background: white;
    color: var(--dark);
}

.btn-cta.outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta.primary:hover {
    background: white;
    color: var(--dark);
}

.btn-cta.secondary:hover {
    background: var(--primary);
}

.btn-cta.outline:hover {
    background: white;
    color: var(--dark);
    border-color: white;
}

.cta-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* PROJECT MODAL */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #666;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-project-view .modal-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.project-title-section h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-meta span {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-meta .year {
    background: rgba(253, 220, 92, 0.1);
    color: var(--dark);
}

.project-meta .category {
    background: rgba(153, 101, 21, 0.1);
    color: var(--dark);
}

.project-meta .status {
    background: linear-gradient(135deg, #4cc9f0, #4361ee);
    color: white;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.detail-section h3 i {
    color: var(--primary);
}

.detail-section p {
    color: #555;
    line-height: 1.6;
}

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.features-list li i {
    color: var(--primary);
}

.awards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.award-badge {
    padding: 6px 15px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-modal {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--dark);
    text-decoration: none;
}

.btn-modal:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.btn-modal.primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-modal.primary:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.8rem;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-content {
        flex-direction: column;
        text-align: center;
    }
    
    .philosophy-icon {
        width: 80px;
        height: 80px;
    }
    
    .philosophy-icon i {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .design-process,
    .design-philosophy-card {
        padding: 30px;
    }
    
    .portfolio-cta {
        padding: 40px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-actions {
        flex-direction: column;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-modal {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================
   DESKTOP EVENT LAYOUT FIX
   =============================== */

   @media (min-width: 992px) {

    .event-body {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 20px;
    }
  
    /* First row */
    .event-image-container {
      grid-column: 1 / 2;
    }
  
    .event-content {
      grid-column: 2 / 3;
    }
  
    /* Full width rows */
    .interactive-features,
    .event-progress,
    .event-meta.enhanced,
    .event-actions {
      grid-column: 1 / -1;  /* THIS is the key */
    }
  
  }
  
  @media (min-width: 992px) {

    .interactive-features {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }
  
    .event-meta.enhanced {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
    }
  
  }

  /* =========================
   COMPACT CARD REFINEMENT
   ========================= */

.event-card {
  margin-bottom: 22px;
}

.event-body {
  padding: 18px;
}

.event-image-container {
  height: 170px;  /* reduced from 200px */
}

.event-content h6 {
  margin-bottom: 6px;
}

.event-subtitle {
  margin-bottom: 8px;
}

.interactive-features {
  margin: 10px 0;
}

.event-progress {
  margin: 12px 0;
}

.event-meta.enhanced {
  margin: 12px 0;
}

.event-actions {
  margin-top: 12px;
}

.btn-event-action {
  padding: 10px 18px;
}

.section {
  overflow: hidden;
}

/* HIDE ANNOYING YELLOW PREVIEW PANEL */
.interactive-panel,
#circle-preview {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* =========================
   MODERN EVENT CARDS - CLEAN STRUCTURE
   ========================= */

.event-card-modern {
  background: white;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
}

.event-card-modern:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #fddc5c;
}

/* ROW 1: Image + Title Grid */
.event-row-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

/* Image Column */
.event-image-col {
  position: relative;
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

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

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

/* Date Badge - Directly on Image */
.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FDDC5C, #f7cf47);
  color: #996515;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  font-weight: 700;
  border: 2px solid white;
}

.date-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.date-day {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 800;
  margin: 2px 0;
}

.date-year {
  font-size: 0.6rem;
  opacity: 0.8;
}

/* Title Column */
.event-title-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-type {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FDDC5C, #ffd700);
  color: #996515;
  border: none;
}

.badge-type.exhibition {
  background: linear-gradient(135deg, rgb(6, 96, 132), rgb(5, 133, 184));
  color: white;
}

.badge-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.event-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.event-subheading {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ROWS 2-6: Full Width Sections */
.event-row-full {
  width: 100%;
  margin-bottom: 24px;
}

.event-row-full:last-child {
  margin-bottom: 0;
}

/* Features Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #f8fafc;
  border-radius: 40px;
  font-size: 0.85rem;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: #FDDC5C;
  border-color: #FDDC5C;
  color: #996515;
}

.feature-item i {
  color: #996515;
  font-size: 0.9rem;
}

/* Progress Section */
.progress-section {
  width: 100%;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.progress-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

.progress-numbers {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

.progress-total {
  font-weight: 400;
  color: #64748b;
}

.progress-track-modern {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill-modern {
  height: 100%;
  background: linear-gradient(90deg, #FDDC5C, #996515);
  border-radius: 100px;
  transition: width 0.8s ease;
}

/* Meta Grid */
.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 16px 0;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px 24px;
}

.meta-item-modern {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-item-modern i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  color: #996515;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
}

.meta-text {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

/* Actions Container */
.actions-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-rsvp-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #FDDC5C, #ffd700);
  color: #996515;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
  box-shadow: 0 8px 16px rgba(253, 220, 92, 0.2);
}

.btn-ghub-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background:rgb(6, 96, 132);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
  box-shadow: 0 8px 16px rgba(111, 66, 193, 0.15);
}

.btn-preview-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: #1e293b;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
}

.btn-share-modern {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-rsvp-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(253, 220, 92, 0.3);
}

.btn-ghub-modern:hover {
  background: #5a32a3;
  transform: translateY(-3px);
}

.btn-preview-modern:hover {
  background: #0f172a;
  transform: translateY(-3px);
}

.btn-share-modern:hover {
  background: #FDDC5C;
  color: #996515;
  border-color: #FDDC5C;
  transform: translateY(-3px);
}

/* Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-modern {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.8rem;
  color: #475569;
  transition: all 0.2s ease;
}

.tag-modern:hover {
  background: #FDDC5C;
  border-color: #FDDC5C;
  color: #996515;
}

.event-footer-modern {
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  margin-top: 8px;
}

/* =========================
   RESPONSIVE FIXES
   ========================= */

@media (max-width: 992px) {
  .event-row-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .event-image-wrapper {
    height: 200px;
    max-width: 100%;
  }
  
  .meta-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  .actions-container {
    flex-wrap: wrap;
  }
  
  .btn-rsvp-modern,
  .btn-ghub-modern,
  .btn-preview-modern {
    max-width: 100%;
    flex: 1 1 100%;
  }
  
  .btn-share-modern {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .event-card-modern {
    padding: 20px;
  }
  
  .features-grid {
    flex-direction: column;
  }
  
  .feature-item {
    width: 100%;
    justify-content: center;
  }
  
  .event-heading {
    font-size: 1.3rem;
  }
}

/* =========================
   PORTFOLIO GRID ENHANCEMENTS FOR AIRMEN PRODUCTS
   ========================= */

   .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
  
  @media (max-width: 1200px) {
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* Color schemes for Airmen products */
  .portfolio-card[data-project="5"] .portfolio-header h3 { color: #8b5cf6; }
  .portfolio-card[data-project="5"] .badge { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
  
  .portfolio-card[data-project="6"] .portfolio-header h3 { color: #f97316; }
  .portfolio-card[data-project="6"] .badge { background: linear-gradient(135deg, #f97316, #ea580c); }
  
  .portfolio-card[data-project="7"] .portfolio-header h3 { color: #0d9488; }
  .portfolio-card[data-project="7"] .badge { background: linear-gradient(135deg, #0d9488, #14b8a6); }
  
  .portfolio-card[data-project="8"] .portfolio-header h3 { color: #6b21a8; }
  .portfolio-card[data-project="8"] .badge { background: linear-gradient(135deg, #6b21a8, #8b5cf6); }
  
  .portfolio-card[data-project="9"] .portfolio-header h3 { color: #1e3a8a; }
  .portfolio-card[data-project="9"] .badge { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }

  /* =========================
   SHARE DROPDOWN - MODERN
   ========================= */

.share-dropdown-container {
  position: relative;
  display: inline-block;
}

.share-dropdown {
  position: absolute;
  bottom: 60px; /* Appears above the button */
  right: 0;
  width: 280px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid #e2e8f0;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.share-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 600;
  color: #1e293b;
}

.close-dropdown {
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.2s ease;
}

.close-dropdown:hover {
  background: #FDDC5C;
  color: #996515;
  transform: rotate(90deg);
}

.share-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: #f8fafc;
  border-radius: 12px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  gap: 6px;
}

.share-option i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Platform-specific colors on hover */
.share-option.x-share:hover {
  background: #000;
  color: white;
  border-color: #000;
}

.share-option.facebook-share:hover {
  background: #1877F2;
  color: white;
}

.share-option.youtube-share:hover {
  background: #FF0000;
  color: white;
}

.share-option.linkedin-share:hover {
  background: #0A66C2;
  color: white;
}

.share-option.whatsapp-share:hover {
  background: #25D366;
  color: white;
}

.share-option.email-share:hover {
  background: #6c757d;
  color: white;
}

.share-option.copy-link:hover {
  background: #1e293b;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .share-dropdown {
    width: 260px;
    right: -20px;
  }
  
  .share-dropdown-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .share-option {
    padding: 10px 6px;
    font-size: 0.7rem;
  }
}

/* =========================
   COMPACT SIDEBAR - ENHANCED
   ========================= */

   .upcoming-sidebar-compact {
    background: white;
    border-radius: 24px;
    border: 1px solid #edf2f7;
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 120px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
  }
  
  .upcoming-sidebar-compact:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(253, 220, 92, 0.3);
  }
  
  .sidebar-header {
    padding: 24px 24px 20px;
    background: linear-gradient(135deg, #996515, #7a5011);
    color: white;
    position: relative;
  }
  
  .sidebar-title {
    margin: 0 0 6px 0;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  
  .sidebar-subtitle {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
  }
  
  .sidebar-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }
  
  .sidebar-toggle:hover {
    background: var(--primary);
    color: var(--dark);
    transform: rotate(180deg);
  }
  
  .sidebar-content {
    padding: 24px;
    max-height: 800px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
  }
  
  .sidebar-content.collapsed {
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
  }
  
  /* Compact Event Cards - Now Clickable Links */
  .compact-event-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    position: relative;
  }
  
  .compact-event-card.active {
    border-color: var(--primary);
    background: rgba(253, 220, 92, 0.08);
  }
  
  .compact-event-card:hover {
    transform: translateX(6px);
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
  }
  
  .compact-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 10px 8px;
    border-radius: 12px;
    min-width: 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
    border: 1px solid #edf2f7;
  }
  
  .compact-date span {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
  }
  
  .compact-date strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin: 2px 0;
  }
  
  .compact-info {
    flex: 1;
  }
  
  .compact-info h6 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
  }
  
  .compact-info p {
    margin: 0 0 8px 0;
    font-size: 0.8rem;
    color: #64748b;
  }
  
  .compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: #475569;
  }
  
  .compact-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .compact-meta i {
    color: var(--primary);
    font-size: 0.7rem;
  }
  
  .compact-join-wrapper {
    display: flex;
    align-items: center;
  }
  
  .compact-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(253, 220, 92, 0.2);
  }
  
  .compact-event-card:hover .compact-join {
    background: var(--dark);
    color: white;
    transform: scale(1.05);
  }
  
  /* Mini Calendar Enhancement */
  .mini-calendar {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 30px 0 20px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  }
  
  .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .calendar-header h5 {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .calendar-header h5 i {
    color: var(--primary);
  }
  
  .calendar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .calendar-nav:hover {
    border-color: var(--primary);
    color: var(--dark);
    background: rgba(253, 220, 92, 0.1);
    transform: scale(1.1);
  }
  
  .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
  }
  
  .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }
  
  .calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    background: white;
    color: #1e293b;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }
  
  .calendar-day:hover {
    background: var(--light-gold);
    border-color: var(--primary);
    transform: scale(1.1);
  }
  
  .calendar-day.today {
    background: var(--primary) !important;
    color: var(--dark) !important;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(253, 220, 92, 0.3);
  }
  
  .calendar-day.has-event {
    position: relative;
    font-weight: 700;
    color: var(--dark);
    border: 1px solid rgba(253, 220, 92, 0.5);
    background: rgba(253, 220, 92, 0.1);
  }
  
  .calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background: var(--dark);
    border-radius: 50%;
  }
  
  .calendar-day.selected {
    background: var(--dark);
    color: white;
  }
  
  .calendar-day.empty {
    visibility: hidden;
  }
  
  .calendar-legend {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.7rem;
    color: #64748b;
  }
  
  .legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
  }
  
  .legend-dot.today {
    background: var(--primary);
  }
  
  .legend-dot.event {
    background: var(--dark);
  }
  
  /* Sidebar Stats */
  .sidebar-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .stat-item:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
  }
  
  .stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
  }
  
  .stat-item strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
  }
  
  .stat-item small {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Sidebar Quick Actions */
  .sidebar-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
  }
  
  .sidebar-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary), #ffd700);
    color: var(--dark);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(253, 220, 92, 0.2);
  }
  
  .sidebar-action-btn.outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    box-shadow: none;
  }
  
  .sidebar-action-btn:hover {
    transform: translateY(-3px);
    background: var(--dark);
    color: white;
  }
  
  .sidebar-action-btn.outline:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: white;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .upcoming-sidebar-compact {
      position: relative;
      top: 0;
      margin-top: 40px;
    }
    
    .compact-event-card {
      padding: 14px;
    }
  }
  
  @media (max-width: 576px) {
    .sidebar-content {
      padding: 20px;
    }
    
    .compact-event-card {
      flex-wrap: wrap;
    }
    
    .compact-join-wrapper {
      width: 100%;
      margin-top: 8px;
    }
    
    .compact-join {
      width: 100%;
    }
    
    .sidebar-stats {
      grid-template-columns: 1fr;
    }
    
    .sidebar-actions {
      flex-direction: column;
    }
  }
  
  /* Keep footer horizontal on mobile - space efficient */
@media (max-width: 768px) {
  .footer-redesigned {
    width: 100%;
    overflow-x: hidden;
  }
  
  .footer-redesigned .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 15px !important;
    width: 100%;
  }
  
  .footer-redesigned .footer-col {
    width: 100%;
    min-width: 0;
  }
  
  /* Brand column spans full width on mobile */
  .footer-redesigned .footer-col:first-child {
    grid-column: 1 / -1 !important;
    margin-bottom: 10px;
  }
  
  /* Compact content */
  .footer-redesigned .footer-logo {
    margin-bottom: 10px;
  }
  
  .footer-redesigned .footer-logo h3 {
    font-size: 1.3rem;
  }
  
  .footer-redesigned .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .footer-redesigned .footer-description {
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  
  .footer-redesigned .footer-title {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
  }
  
  .footer-redesigned .footer-title::after {
    width: 30px;
    height: 2px;
  }
  
  .footer-redesigned .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-redesigned .footer-links a {
    font-size: 0.85rem;
    gap: 5px;
  }
  
  .footer-redesigned .footer-links i {
    font-size: 0.7rem;
  }
  
  .footer-redesigned .footer-contact li {
    margin-bottom: 12px;
    gap: 8px;
  }
  
  .footer-redesigned .footer-contact i {
    font-size: 0.9rem;
    width: 16px;
  }
  
  .footer-redesigned .footer-contact strong {
    font-size: 0.75rem;
  }
  
  .footer-redesigned .footer-contact p,
  .footer-redesigned .footer-contact a {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .footer-redesigned .newsletter-text {
    font-size: 0.8rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }
  
  .footer-redesigned .newsletter-form {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
  }
  
  .footer-redesigned .newsletter-input {
    padding: 8px 10px;
    font-size: 0.8rem;
    flex: 1;
    min-width: 0;
  }
  
  .footer-redesigned .newsletter-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    width: auto;
  }
  
  .footer-redesigned .footer-media-icons {
    gap: 8px;
  }
  
  .footer-redesigned .media-icon {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  
  .footer-redesigned .media-icon i {
    font-size: 0.8rem;
  }
  
  .footer-redesigned .footer-social {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .footer-redesigned .social-circle {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .footer-redesigned .footer-bottom {
    padding: 20px 0 15px;
  }
  
  .footer-redesigned .footer-bottom-content {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .footer-redesigned .footer-bottom-content p {
    margin-bottom: 5px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .footer-redesigned .footer-grid {
    gap: 15px 10px !important;
  }
  
  .footer-redesigned .footer-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .footer-redesigned .footer-links a {
    font-size: 0.8rem;
  }
  
  .footer-redesigned .footer-contact i {
    font-size: 0.8rem;
  }
  
  .footer-redesigned .footer-contact p,
  .footer-redesigned .footer-contact a {
    font-size: 0.75rem;
  }
  
  .footer-redesigned .newsletter-input {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  
  .footer-redesigned .newsletter-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .footer-redesigned .social-circle {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .footer-redesigned .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .footer-redesigned .footer-col {
    grid-column: 1 / -1 !important;
     margin-bottom: 0 !important;
  }
}



/* Reduce vertical gaps in footer */
.footer-redesigned .footer-grid {
  gap: 20px !important; /* Reduce from default */
}

.footer-redesigned .footer-col {
 
}

/* Reduce space between sections within columns */
.footer-redesigned .footer-logo {
  margin-bottom: 10px !important;
}

.footer-redesigned .footer-description {
  margin-bottom: 12px !important;
}

.footer-redesigned .footer-media-icons {
  margin-bottom: 8px !important;
}

.footer-redesigned .footer-title {
  margin-bottom: 12px !important;
}

.footer-redesigned .footer-links {
  margin-bottom: 0 !important;
}

.footer-redesigned .footer-links li {
  margin-bottom: 6px !important;
}

.footer-redesigned .footer-contact {
  margin-bottom: 0 !important;
}

.footer-redesigned .footer-contact li {
  margin-bottom: 8px !important;
}

.footer-redesigned .newsletter-text {
  margin-bottom: 10px !important;
}

.footer-redesigned .newsletter-form {
  margin-bottom: 12px !important;
}

.footer-redesigned .footer-social {
  margin-top: 5px !important;
  gap: 8px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-redesigned .footer-grid {
    gap: 15px !important;
  }
  
  .footer-redesigned .footer-logo {
    margin-bottom: 8px !important;
  }
  
  .footer-redesigned .footer-description {
    margin-bottom: 10px !important;
  }
  
  .footer-redesigned .footer-media-icons {
    margin-bottom: 5px !important;
  }
  
  .footer-redesigned .footer-title {
    margin-bottom: 10px !important;
  }
  
  .footer-redesigned .footer-links li {
    margin-bottom: 4px !important;
  }
  
  .footer-redesigned .footer-contact li {
    margin-bottom: 6px !important;
  }
  
  .footer-redesigned .newsletter-text {
    margin-bottom: 8px !important;
  }
  
  .footer-redesigned .newsletter-form {
    margin-bottom: 8px !important;
  }
}