:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #ffffff;
  --link-color: #623ccf;
  --header-bg-color: #ffffff;
  --font-family: Cambria, Georgia, serif;
  --nav-link-color: #141414;
  --footer-text-color: #000000;
  --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 Style ===== */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(98, 60, 207, 0.18);
  padding: 22px 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Logo spacing */
.footer img {
  max-width: 220px;
  height: auto;
  opacity: 0.95;
}

/* Footer text */
.footer p {
  margin: 0;
  color: #4b5563;
}

/* Links */
.footer a {
  color: #623ccf;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Email + icon */
.footer span {
  color: #374151;
  font-weight: 500;
}

.footer i {
  color: #623ccf;
  font-size: 1.05rem;
  vertical-align: middle;
}

/* Right side alignment spacing */
.footer .me-3 {
  margin-bottom: 8px;
}

/* Responsive fixes */
@media (max-width: 991px) {
  .footer .me-3 {
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
}


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

.hero-section {
  padding: 105px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6.5px 25px -1px #484646;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.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;
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
/* ===== Heading Section (Professional + Light Theme) ===== */
.heading {
  margin: 0 auto;
  margin-bottom: 27px;
  position: relative;
  max-width: 1210px;
}

/* Small accent line above heading */
.heading::before {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 0 auto 18px auto;
  border-radius: 50px;
  background: linear-gradient(90deg, #007bff, #623ccf);
}

/* Title */
.heading h2 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

/* Paragraphs */
.heading p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563; /* soft gray */
  margin: 0 auto 16px auto;
}
/* ===== Feature Box Style ===== */
.box {
  background: #ffffff;
  border: 1px solid rgba(98, 60, 207, 0.14);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Accent top border */
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #007bff, #623ccf);
}

/* Hover effect */
.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  border-color: rgba(98, 60, 207, 0.28);
}

/* Title */
.box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 14px;
  color: #111827;
  letter-spacing: -0.3px;
}

/* Paragraphs */
.box p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 14px;
}

/* Remove extra space after last paragraph */
.box p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .box {
    padding: 22px 17px;
  }
}
/* ===== Funding Section Style ===== */
.cust-bg {
  margin: 30px auto;
  padding: 30px 21px;
  background: linear-gradient(
    180deg,
    rgba(98, 60, 207, 0.04),
    rgba(0, 123, 255, 0.02)
  );
  border: 1px solid rgba(98, 60, 207, 0.14);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
  position: relative;
}

/* Decorative gradient strip */
.cust-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #007bff, #623ccf);
}

/* Main Heading */
.cust-bg h2 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #111827;
  letter-spacing: -0.5px;
}

/* Sub Headings */
.cust-bg h3 {
  font-weight: 700;
  margin-top: 11px;
  margin-bottom: 12px;
  color: #1f2937;
  position: relative;
  padding-left: 14px;
}

/* Accent bar for h3 */
.cust-bg h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 75%;
  border-radius: 50px;
  background: #623ccf;
}

/* Paragraph Styling */
.cust-bg p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 14px;
}

/* Improve readability on last paragraph */
.cust-bg p:last-child {
  margin-bottom: 0;
}

.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
/* ===== Colored Background Section ===== */
.colored-bg {
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.08),
    rgba(98, 60, 207, 0.1)
  );
  border: 1px solid rgba(98, 60, 207, 0.18);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}

/* Decorative glow circles */
.colored-bg::before,
.colored-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  z-index: 0;
}

.colored-bg::before {
  width: 220px;
  height: 220px;
  top: -70px;
  left: -70px;
  background: rgba(0, 123, 255, 0.6);
}

.colored-bg::after {
  width: 260px;
  height: 260px;
  bottom: -90px;
  right: -90px;
  background: rgba(98, 60, 207, 0.6);
}

/* Keep content above decorative shapes */
.colored-bg * {
  position: relative;
  z-index: 2;
}

/* Title */
.colored-bg h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

/* Paragraph */
.colored-bg p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin: 0 auto 22px auto;
}

/* List Styling */
.colored-bg ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

/* List Items */
.colored-bg ul li {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(98, 60, 207, 0.14);
  border-radius: 14px;
  padding: 14px 16px 14px 44px;
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
  transition: all 0.25s ease;
}

/* Check icon */
.colored-bg ul li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(90deg, #007bff, #623ccf);
}

/* Hover effect */
.colored-bg ul li:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 60, 207, 0.28);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
}
@media (max-width: 768px) {
  .colored-bg ul {
    grid-template-columns: 1fr;
  }
}
.colored-bg h3 {
  font-weight: 700;
  margin-top: 11px;
  margin-bottom: 12px;
  color: #1f2937;
  position: relative;
  padding-left: 14px;
}

/* Accent bar for h3 */
.colored-bg h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 75%;
  border-radius: 50px;
  background: #623ccf;
}
/* ===== Navbar (Light + Sticky + Premium) ===== */
.navbar {
  background: #ffffff !important;
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid rgba(98, 60, 207, 0.12);
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
  transition: all 0.25s ease;
}

/* Brand / Logo */
.navbar .navbar-brand {
  font-weight: 700;
  color: #111827 !important;
}

/* Nav links */
.navbar .nav-link {
  color: #374151 !important;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

/* Hover effect */
.navbar .nav-link:hover {
  color: #623ccf !important;
  background: rgba(98, 60, 207, 0.08);
}



/* Navbar toggler (mobile) */
.navbar .navbar-toggler {
  border: 1px solid rgba(98, 60, 207, 0.25);
  border-radius: 10px;
  padding: 6px 10px;
}

.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(98, 60, 207, 0.25);
}

/* Dropdown menu styling */
.navbar .dropdown-menu {
  border-radius: 14px;
  border: 1px solid rgba(98, 60, 207, 0.14);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.10);
  padding: 10px;
}


.navbar .dropdown-item:hover {
  background: rgba(98, 60, 207, 0.08);
  color: #623ccf;
}
