body {
  font-family: "urbanist" sans-serif;
}
.navbar-brand img {
  width: 80px;
  height: 40px;
}
.navbar,
.navbar-nav,
.nav-item {
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: bold;
  color: blue;
}
.contact-btn-wrapper {
  display: inline-block;
  padding: 0;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%);
  background-color: #007bff;
  color: #fff !important;
  font-weight: 500;
  border: none;
  padding: 20px 70px 20px 180px;
  margin: 0;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}
.contact-btn-wrapper a {
  border-radius: 25px 25px 25px 25px;
  background-color: #fff;
  padding: 20px 17px 20px 17px;
  margin: 10px 0px 10px 0px;
  text-decoration: none;
}
.contact-nav-btn a {
  text-decoration: none;
}
.contact-nav-btn:hover {
  background-color: #002733;
  color: #fff;
}
/* Hide Bootstrap default dropdown arrow */
.navbar .dropdown-toggle::after {
  display: none !important;
}
/* Ensure dropdown is wide enough */
.custom-dropdown {
  min-width: 500px;
  width: 450px;
}
/* Flex wrapper for columns */
.dropdown-columns {
  display: flex;
  gap: 2rem;
}
/* Column styling */
.dropdown-col {
  flex: 1;
}
/* Optional spacing and reset */
.dropdown-col .dropdown-item {
  padding: 0.25rem 0;
  white-space: normal;
}
.list-unstyled {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dropdown-menu {
  background-color: #fff !important;
  border-bottom-right-radius: 25px !important;
  overflow: hidden !important;
}
.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Update menu item colors */
.navbar .nav-link,
.navbar .dropdown-item {
  color: #0b173b !important;
}

/* Optional hover color */
.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: #084dca !important;
}

