@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Sinhala:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Yaldevi:wght@200..700&display=swap');


* {
  font-family: "Noto Sans Sinhala", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*.center-wrapper {
      width: 100%;
      padding: 25px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
    }

    .news-header {
      color: #ff2e2e;
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .stars {
      color: #ff2e2e;
      margin: 0 5px;
    }


    :root {
      --primary-color: #1e3d59;
      --secondary-color: #f5c842;
      --accent-color: #ff6b6b;
      --text-dark: #2c3e50;
      --text-light: #ecf0f1;
      --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      --shadow-light: 0 4px 15px rgba(0,0,0,0.1);
      --shadow-heavy: 0 10px 30px rgba(0,0,0,0.3);
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--text-dark);
      overflow-x: hidden;
    }
    

    /* Video background */
    #video-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      z-index: -2;
      opacity: 0.3;
      transition: opacity 1s ease;
      pointer-events: none;
    }

    /* Gradient Overlay */
    .gradient-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(0, 0, 50, 0.3));
      z-index: -1;
      pointer-events: none;
    }


    

/* RESPONSIVE */

/* Responsive Enhancements for Gradient Overlay */
@media (max-width: 768px) {
  .gradient-overlay {
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(0, 0, 50, 0.4));
    height: 100dvh; /* Use dynamic viewport height for better mobile support */
  }
}


    /* Navigation Styles */
    .navbar {
      background: rgba(30, 61, 89, 0.95);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: var(--shadow-light);
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      background: rgba(30, 61, 89, 0.98);
      transform: translateY(-2px);
    }

    .nav-container {
      width: 100%;
      padding:auto;
    }

    .nav-menu {
      display: flex;
      justify-content: center;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-item {
      position: relative;
      margin: 0 1rem;
    }

    .nav-link {
      display: flex;
      align-items: center;
      padding:10px;
      color: var(--text-light);
      text-decoration: none;
      transition: all 0.3s ease;
      border-top-right-radius:5px;
      border-bottom-right-radius:5px;
      position: relative;
      overflow: hidden;
    }

    .nav-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: var(--gradient-accent);
      transition: left 0.3s ease;
      z-index: -1;
    }

    .nav-link:hover::before,
    .nav-item.current .nav-link::before {
      left: 0;
    }

    .nav-item.current .nav-link {
      color: var(--text-light);
      font-weight: bold;
    }

    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      padding: 5px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      min-width: 230px;
      border-radius: 15px;
      box-shadow: var(--shadow-heavy);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
    }

    .nav-item:hover .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown-link {
      display: block;
      padding:5px;
      color: var(--text-dark);
      text-decoration: none;
      transition: all 0.3s ease;
      border-radius: 10px;
      margin:5px;
    }

    .dropdown-link:hover {
      background: var(--gradient-accent);
      color: white;
      transform: translateY(5px);
    }

    

/* body content */

.body{
  width: 100%;
  height: auto;
  background-image: url("5968949.jpg");
  background-size: cover;
  background-attachment: fixed;
}

/* main banner */

.mainImg01Wrapper {
  position: relative;
  width: 100%;
  margin: auto;
  height: auto;
  /* border-radius: 10px; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Gradient overlay using ::before */
.mainImg01Wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0,0,0,0.7));
  z-index: 1;
}

/* Image styling */
.mainImg01 {
  align-self: stretch;
  height: 150px;
  flex-shrink: 0;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  display: block;
}

