:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #247b8a;
  --hero-gradient2: #0b4b60;
  --footer-bg-color: #043748;
  --link-color: #00b3ff;
  --header-bg-color: #f3f1f1;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.error_page {
  min-height: 70vh;
}

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding: 1.9rem 19px;
  text-align: center;
}

/* Top area */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Links */
.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-divider {
  border: none;
  height: 1px;
  margin: 1.5rem auto;
  width: 60%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--link-color),
    transparent
  );
  opacity: 0.5;
}

.footer-bottom {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
}

.footer img {
  filter: brightness(0) invert(1);
}

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 115px 0 25px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
  box-shadow: 0 6.5px 25px -1px #48464690;
}
.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}

.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: fixed !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 21px;
  transition: all 0.3s ease;
}

@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 21px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}
.contact-form h2 {
  font-weight: 750;
  letter-spacing: -0.02em;
}
.contact-form .intro {
  margin-bottom: 1.75rem;
  font-size: 1rem;
  color: #475569;
}
.field {
  margin-bottom: 1.25rem;
}
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #f8fafc;
  font-size: 0.95rem;
  color: #0f172a;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--link-color);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}
.contact-form button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 14px;
  background: var(--link-color);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--link-color, rgba(204, 145, 63, 0.25));
}
.contact-form .note {
  display: block;
  margin-top: 1rem;
  font-size: 0.82rem;
  text-align: center;
  color: #64748b;
}
.heading {
  margin-bottom: 27px;
}

.heading h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #023cff;
  margin-bottom: 1.5rem;
  position: relative;
}

.heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 1rem auto 0;
  background-color: #0f5266;
  border-radius: 2px;
}

.heading p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333333;
  margin: 1.25rem auto 0;
}
.box {
  background-color: #f9fbff;
  border: 1px solid rgba(2, 60, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 82, 102, 0.08);
}

.box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f5266;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.box h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: #023cff;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.box p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2f2f2f;
  margin-bottom: 1rem;
}

.box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .box {
    padding: 2rem 19px;
  }
}
.title {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #023cff;
  margin-bottom: 1rem;
  position: relative;
}

.title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 0.75rem;
  background-color: #0f5266;
  border-radius: 2px;
}
.cust-bg {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 50%, #eef3ff 100%);
  padding: 1.7rem 19px;
  overflow: hidden;
}

/* Vertical curatorial accent */
.cust-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #023cff 0%, #0f5266 100%);
  opacity: 0.9;
}

/* Subtle surface texture */
.cust-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Optional: slightly lift text contrast without resizing */
.cust-bg h2,
.cust-bg h3,
.cust-bg p {
  position: relative;
  z-index: 1;
}
.img-section {
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 1.5rem;
  position: relative;
}
.img-section .section-top-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}
.img-section__content {
  background: linear-gradient(180deg, #fff 0, #b8d8f9 100%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 1.25rem 17px;
  margin-top: -6px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
}
.img-section__content h2 {
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.12),
    rgba(16, 185, 129, 0.04)
  );
  color: #0f172a;
  padding: 0.4rem 5px;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
}
.img-section__content h3 {
  color: #0b1220;
  font-weight: 600;
}
.modern-bg {
  position: relative;
  background: linear-gradient(180deg, #f2f7ff 0%, #e9f0ff 45%, #f8fbff 100%);
  padding: 2.5rem 19px;
  overflow: hidden;
}

/* Cool archival top divider */
.modern-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(2, 60, 255, 0.45),
    transparent
  );
}

/* Cooler grid-like surface texture */
.modern-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 60, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 82, 102, 0.025) 1px, transparent 1px);
  background-size:
    100% 26px,
    26px 100%;
  pointer-events: none;
}

/* Content isolation */
.modern-bg h2,
.modern-bg h3,
.modern-bg p {
  position: relative;
  z-index: 1;
}
