/* sliding coursel */
 /* Carousel container style */
 .carousel-container {
  position: relative;
  width: 100%;
  height: 400px; /* Default height for desktop */
  overflow: hidden;
  margin-top: 50px; /* Moves the carousel down by 50px */
  background-size: cover;
  background-position: center center;
  transition: background 1s ease-in-out; /* Smooth transition between images */
}

  
  .carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .carousel-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out; /* Smooth transition for slide movement */
  }
  
  .carousel-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
  }
  
  .carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  
  @media (max-width: 768px) {
    .carousel-container {
        height: 350px;
    }
  
    .carousel-images img {
        object-fit: contain;
        object-position: center center;
        height: 150%;
    }
  }
  
  @media (max-width: 480px) {
    .carousel-container {
        height: 300px;
    }
  
    .carousel-images img {
        object-fit: contain;
        object-position: center center;
        height: 100%;
    }
  
    .carousel-overlay {
        font-size: 14px;
        padding: 6px;
        width: 80%;
    }
  
    button {
        padding: 10px;
        font-size: 16px;
    }
  }
  
  /* Overlay style */
  .carousel-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60%;
    background-color: rgba(205, 158, 18, 0.7);
    color: white;
    text-align: left;
    padding: 10px;
    font-size: 18px;
    z-index: 200; /* Lower z-index so it appears below the buttons */
    border-radius: 5px;
    opacity: 0;
    transform: rotate(0deg);
    color: white;
  }
  
  .animate-overlay {
    animation: uTurn 1s forwards;
  }
  
  @keyframes uTurn {
    0% {
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg);
    }
  }
  
  /* Styling the next and previous buttons */
  button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10; /* Higher z-index so buttons are above images but below overlays */
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  
  }
  
  .arrow {
    display: inline-block;
    font-size: 20px;
  }

  


 



/* STYLE FOR TIMER */

/* Container for the countdown or timer */
.containerc {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    flex-direction: column;
}

/* Countdown Box */
.countdown {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
}

/* Left Image */
.image {
    width: 40%;
    background-color: #eaeaea;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timer Section */
.timer {
    padding: 20px;
    text-align: center;
    flex: 1;
    color: green;
}

.timer h1 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

#time {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
}

.description  {
    color: black;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .countdown {
        flex-direction: column;
    }

    .image {
        width: 100%;
        height: 150px;
    }

    .timer {
        padding: 15px;
    }

    #time {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    #time {
        font-size: 20px;
    }

    .timer h1 {
        font-size: 18px;
    }
}






/*--=========================NOTICE==============--*/


  @keyframes zoomInOut {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }
  .notice-container {
    background-color:#F5F5F5;
    padding: 10px;
    min-height: 50vh;
  }
  .notice-header {
    background-color: #275D7A;
    color: white;
    padding: 5px;  /* Reduced padding */
    margin-bottom: 10px;  /* Reduced margin */
    width: 550px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: zoomInOut 2s infinite;
  }
  .notice-header h4 {
    margin: 0;
  }
  .notice-icon {
    font-size: 24px;
  }
  .professor-card {
    background-color: #CD9E12;
    border: none;
  }
  .professor-image {
    width: 100%;
    height: auto;
  }
  .btn-primary:hover {
    background-color: #1E4A60; /* Darker shade for hover */
    border-color: #1E4A60; /* Match the darker shade for border */
    text-decoration: underline; /* Add underline on hover */
  }





  /*-- YOUTUBE --*/

    .youtube-video .video-container {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
        margin: 0 auto;
    }
    .youtube-video2 .video-container {
        position: relative;
        padding-bottom: 35.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
        margin: 0 auto;
    }

    .youtube-video .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .youtube-video .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 68px;
        height: 48px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        cursor: pointer;
    }

    .youtube-video .video-description {
        text-align: center;
        padding: 10px 0;
    }

    .youtube-embed-area .col-md-4 .youtube-video {
        margin-bottom: 20px;
    }


    


      /*-- LIFE AT IUK --*/




      