html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.form-box {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto;
}

/* HERO SECTION RESPONSIVENESS */
.hero {
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.1)
    ),
    url("../images/hero-image.jpg") no-repeat center/cover;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  padding: 80px 15px;
}

.hero-subtitle {
  color: #32318b;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: left;
  align-items: center;
}

/* Stack the layout on smaller screens */
@media (max-width: 991.98px) {
  .hero .row {
    flex-direction: column;
    text-align: center;
  }

  .form-box {
    max-width: 100%;
    width: 100%;
  }

  .hero-info {
    flex-direction: column;
    align-items: center;
  }
}

.btn-purple {
  background-color: #32318b !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  color: #fff !important;
}

.btn-purple:hover {
  background-color: white !important;
  color: #32318b !important;
  border: 1px solid #32318b !important;
}

.nav-link {
  color: #32318b !important;
  font-weight: bold !important;
}

.nav-link:hover {
  color: #32318b !important;
}

.features-section {
  background-color: white;
}

.feature-number {
  background-color: #32318b;
  color: #fff;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 50%;
  font-size: 14px;
}

@media (max-width: 426px) {
  .about-section-2 {
    align-items: left;
    flex-direction: column;
  }

  .ready-talk-heading {
    flex-direction: column;
  }

  .logo {
    width: 120px;
  }
}

@media (max-width: 769px) {
  .about-img {
    display: flex;
    flex-direction: column;
  }

  .about-content {
    text-align-last: center;
  }

  .feature-number {
    margin-bottom: 10px;
  }

  .feature-number {
    margin-bottom: 10px;
  }

  .brand-logo {
    width: 150px;
  }

  .logo {
    width: 150px;
  }
}

.about-section {
  background-color: #fff;
}

.bg-dark-purple {
  background-color: #32318b;
}

.experience-badge {
  width: 130px;
  height: 130px;
  background: #fff;
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.experience-badge img {
  width: 40px;
  margin-bottom: 10px;
}

.about-images img {
  object-fit: cover;
  height: auto;
}

.about-section-2 {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
}

.rotating-logo {
  width: 100px;
  /* adjust as needed */
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.services-provided-section h2 {
  color: #32318b;
}

.service-card {
  position: relative;
  overflow: hidden;
  /* border-radius: 6px; */
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1.7), transparent);
  color: white;
  text-align: left;
}

.card-overlay h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-overlay a {
  color: white;
  font-size: 0.875rem;
  text-decoration: none;
  transition: 0.3s;
}

.card-overlay a:hover {
  text-decoration: underline;
}

/* Make section responsive and maintain overlay */
.ready-talk-section {
  background-image: url("../images/Background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.ready-talk-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 0, 94, 0.65);
  z-index: 0;
}

.ready-talk-section .z-1 {
  position: relative;
  z-index: 1;
}

/* Dropdown style */
.ready-talk-select {
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: none !important;
  color: white !important;
}

/* Ensure dropdown menu options are black */
.ready-talk-select option {
  color: black;
}

/* When focusing on the dropdown */
.ready-talk-select:focus {
  box-shadow: none;
  outline: none;
  background-color: transparent;
}

/* Button styling */
.talk-btn {
  background-color: #32318b !important;
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  padding: 10px 30px !important;
}

.talk-btn:hover {
  background-color: #3a2071 !important;
}

/* Heading alignment and spacing */
.ready-talk-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.heading-title {
  font-size: 1.75rem;
  color: #1d1d1d;
}

.description-text {
  color: #32318b;
}

.stat-box {
  margin-top: 20px;
  background-color: #f1f7f8;
  padding: 20px;
}

.stat-number {
  font-weight: bold;
  color: #32318b;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.stat-label {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.image-container {
  position: relative;
  max-width: 400px;
}

.purple-frame {
  position: absolute;
  bottom: -23px;
  left: -23px;
  width: 50%;
  height: 50%;
  border: 6px solid #32318b;
  background-color: #32318b;
  z-index: 1;
}

.main-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
}

.section-subtitle {
  color: #6a1b9a;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #32318b;
}

.carousel-wrapper {
  position: relative;
}

.case-study-section {
  background-image: url("../images/casa-studio1.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-size: 30rem;
  background-position: left bottom;
}

.case-box {
  overflow: hidden;
  border-radius: 6px;
  z-index: 2;
  position: relative;
}

.case-box img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  padding: 20px;
  color: #fff;
}

.overlay h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.overlay a {
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}

.overlay a:hover {
  text-decoration: underline;
}

.carousel-controls {
  position: absolute;
  top: -48px;
  right: 15px;
  z-index: 3;
}

