@import url("https://fonts.cdnfonts.com/css/aldo-the-apache");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --primary-color: #af9374;
  --secondary-color: #eae2cf;
  --accent-color: #999;
  --dark-bg: #081414;
  --light-bg: #ffffff;
  --light-bg: #f5f0e6;
  --gray-bg: #d9d9db;
  --text-primary: #221d1d;
  --text-color: #7c664c;
  --text-accent: #ccc;
  --text-light: #ffffff;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  --container-width: 1400px;
  --border-radius: 15px;
  --border-radius-lg: 25px;
  --animation-duration: 0.3s;
  --font-family-main: "Poppins", sans-serif;
  --font-family-title: "Aldo the Apache", sans-serif;
  --font-size-regular: 1.2rem;
  --font-size-title: 2.5rem;
  --font-size-title-sm: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-main);
}

/* Custom scrollbar styles for Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
  height: 10px; /* For horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color); /* Main color for the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #1a1a1a; /* Darker color on hover */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* For Firefox */
scrollbar {
  width: 10px;
  background-color: #f1f1f1;
}

scrollbar thumb {
  background-color: var(--primary-color);
}

scrollbar thumb:hover {
  background-color: #1a1a1a;
}

body {
  background-color: var(--light-bg);
}
.d-flex {
  display: flex;
}
.dir-col {
  flex-direction: column;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

header {
  background-color: var(--secondary-color);
  padding: var(--spacing-md) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 990;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: end;
}

.logo {
  height: 70px;
  cursor: pointer;
  transition: transform var(--animation-duration) ease;
}
.logo img {
  width: auto;
  height: 70px;
}
.pointer {
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  padding: var(--spacing-sm) 0;
}

.phone::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background-image: url(../assets/callicon.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.phone {
  border-left: 1px solid;
  padding-left: 40px !important;
}

.join {
  background-color: var(--text-primary);
  padding: 7px 20px !important;
  border-radius: 10px;
  position: relative;
  color: var(--text-light) !important;
  transition: transform var(--animation-duration) ease;
}
.join:hover {
  transform: scale(1.1);
}

.nav-un-ln::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--animation-duration) ease;
}

.nav-un-ln:hover::after,
.nav-un-ln.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: calc(var(--spacing-sm) / 2);
  cursor: pointer;
  padding: var(--spacing-sm);
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  transition: all var(--animation-duration) ease;
}

.fade-in {
  animation: fadeInLeft 0.5s ease forwards;
}

main {
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* Set a minimum height */
}

/* Content section styles */
.main-content {
  margin-top: 102px;
  width: 100%;
  height: 100%;
  display: none;
  box-sizing: border-box;
}
/* Show active content */
.main-content.active {
  display: block;
}

/* Slide animations */
.slide-in-left {
  animation: slideInLeft 0.5s forwards;
  display: block;
}

.slide-in-right {
  animation: slideInRight 0.5s forwards;
  display: block;
}

.slide-out-left {
  animation: slideOutLeft 0.5s forwards;
  display: block;
}

.slide-out-right {
  animation: slideOutRight 0.5s forwards;
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--spacing-xl) 0;
  color: var(--secondary-color);
  min-height: 500px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: -1;
  transition: opacity 1s ease-in-out;
}
.hero-bg.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 50%;
  padding-right: var(--spacing-lg);
  opacity: 0;
  transform: translateY(var(--spacing-sm));
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  font-family: var(--font-family-title);
  line-height: 1;
  font-size: 2.8rem;
  letter-spacing: 3px;
}

.hero-content p {
  line-height: 1.2;
  font-size: var(--font-size-regular);
  border-top: 5px solid;
  padding-top: 8px;
}

.features {
  background-color: var(--secondary-color);
  padding: var(--spacing-xl) 0 var(--spacing-md) 0;
  text-align: center;
  position: relative;
}
.sub-title {
  font-size: var(--font-size-regular);
}
.title {
  line-height: 1;
}
.feature-line {
  position: absolute;
  left: 0;
  top: 22%;
  width: 100%;
}
.svg-line {
  fill: none;
  stroke: #ae9274;
  stroke-miterlimit: 10;
  stroke-width: 1px;
  stroke-dasharray: 800; /* Total length of the path */
  stroke-dashoffset: 800; /* Start fully offset (invisible) */
  transition: stroke-dashoffset 2s ease-out;
  /* animation: draw 2s linear forwards; */
}

.animate {
  animation: draw 2s linear forwards;
}

.features h2 {
  margin-bottom: var(--spacing-sm);
  font-size: 2.2rem;
  font-weight: bold;
}

.swiper-container {
  max-width: 1200px;
  padding: 20px 40px;
  margin: 0 auto;
}