/* Scale image on hover */
.mainImg01Wrapper:hover .mainImg01 {
  transform: scale(1.1);
}
/* Animation keyframes */
@keyframes animatedBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 480px) {
  .btn-details button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Text styling and animation */
.overlayText {
  position: absolute;
  color: white;
  font-size: 30px;
  text-align:center;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  z-index: 2;
  animation: fadeInUp 4s ease forwards;
  opacity: 0;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .mainImg01 {
    height: 150px;
  }

  .overlayText {
    font-size: 18px;
    line-height: 1.4;
    padding: 0 5px;
  }
}

@media (max-width: 480px) {
  .mainImg01 {
    height: 120px;
  }

  .overlayText {
    font-size: 16px;
    line-height: 1.3;
  }
}

/* Text animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* VISSION MISSION & HISTORY style */
.about-us {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    padding: 50px 20px;
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    margin: auto;
}

.about-us .ab {
    background-color: #fff;
    border-bottom: 6px solid #2c3e50; /* Green accent line */
    border-top: 6px solid #2c3e50; /* Green accent line */
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.about-us .ab:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-us h4 {
    font-size: 22px;
    color: #093153;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.about-us p {
    font-size: 16px;
    color: #313233;
    line-height: 1.7;
    text-align: justify;
}
.about-us i{
    font-size: 25px;
}

@media (max-width: 768px) {
    .about-us {
        padding: 20px;
        grid-template-columns: 1fr;
    }
}

.vission-mission {
  max-width: 1200px;
  margin:auto;
  background-color: #f9f9ff;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-top: 6px solid #093153;
  border-bottom: 6px solid #093153;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vission-mission:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.vission-mission h2 {
  color: #093153;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 600;
}

.vission-mission p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

/* Optional: Responsive */
@media (max-width: 600px) {
  .vission-mission {
    padding: 20px;
  }

  .vission-mission h2 {
    font-size: 24px;
  }

  .vission-mission p {
    font-size: 15px;
  }
}
/* LIBRARIAN MESSAGE style */

 .librarian-msg {
      max-width: 1200px;
      margin:auto;
      /* border: 2px solid #4a7c59; */
      /* border-radius: 12px; */
      padding: 30px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      position: relative;
      z-index: 1;
      background: linear-gradient(to bottom, rgba(240, 240, 240, 0.295), rgb(255, 255, 255)),url("DSC02146.JPG");
      background-size: cover;
      background-position: center;
    }

    .librarian-msg h4 {
      font-size: 20px;
      font-weight: 800;
      color: #2c3e50;
      border-bottom: 2px solid #4a7c59;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }

    .librarian-msg p {
      line-height: 1.8;
      font-size: 13px;
      color: #333;
      margin-bottom: 16px;
      text-align: justify;
    }

    .librarian-img {
      width: 120px;
      height: 120px;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid #4a7c59;
      position: absolute;
      top: -60px;
      right: 30px;
      background-color: white;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .librarian-msg {
        padding: 20px;
      }
      .librarian-msg h4 {
        font-size: 1.5rem;
      }
      .librarian-msg p {
        font-size: 0.95rem;
      }
      .librarian-img {
        width: 100px;
        height: 100px;
        top: -50px;
        right: 20px;
      }
    }

    /* STAFF CARDS style */
   .staff-sub {
            max-width:1200px;
            margin: auto;
            /* margin:0 auto; */
            padding: 30px 15px;
        }
        
       .staff-sub h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 32px;
            color: #1a3b5d;
            font-weight: 600;
            letter-spacing: 1px;
        }
        .staff-sub .sub-head{
            margin-bottom: 40px;
            font-size: 25px;
            color: #1a3b5d;
            font-weight: 600;
            letter-spacing: 1px;
            border-left: 6px solid #1a3b5d;
            border-radius: 10px;
            padding: 10px;
        }
        
        /* Card grid layout */
        .staff-card-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 30px;
        }
        
        /* Card design */
        .staff-card {
            background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s ease;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        
        .staff-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }
        
        .staff-card-header {
            background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
            color: white;
            padding: 10px;
            text-align: center;
        }
        
        .staff-card h3 {
            font-size: 15px;
            margin-bottom: 5px;
            font-weight: 600;
        }
        
        .staff-card-body {
            padding: 25px;
        }
        
        .staff-info-item {
            /* display: flex; */
            margin-bottom: 15px;
            align-items: center;
        }
        
        .staff-info-item i {
            width: 30px;
            font-size: 16px;
            color: #ef4444;
        }
        
        .staff-info-label {
            font-weight: 600;
            width: 100px;
            color: #64748b;
            font-size: 14px;
        }
        
        .staff-info-value {
            flex: 1;
            font-size: 14px;
        }
        
        .staff-contact-info {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8fafc;
            padding: 12px;
            border-top: 1px solid #e2e8f0;
        }
        
        .staff-contact-info i {
            color: #ef4444;
            margin-right: 10px;
            font-size: 18px;
        }
        
        .staff-contact-info span {
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .staff-card-grid {
                grid-template-columns: repeat(1, 1fr);
                gap: 20px;
            }
            
            .staff-sub {
                padding: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .staff-card-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            
            .staff-sub {
                padding: 10px;
            }
            
           .staff-sub h2 {
                font-size: 26px;
                margin-bottom: 25px;
            }
        }

        /* SERVICE CRAD style */

        /* service styling */
          .service-container{
          max-width: 1200px;
          margin: auto;
          padding: 15px;
          justify-content: center;
          height: auto;
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px , 4fr));
          background: linear-gradient(to bottom, rgba(240, 240, 240, 0.295), rgb(255, 255, 255)),url("lib (2).jpg");
          
          }
          
          .service-container .service-box{
              position: relative;
              padding: 30px;
              background: #fff;
              box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
              border-radius: 4px;
              margin: 10px;
              box-sizing: border-box;
              overflow: hidden;
              text-align: center;
          }
          .service-container .service-box:before{
              content: '';
              width: 40%;
              height: 100%;
              position: absolute;
              top: 0;
              left: 0;
              background: rgba(255, 255, 255, 0.2);
              pointer-events: none;
          }
          .service-container .service-box .service-icon{
              position: relative;
              width: 80px;
              height: 80px;
              color: #fff;
              background: #000;
              display: flex;
              justify-content: center;
              align-items: center;
              margin: 0 auto;
              border-radius: 50%;
              font-size: 40px;
              font-weight: 700;
              transition: 1s;
          }
