/* General Styles for Sections */
section {
    padding: 80px 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }
  
  section.visible {
    opacity: 1;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
  }
  
  .section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1a73e8;
    margin: 15px auto;
  }
  
  /* Section 1: Hero Section */
  .hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    padding: 0;
  }
  
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  .video-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  }
  
  .video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
  
  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
  }
  
  .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
  }
  
  .hero-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #fff;
    margin-top: 15px;
  }
  
  .hero-carousel {
    max-width: 800px;
  }
  
  .carousel-container {
    position: relative;
    overflow: hidden;
  }
  
  .carousel-slide {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease;
    margin-bottom: 20px;
  }
  
  .carousel-slide.active {
    opacity: 1;
    position: relative;
  }
  
  .carousel-slide p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .events-container {
    margin-top: 30px;
  }
  
  .events-container h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-left: 4px solid #1a73e8;
    padding-left: 10px;
  }
  
  .event-slide {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease;
  }
  
  .event-slide.active {
    opacity: 1;
    position: relative;
  }
  
  .carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .carousel-dot.active {
    background-color: white;
  }
  
  /* Section 2: Department Section */
  .department-section {
    background-color: #f8f9fa;
    padding: 40px 0;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
  }
  
  .department-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
  }
  
  .department-info {
    flex: 1 1 300px;
    padding: 20px;
  }
  
  .department-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .department-carousel {
    flex: 1 1 400px;
    position: relative;
    overflow: hidden;
  }
  
  .carousel-images {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
  }
  
  .carousel-images img.active {
    opacity: 1;
  }
  
  /* Navigation controls */
  .carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .carousel-btn {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
  }
  
  .prev-btn {
    margin-left: 10px;
  }
  
  .next-btn {
    margin-right: 10px;
  }
  
  .carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
  
  .carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .carousel-dot.active {
    background-color: #1a73e8;
  }
  
  .department-details {
    flex: 1 1 300px;
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 400px;
    overflow: hidden;
  }
  
  .detail-card {
    opacity: 0;
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
  }
  
  .detail-card.active {
    opacity: 1;
    position: relative;
  }
  
  .detail-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a73e8;
  }
  
  .detail-card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  /* Progress indicator */
  .carousel-progress {
    height: 4px;
    background-color: #e0e0e0;
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
  }
  
  .progress-bar {
    height: 100%;
    background-color: #1a73e8;
    width: 25%; /* Will be controlled by JS */
    transition: transform 0.3s ease;
  }
  
  /* Section 3: Article Section */
  .article-section {
    background-color: white;
  }
  
  .article-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .article-list {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .article-item {
    padding: 15px;
    border-left: 0 solid #1a73e8;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 4px;
  }
  
  .article-item.active {
    border-left: 4px solid #1a73e8;
    background-color: #e8f0fe;
  }
  
  .article-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .article-item p {
    font-size: 0.9rem;
    color: #666;
  }
  
  .view-more {
    margin-top: 20px;
    align-self: flex-start;
    text-decoration: none;
    color: #1a73e8;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .view-more:hover {
    color: #0d47a1;
    text-decoration: underline;
  }
  
  .article-showcase {
    flex: 1 1 600px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
  }
  
  .showcase-content {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
  }
  
  .showcase-content.active {
    opacity: 1;
  }
  
  .showcase-content img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  
  .showcase-content h3 {
    padding: 15px 20px 5px;
    font-size: 1.5rem;
  }
  
  .showcase-content p {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .showcase-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
  }
  
  .tab-item {
    width: 40px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .tab-item.active {
    background-color: #1a73e8;
  }
  
  /* Section 4: Our Work Section */
  .work-section {
    background-color: #f8f9fa;
  }
  
  .work-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .featured-work {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: white;
  }
  
  .featured-work img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  
  .featured-details {
    padding: 25px;
  }
  
  .featured-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a73e8;
  }
  
  .featured-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .view-project {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .view-project:hover {
    background-color: #0d47a1;
  }
  
  .other-works {
    flex: 1 1 500px;
  }
  
  .work-carousel {
    position: relative;
  }
  
  .work-card {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: white;
  }
  
  .work-card.active {
    opacity: 1;
    position: relative;
  }
  
  .work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  .work-card h4 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
    color: #1a73e8;
  }
  
  .work-card p {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Section 5: News Section */
  .news-section {
    background-color: white;
    padding-bottom: 100px;
  }
  
  .news-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .news-list {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .news-item {
    padding: 15px;
    border-left: 0 solid #1a73e8;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 4px;
  }
  
  .news-item.active {
    border-left: 4px solid #1a73e8;
    background-color: #e8f0fe;
  }
  
  .news-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .date {
    font-size: 0.8rem;
    color: #666;
  }
  
  .news-showcase {
    flex: 1 1 600px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 500px;
  }
  
  .news-showcase .showcase-content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .news-showcase .showcase-content img {
    height: 300px;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .hero-title {
      font-size: 2.5rem;
    }
    
    .carousel-slide p {
      font-size: 1.1rem;
    }
    
    .department-container {
      flex-direction: column;
    }
    
    .department-details {
      height: auto;
      min-height: 250px;
    }
    
    .article-showcase {
      height: auto;
      min-height: 550px;
    }
    
    .news-showcase {
      min-height: 550px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-title {
      font-size: 2rem;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .carousel-slide p {
      font-size: 1rem;
    }
    
    .featured-work, .other-works {
      flex: 1 1 100%;
    }
  }
  
  @media (max-width: 576px) {
    .hero-section {
      height: auto;
      min-height: 100vh;
    }
    
    .hero-title {
      font-size: 1.8rem;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
    
    .detail-card h3 {
      font-size: 1.5rem
    }
  
  .featured-details h3 {
    font-size: 1.5rem;
  }
  
  .article-showcase {
    min-height: 600px;
  }
  
  .news-showcase {
    min-height: 600px;
  }
}

/* Section Transitions */
.fade-transition {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.blackout-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.blackout-transition.active {
  opacity: 1;
}