/* Base CSS as provided */
:root {
  --primary-color: #ea6f08;
  --secondary-color: #f4f7fc;
  --dark-color: #0e1133;
  --light-color: #ffffff;
  --grey-color: #6c757d;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--grey-color);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--dark-color);
}

.section {
  padding: 70px 0;
}
.what_icon {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

a.navbar-brand.logo_header {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.contact-section .contact-form h2 {
    font-size: 18px;
    margin-top: 16px;
    line-height: 30px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 19px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Navbar */
.navbar {
  background-color: var(--light-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.navbar-nav {
  gap: 25px;
}
.navbar-brand img {
  height: 60px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-color);
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.form-control:focus {
  box-shadow: none !important;
  border-color: #ced4da !important;
}
label {
  font-weight: 500;
  margin-bottom: 5px;
}

/* Hero Banner */
.hero-banner {
  background: url('images/14.jpeg') no-repeat center center;
  background-size: cover;
  padding: 140px 0px;
  height: 100vh;
  color: var(--light-color);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-banner:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: .5;
}
.hero-banner h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--light-color);
}
.hero-banner p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 20px auto;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

/* About Section */
.about-section img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
}

/* Library Section */
.library-section {
  background-color: var(--secondary-color);
}
.counter-card {
  background: var(--light-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.counter-card:hover {
  transform: translateY(-5px);
}
.counter-card .icon {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.counter-card .counter {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark-color);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.gallery-item img {
  transition: transform 0.4s ease;
  height: 300px;
  width: 100%;
  object-fit: cover;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 103, 244, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
}
.gallery-item:hover .overlay {
  opacity: 1;
}

/* Contact Section */
.contact-section {
  background-color: var(--secondary-color);
}
.contact-form {
  background: var(--light-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.form-control {
  border-radius: 8px;
  padding: 12px;
}
.map-container {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  min-height: 450px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--grey-color);
}
footer img {
  width: 100px;
  height: auto;
}
footer h4 {
  color: var(--light-color);
  margin-bottom: 20px;
}
footer .footer-logo {
  height: 50px;
  margin-bottom: 20px;
}
footer a {
  color: var(--grey-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: var(--primary-color);
}
footer .social-icons a {
  color: var(--light-color);
  font-size: 1.2rem;
  margin-right: 15px;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid var(--grey-color);
  border-radius: 50%;
}
footer .social-icons a:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.copyright {
  background-color: #000;
  padding: 15px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }
  .section {
    padding: 40px 0;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .hero-banner {
    padding: 100px 20px;
    height: auto;
    text-align: center;
  }
  .hero-banner h1 {
    font-size: 2.4rem;
  }
  .hero-banner p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .navbar-brand img {
    height: 45px;
  }
  .gallery-item img {
    height: 200px;
  }
  .counter-card .counter {
    font-size: 24px;
  }
  footer h4 {
    font-size: 1.1rem;
  }
  footer a {
    font-size: 0.9rem;
  }
  footer .social-icons a {
    font-size: 1rem;
    width: 35px;
    height: 35px;
    line-height: 35px;
  }
  .contact-form {
    padding: 20px;
  }
  .map-container {
    min-height: 300px;
  }
}

@media (max-width: 575.98px) {
  .hero-banner h1 {
    font-size: 2rem;
  }
  .section-title h2 {
    font-size: 20px;
  }
  .btn-primary {
    padding: 8px 16px;
  }
}
