@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=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");

body {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.card-title {
  font-family: "EB Garamond", serif;
}

.ibm-font {
  font-family: "IBM Plex Sans", sans-serif;
}

.garamond-font {
  font-family: "EB Garamond", serif;
}

p,
strong {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 2rem;
}

.bold-text {
  font-family: "EB Garamond", serif;
  font-size: 1.3em;
  margin: 0px 0px 16px;
  color: #0c122d;
}

.heading {
  font-family: "EB Garamond", serif;
  font-size: 48px;
  color: #0c122d;
}

.title {
  font-size: 72px;
  font-size: 4.5rem;
  font-family: "EB Garamond", serif;
  line-height: 1.4em;
  text-transform: capitalize;
  color: #0c122d;
}

.subtitle {
  font-family: "IBM Plex Sans", sans-serif;
  color: #575c74;
  margin: 0px 0px 16px;
  font-size: 16px;
}

.card-text {
  font-family: "IBM Plex Sans", sans-serif;
  color: #575c74;
}

a {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12.768px;
}

.btn {
  font-family: "IBM Plex Sans", sans-serif;
}

section.intro {
  padding: 10rem 12rem;
}

@media (max-width: 991px) {
  section.intro {
    padding: 3rem 3rem;
  }
}

.intro {
  background-image: url("./images/bg-main.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1900px auto;
  background-color: #f7fdfb;
}

.page-bg {
  background-color: #f7fdfb;
}

.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;
}

.btn-primary {
  background-color: #80013f;
  border-color: #80013f;
}

.btn-primary:hover {
  background-color: #fffdd0 !important;
  border-color: #fffdd0;
  color: #80013f !important;
}

.btn-outline-primary {
  border-color: #80013f !important;
  color: #80013f !important;
}

.btn-outline-primary:hover {
  background-color: #fffdd0 !important;
  border-color: #fffdd0 !important;
  color: #80013f !important;
}

.page-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-family: "IBM Plex Sans", sans-serif;
}

.bg-primary {
  background-color: #80013f !important;
}

.text-primary {
  color: #80013f !important;
}

.text- .text-heading {
  color: #0c122d;
}

.text-dull {
  color: #575c74;
}

.text-justify {
  text-align: justify;
}

.bg-nude {
  background-color: #fffdd0;
}

.text-nude {
  color: #fffdd0;
}

.border-primary {
  border-color: #80013f !important;
}

.table {
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table th {
  background-color: #80013f;
  color: white;
}

.custom-section .section-left {
  background-image: url("./images/image-1.jpg"); /* Replace with your image */
  background-size: cover;
  background-position: center;
  min-height: 500px;
  padding: 0;
}

.info-card-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 350px;
  padding: 1.5rem;
}

.info-card-content {
  background-color: #fffdd0;
  color: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  margin: 0px 0px 16px;
  line-height: 30px;
}

.info-box {
  padding: 1rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  margin: 0px 0px 16px;
  line-height: 30px;
}

.info-box h5 {
  font-family: "EB Garamond", serif;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
}

.circle-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle-small {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-circle {
  width: 60px;
  height: 60px;
  background-color: #80013f; /* Deep maroon */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.check-circle {
  width: 40px;
  height: 40px;
  border: 2px solid #80013f; /* Bootstrap primary */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #80013f;
  font-size: 1rem;
  flex-shrink: 0; /* prevent resizing in flex */
}

.login {
  background-image: url("./images/bg-main.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1900px auto;
  background-color: #f7fdfb;
}

.info {
  background-image: url("./images/bg-main.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1900px auto;
  background-color: #f7fdfb;
}

.award {
  background-image: url("./images/bg-main.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1900px auto;
  background-color: #f7fdfb;
}

.section-bg {
  background-image: url("./images/bg-main.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1900px auto;
  background-color: #f7fdfb;
}

.about-intro {
  background-image: url("./images/bg-main.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-position: left;
  background-size: 1900px auto;
  background-color: #f7fdfb;
}

.stats-section {
  width: 100%;
}

.stats-section .col-md-3 {
  min-height: 160px; /* Optional: make them equal height */
}

.custom-card h5 {
  font-family: "EB Garamond", serif;
  font-size: 20px;
}

.custom-card p {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1em;
}

.custom-card a {
  font-family: "IBM Plex Sans", sans-serif;
}

.custom-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 1rem;
  height: 100%;
  overflow: visible;
  padding-top: 8rem !important; /* Extra top padding just in case */
}

.floating-img {
  position: absolute;
  top: -100px;
  left: 0; /* align to the left */
  width: 85%; /* take full width of the card */
  max-height: 290px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-box {
  font-family: "IBM Plex Sans", sans-serif;
  padding: 1.5rem;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cta {
  background-color: #f7fdfb;
}

.cta h4 {
  color: #0c122d;
}

.top-wrapper {
  height: 100vh;
}

.main-image-wrapper {
  position: relative;
  padding-bottom: 5rem; /* creates space for image-2 to sit lower */
}

.overlay-image {
  position: absolute;
  left: 10%;
  bottom: -150px; /* Moves it down so it covers bottom of image-1 */
  z-index: 2;
  width: 85%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Removes gap between image and stats */
.extended-stats {
  margin-top: -60px; /* was -40px, now higher overlap */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./images/about-3.jpg");
  background-position: center center;
  background-size: cover;
  color: white;
  padding: 7rem 1rem;
}

.values {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("./images/about-4.jpg");
  background-position: center top;
  background-size: cover;
  color: white;
}

.practices {
  background-image: linear-gradient(
      rgba(255, 253, 208, 0.7),
      rgba(255, 253, 208, 0.7)
    ),
    url("./images/about-5.jpg");
  background-position: center top;
  background-size: cover;
  color: white;
}

.contact-form-control,
.contact-form-select {
  padding: 10px;
  margin-bottom: 15px;
}

.interview-details {
  margin-top: 40px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.interview-details h5 {
  color: #80013f;
  margin-bottom: 20px;
}

.interview-details ul {
  list-style-type: none;
  padding: 0;
}

.interview-details ul li {
  padding: 5px 0;
}

.interview-details ul li::before {
  content: "✅";
  margin-right: 10px;
}