.card {
  background: var(--primary-color);
  border-radius: 28px;
  min-height: 360px;
  padding: var(--spacing-sm);
}

.card-image {
  height: 250px;
  background: #f0f0f0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content {
  padding: var(--spacing-sm);
  text-align: left;
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-light);
}

.card p {
  margin: 0;
  color: var(--text-light);
}

.swiper-button-next,
.swiper-button-prev {
  background: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  color: var(--text-primary);
}
.swiper {
  padding: 40px 15px 40px 15px;
}
.swiper-slide {
  border-radius: 28px;
  box-shadow: 0px 14px 14px rgb(0 0 0 / 27%);
  transform: translateY(-10px);
  transition: transform var(--animation-duration) ease,
    box-shadow var(--animation-duration) ease;
}

.swiper-slide:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0px 22px 18px rgb(0 0 0/21%);
}

.services-head {
  padding: var(--spacing-md) 0;
  background-color: var(--light-bg);
}
.services-list {
  background-color: var(--secondary-color);
}
.services-title {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-title);
  font-weight: bold;
}
.services-s-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-regular);
}

.service-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  opacity: 0;
  transform: translateX(-20px);
  padding: var(--spacing-md);
  background-color: var(--blue-gray);
  border-radius: var(--border-radius);
}

.service-image {
  width: 40%;
  height: 300px;
  background-color: var(--accent-color);
  border-radius: var(--border-radius);
  transition: transform var(--animation-duration) ease;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-content {
  width: 60%;
}

.service-content h3 {
  font-size: var(--font-size-title);
  font-weight: bold;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  line-height: 1;
}

.service-content p {
  color: var(--text-primary);
  line-height: 1.6;
}

.service-item:hover .service-image {
  transform: scale(1.02);
}

.service-ems {
  background-color: var(--dark-bg) !important;
}

.ems-image {
  width: 400px;
  height: 170px;
  overflow: hidden;
}
.ems-image img {
  width: 100%;
  overflow: hidden;
}
.ems-image img {
  width: 100%;
  overflow: hidden;
}

.ems-service-content h3 {
  font-size: var(--font-size-title);
  font-weight: bold;
  margin: var(--spacing-sm) 0;
  color: var(--secondary-color);
  line-height: 1;
}
.ems-service-content p {
  color: var(--secondary-color);
  line-height: 1.6;
}
.ems-container {
  gap: 18rem !important;
  align-items: start;
}
.personal {
  position: relative;
  color: var(--secondary-color);
  text-align: left;
}
.personal h3 {
  font-size: var(--font-size-title);
  font-weight: bold;
  margin: var(--spacing-md) 0;
  color: var(--secondary-color);
  line-height: 1;
}

.personal-banner {
  background-color: var(--secondary-color);
  color: var(--text-primary);
}
.avatar {
  position: absolute;
  width: 353px;
  left: -68%;
  top: -132px;
}
.avatar img {
  width: 100%;
  object-fit: cover;
}
.group-class {
  background-color: var(--gray-bg);
  padding: var(--spacing-xl) 0;
  position: relative;
}
.group-class-item {
  align-items: end !important;
  justify-content: end;
  min-height: 380px;
}
.group-class-img {
  overflow: hidden;
}
.group-class-img img {
  height: auto;
  width: 100%;
}

.group-svg-line {
  fill: none;
  stroke: #ae9274;
  stroke-miterlimit: 10;
  stroke-width: 1px;
  stroke-dasharray: 800; /* Total length of the path */
  stroke-dashoffset: 800; /* Start fully offset (invisible) */
  transition: stroke-dashoffset 2s ease-out;
}

.group-line {
  position: absolute;
  top: 1rem;
  z-index: 1;
}

.app-section {
  color: var(--secondary-color);
  padding: var(--spacing-xl) 0 0 0;
  position: relative;
}

.app-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  justify-content: end;
}

.app-content {
  display: flex;
  align-items: end;
  gap: var(--spacing-lg);
  justify-content: end;
}

.app-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.group-class .app-bg {
  z-index: 0;
}
.app-content-text {
  width: 60%;
}
.app-content-text p {
  width: 50%;
  margin-bottom: 14px;
}
.app-content-text h2 {
  font-size: var(--font-size-title);
  font-weight: bold;
  color: var(--primary-color);
}
.app-content-text img {
  width: 20%;
  margin: 5px;
}
.app-image {
  position: relative;
}

.app-image img {
  position: absolute;
  height: 555px;
  bottom: 0;
  right: 0;
}

