

/* Desktop Hover */

      /* =========================
     HERO SECTION
  ========================== */

  .hero-section {
    position: relative;
  }

  .hero-slide {
    position: relative;
    height: 510px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  /* Backgrounds */
  .slide-1 {
    background:
      url("../assets/bannerBg1.svg")
      center center/cover no-repeat;
  }

  .slide-2 {
    background:
      url("../assets/bannerBg2.svg")
      center center/cover no-repeat;
  }

  .slide-3 {
    background:
      url("../assets/bannerBg3.svg")
      center center/cover no-repeat;
  }
  .slide-4 {
    background:
      url("../assets/bannerBg4.svg")
      center center/cover no-repeat;
  }

  /* Overlay */
  .overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.75) 73%,
        rgba(0, 0, 0, 0.2) 100%
      );
  }

  /* Content */
  .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    /* max-width: 650px; */
  }

  .hero-badge {
    display: inline-block;
    background: rgba(0, 140, 90, 0.7);
    border: 1px solid rgba(0, 255, 150, 0.4);
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    margin-bottom: 25px;
  }

  .hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #f1f1f1b2;
    margin-bottom: 35px;
    max-width:60%;
  }

  .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
   
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
     border-radius:28px;
  }

  .hero-btn-primary:hover {
    background: #000;
    color: #fff;
  }

  .hero-btn-secondary:hover {
    background: #fff;
    color: #000;
  }

  /* Indicators */
  .custom-indicators {
    right: 30px;
    left: auto;
    bottom: 50%;
    transform: translateY(50%);
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }

  .custom-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
  border: 0px solid #fff !important;
    background: transparent !important;
    opacity: 1 !important;
    outline:1px solid #fff !important;
  outline-offset: 2px;
  }

  .custom-indicators .active {
    background: #fff !important;
  }
  /* =========================
   LIBRARY SERVICES
========================== */

.library-services-section {
  padding: 80px 0;
  background: #fff;
}

.service-heading {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #222;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.service-card {
  background: #f7f3ec;
  padding: 22px;
  border-radius: 6px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  background: #FFB716;
}


.service-icon {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* =========================
   GALLERY
========================== */

.gallery-section {
  margin: 0 0 80px;
}

.gallery-header, .scholar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gallery-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.gallery-header a {
  text-decoration: none;
  color: #1e4ea8;
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item.large {
  grid-row: span 2;
}
.gallery-item.wide{
    grid-column: span 2;
}

/* =========================
   RESPONSIVE
========================== */



    /* =========================
       1200
    ========================== */

    @media (max-width: 1200px) {
    
      .hero-slide {
      height: 650px;
    }

    .hero-content h1 {
      font-size: 58px;
    }
    }

    /* =========================
       991
    ========================== */

    @media (max-width: 991px) {
   
      .hero-slide {
      height: 600px;
    }

    .hero-content {
      max-width: 100%;
    }

    .hero-content h1 {
      font-size: 48px;
    }

    .hero-content p {
      font-size: 18px;
    }
 
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: auto;
    height: 300px;
  }


    }

    @media (max-width: 767px) {
       .hero-slide {
      height: 550px;
    }

    .hero-content h1 {
      font-size: 38px;
    }

    .hero-content p {
      font-size: 16px;
      line-height: 1.6;
    }

    .custom-indicators {
      right: 15px;
    }
    
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: auto;
    height: 250px;
  }

  .gallery-item {
    height: 220px;
  }

    }

    
    @media (max-width: 545px) {
      .logo-wrapper {
        flex-direction: column;
        text-align: center;
      }

      .logo-wrapper img {
        width: 42px;
        height: 42px;
      }

      .main-navbar {
        padding: 10px 0;
      }
      .hero-slide {
      height: 500px;
    }

    .hero-content h1 {
      font-size: 30px;
    }

    .hero-badge {
      font-size: 12px;
      padding: 8px 14px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
      width: 100%;
    }
    }

    
    /* =========================
   GLOBAL
========================== */



