html { scroll-behavior: smooth; background:#fff; }
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}
html, body { max-width:100%; overflow-x:hidden; }

:root {
  --nav-offset-desktop: 120px;
  --nav-offset-mobile: 72px;
}

@media (min-width: 992px) {
  [id] {
    scroll-margin-top: var(--nav-offset-desktop);
  }
}

@media (max-width: 991.98px) {
  [id] {
    scroll-margin-top: var(--nav-offset-mobile);
  }
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  letter-spacing: 2px;
  color: #222222;
}

p {
  font-family: "Poppins", sans-serif;
  font-weight: normal;
  color: #4C4C4C;
  font-size: 16px;
}

.hero-content h1 {
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 70px;
  margin: 0;
  /* removed redundant padding:0; */
  padding: 40px 0 0px;
}

.hero-content h1 span {
  color: #F4B441;
}

.hero-content h2 {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.2px;
  /* removed margin/padding resets (covered by global heading reset) */
}

.hero-content {
  text-align: center;
}

.hero-content p {
  width: 70%;
  margin: 0 auto;
  color: #ffffff;
  /* keep override for hero */
  font-size: 17px;
  /* keep section-specific size */
  font-weight: 300;
  padding-top: 10px;
}

.blocks-section {
  padding: 0;
  position: relative;
}

.blocks-section .block {
  background: #EEECFF;
  border-radius: 20px;
  padding: 40px;
  margin-top: -150px;
}

.blocks-section .block p {
  color: #000000;
  font-size: 18px;
}

.hero {
  padding-top: 0;
  height: 620px;
}

.about-section h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 55px;
  padding-top: 50px;
  margin-bottom: 20px;
  font-weight: 700;
}

.services-block {
  text-align: center;
  background: linear-gradient(135deg, #20189B, #580D58);
  color: #fff;
  padding: 110px 0 90px;
}

.services-block h2 {
  font-size: 55px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  color: #ffffff;
}

.services-block p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #ddd;
}

.service-card {
  flex: 1 1 220px;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.service-card i {
  display: block;
  font-size: 16px;
  color: #fff;
  opacity: 0;
  margin-top: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover i {
  opacity: 1;
  transform: translateY(4px);
}

.service-card span {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
}

.service-card.ai span {
  color: #00eaff;
}

.service-card.it span {
  color: #ffd700;
}

.service-card.green span {
  color: #32cd32;
}

.service-card.ipo span {
  color: #ff8c00;
}

/* Prevent scroll while loading */
body.preloading {
  overflow: hidden;
}

/* Fullscreen overlay */
#preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  background: radial-gradient(1200px 600px at 50% -10%, #2c0a77 0%, #1a0a3a 60%, #14072d 100%);
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Spinner */
#preloader .spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, .25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#preloader .loader-text {
  font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .06em;
  color: #fff;
  opacity: .85;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ai-consultancy {
  background: #fff;
  padding-top: 60px;
  padding-bottom: 20px;
}

.ai-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  margin: 0 0 5px;
  font-size: 50px;
}

.ai-lead {
  margin: 0 0 25px;
}

.ai-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.ai-item {
  padding: 12px 20px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .35)) padding-box,
    linear-gradient(90deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, 0)) border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.ai-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #d9f6f1 0%, #eafaf8 20%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

.it-list .ai-item::before {
  background: linear-gradient(90deg, #FDFFED 0%, #FDFFED 20%, rgba(255, 255, 255, 0) 100%);
}

.ai-item h4 {
  color: #000000;
  font-weight: 600;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.2px;
  line-height: 25px;
}

.ai-item p {
  margin: 0;
}

.ai-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, .10);
}

.green-initiatives {
  background: linear-gradient(135deg, #2B8A51, #23A285);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 40px 0;
}

.green-initiatives .section-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  margin: 0 0 5px;
  font-size: 50px;
  color: #ffffff;
}