.app-banner {
  background-color: var(--secondary-color);
  padding: var(--spacing-md);
}
.app-banner-title {
  font-family: var(--font-family-title);
  color: var(--dark-bg);
  font-size: 2.5rem;
}
.footer {
  background-color: var(--dark-bg);
  color: #d4c4af;
  padding: 2rem;
}
.arrow-container {
  position: relative;
}
.arrow-svg {
  z-index: 992;
  height: 70px;
}
.arrow-1 {
  fill: var(--secondary-color);
  stroke-width: 0px;
  transform-origin: center;
  opacity: 0;
  animation: wave 0.5s ease-in;
}
.arrow-1:nth-child(1) {
  animation-delay: 0.4s;
}
.arrow-1:nth-child(2) {
  animation-delay: 0.3s;
}
.arrow-1:nth-child(3) {
  animation-delay: 0.2s;
}
.arrow-1:nth-child(4) {
  animation-delay: 0.1s;
}
.arrow-1:nth-child(5) {
  animation-delay: 0s;
}

.arrow-2 {
  fill: var(--secondary-color);
  stroke-width: 0px;
  transform-origin: center;
  opacity: 0;
  animation: wave 2s ease-in-out infinite;
}
.arrow-2:nth-child(1) {
  animation-delay: 0.4s;
}
.arrow-2:nth-child(2) {
  animation-delay: 0.3s;
}
.arrow-2:nth-child(3) {
  animation-delay: 0.2s;
}
.arrow-2:nth-child(4) {
  animation-delay: 0.1s;
}
.arrow-2:nth-child(5) {
  animation-delay: 0s;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: transform var(--animation-duration) ease;
}
.footer-logo img:hover {
  transform: scale(1.02);
}
.footer-contact {
  padding-top: 1rem;
  display: flex;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-item a {
  margin: 0;
  font-size: 0.9rem;
  text-decoration: none;
  color: #d4c4af;
}

.icon {
  width: 30px;
  height: auto;
}

.footer-social {
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 40px;
  height: auto;
  transition: transform 0.3s cubic-bezier(0, 1.5, 1, 1.5);
}

.social-icon:hover {
  transform: scale(1.1);
}

.fab {
  position: fixed;
  top: 85vh;
  right: -23px;
  z-index: 800; /* Ensure it's above other elements */
  cursor: pointer;
  text-decoration: none;
  background-color: #4fcb5d;
  display: grid;
  grid-template-columns: 2;
  height: 44px;
  border-radius: 5px 0px 0px 5px;
}

.whatsapp:hover {
  transform: scale(1.2);
  transition: all 0.2s cubic-bezier(0, 1.5, 1, 1.5);
}

.whatsapp {
  width: 50px;
  height: auto;
  margin-right: 8px;
  top: -3px;
  left: -30px;
  position: relative;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-block;
  margin-top: var(--spacing-md);
  transition: transform var(--animation-duration) ease,
    box-shadow var(--animation-duration) ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(192, 160, 128, 0.3);
}

@media (max-width: 768px) {
  .header-content {
    align-items: center;
    justify-content: space-between;
  }
  .hamburger {
    display: flex;
    z-index: 991;
  }

  .hero-content {
    width: unset;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    opacity: 0;
    transition: opacity var(--animation-duration) ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
  }
  .phone::before {
    left: -32px;
  }
  .phone {
    border: unset;
    padding-left: 0 !important;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin-top: var(--spacing-lg);
    padding: unset;
  }
  .features h2 {
    font-size: 1.6rem;
  }

  .swiper-container {
    padding: unset;
    padding-top: var(--spacing-md);
  }

  .service-item {
    flex-direction: column !important;
    text-align: center;
    align-items: center;
    padding: var(--spacing-md);
    gap: var(--spacing-md);
  }

  .service-image {
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-md);
  }
  .group-line {
    top: 15%;
  }
  .services-title {
    font-size: 2rem;
  }
  .service-content {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .kids {
    width: unset;
  }
  .service-content h3 {
    text-align: center;
    width: 100%;
    font-size: var(--font-size-title-sm);
    line-height: 1;
  }
  .app-content-text {
    width: unset;
  }
  .app-image img {
    height: 349px;
    right: -122px;
  }
  .app-content-text h2 {
    font-size: var(--font-size-title-sm);
  }
  .app-content-text p {
    width: 70%;
  }
  .app-section {
    padding: var(--spacing-md) 0 var(--spacing-md) 0;
  }
  .service-content p {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }

  .group-class-item {
    align-items: end !important;
    justify-content: end;
    min-height: 230px;
  }

  .ems-image {
    width: unset;
  }
  .ems-service-content h3 {
    font-size: var(--font-size-title-sm);
    font-weight: bold;
  }
  .ems-service-content p {
    text-align: left;
    font-size: unset;
  }
  .avatar {
    left: -310px;
    bottom: -5%;
    z-index: -1;
    top: unset;
  }

  .services-s-title {
    font-size: unset;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ems-container {
    gap: var(--spacing-md) !important;
  }
  .service-ems > .container {
    overflow: hidden;
  }

  .personal {
    margin-left: 100px;
  }

  .social-icons {
    justify-content: center;
  }
  .footer-contact {
    flex-direction: column;
  }
  .svg-line,
  .group-svg-line {
    stroke-width: 1px;
  }
}

/* ANIMATIONS */

@keyframes draw {
  to {
    stroke-dashoffset: 0; /* Complete the drawing */
  }
}

@keyframes wave {
  to {
    opacity: 1;
    fill: var(--primary-color);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

._about_header {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: left;
  position: relative;
  background: var(--primary-color);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl)
    var(--spacing-lg);
  overflow: hidden;
}

._about_header_content {
  text-align: left;
  position: relative;
  z-index: 2;
  width: 50%;
}
._about_header_conatner {
  max-width: var(--container-width);
  display: flex;
  margin: auto;
  align-items: center;
  gap: 20px;
}
._about_title {
  line-height: 1;
  font-size: var(--font-size-title);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #c5a572, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
}

._about_container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

._about_section {
  margin-bottom: 6rem;
}

._about_title_image_place_holder {
  width: 50%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInfromLeft 1s 0.5s ease-out forwards;
  margin-top: 10px;
}

._about_title_image_place_holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

._about_intro {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.3s ease-out forwards;
}

._about_vision_mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: -100px;
  position: relative;
  z-index: 3;
}

._about_card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

._about_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

._about_card h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  position: relative;
}

._about_card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: #c5a572;
  transition: width 0.3s ease;
}

