@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* ===== GENERAL STYLING ===== */
* {
  font-family: "IBM Plex Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.table > :not(caption) > * > * {
  background-color: transparent;
  border: none;
}

.text-justify {
  text-align: justify;
}

/* General COlor Styling*/
.primary-text {
  color: #0e2b5c;
}

.sec-text {
  color: #1dc2ef;
}

.light-text {
  color: #627792;
}

.btn-cta {
  background-color: #522843;
  color: white;
}

.btn-primary {
  background-color: #0e2b5c;
  border-color: #0e2b5c;
}

.btn-primary:hover {
  background-color: #522843;
  border-color: #522843;
}

.btn-cta:hover {
  background-color: #0e2b5c;
  color: white;
}

.dark-bg {
  background-color: #1c2038;
}

.nav-link.primary-text:hover {
  color: #5ca8ff;
}

.btn-success {
  background-color: #126439;
  padding: 14px 48px 14px 20px;
  font-size: 14px;
  border-color: #126439;
}

.bg-green {
  background-color: #126439;
}

.btn-success:hover {
  background-color: white;
  color: #126439;
}

.lg-btn {
  background-color: #0e2b5c;
  color: white;
}

.lg-btn:hover {
  background-color: #522843;
  color: white;
}

.dashed-dot {
  border-bottom: 0.8px dashed #5ca8ff;
}

.dashed-dot-white {
  border-bottom: 0.8px dashed #fff;
}

/* ===== HERO & CAROUSEL ===== */
.navbar-brand img {
  height: 40px;
  /* Adjust logo height */
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Add shadow to navbar */
}

/* Ensure navbar + carousel together take 100vh */
#navbar,
#home-slider {
  width: 100%;
}

.hero-wrapper {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#home-slider .carousel-inner {
  height: 100%;
}

#home-slider .carousel-item {
  height: 100%;
}

#home-slider .carousel-item {
  height: 100vh;
  position: relative;
}

#home-slider .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
}

/* Overlay effect */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

/* Center carousel captions */
.carousel-caption {
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
}

.carousel-caption h1,
.carousel-caption p {
  color: #fff;
}

@media (min-width: 992px) {
  .carousel-caption {
    top: 60%; /* push it slightly lower */
    left: 10%; /* align to the left */
    right: auto;
    transform: translateY(-60%);
    text-align: left;
    max-width: 70%; /* allow wider text but not full width */
  }

  .carousel-caption h1 {
    font-size: 4rem; /* larger heading */
    line-height: 1.2;
  }

  .carousel-caption p {
    font-size: 1.25rem; /* larger paragraph */
    line-height: 1.6;
  }
}

/* ===== SAFARI FIXES ===== */
@supports (-webkit-touch-callout: none) {
  .carousel-item img {
    object-fit: cover;
    object-position: center;
  }
}

/*Call to Action*/
.cta {
  background: url("./images/cta.jpg");
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
}

.section {
  padding: 2.5rem 10rem;
}

.section {
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 3rem 2rem;
  }
}

@media (min-width: 992px) {
  .section {
    padding: 5rem 10rem 2.5rem 10rem;
  }
}

.split-bg-section {
  background: linear-gradient(to bottom, #1c2038 70%, #ffffff 40%);
}

.fixed-top-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050; /* higher than Bootstrap dropdowns */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hide-top-bar {
  display: none !important;
}

body.navbar-fixed {
  padding-top: 80px; /* adjust based on navbar height */
}

.impact-card {
  background-color: #f3f6f9;
}

.impact-card p {
  color: #627792;
}

.impact-card span {
  font-size: 10px !important;
}

.impact-btn:hover {
  padding: 10px;
  background-color: #522843;
  color: white;
}

.custom-btn {
  background-color: #0e2b5c;
  color: white;
}

.custom-btn:hover {
  background-color: #522843;
  color: white;
}

.industries {
  background: url("./images/industries-bg");
}

.custom-carousel-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 100px auto 50px auto;
  overflow: hidden;
  position: relative;
}

.custom-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.custom-carousel-slide {
  display: flex;
  flex: 0 0 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.custom-carousel-slide img {
  width: 18%; /* 5 images per slide */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.custom-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

.custom-btn-prev {
  left: 10px;
}

.custom-btn-next {
  right: 10px;
}

.background-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* Maintain 16:9 aspect ratio */
}

.full-background-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  display: flex;
  align-items: flex-end; /* Align content to bottom */
  padding: 10px 15px;
  box-sizing: border-box;
  z-index: 2; /* Ensure it's above ::before overlay */
}

.background-section-1 {
  background-image: url("./images/insight-1.jpg");
}

.background-section-2 {
  background-image: url("./images/insight-2.jpg");
}

.background-section-3 {
  background-image: url("./images/insight-3.jpg");
}

.background-section-4 {
  background-image: url("./images/insight-4.jpg");
}

.background-section-5 {
  background-image: url("./images/insight-5.jpg");
}

.background-section-6 {
  background-image: url("./images/insight-6.jpg");
}

.background-section-7 {
  background-image: url("./images/insight-8.jpg");
}

.background-section-8 {
  background-image: url("./images/insight-9.jpg");
}

.background-section-9 {
  background-image: url("./images/insight-10.jpg");
}

.bg-content {
  display: flex;
  align-items: center;

  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}

.user-icon {
  font-size: 16px;
  margin-right: 8px;
  color: #fff;
}

.user-name {
  white-space: nowrap;
}

.full-background-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  mix-blend-mode: saturation;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.background-container:hover .full-background-section {
  transform: scale(1.05); /* Zoom in */
}

.background-container:hover .full-background-section::before {
  opacity: 0; /* Remove overlay on hover */
}

/*About Section*/
.about-intro {
  background-image: url("./images/blue-arrow.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.navigation .disabled {
  color: #0e2b5c !important;
}

.navigation .nav-link {
  color: #627792;
  font-family: "Rubik", sans-serif;
}

.text-under {
  border-bottom: 3px solid #522843;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  width: 60px; /* slightly more than the image */
  height: 60px;
  text-align: center;
}

.hover-img {
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.shadow-oval {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover effect */
.image-wrapper:hover .hover-img {
  transform: translateY(-10px) rotate(3deg);
}

.image-wrapper:hover .shadow-oval {
  transform: translateX(-50%) scale(0.7);
  opacity: 0.5;
}

/*Vision Mission and values*/
.breadcrumbs {
  font-family: "Rubik", sans-serif;
}

/*Management Team*/
.team-intro {
  background-image: url("./images/cta.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*Case Studies Card*/
.case-studies-card {
  background-color: #0e2b5c;
}

/*FAQ*/
.faq-hero {
  background-image: url("./images/industries-bg"); /* Change to your image */
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}
.search-input {
  max-width: 600px;
  margin: 2rem auto 0;
}

/*News&Insight*/
.insight {
  background: linear-gradient(rgba(35, 24, 52, 0.7), rgba(35, 24, 52, 0.7)),
    url("./images/cta.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 8rem 2rem;
  text-align: center;
}

/*News&Insight*/
.solutions {
  background: linear-gradient(rgba(35, 24, 52, 0.7), rgba(35, 24, 52, 0.7)),
    url("./images/green-bg.jpg");
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 8rem 2rem;
  text-align: start;
}