.service-container .service-box:nth-child(1) .service-icon {
  box-shadow: 0 0 0 0 #e91e63;
  background: #e91e63;
}
.service-container .service-box:nth-child(1):hover .service-icon {
  box-shadow: 0 0 0 400px #e91e63;
}

.service-container .service-box:nth-child(2) .service-icon {
  box-shadow: 0 0 0 0 #23e629;
  background: #23e629;
}
.service-container .service-box:nth-child(2):hover .service-icon {
  box-shadow: 0 0 0 400px #23e629;
  cursor: pointer;
}

.service-container .service-box:nth-child(3) .service-icon {
  box-shadow: 0 0 0 0 #2196f3;
  background: #2196f3;
}
.service-container .service-box:nth-child(3):hover .service-icon {
  box-shadow: 0 0 0 400px #2196f3;
}

.service-container .service-box:nth-child(4) .service-icon {
  box-shadow: 0 0 0 0 #000000;
  background: #000000;
}
.service-container .service-box:nth-child(4):hover .service-icon {
  box-shadow: 0 0 0 400px #000000;
}

/* 🆕 Cards 5 to 8 */

.service-container .service-box:nth-child(5) .service-icon {
  box-shadow: 0 0 0 0 #ff9800;
  background: #ff9800;
}
.service-container .service-box:nth-child(5):hover .service-icon {
  box-shadow: 0 0 0 400px #ff9800;
}

.service-container .service-box:nth-child(6) .service-icon {
  box-shadow: 0 0 0 0 #9c27b0;
  background: #9c27b0;
}
.service-container .service-box:nth-child(6):hover .service-icon {
  box-shadow: 0 0 0 400px #9c27b0;
}

.service-container .service-box:nth-child(7) .service-icon {
  box-shadow: 0 0 0 0 #00bcd4;
  background: #00bcd4;
}
.service-container .service-box:nth-child(7):hover .service-icon {
  box-shadow: 0 0 0 400px #00bcd4;
}

.service-container .service-box:nth-child(8) .service-icon {
  box-shadow: 0 0 0 0 #795548;
  background: #795548;
}
.service-container .service-box:nth-child(8):hover .service-icon {
  box-shadow: 0 0 0 400px #795548;
}


          .service-container .service-box .service-contant{
              position: relative;
              z-index: 1;
              transition: 0.5s;
          }
          .service-container .service-box:hover .service-contant{
              color: #fff;
          }
          .service-container .service-box:hover .service-contant h3{
              color: #fff;
          }
          .service-container .service-box:hover .service-contant h3{
              font-size: 20px;
              margin: 10px 0;
              padding: 0;
          }
          .service-container .service-box:hover .service-contant p{
              margin: 0;
              padding: 0;
          }
          .service-container a{
              display: inline-block;
              padding: 10px 20px;
              background:#1a3b5d;
              border-radius: 4px;
              text-decoration: none;
              color: #ffffff;
              font-weight: 500;
              margin-top: 10px;
              box-shadow: 0 2px 5px rgba(0,0,0,0.2);
          }

          /* SERVICE CARDS Pop up style           */