._about_card:hover h2::after {
  width: 80px;
}

._about_card p {
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
  text-align: justify;
}

._about_image_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 6rem 0;
}

._about_image_container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

._about_image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

._about_image_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

._about_image_container:hover img {
  transform: scale(1.1);
}

._about_image_container:hover ._about_image_overlay {
  opacity: 1;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInfromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

._about_final_section {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(45deg, #f8f8f8, #ffffff);
  border-radius: 20px;
  margin-top: 4rem;
}

@media (max-width: 968px) {
  ._about_vision_mission {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  ._about_image_grid {
    grid-template-columns: 1fr;
  }

  ._about_title {
    font-size: 3rem;
    margin-bottom: 5px;
  }

  ._about_intro {
    font-size: 1.2rem;
  }

  ._about_header_conatner {
    flex-direction: column;
  }

  ._about_title_image_place_holder,
  ._about_header_content {
    width: 100%;
  }
  ._about_final_section {
    padding: var(--spacing-lg);
  }
}

.page_services-list:nth-child(odd) {
  background-color: var(--gray-bg);
  .service-item {
    flex-direction: row-reverse;
  }
}
.page_services-list:nth-child(even) {
  background-color: var(--secondary-color);
}

.cf-message-container {
  width: 100%;
  text-align: center;
  margin: auto;
}
.cf-done-button {
  margin-top: var(--spacing-md);
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
}

.cf-done-button:hover {
  background-color: #0099d5;
}
.cf-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cf-button:hover {
  background-color: #0099d5;
}

.cf-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cf-modal {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  padding: var(--spacing-md);
  margin: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cf-close-button {
  position: absolute;
  right: 24px;
  top: 20px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.cf-close-button:hover {
  color: #333;
}

.cf-message {
  padding: 12px;
  border-radius: 4px;
  display: none;
}

.cf-message.success {
  background-color: var(--light-blue);
  color: var(--dark-color);
  border: 1px solid var(--primary-color);
  font-size: large;
}

.cf-message.error {
  background-color: #fde7e9;
  color: #93000a;
  border: 1px solid #f5c2c7;
}
.cf-form-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cf-form-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.cf-form-content.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.cf-form {
  padding: 24px;
}

.cf-form p {
  margin: var(--spacing-md) 0;
}
.cf-title {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
}

.cf-form-group {
  margin-bottom: 16px;
}

.cf-label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 400;
}

.cf-required {
  color: #ff4444;
}

.cf-input,
.cf-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
}

.cf-input.error,
.cf-textarea.error {
  border-color: #ff4444;
}

.cf-error-message {
  color: #ff4444;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.cf-submit-button {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 16px;
}

.cf-submit-button:hover {
  background-color: var(--text-color);
}

@media (max-width: 480px) {
  .cf-modal {
    margin: 16px;
  }
}
