@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Saira:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap");


body {
  font-family: "Space Grotesk";
  background-color: #f8f9fa !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
  /* font-size: 20px; */
}

.nav-link {
  margin-left: 2rem;
}

.navbar-light .navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 700;
  color: #234389;
}

.appointment_button {
  background-color: #234389 !important;
  color: #fff;
  font-size: 16px;
}

.bg-color {
  background-color: #234389 !important;

}

/* index css */

.slider-img {
  background-image: url('./images/slider3.jpg');
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 20px;
  border-radius: 10px;
}

/* Background image for desktop */
.bg-slider {
  background-image: url('./images/slider1.jpg');
  /* ✅ You can change this */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  height: 90vh;
  /* ✅ Makes it visible and full-screen on desktop */
  min-height: 400px;
  /* fallback for smaller screens */
}

.slider-section {
  overflow: hidden;
}

.slider-img {
  height: 100vh;
  /* ensures visible area */
  min-height: 400px;
}

.slider-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.welcome_text {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .slider-img {
    height: auto;
  }

  .slider-text h1 {
    font-size: 1.4rem;
  }

  .slider-text p {
    font-size: 1.1rem;
  }

  .nav-link {
    margin-left: 2rem;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #234389;
  }

  .appointment_button,
  .bg-primary {
    background-color: #234389 !important;
    color: #fff;
    font-size: 16px;
  }
}

.welcome_text {
  color: #15409c;
}

.expertise-box {
  background-color: #dbdbdb;
  color: #000;
  /* Light grey background */
  padding: 20px;
  height: 250px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* Optional: nice subtle shadow */
}

h2 {
  color: #234389;
}

h4 {
  color: #0f1c3a;
}

/* footer css */


footer {
  padding-top: 80px;
  padding-bottom: 40px;
}

footer h4 {
  padding-bottom: 5px;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #fff;
}

.contact-info {
  padding-top: 10px;
}

.contact-info .fa {
  background: #393939;
  border-radius: 100%;
  color: #ffffff;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 2px;
}

.latest-stories {
  margin-bottom: 20px;
}

.stories-image,
.stories-info {
  display: inline-block;
  vertical-align: top;
}

.stories-image img {
  border-radius: 100%;
  width: 65px;
  height: 65px;
}

.stories-info {
  margin-left: 15px;
}

.stories-info h5 {
  margin-bottom: 2px;
}

.stories-info span {
  color: #fff;
  font-size: 12px;
}

.opening-hours p {
  line-height: 18px;
}

.opening-hours span {
  font-weight: 500;
  display: inline-block;
  padding-left: 10px;
}

.copyright-text p,
.footer-link a {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.footer-link a {
  font-size: 12px;
  display: inline-block;
  padding: 0 10px;
  margin-top: 4px;
}

.angle-up-btn {
  position: relative;
  bottom: 4em;
  display: block;
}

.angle-up-btn a {
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 3px;
  font-size: 20px;
  color: #393939;
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 38px;
  transition: transform 0.1s ease-in;
  transform: translateX(0);
}

.angle-up-btn a:hover {
  background: #4267b2;
  color: #ffffff;
  transform: translateY(-5px);
}

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  border-radius: 100px;
  color: #fff;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease-in-out;
  position: relative;
}

.social-icon li a:hover {
  background: #4267b2;
  color: #ffffff;
}

.content-wrapper {
  padding: 24px;
}

@media only screen and (max-width: 767px) {

  footer {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .footer-thumb {
    padding-bottom: 10px;
  }

  .border-top {
    text-align: center;
  }

  .copyright-text {
    margin-top: 10px;
  }

  .angle-up-btn {
    bottom: 10em;
  }
}


.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #234389;
}

.case-card {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  background: #000;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.case-card:hover h1{
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff !important;
  font-size: 20px;
  z-index: 2;
  margin: 0;
  font-weight: 600;
  font-size: 30px;
}
.case-card h1 {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #000 !important;
  font-size: 20px;
  z-index: 2;
  margin: 0;
  font-weight: 600;
  font-size: 30px;

}

.case-card .text {
  position: absolute;
  bottom: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), #080944);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-card:hover img {
  transform: scale(1.2);
  opacity: 0.5;
}

.case-card:hover .text {
  transform: translateY(0);
}

.case-card .text p {
  font-size: 16px;
  line-height: 1.5;
}

.case-card .view-more {
  position: absolute;
  bottom: 15px;
  right: 20px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.case-card .view-more:hover {
  color: #f1f7ec;
}

@media (max-width: 767.98px) {
  .case-card {
    height: 380px;
  }

  .case-card h1 {
    font-size: 18px;
  }

  .section-title {
    font-size: 1.75rem;
  }
}


.split-section {
  margin-bottom: 0;
}

.text-panel {
  background-color: #94a9b3;
  color: #020202;
  padding: 2rem 2rem;
}

.text-panel h2 {
  color: #234389;
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-panel p {
  font-size: 1rem;
  color: #000000;
  line-height: 1.7;
}

.line {
  width: 40px;
  height: 4px;
  background-color: #234389;
  border-radius: 10px;
}

.image-panel img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .text-panel {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .text-panel h2 {
    font-size: 1.5rem;
  }
}