:root {
    --primary: #dba529;
    --secondary: #2d3436;
    --accent: #f1c40f;
    --dark: #1a1a1a;
    --light: #ffffff;
  }
  
  /* Base Styles */
  body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
  }
  
  /* Navigation */
  .navbar {
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
  }
  
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  }
  
  .nav-link {
    font-weight: 500;
    color: var(--light);
    transition: all 0.3s;
  }
  
  .navbar.scrolled .nav-link {
    color: var(--dark);
  }
  
  /* Hero Section */
  .hero-section {
    height: 100vh;
    position: relative;
    background: url('../images/gsls2024.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      45deg,
      rgba(0,0,0,0.7),
      rgba(219,165,41,0.3)
    );
    backdrop-filter: blur(5px);
  }
  
  .hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--light);
  }
  
  /* Timeline Section */
  .timeline-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .timeline-section::before {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
  }
  
  .timeline-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.2);
    width: 44%; /* Adjusted width for better spacing */
    position: relative;
    cursor: pointer;
  }

  .timeline-card.left {
    float: left;
    padding-right: 40px;
  }

  .timeline-card.right {
    float: right;
    padding-left: 40px;
  }
  
  /* Stats Section */
  .stats-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 6rem 0;
    color: var(--light);
  }
  
  .stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in-up {
    animation: fadeInUp 1s ease forwards;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .timeline-section::before {
      left: 31px;
    }
    
    .timeline-card {
      width: 100%;
      float: right;
      padding: 1.5rem;
      padding: 0 20px;
    }
  }

  /* Timeline Image Styles */
  .image-container {
    width: 100%;
    height: 300px; /* Increased height */
    overflow: hidden;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

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

  .timeline-card .content {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
  }

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

  /* Future Event Card */
  .future-event {
    min-height: 450px; /* Match height with image cards */
    background: linear-gradient(135deg, #f6f8fa, #ffffff);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Additional Image Optimization Styles */
  .timeline-section img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .content img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  /* Timeline Card Hover Effects */
  .timeline-card:hover .content {
    transform: translateY(-5px);
  }

  /* Modal Styles */
  .modal-content {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .modal-header {
    border-bottom: none;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 1.5rem;
    border: none;
  }

  .modal-body {
    padding: 2rem;
  }

  .modal-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
  }

  .btn-close {
    filter: brightness(0) invert(1);
  }

  /* Modal Tabs */
  .modal-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .modal-tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    color: #666;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
  }

  .modal-tab-btn.active {
    color: var(--primary);
  }

  .modal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
  }

  /* Media Grid */
  .media-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .youtube-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Social Media Embeds */
  .fb-post, .instagram-media {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* Loading Animation */
  .media-loading {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
  }

  .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .youtube-grid, .social-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 1rem;
    }
  }

  .journey-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modern-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #007bff, #00ff88);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-content {
    width: 45%;
    margin-left: auto;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.year-pill {
    position: absolute;
    left: -80px;
    top: 0;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
}

.timeline-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.timeline-card.highlight {
    border: 2px solid #007bff;
    background: rgba(0,123,255,0.02);
}

.image-wrapper {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

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

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

.future .coming-soon {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.future .coming-soon i {
    font-size: 2em;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .modern-timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
    }
    
    .year-pill {
        left: -60px;
    }
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.journey-card {
    position: relative;
    cursor: pointer;
    height: 500px; /* Fixed height for all cards */
}

.journey-card-inner {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.journey-image {
    position: relative;
    height: 250px; /* Fixed height for all images */
    width: 100%;
    overflow: hidden;
}

.journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.journey-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Future card specific styles */
.future-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.future-content {
    height: auto;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .journey-card {
        height: 450px; /* Slightly smaller on mobile */
    }
    
    .journey-image {
        height: 200px; /* Adjust image height on mobile */
    }
}

.future-card {
    background: linear-gradient(135deg, #f6f8fa 0%, #ffffff 100%);
}

.future-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.future-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.year-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.journey-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.journey-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: #6c757d;
}

.journey-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-explore {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

.future-image {
    filter: grayscale(1);
}

.coming-soon-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    color: #6c757d;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
}

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

.modal-dialog {
    max-width: 800px;
}

.modal-content {
    border-radius: 20px;
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .journey-grid {
        grid-template-columns: 1fr;
    }
}

/* Add these styles at the end of the file */

.modern-footer {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #f1c40f);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-heading {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact-info i {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 60px 0 30px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
}