.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: zoomIn 0.3s ease-in-out;
  position: relative;
}
.modal-content p{
  text-align: justify;
}
.modal-content h2{
  border-bottom: 2px solid #1a3b5d;;
}
.modal-content i{
   font-size:20px;
}
.close-btn {
  color: #888;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}
.close-btn:hover {
  color: #e91e63;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.branch-library-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0.295), rgb(255, 255, 255)),url("DSC_0060.jpg");
    background-size: cover;
    background-position: center;
  }

  .Library {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .Library:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }

  .Library-header h3 {
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .Library-header h3 i {
    color: #6c5ce7;
  }

  .Library-body .infomation-item {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    margin-top: 5px;
  }

  .info-label {
    font-weight: 600;
    color: #636e72;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.3rem;
  }

  .info-label i {
    color: #00b894;
  }

  .Library-body .lib-info-value {
    color: #2d3436;
    line-height: 1.6;
    font-size: 12px;
  }

  .contact-infom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.8rem;
    font-weight: 500;
    color: #0984e3;
  }

  .contact-infom i {
    color: #0984e3;
  }


  /* Library Card Container */
#library-card {
  margin-top: 40px;
  background: rgb(255, 0, 0);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
  padding: 32px 40px;
  /* max-width: 450px; */
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: cardFloat 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hover effects for the card */
/* #library-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
} */

/* Animated background overlay */
#library-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 4s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Title styling */
#library-card h3 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: titlePulse 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes titlePulse {
  0%, 100% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.5);
  }
}

/* List styling */
#library-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

#library-card li {
  padding: 12px 20px;
  margin: 8px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

#library-card li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#library-card li:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#library-card li:hover::before {
  left: 100%;
}

#library-card li:last-child {
  border-bottom: none;
}

.contact-card {
      max-width: 1200px;
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      margin: auto;
    }

    .contact-row {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      border-bottom: 1px solid #eee;
    }

    .contact-row:last-child {
      border-bottom: none;
    }

    .icon {
      font-size: 25px;
      width: 30px;
      text-align: center;
      margin-right: 10px;
    }

    .text {
      flex: 1;
      font-size: 15px;
    }

    .badge {
      background-color: crimson;
      color: white;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 13px;
    }

    .open-row {
      background-color: #e6f9ec;
      border-top: 1px solid #c2eac8;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .status-text {
      font-weight: bold;
      font-size: 13px;
      color: green;
    }

    .status-closed {
      color: red;
    }
/* topic styles */
.center-wrapper {
      width: 100%;
      padding: 25px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      text-align: center;
    }

    .news-header {
      color: #ff2e2e;
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 1px;
      margin-bottom: 10px;
    }

    .stars {
      color: #ff2e2e;
      margin: 0 5px;
    }

    .main-title {
      font-size: 32px;
      font-weight: 700;
      color: #1a1a1a;
    }

    .underline {
      display: inline-block;
      margin-top: 8px;
      height: 4px;
      width: 100px;
      background-color: #ff2e2e;
      border-radius: 2px;
      position: relative;
    }

    .underline::before,
    .underline::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 5px;
      height: 5px;
      background-color: #ff2e2e;
      border-radius: 50%;
      transform: translateY(-50%);
    }

    .underline::before {
      left: -10px;
    }

    .underline::after {
      right: -10px;
    }

    h2 {
      text-align: center;
      color: #b22222;
      margin-bottom: 10px;
    }

    
     
    /* footer menu */

    .footer-menu {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.623), rgba(0, 0, 0, 0.658)),
              url('your-background-image.jpg') no-repeat center center/cover;
  color: white;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffc107;
}

.footer-column p {
  margin: 8px 0;
}
.footer-column .call img{
  width: 10%;
}

.rti-img, .gic-img {
  display: block;
  max-width: 100%;
  margin-bottom: 10px;
}

.call {
  font-size: 18px;
  font-weight: bold;
  align-items: center;
}

.footer-column i {
  margin-right: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
  }
  /* Center the images inside Join Us column */
  .rti-img,
  .gic-img {
    display: block;
    margin: 0 auto 10px auto; /* Top/Right/Bottom/Left */
  }

  .call {
    text-align: center;
  }
}

    /* Footer */
    footer {
      background: linear-gradient(90deg, #002147, #004080);
      color: var(--text-light);
      text-align: center;
      padding: 0.5rem;
      margin-top: 0;
      position: relative;
      overflow: hidden;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--gradient-secondary);
      animation: shimmer 2s ease-in-out infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      header h1 {
        font-size: 1.8rem;
      }

      .nav-menu {
        flex-direction: column;
        align-items: center;
      }

      .nav-item {
        margin: 0.5rem 0;
      }

     

      
    }

    /* Loading Animation */
    .loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background:rgb(253, 81, 81);
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 1;
      transition: opacity 1s ease;
    }

    .loading-overlay.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .loader {
      width: 50px;
      height: 50px;
      border: 5px solid rgba(255,255,255,0.3);
      border-top: 5px solid var(--secondary-color);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Scroll indicator */
    .scroll-indicator {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 4px;
      background: var(--gradient-secondary);
      z-index: 9999;
      transition: width 0.1s ease;
    }