
/* Banner Container */
.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #252b2b;
    border-bottom: 10px solid #024950; /* Add a red border below */
}

/* Banner Slide */
.banner-slide {
    width: 100%;
    display: flex;
    position: relative;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: none; /* Hide all images initially */
}

.banner-image.active {
    display: block; /* Show only the active image */
}

/* Banner Dots */
.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.banner-dots .dot.active {
    opacity: 1;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .banner-container {
        height: auto;
    }

    .banner-dots .dot {
        width: 10px;
        height: 10px;
    }
}


/*notice */
.notice-section {
    background-color: var(--color-blue);
}

.notice-container {
    display: flex;
    flex-wrap: wrap; /* Use nowrap if you want only one row */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%; /* Allowing full height */
}

.notice-box {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    color: white;
    text-align: center;
    min-height: 300px; /* Set your preferred minimum height */
  
}

.notice-box h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.notice-box a {
    color: #efdfc5;
    text-decoration: none;
}

.ncte-mandatory,
.useful-links {
    background-color:var(--color-blue);
}

.notice-board {
    background-color: #024950;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure full height */
    flex-grow: 1; /* Allow it to grow equal to other sections */
}

.notice-board h2,
.notice-board h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.notice-board .date {
    margin-top: 5px;
    color: #efdfc5;
}

.notice-slider {
    overflow: hidden;
    position: relative;
    flex-grow: 1; /* Allowing the slider to occupy full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notice-slide {
    display: none;
    animation: fade 1s;
    height: 100%; /* Full height for each slide */
}

.notice-slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.view-all-btn {
    background-color: white;
    color: #dc2011;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #efdfc5;
}

.useful-links .links a {
    color: #efdfc5;
    text-decoration: none;
    font-weight: bold;
}

.useful-links .links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .notice-container {
        flex-direction: column;
        align-items: center;
    }

    .notice-box {
        width: 100%; /* Ensure full width in mobile */
    }
}




/* Info Section */
.info-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  /*  background-color: #f9f9f9;*/
    max-width: 1400px;
    margin: 20px auto;
  }
  
  .admission {
    flex: 1 1 45%;
    text-align: left;
    padding: 20px;
  }
  
  .admission h2 {
    font-size: 1.8rem;
    color: #964734;
  }
  
  .admission p {
    font-size: 1rem;
    margin-top: 10px;
    color: #333;
  }
  
  .admission button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #964734;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
  }
  
  .admission button:hover {
    background-color: #1d4a6e;
  }
  
  .performance {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    color: red;
    text-align: center;
  }
  
  .performance-content {
    position: relative;
    text-align: left;
  }
  
  .text-overlay {
    width: 30%;
    position: absolute;
    top: 75px;
    right: 20px;
    text-align: right;
  }
  
  .text-overlay h3 {
    font-size: 1.65rem;
    margin-bottom: 5px;
    color: #ffffff;
  }
  
  .text-overlay a {
    color: #fdfdfd;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
  }
  
  .text-overlay a:hover {
    color: #1d4a6e;
  }
  
  .performance-image {
    width: 100%;
    margin-top: 40px; /* Adds space between image and text */
    border-radius: 8px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .info-section {
      flex-direction: column;
      padding: 10px;
    }
  
    .admission,
    .performance {
      flex: 1 1 100%;
      text-align: center;
      margin-bottom: 15px;
    }
  
    .admission h2 {
      font-size: 1.5rem;
    }
  
    .text-overlay h3 {
      font-size: 1.3rem;
    }
  
    .performance-image {
      width: 70%;
    }
  }
  
  @media (max-width: 480px) {
    .admission h2 {
      font-size: 1.2rem;
    }
  
    .admission p {
      font-size: 0.9rem;
    }
  
    .text-overlay h3 {
      font-size: 1rem;
    }
  
    .admission button {
      padding: 8px 16px;
      font-size: 0.9rem;
    }
  
    .performance-image {
      width: 60%;
    }
  }



  /* welcome Section */

  .main-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    /*background-color: #f9f9f9;*/
    max-width: 1400px;
    margin: 20px auto;
}

.welcome {
    flex: 1; /* Takes available space */
    max-width: 50%; /* Limits the width */
    margin-right: 20px; /* Space between text and carousel */
}

