/* General Styles */
/* -------------------------------Body Styles---------------------- */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
/* --------------------------------------------------------------- */
/* -------------Overlay Heading Section--------------------------- */
.heading-container {
  position: absolute;
  top: 54%;
  left: 30%;
  transform: translate(-50%, -50%);
  text-align: left;
  /* padding: 20px 40px; */
  /* border-radius: 10px; */

  max-width: 700px;
}

.heading-container span {
  /* background-color: #28b7e7; */
  /* padding: 0.5rem; */
  /* border-radius: 1rem; */
  color: #74ffe6;
  /* font-size: 1.9rem; */
}

.heading-container h3 {
  color: white;
  font-size: 2.9rem;
  border-bottom: 1px solid #333;
  padding: 10px 0px;
}

.heading-container p {
  color: white;
}

.heading-container button {
  background: linear-gradient(135deg, #59c2ae, #34a598);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  outline: none;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.heading-container button:hover {
  background: linear-gradient(135deg, #34a598, #218374);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Click Effect */
.heading-container button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Adding a Glow Effect on Hover */
.heading-container button::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.heading-container button:hover::after {
  opacity: 1;
}
/* ----------------------------------------------------------------- */
/* ------------------Breadcrumb Label------------------------------- */
.breadcrumb-label {
  margin-left: 14%;
  font-size: 1rem;
  color: #59c2ae;
  margin-top: 2rem;
  font-weight: 500;
}

.breadcrumb-label span {
  color: grey;
}
/* ----------------------------------------------------------------- */
/* -------------------Header Styling-------------------------------- */
/* Main Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.4); /* More visible white background */
  backdrop-filter: blur(12px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow for depth */
  z-index: 1000;
  padding-bottom: 0.5rem;
}

/* First Row: Logo & Social Links */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 5rem;
  position: relative;
}

/* Logo */
.logo {
  flex-grow: 1;
  /* margin-left: 5%; */
}

.logo img {
  width: 18rem; /* Adjusted for better fit */
  transition: transform 0.3s ease-in-out;
}

.logo img:hover {
  transform: scale(1.05); /* Subtle hover zoom */
}

/* Social Media Icons */
.social-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* margin-right: 5%; */
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a:first-child {
  color: #47c355;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  padding: 0.2rem 0.3rem;
}

.social-links a:first-child:hover {
  transform: translateY(-2px);
}

.social-links a:last-child {
  color: #12cbc4;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  padding: 0.2rem 0.3rem;
}

.social-links a:last-child:hover {
  transform: translateY(-2px);
}

/* Labels Section */
.header-labels {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.header-labels label {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.2rem 0.3rem;
  transition: color 0.4s ease-in-out;
}

.header-labels label:hover {
  color: #28b7e7;
  transform: translateY(-2px);
}

/* Horizontal Divider */
.header-line {
  width: calc(100% - 10rem);
  margin: 0 auto;
}

.header-line hr {
  border: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* Navbar */
.navbar {
  background: transparent !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 0;
}

.navbar-collapse {
  display: flex;
  justify-content: center;
}

.navbar-nav .nav-link {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 1.2rem;
  transition: color 0.5s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #28b7e7;
  text-decoration: underline;
  text-underline-offset: 8px; /* More space between text and underline */
  text-decoration-color: #28b7e7; /* Underline color */
  text-decoration-thickness: 3px; /* Thicker underline */
  transform: translateY(-2px);
}

/* Sticky Header Effect */
.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding-bottom: 0.3rem;
  transition: all 0.3s ease-in-out;
}

/* -------------------------------------------------------- */
/* ----------Background Arcs & Circles with Parallax Effect-------------- */
.background-container {
  position: absolute;
  top: 70vh; /* Start below the background image */
  left: 0;
  width: 100%;
  height: 340vh;
  overflow: hidden;
  z-index: -1; /* Keep it behind other elements */
}

/* Common Arc & Circle Styles */
.arc,
.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  will-change: transform;
}

/* Parallax Effect */
.arc-green,
.arc-blue,
.circle-green,
.circle-blue {
  transform: translateY(var(--scroll-offset, 0px));
  transition: transform 0.1s ease-out;
}

/* Large Concentric Arcs (Green) */
.arc-green-outer {
  background: rgba(89, 194, 174, 0.4);
  width: 70vw;
  height: 70vw;
  top: -20vh;
  left: -30vw;
  border-radius: 50%;
}

.arc-green-inner {
  background: rgba(89, 194, 174, 0.6);
  width: 50vw;
  height: 50vw;
  top: -10vh;
  left: -20vw;
  border-radius: 50%;
}

/* Large Concentric Arcs (Blue) */
.arc-blue-outer {
  background: rgba(40, 183, 231, 0.4);
  width: 70vw;
  height: 70vw;
  top: 30vh;
  right: -30vw;
  border-radius: 50%;
}

.arc-blue-inner {
  background: rgba(40, 183, 231, 0.6);
  width: 50vw;
  height: 50vw;
  top: 40vh;
  right: -20vw;
  border-radius: 50%;
}

/* Diagonal Parallel Arcs */
.arc-diagonal-1 {
  background: rgba(89, 194, 174, 0.4);
  width: 60vw;
  height: 200vh;
  top: -50vh;
  left: -40vw;
  transform: rotate(25deg);
}

.arc-diagonal-2 {
  background: rgba(40, 183, 231, 0.4);
  width: 60vw;
  height: 170vh;
  top: 230vh;
  right: -20vw;
  transform: rotate(-55deg);
}

/* Floating Circles */
.circle-green {
  background: rgba(89, 194, 174, 0.15);
  width: 300px;
  height: 300px;
  top: 80vh;
  left: 10%;
}

.circle-blue {
  background: rgba(40, 183, 231, 0.15);
  width: 200px;
  height: 200px;
  bottom: 20vh;
  right: 15%;
}
/* -------------------------------------------------------- */
/* --------------------Content Section--------------------- */
/* .content-section {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  margin: 50px;
  margin-right: 14%;
}

.content-section .text-content {
  max-width: 75%;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  background-color: #28b7e7;
  border-radius: 0.8rem;
  padding: 0.5rem;
  display: inline-block;
}

.content-section p {
  font-size: 1.2rem;
  color: gray;
  font-weight: 500;
} */

/* -------------------------------------------heading section */
/* Container for heading */
.heading-con {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Shorter Horizontal Lines */
.heading-line {
  flex: 0.1; /* Reduced width */
  height: 2px;
  background: #59c2ae;
  margin: 0 10px;
}

/* Heading */
.heading-service {
  font-size: 24px;
  font-weight: bold;
  color: #28b7e7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Description */
.heading-description {
  font-size: 14px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}
/* ---------------------------------------------------------- */
/* ------------------------------------------Overview Section */

.overview-section {
  padding: 40px 0;
}
.overview-section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.overview-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overview-text p {
  font-size: 1.1rem;
  color: gray;
  font-weight: 500;
}

.tilted-container {
  padding: 40px 0;
}

.tilted-container .tilted-img {
  transform: rotate(-5deg);
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.tilted-container .tilted-img:hover {
  transform: rotate(0deg) scale(1.05);
}

.tilted-container .text-section {
  padding: 20px;
}

.firstWord {
  font-size: 1.3rem;
  color: #28b7e7;
  font-weight: bolder;
}
/* ----------------------------------------------------------- */
/* ----------------------Belief Section ---------------------- */
/* Column Styling */
.three-column-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.column {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.column:hover {
  transform: scale(1.02);
}

/* Left & Right Column Content */
.content {
  display: flex;
  align-items: center;
  padding: 5px;
  margin-bottom: 5px;
  transition: background 0.3s ease-in-out;
}

.content:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Left Column - Right Aligned Text */
.left-column-b .text {
  text-align: right;
  flex-grow: 1;
}

.text h4 {
  font-size: 1.3rem;
}

.text p {
  font-size: 0.9rem;
}

/* Right Column - Left Aligned Text */
.right-column-b .text {
  text-align: left;
  flex-grow: 1;
}

/* Icons */
.content i {
  font-size: 2rem;
  color: #28b7e7;
  margin: 0 15px;
}

/* Middle Column Image */
.middle-column img {
  width: 100%;
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); */
}
/* -------------------------------------------------------- */
/* ----------------------------------------------Promise Cards */
.promise-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 70%;
  margin-bottom: 6rem;
}

.card-container {
  perspective: 1000px;
}

.card {
  width: 100%;
  height: 400px; /* Increased height for label */
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  border-radius: 20px;
  animation: rotateCard 12s infinite alternate ease-in-out;
}

@keyframes rotateCard {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

.card-container:hover .card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.card-front {
  /* background: #fff; */
  border: 1px solid #28b7e7;
}

.card-front img {
  width: 100%;
  height: 70%; /* Adjusted for label space */
  object-fit: cover;
  border-radius: 10px;
}

.card-label {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
  color: grey;
}

.card-back {
  background: linear-gradient(
    135deg,
    #aacfca,
    #3dc8ae
  ); /* Gradient background */
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
}
/* ----------------------------------------------------------- */
/* ---------------------------------------Sectors we serve---- */
.custom-container {
  display: flex;
  width: 70%;
  margin: auto;
  /* background: white; */
  padding: 30px;
  margin-left: auto;
  margin-right: auto;
  /* box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px; */
}

/* Left Column */
.left-column {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background: #007bff; */
  color: white;
  padding: 50px;
  text-align: center;
  border-radius: 10px 0 0 10px;
}

.left-column span {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  background-color: #28b7e7;
  border-radius: 0.8rem;
  padding: 0.5rem;
  display: inline-block;
}

.left-column p {
  font-size: 1.2rem;
  color: gray;
  font-weight: 500;
  margin-top: 10px;
}

/* Right Column */
.right-column {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 5px solid #28b7e7;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
  /* background: #f1f1f1; */
  transition: 0.3s;
}

.icon-box:hover {
  background: #28b7e7;
  color: white;
}

.icon-box i {
  font-size: 60px;
  margin-bottom: 10px;
  color: #28b7e7;
  transition: 0.3s;
}

.icon-box:hover i {
  color: white;
}

.icon-box span {
  font-size: 20px;
  font-weight: bold;
  color: grey;
}

.icon-box:hover span {
  color: white;
}
/* ------------------------------------------------------- */
/* -----------------------------------------------------------Footer Starts */
footer {
  background: linear-gradient(
    135deg,
    #c0cac9,
    #59c2ae
  ); /* Gradient background */
  color: #fff;
  padding: 10px 0;
  margin-top: 5rem;
}

/* Footer Brand */
footer .col-md-3 img {
  width: 160px;
  transition: transform 0.3s ease-in-out;
}
footer .col-md-3 img:hover {
  transform: scale(1.1);
}

/* Footer Links */
footer h5 {
  font-size: 18px;
  font-weight: bolder;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #1758a5; /* Highlight color */
}
footer ul {
  padding: 0;
}
footer ul li {
  list-style: none;
  margin-bottom: 8px;
}
footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
footer ul li a:hover {
  color: #1758a5; /* Change color on hover */
  text-decoration: underline;
}

/* Contact Info */
footer p {
  margin-bottom: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* Social Icons */
footer .fab {
  font-size: 22px;
  margin-right: 12px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  color: rgba(255, 255, 255, 0.8);
}
footer .fab:hover {
  transform: translateY(-5px);
  color: #1758a5;
}

/* Bottom Copyright Section */
footer .rights {
  background: rgba(23, 41, 132, 0.8);
  font-size: 14px;
  font-weight: 400;
}

.footer-container {
  width: 90%;
  /* text-align: center; */
  margin-left: auto;
  margin-right: auto;
}

.footerAbout {
  text-align: justify;
  max-width: 85%;
}
/* ------------------------------------------------------------ */

/* ######################################################################################################################################## */
/* ----------------------------------------------------------Device Responsive CSS Starts-------------------------------------------------- */

@media (max-width: 660px) {
  /* Adjust header padding */
  .top-header {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  /* Logo resizing */
  .logo img {
    width: 10rem;
  }

  /* Hide social icons or stack them */
  .social-container {
    align-items: center;
    margin-top: 0.5rem;
    display: none; /* or flex if you want to show them vertically */
  }

  /* Stack labels or hide */
  .header-labels {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    display: none; /* or flex if needed */
  }

  /* Divider width */
  .header-line {
    width: 90%;
  }

  /* Navbar adjustments */
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-collapse {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-link {
    font-size: 0.95rem;
    margin: 0.3rem 0;
  }

  /* Header scrolled state for mobile */
  .header.scrolled {
    padding-bottom: 0.2rem;
  }

  /* --------------------------------------- */

  .heading-container {
    position: relative;
    top: 140px;
    left: auto;
    transform: none;
    text-align: center;
    padding: 1rem;
    margin: 0 auto;
    max-width: 90%;
  }

  .heading-container h3 {
    font-size: 2rem;
    padding: 8px 0;
  }

  .heading-container span {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
  }

  .heading-container p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .heading-container button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  /* --------------------------------- */

  .breadcrumb-label {
    margin-left: 1rem;
    margin-right: 1rem;
    font-size: 0.95rem;
    text-align: left;
    margin-top: 1.5rem;
  }

  .breadcrumb-label span {
    font-size: 0.9rem;
  }

  /* ----------------------------------- */

  .background-container {
    height: 250vh; /* Reduce height for mobile */
  }

  .arc-green-outer,
  .arc-blue-outer {
    width: 90vw;
    height: 90vw;
    top: 0;
  }

  .arc-green-outer {
    left: -45vw;
  }

  .arc-blue-outer {
    right: -45vw;
    top: 20vh;
  }

  .arc-green-inner,
  .arc-blue-inner {
    width: 60vw;
    height: 60vw;
  }

  .arc-green-inner {
    top: 5vh;
    left: -30vw;
  }

  .arc-blue-inner {
    top: 35vh;
    right: -30vw;
  }

  .arc-diagonal-1,
  .arc-diagonal-2 {
    width: 100vw;
    height: 120vh;
  }

  .arc-diagonal-1 {
    top: -40vh;
    left: -60vw;
    transform: rotate(25deg);
  }

  .arc-diagonal-2 {
    top: 200vh;
    right: -40vw;
    transform: rotate(-55deg);
  }

  .circle-green {
    width: 200px;
    height: 200px;
    top: 90vh;
    left: 5%;
  }

  .circle-blue {
    width: 150px;
    height: 150px;
    bottom: 10vh;
    right: 10%;
  }

  /* -------------------------------------- */

  .heading-service {
    font-size: 18px;
  }

  .heading-description {
    font-size: 12px;
  }

  /* ----------------------------------------- */

  .overview-section {
    padding: 20px 0;
  }

  .overview-text {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  .overview-text p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .tilted-container {
    padding: 20px 0;
  }

  .tilted-container .tilted-img {
    width: 100%;
    transform: rotate(0deg);
    border-radius: 10px;
  }

  .tilted-container .text-section {
    padding: 15px;
    text-align: center;
  }

  .firstWord {
    font-size: 1.1rem;
  }

  /* ---------------------------------------- */
  .three-column-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 2rem 1rem;
  }

  .column {
    padding: 15px;
    transform: none !important; /* Cancel hover scaling effect */
  }

  .content {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .left-column-b .text,
  .right-column-b .text {
    text-align: left;
  }

  .text h4 {
    font-size: 1.1rem;
  }

  .text p {
    font-size: 0.85rem;
  }

  .content i {
    font-size: 1.5rem;
    margin-right: 10px;
  }

  .middle-column img {
    width: 100%;
    height: auto;
  }

  /* ------------------------------------- */

  .promise-container {
    max-width: 90%;
    margin-bottom: 3rem;
  }

  .card {
    height: 320px;
    animation: none; /* Stop auto-rotate on small screens */
  }

  .card-container:hover .card {
    transform: rotateY(180deg);
  }

  .card-front img {
    height: 60%; /* Slightly reduce height to fit smaller card */
  }

  .card-label {
    font-size: 16px;
    margin-top: 6px;
  }

  .card-back {
    font-size: 0.9rem;
    padding: 15px;
  }

  /* ------------------------------------------ */

  .custom-container {
    flex-direction: column;
    width: 95%;
    padding: 20px;
  }

  .left-column,
  .right-column {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .right-column {
    border-left: none;
    border-top: 5px solid #28b7e7;
    margin-top: 20px;
  }

  .left-column span {
    font-size: 1.5rem;
    padding: 0.4rem;
  }

  .left-column p {
    font-size: 1rem;
  }

  .icon-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .icon-box {
    padding: 15px;
  }

  .icon-box i {
    font-size: 40px;
  }

  .icon-box span {
    font-size: 1rem;
  }

  /* ------------------------------------ */

  footer {
    padding: 20px 0;
    text-align: center;
  }

  .footer-container {
    width: 95%;
  }

  footer .col-md-3,
  footer .col-md-2,
  footer .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  footer .col-md-3 img {
    margin: 0 auto;
  }

  footer h5 {
    font-size: 16px;
    margin-top: 20px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  footer .fab {
    font-size: 20px;
    margin: 10px 8px 0;
  }

  .footerAbout {
    max-width: 100%;
    text-align: center;
  }

  footer .rights {
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
  }
}

@media screen and (min-width: 661px) and (max-width: 767px) {
  /* Header Styles */
  .top-header {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .logo img {
    width: 10rem;
  }

  .social-container {
    align-items: center;
    margin-top: 0.5rem;
    display: none;
  }

  .header-labels {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    display: none;
  }

  .header-line {
    width: 90%;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-collapse {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-link {
    font-size: 0.95rem;
    margin: 0.3rem 0;
  }

  .header.scrolled {
    padding-bottom: 0.2rem;
  }

  /* Heading Section */
  .heading-container {
    position: relative;
    top: 140px;
    text-align: center;
    padding: 1rem;
    margin: 0 auto;
    max-width: 90%;
  }

  .heading-container h3 {
    font-size: 2rem;
    padding: 8px 0;
  }

  .heading-container span {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
  }

  .heading-container p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .heading-container button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  /* Breadcrumb */
  .breadcrumb-label {
    margin: 1.5rem 1rem 0;
    font-size: 0.95rem;
    text-align: left;
  }

  .breadcrumb-label span {
    font-size: 0.9rem;
  }

  /* Background Container */
  .background-container {
    height: 250vh;
  }

  .arc-green-outer,
  .arc-blue-outer {
    width: 90vw;
    height: 90vw;
    top: 0;
  }

  .arc-green-outer {
    left: -45vw;
  }

  .arc-blue-outer {
    right: -45vw;
    top: 20vh;
  }

  .arc-green-inner,
  .arc-blue-inner {
    width: 60vw;
    height: 60vw;
  }

  .arc-green-inner {
    top: 5vh;
    left: -30vw;
  }

  .arc-blue-inner {
    top: 35vh;
    right: -30vw;
  }

  .arc-diagonal-1,
  .arc-diagonal-2 {
    width: 100vw;
    height: 120vh;
  }

  .arc-diagonal-1 {
    top: -40vh;
    left: -60vw;
    transform: rotate(25deg);
  }

  .arc-diagonal-2 {
    top: 200vh;
    right: -40vw;
    transform: rotate(-55deg);
  }

  .circle-green {
    width: 200px;
    height: 200px;
    top: 90vh;
    left: 5%;
  }

  .circle-blue {
    width: 150px;
    height: 150px;
    bottom: 10vh;
    right: 10%;
  }

  /* Heading Texts */
  .heading-service {
    font-size: 18px;
  }

  .heading-description {
    font-size: 12px;
  }

  /* Overview Section */
  .overview-section {
    padding: 20px 0;
  }

  .overview-text {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  .overview-text p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Tilted Images */
  .tilted-container {
    padding: 20px 0;
  }

  .tilted-container .tilted-img {
    width: 100%;
    transform: rotate(0deg);
    border-radius: 10px;
  }

  .tilted-container .text-section {
    padding: 15px;
    text-align: center;
  }

  .firstWord {
    font-size: 1.1rem;
  }

  /* Three Column Section */
  .three-column-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 2rem 1rem;
  }

  .column {
    padding: 15px;
    transform: none !important;
  }

  .content {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .left-column-b .text,
  .right-column-b .text {
    text-align: left;
  }

  .text h4 {
    font-size: 1.1rem;
  }

  .text p {
    font-size: 0.85rem;
  }

  .content i {
    font-size: 1.5rem;
    margin-right: 10px;
  }

  .middle-column img {
    width: 100%;
    height: auto;
  }

  /* Promise Cards */
  .promise-container {
    max-width: 90%;
    margin-bottom: 3rem;
  }

  .card {
    height: 320px;
    animation: none;
  }

  .card-container:hover .card {
    transform: rotateY(180deg);
  }

  .card-front img {
    height: 60%;
  }

  .card-label {
    font-size: 16px;
    margin-top: 6px;
  }

  .card-back {
    font-size: 0.9rem;
    padding: 15px;
  }

  /* Custom Container */
  .custom-container {
    flex-direction: column;
    width: 95%;
    padding: 20px;
  }

  .left-column,
  .right-column {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .right-column {
    border-left: none;
    border-top: 5px solid #28b7e7;
    margin-top: 20px;
  }

  .left-column span {
    font-size: 1.5rem;
    padding: 0.4rem;
  }

  .left-column p {
    font-size: 1rem;
  }

  .icon-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .icon-box {
    padding: 15px;
  }

  .icon-box i {
    font-size: 40px;
  }

  .icon-box span {
    font-size: 1rem;
  }

  /* Footer */
  footer {
    padding: 20px 0;
    text-align: center;
  }

  .footer-container {
    width: 95%;
  }

  footer .col-md-3,
  footer .col-md-2,
  footer .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  footer .col-md-3 img {
    margin: 0 auto;
  }

  footer h5 {
    font-size: 16px;
    margin-top: 20px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  footer .fab {
    font-size: 20px;
    margin: 10px 8px 0;
  }

  .footerAbout {
    max-width: 100%;
    text-align: center;
  }

  footer .rights {
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Adjust header padding */
  .top-header {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  /* Logo resizing */
  .logo img {
    width: 10rem;
  }

  /* Hide social icons or stack them */
  .social-container {
    align-items: center;
    margin-top: 0.5rem;
    display: none; /* or flex if you want to show them vertically */
  }

  /* Stack labels or hide */
  .header-labels {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    display: none; /* or flex if needed */
  }

  /* Divider width */
  .header-line {
    width: 90%;
  }

  /* Navbar adjustments */
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-collapse {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-link {
    font-size: 0.95rem;
    margin: 0.3rem 0;
  }

  /* Header scrolled state for mobile */
  .header.scrolled {
    padding-bottom: 0.2rem;
  }

  /* --------------------------------------- */

  .heading-container {
    position: relative;
    top: 140px;
    left: auto;
    transform: none;
    text-align: center;
    padding: 1rem;
    margin: 0 auto;
    max-width: 90%;
  }

  .heading-container h3 {
    font-size: 2rem;
    padding: 8px 0;
  }

  .heading-container span {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
  }

  .heading-container p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .heading-container button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  /* --------------------------------- */

  .breadcrumb-label {
    margin-left: 1rem;
    margin-right: 1rem;
    font-size: 0.95rem;
    text-align: left;
    margin-top: 1.5rem;
  }

  .breadcrumb-label span {
    font-size: 0.9rem;
  }

  /* ----------------------------------- */

  .background-container {
    height: 250vh; /* Reduce height for mobile */
  }

  .arc-green-outer,
  .arc-blue-outer {
    width: 90vw;
    height: 90vw;
    top: 0;
  }

  .arc-green-outer {
    left: -45vw;
  }

  .arc-blue-outer {
    right: -45vw;
    top: 20vh;
  }

  .arc-green-inner,
  .arc-blue-inner {
    width: 60vw;
    height: 60vw;
  }

  .arc-green-inner {
    top: 5vh;
    left: -30vw;
  }

  .arc-blue-inner {
    top: 35vh;
    right: -30vw;
  }

  .arc-diagonal-1,
  .arc-diagonal-2 {
    width: 100vw;
    height: 120vh;
  }

  .arc-diagonal-1 {
    top: -40vh;
    left: -60vw;
    transform: rotate(25deg);
  }

  .arc-diagonal-2 {
    top: 200vh;
    right: -40vw;
    transform: rotate(-55deg);
  }

  .circle-green {
    width: 200px;
    height: 200px;
    top: 90vh;
    left: 5%;
  }

  .circle-blue {
    width: 150px;
    height: 150px;
    bottom: 10vh;
    right: 10%;
  }

  /* -------------------------------------- */

  .heading-service {
    font-size: 18px;
  }

  .heading-description {
    font-size: 12px;
  }

  /* ----------------------------------------- */

  .overview-section {
    padding: 20px 0;
  }

  .overview-text {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  .overview-text p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .tilted-container {
    padding: 20px 0;
  }

  .tilted-container .tilted-img {
    width: 100%;
    transform: rotate(0deg);
    border-radius: 10px;
  }

  .tilted-container .text-section {
    padding: 15px;
    text-align: center;
  }

  .firstWord {
    font-size: 1.1rem;
  }

  /* ---------------------------------------- */
  .three-column-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 2rem 1rem;
  }

  .column {
    padding: 15px;
    transform: none !important; /* Cancel hover scaling effect */
  }

  .content {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .left-column-b .text,
  .right-column-b .text {
    text-align: left;
  }

  .text h4 {
    font-size: 1.1rem;
  }

  .text p {
    font-size: 0.85rem;
  }

  .content i {
    font-size: 1.5rem;
    margin-right: 10px;
  }

  .middle-column img {
    width: 100%;
    height: auto;
  }

  /* ------------------------------------- */

  .promise-container {
    max-width: 90%;
    margin-bottom: 3rem;
  }

  .card {
    height: 320px;
    animation: none; /* Stop auto-rotate on small screens */
  }

  .card-container:hover .card {
    transform: rotateY(180deg);
  }

  .card-front img {
    height: 60%; /* Slightly reduce height to fit smaller card */
  }

  .card-label {
    font-size: 16px;
    margin-top: 6px;
  }

  .card-back {
    font-size: 0.9rem;
    padding: 15px;
  }

  /* ------------------------------------------ */

  .custom-container {
    flex-direction: column;
    width: 95%;
    padding: 20px;
  }

  .left-column,
  .right-column {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .right-column {
    border-left: none;
    border-top: 5px solid #28b7e7;
    margin-top: 20px;
  }

  .left-column span {
    font-size: 1.5rem;
    padding: 0.4rem;
  }

  .left-column p {
    font-size: 1rem;
  }

  .icon-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .icon-box {
    padding: 15px;
  }

  .icon-box i {
    font-size: 40px;
  }

  .icon-box span {
    font-size: 1rem;
  }

  /* ------------------------------------ */

  footer {
    padding: 20px 0;
    text-align: center;
  }

  .footer-container {
    width: 95%;
  }

  footer .col-md-3,
  footer .col-md-2,
  footer .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  footer .col-md-3 img {
    margin: 0 auto;
  }

  footer h5 {
    font-size: 16px;
    margin-top: 20px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  footer .fab {
    font-size: 20px;
    margin: 10px 8px 0;
  }

  .footerAbout {
    max-width: 100%;
    text-align: center;
  }

  footer .rights {
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  /* Adjusted Header */
  .header {
    padding-bottom: 0.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Top Header */
  .top-header {
    padding: 0.7rem 2rem;
  }

  .logo img {
    width: 14rem; /* Slightly smaller logo */
  }

  .social-links a {
    font-size: 0.7rem;
  }

  .header-labels {
    gap: 1rem;
  }

  .header-labels label {
    font-size: 0.7rem;
  }

  .header-line {
    width: calc(100% - 4rem);
  }

  .navbar-nav .nav-link {
    font-size: 0.8rem;
    margin: 0 0.8rem;
  }

  .navbar-nav .nav-link:hover {
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }

  /* ------------------------------------ */

  .heading-container {
    top: 60%;
    left: 28%;
    transform: translate(-50%, -50%);
    max-width: 550px;
  }

  .heading-container span {
    font-size: 1.4rem; /* reduced from 1.7rem */
    text-shadow: 1px 1px 3px rgba(71, 166, 148, 0.5);
  }

  .heading-container h3 {
    font-size: 2rem; /* reduced from 2.4rem */
    padding: 6px 0;
  }

  .heading-container p {
    font-size: 0.85rem; /* reduced from 0.95rem */
  }

  .heading-container button {
    font-size: 0.85rem; /* reduced from 0.95rem */
    padding: 6px 12px;
  }

  /* --------------------------------------------- */

  .breadcrumb-label {
    margin-left: 7%;
    font-size: 0.8rem;
  }

  /* --------------------------------------------- */

  /* Container for heading */
  .heading-con {
    margin-top: 30px;
  }

  /* Heading */
  .heading-service {
    font-size: 20px;
  }

  /* Description */
  .heading-description {
    font-size: 12px;
  }

  /* --------------------------------------------- */

  .overview-section {
    padding: 20px 0;
  }

  .overview-text {
    padding: 10px;
  }

  .overview-text p {
    font-size: 0.85rem;
  }

  .tilted-container {
    padding: 20px 0;
  }

  .tilted-container .tilted-img {
    transform: rotate(-3deg);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  }

  .tilted-container .tilted-img:hover {
    transform: rotate(0deg) scale(1.02);
  }

  .tilted-container .text-section {
    padding: 10px;
  }

  .firstWord {
    font-size: 1rem;
  }

  /* --------------------------------------------- */

  .three-column-container {
    gap: 6px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .column {
    padding: 8px;
  }

  .content {
    padding: 4px;
    margin-bottom: 4px;
  }

  .text h4 {
    font-size: 1rem;
  }

  .text p {
    font-size: 0.75rem;
  }

  .content i {
    font-size: 1.5rem;
    margin: 0 10px;
  }

  .middle-column img {
    width: 100%;
  }

  /* ---------------------------------------------------- */

  .background-container {
    top: 75vh;
    height: 500vh;
  }

  .arc-green-outer,
  .arc-blue-outer {
    width: 55vw;
    height: 55vw;
  }

  .arc-green-inner,
  .arc-blue-inner {
    width: 38vw;
    height: 38vw;
  }

  .arc-diagonal-1 {
    width: 50vw;
    height: 170vh;
    top: -40vh;
    left: -35vw;
  }

  .arc-diagonal-2 {
    width: 50vw;
    height: 150vh;
    top: 320vh;
    right: -15vw;
  }

  .circle-green {
    width: 200px;
    height: 200px;
    top: 85vh;
    left: 10%;
  }

  .circle-blue {
    width: 150px;
    height: 150px;
    bottom: 18vh;
    right: 12%;
  }

  /* -------------------------------------- */

  .promise-container {
    max-width: 80%;
    margin-bottom: 4rem;
  }

  .card {
    height: 320px; /* Reduced height */
    border-radius: 16px;
  }

  .card-front img {
    height: 65%; /* Adjusted for smaller height */
    border-radius: 8px;
  }

  .card-label {
    font-size: 16px; /* Slightly smaller text */
    margin-top: 6px;
  }

  .card-back {
    padding: 15px;
    font-size: 14px;
  }

  /* ------------------------------------------------- */

  .custom-container {
    width: 85%;
    padding: 20px;
  }

  .left-column {
    padding: 30px;
  }

  .left-column span {
    font-size: 1.6rem;
    padding: 0.4rem;
    border-radius: 0.6rem;
  }

  .left-column p {
    font-size: 1rem;
  }

  .right-column {
    padding: 20px;
    border-left: 4px solid #28b7e7;
  }

  .icon-grid {
    gap: 15px;
  }

  .icon-box {
    padding: 15px;
  }

  .icon-box i {
    font-size: 45px;
    margin-bottom: 8px;
  }

  .icon-box span {
    font-size: 16px;
  }

  /* ------------------------------------------- */

  footer {
    padding: 8px 0;
    margin-top: 3rem;
  }

  footer .col-md-3 img {
    width: 120px;
  }

  footer h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 12px;
  }

  footer .fab {
    font-size: 20px;
    margin-right: 10px;
  }

  footer .rights {
    font-size: 12px;
  }

  .footer-container {
    width: 95%;
  }

  .footerAbout {
    max-width: 90%;
    font-size: 12px;
  }

  .text-white {
    font-size: 12px;
  }
}

/* --------------------------------------************************************************---------------------------------------------------------- */