/* =========================
   ABOUT SECTION
========================== */

.about-section {
  padding: 90px 0;
  background: #fff;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.section-badge {
  display: inline-block;
  background: #dcecff;
  color: #2467c8;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1c1c1c;
}

.about-section p {
  font-size: 12px;
  color: #555;
  margin-bottom: 18px;
}

.learn-btn {
  background: #2b6cbf;
  color: #fff;
  border-radius: 5px;
  padding: 8px 18px;
  margin-top: 12px;
  font-weight: 600;
  border: none;
}

.learn-btn:hover {
  background: #114b97;
  color: #fff;
}

.learn-btn i {
  margin-left: 8px;
}

/* =========================
   ACCESS SECTION
========================== */

.access-section {
  background: linear-gradient(
    135deg,
    #002d72,
    #1b4ca7
  );

  color: #fff;
  padding: 30px 0;
}

.access-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
}

.access-description {
  font-size: 16px;
  color: #f1f1f1;
  max-width: 750px;
  margin: auto;
}

.access-sub-description {
  font-size: 12px;
  color: #d9d9d9;
  max-width: 90%;
  margin: 20px auto 0;
  line-height: 1.9;
}

/* Cards */

.catalog-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 24px;
  text-align: left;
  height: 100%;
  transition: 0.3s;
}

.catalog-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.catalog-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.catalog-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.catalog-card p {
  color: #d7d7d7;
  margin: 0;
  font-size: 12px;
}

/* Button */

.access-btn {
  margin-top: 40px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size:14px;
}

.access-btn:hover {
  background: #fff;
  color: #003b8f;
}
/* =========================
   SCHOLAR SECTION
========================== */

.scholar-section {
  margin: 80px 0;
  background: #fff;
}

.section-label {
  display: inline-block;
 font-size: 28px;
    font-weight: 700;
    margin: 0;
  margin-bottom: 20px;
}

.scholar-card {
  height: 100%;
}

.scholar-image {
  overflow: hidden;
  margin-bottom: 15px;
}

.scholar-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.scholar-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #00a67e;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scholar-tag.blue {
  color: #2b6cbf;
}

.scholar-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.scholar-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* =========================
   QUOTE SECTION
========================== */

.quote-section {
  background: #111;
  padding: 70px 0;
  color: #fff;
}

.quote-section h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.quote-text {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  font-style: italic;
}

.quote-author {
  color: #d7a500;
  font-size: 13px;
  font-weight: 600;
}




/* =========================
   RESPONSIVE
========================== */

@media (max-width: 1200px) {
  .section-title,
  .access-title {
    font-size: 36px;
  }
}

@media (max-width: 991px) {
  .about-section,
  .access-section {
    padding: 70px 0;
  }

  .section-title,
  .access-title {
    font-size: 32px;
  }

  .about-image {
    margin-bottom: 20px;
  }
  .scholar-image img {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .section-title,
  .access-title {
    font-size: 28px;
  }

  .access-description {
    font-size: 16px;
  }

  .catalog-card {
    text-align: center;
  }
  
   .scholar-section {
    margin: 60px 0;
  }

  .quote-section {
    padding: 50px 20px;
  }

  .quote-section h3 {
    font-size: 22px;
  }

  .quote-text {
    font-size: 14px;
  }
}

@media (max-width: 545px) {
  .about-section,
  .access-section {
    padding: 50px 0;
  }

  .section-title,
  .access-title {
    font-size: 24px;
  }

  .learn-btn,
  .access-btn {
    width: 100%;
  }
    .scholar-image img {
    height: 200px;
  }

  .quote-section h3 {
    font-size: 20px;
  }
}

@media (max-width: 320px) {
  .section-title,
  .access-title {
    font-size: 20px;
  }

  .about-section p,
  .catalog-card p {
    font-size: 13px;
  }
}