.hero-section {
  background-image: url("../images/backgroundbanner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

/* Image defaults */
.hero-banner-img {
  max-width: 100%;
  height: 100%;
  padding-top: 8%;
  padding-bottom: 3%;
}

/* Headings and Text */
.hero-heading {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

.text-highlight {
  color: #0d5ff9;
  font-weight: bold;
}

/* Buttons */
.btn {
  min-width: 150px;
}

/* Medium Screens (Tablets) */
@media (max-width: 991.98px) {
  .hero-section {
    background-color: #002936;
  }

  .hero-heading {
    font-size: 2.4rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-banner-img {
    max-width: 80%;
  }

  .hero-mobile {
    padding: 1.5rem;
  }
}

/* Small Screens (Phones) */
@media (max-width: 767.98px) {
  .hero-heading {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
  }

  .hero-banner-img {
    max-width: 90%;
    margin-top: 1rem;
  }
}

/* Extra Small Screens (older phones) */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 1.7rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-mobile {
    padding: 1rem;
  }
}

.about-section {
  background-color: #fff;
}
.about-section-img img {
  width: 400px;
  height: 400px;
}
.about-description {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.object-fit-cover {
  object-fit: cover;
}
.overlay-img {
  top: 55px;
  right: 20px;
  width: 900px;
  height: 400px;
  z-index: 2;
}
/* Common Sections */
.section-main-heading {
  color: #0d5ff9;
}
.section-button {
  background-color: #0d5ff9;
  font-size: 12pt;
  padding: 7px 20px 7px 20px;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
}
.section-button:hover {
  background-color: #002733;
  color: #fff;
}

section#our-services {
  padding: 60px 20px;
  background-color: #fff;
  opacity: 0;
  transition: opacity 1s ease-out;
}

.section-main-heading {
  text-align: center;
  font-size: 2em;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* FLIP CARD STYLES */
.service-card {
  perspective: 1000px;
  position: relative;
  width: calc(25% - 20px);
  min-width: 240px;
  height: 250px;
  box-sizing: border-box;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.card-back {
  transform: rotateY(180deg);
  background-color: #f5f5f5;
}

.service-icon i {
  font-size: 2rem;
  color: #007bff; /* Bootstrap Blue */
}

.service-text {
  font-size: 1rem;
  color: #333;
}

/* Curriculum special case */
.curriculum-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.curriculam {
  padding: 10px;
}

/* Fade-in Animation */
.service-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation delays */
.service-card:nth-child(1) {
  animation-delay: 0.2s;
}
.service-card:nth-child(2) {
  animation-delay: 0.3s;
}
.service-card:nth-child(3) {
  animation-delay: 0.4s;
}
.service-card:nth-child(4) {
  animation-delay: 0.5s;
}
.service-card:nth-child(5) {
  animation-delay: 0.6s;
}
.service-card:nth-child(6) {
  animation-delay: 0.7s;
}
.service-card:nth-child(7) {
  animation-delay: 0.8s;
}
.service-card:nth-child(8) {
  animation-delay: 0.9s;
}
.service-card:nth-child(9) {
  animation-delay: 1s;
}
.service-card:nth-child(10) {
  animation-delay: 1.1s;
}
.service-card:nth-child(11) {
  animation-delay: 1.2s;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .service-card {
    width: calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .service-card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .service-card {
    width: 100%;
  }
}

.sections-subs-head {
  font-size: 22pt;
  color: #0d5ff9;
}

.section-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 0.9rem;
}

.section-desc {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.section-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.section-button:hover {
  background-color: #0056b3;
  color: #fff;
}

.img-rounded-10 {
  border-radius: 10px;
  max-width: 100%;
  max-height: 400px;
  height: auto;
}

@media (max-width: 767px) {
  .img-rounded-10 {
    max-height: 300px;
  }
}
.testimonial-card {
  background: #fff;
  padding: 40px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 10px 10px;
  min-height: 340px; /* Ensures all cards are same height */
  box-sizing: border-box;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 14px;
}

.slick-dots {
  position: absolute;
  bottom: -50px;
  width: 100%;
  display: flex !important;
  justify-content: center;
  list-style: none;
  padding-left: 0;
}

.slick-dots li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.slick-dots li button {
  opacity: 0;
  width: 0;
  height: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.slick-dots li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ccc;
  display: block;
  transition: background-color 0.3s ease;
}

.slick-dots li.slick-active::before {
  background-color: #007bff;
}

.testimonial-slider-wrapper {
  position: relative;
  padding-bottom: 60px;
}

.testimonial-author {
  margin-top: 10px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #777;
}

/* Clients Section Styles */
.section-heading {
  font-weight: bold;
  margin-bottom: 20px;
}

.rounded-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-box {
  width: 100%;
  max-width: 420px;
  height: 380px;
  max-height: 100%;
  margin: 0 auto;
  position: relative;
}

.image-box .box-content {
  position: absolute;
  bottom: 280px; /* Half over image, half out */
  left: -210px;
  width: 90%;
  font-size: 0.9rem;
  background-color: #fff;
  padding: 12px;
  padding-right: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  color: #333;
  line-height: 1.6;
  z-index: 2;
}

.image-box .box-content a {
  color: #0d5ff9;
  text-decoration: none;
}

.image-box .box-content a:hover {
  text-decoration: underline;
}

.heading-small {
  font-size: 1.2rem;
  font-weight: bold;
}

.para-small {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 10px;
}

.section-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.section-button:hover {
  background-color: #0056b3;
  color: #fff;
}

.img-rounded-10 {
  border-radius: 10px;
}

@media (max-width: 767px) {
  .image-box {
    max-width: 100%;
  }

  .image-box .box-content {
    font-size: 0.85rem;
    width: 100%;
    bottom: -20px;
  }
}

/*footer*/
footer {
  background: #002733 !important;
  color: #ffffff !important;
}
.footer-heading {
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0d6efd;
  display: inline-block;
  padding-bottom: 4px;
}
.footer-link {
  color: #dddddd;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
footer h6 {
  font-size: 1rem;
  text-align: center;
}
/*Responsive*/
/* Responsive center alignment */
@media (max-width: 768px) {
  .navbar {
    align-items: center !important;
  }
  .navbar-collapse {
    justify-content: center !important;
    text-align: center;
  }
  .navbar-nav {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
  }
  .navbar-toggler {
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
  }
  .contact-btn-wrapper {
    padding: 0px 0;
    clip-path: none;
    width: 100%;
    text-align: center;
  }
  .contact-btn-wrapper a {
    padding: 15px 30px;
    display: inline-block;
    width: auto;
    margin: 10px auto;
  }
  .navbar-logo {
    text-align: center;
    width: 100%;
    margin: 10px 60px 10px 0px;
    padding: 0;
  }
  .navbar-logo a {
    display: inline-block;
  }
}

/* Responsive behavior */
@media (max-width: 992px) {
  .hero-section {
    background-position: center bottom;
    background-size: cover; /* optional: contain if you prefer full image visibility */
    background-image: none;
  }
}
@media (max-width: 768px) {
  .image-box,
  .expert-section-img img {
    width: 100% !important;
    height: auto !important;
    margin-top: 20px;
  }
  .image-box img {
    width: 100% !important;
    height: auto !important;
  }
  .image-box .box-content {
    position: static;
    margin-top: 10px;
    width: 100%;
    left: 0;
    text-align: center;
  }
  .heading-small {
    font-size: 1.5rem !important;
    text-align: center;
  }
  .para-small {
    text-align: center;
  }
  .section-button {
    display: block;
    margin: 0 auto;
  }
}
@media (max-width: 767.98px) {
  footer ul {
    padding-left: 0;
  }
  .footer-heading {
    display: block;
    text-align: center !important;
    margin: 0 auto 1rem;
  }
  .footer-link {
    display: block;
    text-align: center;
    margin-bottom: 6px;
  }
}

/* iPhone 16 Pro Portrait (approx. 393px width) */
@media only screen and (max-width: 400px) and (orientation: portrait) {
  .hero-heading {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .contact-btn-wrapper {
    clip-path: none;
    padding: 10px 20px;
  }

  .contact-btn-wrapper a {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
  }

  .service-card {
    width: 100%;
    height: auto;
  }

  .section-button {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .about-section-img img {
    width: 100%;
    height: auto;
  }
}

/* iPhone 16 Pro Max Portrait (approx. 430px width) */
@media only screen and (max-width: 440px) and (orientation: portrait) {
  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .section-main-heading {
    font-size: 1.6rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 20px;
  }
}

/* iPhone 16 Pro / Pro Max Landscape */
@media only screen and (max-height: 430px) and (orientation: landscape) {
  .hero-section {
    flex-direction: column;
    padding: 1rem;
  }

  .hero-heading {
    font-size: 1.4rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .hero-banner-img {
    max-width: 70%;
  }

  .navbar {
    flex-direction: column;
  }

  .navbar-nav {
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-btn-wrapper {
    width: 100%;
    padding: 10px;
  }
}