.carousel-controls .btn {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carousel-controls i {
  font-size: 1rem;
}

.testimonial-section {
  background: #32318b url("assets/images/bg-overlay.png") no-repeat center
    center;
  background-size: cover;
  color: white;
}

/* Avatars */
.customer-avatars img {
  width: 40px;
  height: 40px;
  border: 2px solid white;
  margin-left: -10px;
  background: white;
}

/* Testimonial Card */
.testimonial-box {
  background: #fff;
  color: #333;
  padding: 25px;
  border-radius: 10px;
  min-height: 180px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.testimonial-box p {
  font-size: 14px;
  margin-top: 10px;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.50);
  margin: auto;
  position: relative;
  color: #333;
}

.testimonial-card .quote-icon {
  width: 20% !important;
  color: #e0d9f4;
}

.testimonial-card h6 {
  color: #32318b;
  /* matches the purple tone */
  font-weight: bold;
}

.testimonial-card .testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.testimonial-card img {
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .testimonial-section .col-md-4,
  .testimonial-section .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .customer-avatars {
    /* justify-content: center;
        display: flex;
        margin-top: 10px; */
    display: none;
  }

  .customer-avatars img {
    /* margin-left: 5px; */
    display: none;
  }

  .testimonial-card {
    margin: 20px auto;
  }

  .testimonial-card .d-flex {
    flex-direction: column;
    align-items: start;
    text-align: left;
  }

  .testimonial-card .me-3 {
    margin-right: 0 !important;
    margin-bottom: 10px;
    width: 70px;
    height: 70px;
  }

  .testimonial-section h2 {
    font-size: 1.5rem;
    text-align: left;
  }

  .extra-box {
    display: none;
  }

  .case-study-section {
    background-size: 20rem;
  }
}

/* Owl Nav Arrows */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  font-size: 1.5rem;
  color: white;
  transition: 0.3s;
}

.owl-nav button:hover {
  background: white;
  color: #32318b;
}

.owl-carousel .owl-item img {
  display: block !important;
  width: 20% !important;
}

/* footer */
.footer {
  background-color: #32318b;
  color: #fff;
}

.footer h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  color: #c0b7e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-list a {
  color: #c0b7e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-list a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-link {
  color: #9c8be3;
  text-decoration: none;
}

.newsletter-input {
  background-color: #32318b;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
}

.newsletter-input::placeholder {
  color: #b8aeda;
}

.social-icon {
  font-size: 18px;
  color: #d1c9f5;
  margin: 0 8px;
  transition: 0.3s;
}

.social-icon:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.Social-Copyright {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.Social-Copyright .mb-2 {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}

.Social-Copyright a {
  color: white;
  font-size: 16px;
}

/* Responsive layout for smaller screens */
@media (max-width: 576px) {
  .Social-Copyright {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .Social-Copyright .mb-2 {
    justify-content: center;
  }
}

.text-purple {
  color: #3f207b;
}

.team-section h2 {
  color: #32318b;
}

.team-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.client-logos {
  background-color: #f4f7f9;
  /* light grey */
}

.text-dark-blue {
  color: #1e3a52;
  font-size: 14px;
  margin: 0;
}

.client-logos img {
  max-height: 70px;
  transition: transform 0.3s ease;
}

.client-logos img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .bg-block {
    display: none;
  }

  .carousel-controls {
    top: -40px;
  }

  .stat-box {
    margin-top: 15px;
  }

  .image-container {
    max-width: 100%;
  }

  .customer-avatars {
    /* justify-content: center;
        display: flex;
        margin-top: 10px; */
    display: none;
  }
  .case-study {
    padding-bottom: 150px;
  }
  .range {
    width: 100% !important;
  }
  .ready-talk-heading {
    flex-direction: column;
  }

  .ready-talk-heading h3,
  .ready-talk-heading p {
    font-size: 1.2rem;
    text-align: center;
  }

  .ready-talk-select {
    width: 100%;
  }

  .talk-btn {
    width: 100%;
    margin-top: 10px;
  }
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #32318b;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

/* pricing page */

.pricing-section {
  text-align: center;
  /* padding: 50px 20px; */
}

.title {
  text-align: left;
}

.sub-title {
  text-align: left;
  font-size: 12px;
}

.pricing-section .cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.list-item {
  font-size: 14px;
  text-align: left;
  padding: inherit;
}

.list-item li {
  padding-bottom: 10px;
}

.price {
  font-size: 32px;
  color: #32318b;
  font-weight: bold;
}

.pricing-section .card {
  background: #f0f6ff;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.pricing-section .btn {
  margin-top: 10px;
  padding: 10px 15px;
  background: #32318b;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
/* 
.pricing-section .btn:hover {
    background: #1e1d5a;
} */

.pricing-section .tags span {
  background: #ddd;
  padding: 3px 8px;
  margin: 2px;
  border-radius: 6px;
  display: inline-block;
}

/* Custom Range Slider Styles */
.range {
  height: 80px;
  width: 50%;
  background: #fff;
  border-radius: 10px;
  padding: 0 70px 0 50px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
  margin: auto;
}

.sliderValue {
  position: relative;
  width: 100%;
}

#bubble {
  display: none;
}

#expenseValue {
  color: #32318b;
  font-weight: bold;
}

.field {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  padding: 0 10px;
}

.field .value {
  position: absolute;
  font-size: 14px;
  color: #32318b;
  font-weight: 600;
}

.field .value.left {
  left: -40px;
}

.field .value.right {
  right: -60px;
}

.range input {
  width: 100%;
  height: 3px;
  background: #ddd;
  border-radius: 5px;
  outline: none;
  border: none;
  z-index: 2222;
}

.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #32318b;
  border-radius: 50%;
  border: 1px solid #32318b;
  cursor: pointer;
}

.range input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #32318b;
  border-radius: 50%;
  border: 1px solid #32318b;
  cursor: pointer;
}