.carousel {
    flex: 1; /* Takes available space */
    max-width: 50%; /* Limits the width */
    overflow: hidden; /* Hide overflow for the carousel */
    position: relative; /* Positioning context for the carousel */
}

.carousel-image {
    display: none; /* Hide images initially */
}

.carousel-image img {
    border-radius: 25px;
    width: 380px;
    height: 420px;
}

/* Show first image */
.carousel-image:first-child {
    display: block; 
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .main-section {
        flex-direction: column; /* Stack items on smaller screens */
    }

    .welcome, .carousel {
        max-width: 100%; /* Full width for both sections */
        margin-right: 0; /* Remove margin */
    }
}


/*priciple message*/
/* Principal's Desk Section */
.principalDesk {
    display: flex;
    flex-wrap: wrap; /* Allows responsiveness */
    justify-content: space-between; /* Space between image and message */
    align-items: center; /* Center items vertically */
    padding: 20px; /* Padding around the section */
  /*  background-color: #f9f9f9;  Light background for contrast */
    max-width: 1400px; /* Maximum width of the section */
    margin: 20px auto; /* Center the section */
}

.principal-image {
    flex: 1 1 40%; /* Takes 40% width, responsive */
    max-width: 400px; /* Max width of the image container */
    margin-right: 20px; /* Space between image and message */
}

.principal-image img {
    width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for the image */
}

.principal-message {
    flex: 1 1 55%; /* Takes 55% width, responsive */
}

.principal-message h1 {
    font-size: 2rem; /* Font size for the main heading */
    color: #dc2011; /* Color for the main heading */
    margin-bottom: 10px; /* Space below the main heading */
}

.principal-message h2 {
    font-size: 1.5rem; /* Font size for the subheading */
    color: #28669c; /* Color for the subheading */
    margin-bottom: 15px; /* Space below the subheading */
}

.principal-message p {
    font-size: 1rem; /* Font size for the message */
    color: #333; /* Color for the message */
    line-height: 1.5; /* Line height for readability */
}

/* Responsive Design */
@media (max-width: 768px) {
    .principalDesk {
        flex-direction: column; /* Stack items on smaller screens */
        align-items: center; /* Center items horizontally */
    }

    .principal-image {
        margin-right: 0; /* Remove margin on small screens */
        margin-bottom: 15px; /* Space below image */
    }

    .principal-message {
        text-align: center; /* Center text on small screens */
    }
}

@media (max-width: 480px) {
    .principal-message h1 {
        font-size: 1.5rem; /* Smaller font size for heading */
    }

    .principal-message h2 {
        font-size: 1.2rem; /* Smaller font size for subheading */
    }

    .principal-message p {
        font-size: 0.9rem; /* Smaller font size for message */
    }
}
/*mission*/
.mission-vision-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    margin: 20px auto;
    /*background-color: #fff; */
    border-radius: 8px;
  }
  
  .mission, .vision {
    padding: 10px;
  }
  
  .mission h2, .vision h2 {
    font-size: 1.8rem;
    color: var(--color-blue);;
    margin-bottom: 10px;
  }

  .vision h2 {
    font-size: 1.8rem;
    color: #964734;
    margin-bottom: 10px;
  }
  
  .mission p, .vision p {
    font-size: 1rem;
    color: #333;
  }
  
  .image-section {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .mission-vision-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .mission-vision-section {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .mission, .vision, .image-section {
      padding: 10px;
    }
  
    .mission-vision-image {
      width: 70%;
    }
  }
  
  @media (max-width: 480px) {
    .mission h2, .vision h2 {
      font-size: 1.5rem;
    }
  
    .mission p, .vision p {
      font-size: 0.9rem;
    }
  
    .mission-vision-image {
      width: 100%;
    }
  }
  
  /*event*/
  .recent-events {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
  }
  
  .recent-events h2 {
    font-size: 2rem;
    color: var(--color-blue);
    margin-bottom: 20px;
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .event-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    padding: 15px;
    transition: transform 0.3s;
  }
  
  .event-item:hover {
    transform: translateY(-5px);
  }
  
  .event-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .event-item h3 {
    font-size: 1.2rem;
    color: #dc2011;
    margin: 10px 0 5px;
  }
  
  .event-item p {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .events-grid {
      grid-template-columns: 1fr;
    }
  
    .event-item {
      text-align: center;
    }
  }




  