.green-initiatives .section-lead {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.green-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.green-list li {
  margin-bottom: 15px;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
}

.green-list i {
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.ipo-markets {
  background: #fff;
  color: #111;
  padding: 40px 0;
}

.ipo-markets .section-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  margin: 0 0 5px;
  font-size: 50px;
  color: #000000;
}

.ipo-markets .section-lead {
  margin-bottom: 28px;
  max-width: 640px;
}

.ipo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ipo-list li {
  margin-bottom: 15px;
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
}

.ipo-list i {
  color: #111;
  font-size: 16px;
  flex-shrink: 0;
}

.partners {
  background: linear-gradient(135deg, #20189B, #580D58);
  padding: 110px 0px 0px;
}

.partners .section-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  font-size: 50px;
  margin-bottom: 50px;
  color: #ffffff;
  /* ensure white on gradient */
}

.partner-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 15px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.partner-logo {
  max-height: 100px;
  object-fit: contain;
}

.partner-card h4 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.2px;
}

.partner-card p {
  line-height: 25px;
}

.b-block {
  padding: 20px;
  background-color: #EAF3FF;
  border-radius: 20px;
}

.founders {
  background: #fff;
}

.founders .section-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  font-size: 50px;
  margin-bottom: 50px;
}

.founder-card {
  background: linear-gradient(90deg, #F5F5F9 0%, #F5F5F9 20%, rgba(255, 255, 255, 0) 100%);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: transform .3s ease;
  height: 100%;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.founder-name {
  font-size: 20px;
  font-weight: 700;
  color: #1F0D60;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.2px;
}

.founder-role {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.founder-bio {
  font-size: 15px;
  margin: 0;
  line-height: 24px;
}

.contact-simple {
  text-align: center;
  background: linear-gradient(135deg, rgba(32, 24, 155, 0.9), rgba(88, 13, 88, 0.9)),
    url("../images/contact-bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 110px 0px 40px
}

.contact-simple .section-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  font-size: 50px;
  margin-bottom: 50px;
}

.contact-form {
  width: 60%;
  margin: 0 auto
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 14px 16px;
  border: none;
  outline: none;
  box-shadow: none;
  width: 100%;
}

.contact-form textarea.form-control {
  resize: none;
}

.btn-submit {
  background: #F4B441;
  color: #000000;
  font-weight: 600;
  border: none;
  padding: 12px 60px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 12px;
  transition: all .3s ease;
  text-transform: uppercase;
}

.btn-submit:hover {
  background: #f0f0f0;
  color: #580D58;
}

.site-footer {
  background: #14095d;
  padding: 15px 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.site-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-content .divider {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 6px;
}

.site-footer p {
  color: #fff;
  margin: 0;
  padding: 10px 5px;
  font-size: 15px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.site-footer a:hover {
  color: #ddd;
}

/* Small Mobiles (≤ 480px) */
@media (max-width: 480px) {
  header .navbar-brand {
    padding: 20px 0 !important;
  }

  header .navbar-brand .mobile-logo {
    height: 70px;
  }

  .hero-content h1 {
    font-size: 38px;
    margin: 0;
    padding: 0;
  }

  .hero-content h2 {
    font-size: 20px;
    line-height: 30px;
  }

  .blocks-section .block {
    margin-top: 20px;
  }

  .hero {
    padding-top: 0;
    height: 480px;
    padding-bottom: 0;
  }

  .hero-content p {
    width: 100%;
    padding-top: 0;
  }

  .services-block {
    padding: 110px 0 90px;
  }

  .service-card {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .ai-consultancy {
    padding-top: 10px;
  }

  .ai-item h4 {
    font-size: 18px;
    margin-bottom: 0;
  }

  .ai-content h2 {
    font-size: 38px;
  }

  .green-initiatives .section-title {
    font-size: 38px;
  }

  .contact-simple .section-title {
    font-size: 38px;
  }

  .ipo-markets .section-title {
    font-size: 38px;
  }

  .founders .section-title {
    font-size: 38px;
  }

  .partners {
    padding: 60px 0px 0px;
  }

  .founder-name {
    margin-bottom: 0;
  }

  .contact-form {
    width: 100%;
  }

  .btn-submit {
    width: 100%;
  }
  .site-footer p {
    color: #fff;
    margin: 0;
    padding: 0px 4px;
    font-size: 14px;
}
}