@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary-color: #0a3161;
  --primary-red-color: #b31942;
  --secondary-color: #6b9ac4;
  --primary-bg-color: #eff2f1;
  --text-color: #080808;
  --text-secondary-color: #eff2f1;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
ul,
li,
a,
.btn-default,
textarea {
  margin: 0;
  padding: 0;
}
* {
  margin: 0;
  padding: 0;
}
a:hover {
  text-decoration: none;
}
a:focus {
  text-decoration: none;
}
body {
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 1175px;
}

.main-header {
  background: linear-gradient(90deg, #0a3161, #b31942);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  position: relative;
}
.main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/star.webp);
  background-position: 0px;
  background-size: 350px auto;
  background-repeat: no-repeat;
  z-index: 0;
  filter: invert(1);
  opacity: 0.15;
}
.main-header .navbar-brand {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.main-header img {
  filter: brightness(100);
}
.main-header .navbar-brand:hover,
.main-header .navbar-brand:focus {
  color: var(--text-secondary-color);
}

.main-header .nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}

.main-header .nav-link:hover,
.main-header .nav-link:focus {
  color: var(--text-color);
  border-radius: 999px;
}

.main-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}

.main-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .main-header .navbar-nav {
    padding-top: 0.75rem;
  }

  .main-header .nav-item {
    margin-bottom: 0.25rem;
  }
}

/* Banner Section */
.banner-section {
  background: var(--primary-bg-color);
  padding: 5rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--text-color);
}
.banner-section .banner-content h1 {
  font-size: 2.7rem;
  font-weight: 600;
}
.banner-section .banner-content h1 span {
  color: var(--primary-red-color);
}
/* Banner Section */

/* Books Gallery */
.books-section {
  padding: 4rem 0 5rem;
  background: #f8fafe;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: #5b6472;
  font-size: 1rem;
}

.books-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 20px;
}

.book-cover {
  width: 100%;
  aspect-ratio: 150 / 225;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  user-select: none;
  background: #fff;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .books-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .books-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Books Gallery */

/* Support/CTA Section */
.support-us {
  padding: 5rem 0;
  background: var(--primary-bg-color);
}

.support-us-content {
  max-width: 900px;
  margin: 0 auto;
}

.support-us-content h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.btn-default {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.8rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(64, 89, 173, 0.25);
  border: 2px solid transparent;
  position: relative;
}

.btn-default:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-red-color);
  box-shadow: 0 6px 16px rgba(64, 89, 173, 0.15);
  text-decoration: none;
}
.btn-default::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 91%;
  height: 100%;
  background: url(../images/star.webp);
  background-position: left;
  object-fit: contain;
  background-repeat: no-repeat;
  z-index: 0;
  filter: invert(1);
  opacity: 0.15;
}
.btn-default:hover::before {
  opacity: 0;
}
/* Footer Section */
.site-footer {
  background: url(../images/flag.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #d1d5db;
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a2238;
  opacity: 0.95;
  z-index: 1;
}
.site-footer .container {
  position: relative;
  z-index: 9;
}
.site-footer a {
  color: #a3b8cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--primary-red-color);
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-about .footer-logo {
  display: inline-block;
  margin-bottom: 1.2rem;
  background-color: rgb(160 60 85 / 34%);
  padding: 8px 15px;
  border-radius: 5px;
}

.footer-desc {
  line-height: 1.6;
  color: #9ca3af;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #a03c55;
}

.footer-links,
.footer-contact,
.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li,
.footer-socials li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-contact li strong {
  color: #ffffff;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-disclaimer details {
  background: rgba(171, 30, 52, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
}

.footer-disclaimer details[open] {
  background: rgba(171, 30, 52, 0.4);
}

.footer-disclaimer summary {
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.disclaimer-content {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* How to Submit Styles */
.inner-banner {
  min-height: 45vh !important;
}

.submission-guidelines {
  background-color: #f8fafe;
}

.guideline-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.step-item {
  gap: 10px;
}
.step-number {
  background-color: var(--primary-red-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text h5 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.step-text p {
  color: #5b6472;
  font-size: 0.95rem;
}
.step-item a {
  color: var(--primary-color);
}
.query-form-wrapper {
  border: 1px solid rgba(64, 89, 173, 0.1);
}

.query-form .form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  font-family: inherit;
}

.query-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(64, 89, 173, 0.15);
}

.query-form label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-details-panel {
  border: 1px solid rgba(64, 89, 173, 0.1) !important;
}

.contact-info-item h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.contact-info-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-item a {
  color: var(--text-color);
  text-decoration: none;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* Events & Exhibitions Styles */
.event-slide-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  margin: 10px;
}

.event-image img {
  object-fit: contain;
  height: 100%;
}

.event-details {
  background: #ffffff;
}

.event-title {
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.6rem;
}

.event-meta {
  font-size: 0.95rem;
  color: #6b7280;
}

.event-desc {
  font-size: 1rem;
  line-height: 1.7;
}

/* Customizing Owl Carousel Navigation Arrows */
.owl-nav {
  margin-top: 2rem !important;
  text-align: center;
}

.owl-nav [class*="owl-"] {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 45px;
  height: 45px;
  line-height: 45px;
  padding: 0 !important;
  margin: 0 10px !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.owl-nav [class*="owl-"]:hover {
  background: var(--secondary-color) !important;
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .event-image img {
    border-right: none;
    border-bottom: 1px solid #f1f3f5;
    height: auto;
  }
}

/* Services Card Image Flush Style */
.service-card-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.service-row .col-md-6:first-child {
  padding: 0;
}
@media (max-width: 767px) {
  .service-card-img {
    height: 250px;
  }
}

/* Services Banner Background Cover */
.services-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.services-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  object-position: center right;
}

.services-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #91919140;
  z-index: 1;
}

.services-banner .container {
  position: relative;
  z-index: 3;
}

/* Disclaimer Popup Modal */
.disclaimer-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.disclaimer-popup-overlay.active {
  display: flex;
}

.disclaimer-popup {
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.disclaimer-popup-body h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-color);
}

.disclaimer-popup-close {
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  position: absolute;
  right: 0;
  top: 0;
  background: #000;
  padding: 10px;
}

.disclaimer-popup-close:hover {
  opacity: 1;
}

.disclaimer-popup-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary-color);
  position: relative;
}
.disclaimer-popup-body strong {
  color: var(--text-color);
}
.disclaimer-popup-body a {
  color: var(--text-secondary-color);
  font-weight: 600;
}

.disclaimer-popup-body .btn-default {
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  background-color: var(--text-color);
}
.query-form-wrapper .btn-default {
  background-color: var(--primary-red-color);
}
.disclaimer-popup-body .btn-default:hover {
  background-color: var(--primary-bg-color);
  color: var(--text-color);
}

.query-form-wrapper .btn-default:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.about-agency .text-primary {
  color: var(--primary-red-color) !important;
}
