@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

:root {
  --c1: #ee602c;
  --heading-font: "Plus Jakarta Sans", sans-serif;
  --body-font: "Inter", sans-serif;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1.25;
}

body {
  font-family: var(--body-font);
  color: #4a5568; /* Refined Slate Grey */
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.branded-text {
  border-left: 3px solid var(--c1);
  padding-left: 25px;
  background: linear-gradient(90deg, rgba(238, 96, 44, 0.03) 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.branded-text:hover {
  background: linear-gradient(90deg, rgba(238, 96, 44, 0.06) 0%, transparent 100%);
}

.text-c1 {
  color: var(--c1) !important;
}

.text-b {
  color: #000000 !important;
  font-weight: bold;
}

img {
  -webkit-user-drag: none;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

section {
  overflow: hidden;
}

.section_container {
  max-width: 1900px;
  margin: auto;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}

.ascentia_logo {
  height: 55px;
  width: auto;
}

nav {
  width: 100%;
  transition:
    transform 0.4s ease,
    box-shadow 0.3s ease;
}

.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 0px 18px #00000042;
  transform: translateY(0);
  animation: navSlideDown 0.4s ease forwards;
}

@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* button start */

/* Button styling */
.ascentia-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--c1) 0%, #ff8c61 100%);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--body-font);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(238, 96, 44, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.ascentia-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  z-index: -1;
}

.ascentia-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(238, 96, 44, 0.4);
  color: #fff;
}

.ascentia-btn:hover::before {
  width: 100%;
}

.ascentia-btn i {
  font-style: normal;
}

.ascentia-btn span {
  display: none; /* Hide the redundant span from old design */
}

.ascentia-btn--border {
  background-color: transparent;
  border: 1px solid rgba(var(--prathis-white-rgb, 255, 255, 255), 0.1);
}

.ascentia-btn--border > i {
  background-color: transparent;
}

.ascentia-btn--border:hover {
  border-color: var(--c1);
}

.ascentia-btn--black > i {
  background-color: var(--c1);
}

.ascentia-btn--black > span {
  background-color: var(--c1);
}

/* button end */
/* Unified Section Padding System */
.sec-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (max-width: 991px) {
  .sec-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .sec-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.why-ascentia {
  background: #fdfdfd;
  position: relative;
  overflow: hidden;
}

.feature-box {
  background: #fff;
  /* padding: 40px 20px; */
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: auto; /* Allow height to be natural and compact */
  min-height: 280px; /* Consistent but smaller height */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Clearer box shadow for separation */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(238, 96, 44, 0.05);
  border-color: rgba(238, 96, 44, 0.1);
}

.image_feature {
  width: 75px; /* Scaled down from 90px */
  height: 75px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.5s ease;
  position: relative;
  background: #f8f9fa !important;
}

.image_feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: inherit;
  z-index: -1;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.image_feature::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--c1);
  border-radius: 50%;
  bottom: -2px;
  right: -2px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(238, 96, 44, 0.3);
}

.feature-box:hover .image_feature {
  transform: translateY(-8px);
  background: #fff !important;
  box-shadow: 0 10px 25px rgba(238, 96, 44, 0.2);
  border: 1px solid rgba(238, 96, 44, 0.2);
}

.feature-box:hover .image_feature img {
  transform: scale(1.1);
  filter: drop-shadow(0 5px 10px rgba(238, 96, 44, 0.1));
}

.image_feature img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: all 0.5s ease;
  position: relative;
  z-index: 5; /* Ensure it stays above background layers */
}

.feature-box h4 {
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--heading-font);
  letter-spacing: -0.5px;
  transition: color 0.4s ease;
}

.feature-box:hover h4 {
  color: var(--c1);
}

.feature-box p {
  font-size: 12px; /* Slightly smaller */
  color: #888;
  margin-bottom: 0;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.7;
}

.feature-box:hover p {
  color: var(--c1);
  opacity: 1;
}

/* Certificate section refinements */
.certificate-section {
  background: #fdfdfd;
  padding: 100px 0;
}

.cert-img-wrapper {
  position: relative;
  display: inline-block;
  padding: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.cert-img-wrapper::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--c1);
  border-radius: 20px;
  z-index: -1;
}

.badge-wrapper {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(238, 96, 44, 0.08);
}

.section-subtitle {
  color: var(--c1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  display: block;
  font-family: "Outfit", sans-serif;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
  font-family: var(--heading-font);
  letter-spacing: -1px;
  margin-top: 10px;
  margin-bottom: 15px; /* Space to potential sub-paragraph */
}

/* High-end section header gap */
.sec-padding .text-center.mb-5,
.sec-padding .mb-5 {
  margin-bottom: 60px !important;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
  .sec-padding .text-center.mb-5,
  .sec-padding .mb-5 {
    margin-bottom: 40px !important;
  }
}

/* GALLERY SLIDER REFINED - NO FLAT BLACK */
.gallery_slider_section {
  background: #0c101a; /* Sophisticated deep navy-charcoal */
  background: linear-gradient(180deg, #101420 0%, #0c101a 100%);
  position: relative;
  overflow: hidden;
}

.gallery_slider_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 15% 15%,
      rgba(238, 96, 44, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(238, 96, 44, 0.05) 0%,
      transparent 40%
    ),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    50px 50px,
    50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
}

.gallery_slider_section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, #0c101a, transparent);
  z-index: 2;
  pointer-events: none;
}

.gallery-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, 0.98);
  font-family: var(--heading-font);
}

.text-c2 {
  color: var(--c1);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(238, 96, 44, 0.2);
}

.text-c2::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(238, 96, 44, 0.15);
  z-index: -1;
  border-radius: 20px;
}

/* CAD Benefits - Stacked Card Finishing */
.cad-cards {
  position: relative;
  padding-top: 40px;
  perspective: 1000px;
}

.cad-cards .card {
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cad-cards .content {
  position: relative;
  height: 100%;
}

.cad-cards .content img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
  transition: all 0.5s ease;
}

.cad-cards h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.4;
  font-family: var(--heading-font);
  padding: 0 10px 15px;
}

/* The "Finishing" - Rotations & Spread */
@media (min-width: 992px) {
  .card-1 {
    transform: rotate(-6deg) translateY(20px);
  }
  .card-2 {
    transform: rotate(-2deg) translateY(0);
  }
  .card-3 {
    transform: rotate(3deg) translateY(5px);
  }
  .card-4 {
    transform: rotate(7deg) translateY(25px);
  }

  .cad-cards:hover .card {
    transform: rotate(0) translateY(0);
    box-shadow: 0 20px 50px rgba(238, 96, 44, 0.15);
    border-color: rgba(238, 96, 44, 0.2);
  }
}

.card:hover .content img {
  transform: scale(1.05);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(238, 96, 44, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover .card-glow {
  opacity: 1;
}

.cad-cards .card {
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* .card-1 {
    left: 0;
    transform: rotate(-5deg);
}

.card-2 {
    left: 0;
    transform: rotate(-2deg);
}

.card-3 {
    left: 0;
    transform: rotate(3deg);
}

.card-4 {
    left: 0;
    transform: rotate(6deg);
}

.cad-cards.transition .card-1 {
    left: 0;
}

.cad-cards.transition .card-2 {
    left: 333px;
}

.cad-cards.transition .card-3 {
    left: 666px;
}

.cad-cards.transition .card-4 {
    left: 1000px;
}

.cad-cards.transition .card-1,
.cad-cards.transition .card-2,
.cad-cards.transition .card-3,
.cad-cards.transition .card-4 {
    transform: rotate(0deg);
    transition: all .10s ease-out;
} */

.program-bg,
.form-bg {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.program-bg {
  background-image: url("../images/cad-about-luxury.png");
}

.form-bg {
  background-image: url("../images/form-bg-luxury.png");
}

.program-item h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.program-item p {
  color: #3a3a3a;
  margin: 0;
}

.program-item .number {
  color: var(--c1);
  margin-right: 6px;
}

.salary-frame {
  display: inline-block;
  padding: 20px 40px;
  border: 3px solid var(--c1);
  border-radius: 10px;
  background: #fff;
}

.salary-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 5px;
}

.salary-highlight {
  font-size: 60px;
  font-weight: 700;
  color: var(--c1);
  margin: 0;
}

.salary-chart {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 260px;
  margin-top: 40px;
}

.salary-chart .bar {
  flex: 1;
  height: 0;
  background: #cfd2e3;
  border-radius: 6px 6px 0 0;
  transition: height 1.5s ease;
}

.salary-chart .bar.active {
  background: var(--c1);
}

.salary-highlight {
  color: var(--c1);
  font-size: 60px;
  font-weight: 700;
}

.salary-section {
  background: #f5f5f5;
}

.certificate-section img {
  height: 400px;
  width: auto;
  object-fit: contain;
}

/* gallery */
.gallery_slider_section {
  background: #000;
}

/* Gallery Slide Refinement - No Flat Black */
.ascentia-gallery {
  background: #1a1e26; /* Deep charcoal background */
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  overflow: hidden;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ascentia-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 16, 26, 0.9), transparent 60%);
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.ascentia-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

/* Dull Overlay for Non-Active Slides - No Grayscale */
.gallery_swiper .swiper-slide {
  perspective: 1000px;
  padding-bottom: 80px;
  opacity: 1; /* Maintained for overlay to work better */
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ascentia-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 26, 0.7); /* The dulling overlay */
  z-index: 1;
  opacity: 1;
  transition: all 0.6s ease;
}

.swiper-slide-active .ascentia-gallery::before {
  background: rgba(12, 16, 26, 0.1); /* Clearer for active */
  opacity: 0.2;
}

.gallery_swiper .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.9);
  filter: blur(1px); /* Keep slight blur for depth */
}

.swiper-slide-active .ascentia-gallery {
  transform: scale(1.1) translateY(-15px);
  border-color: var(--c1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(238, 96, 44, 0.15);
}

.swiper-slide-active .ascentia-gallery img {
  transform: scale(1.1);
}

.gallery_swiper {
  padding-top: 20px;
  padding-bottom: 30px;
}

/* Responsive Adjustments for Gallery */
@media (max-width: 768px) {
  .gallery-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .ascentia-gallery {
    height: 260px; /* More compact height for mobile */
    border-radius: 20px;
  }

  .gallery_swiper .swiper-slide {
    padding-bottom: 30px; /* Reduced gap between slide and reflection */
  }

  .gallery_swiper {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .swiper-slide-active .ascentia-gallery {
    transform: scale(1.05) translateY(-8px); /* Subtle lift on mobile */
  }
}

/* testimonial start */
.testimonial-section {
  background: linear-gradient(180deg, #fcfcfc 0%, #f0f4f8 100%);
}

.testimonial-card-new {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  height: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(238, 96, 44, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.testimonial-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(238, 96, 44, 0.1);
}

.quote-icon-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 60px;
  color: rgba(238, 96, 44, 0.05);
  z-index: -1;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  flex-grow: 1;
}

.student-avatar-box {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #eee;
  flex-shrink: 0;
}

.student-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.testimonial-ctrl {
  width: 45px;
  height: 45px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  color: #222;
}

.testimonial-ctrl:hover {
  background: var(--c1);
  color: #fff;
  border-color: var(--c1);
  box-shadow: 0 5px 15px rgba(238, 96, 44, 0.3);
}

.swiper-pagination-bullet-active {
  background: var(--c1) !important;
}

@media (max-width: 991px) {
  .testimonial-card-new {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 40px 0;
  }
  .testimonial-card-new {
    padding: 20px;
  }
  .student-avatar-box {
    width: 55px;
    height: 55px;
  }
  .student-name {
    font-size: 16px;
  }
}
/* testimonial end */
.swiper-wrapper {
  align-items: center;
}

.logo_swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.partner-logo {
  height: 60px;
  width: 200px;
  object-fit: contain;
  margin: 0 auto;
}

.swiper-button-prev,
.swiper-button-next {
  width: 30px !important;
  height: 30px !important;
  background: #ffffff;
  padding: 8px;
  border: 1px solid;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-pagination-bullet {
  background: #000;
}

/* FAQ Section Styling */
.faq-section {
  background: #fdfdfd !important;
}

.custom-faq .accordion-item {
  background: #fff !important;
  border: none !important;
  margin-bottom: 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}

.custom-faq .accordion-button {
  background-color: #fff !important;
  color: #1a1a1a !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  padding: 24px 30px !important;
  border: none !important;
  box-shadow: none !important;
}

.custom-faq .accordion-button:not(.collapsed) {
  color: var(--c1) !important;
  background-color: #fff !important;
}

.custom-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e") !important;
  background-size: 24px !important;
  width: 24px !important;
  height: 24px !important;
}

.custom-faq .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ee602c'%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e") !important;
}

.custom-faq .accordion-body {
  padding: 0 30px 30px 30px !important;
  font-size: 15px !important;
  color: #666 !important;
  line-height: 1.8 !important;
}

@media (max-width: 768px) {
  .custom-faq .accordion-button {
    padding: 20px !important;
    font-size: 15px !important;
  }
  .custom-faq .accordion-body {
    padding: 0 20px 25px 20px !important;
  }
}
/* FAQ end */

/* FORM  */
input,
select,
textarea,
input:hover,
input:focus,
select:hover,
select:focus,
textarea:hover,
textarea:focus {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.form-item {
  position: relative;
}

.form-item input,
.form-item select {
  height: 40px;
}

.form-item select {
  background-color: transparent;
}

.form-item input,
.form-item select,
.form-item textarea {
  display: block;
  height: 40px;
  font-size: 14px;
  padding: 0 15px;
  width: 100%;
  color: #1d1d1d;
  background: transparent;
  border: solid 1px #ccc;
  transition: all 0.3s ease;
}

select option {
  color: #000000;
  /* color of the options in the dropdown list */
}

.form-item textarea {
  height: 54px;
  resize: none;
  padding: 10px 15px;
}

.form-item input:focus + label,
.form-item input:not(:placeholder-shown) + label,
.form-item select:focus + label,
.form-item select:not(:placeholder-shown) + label,
.form-item textarea:focus + label,
.form-item textarea:not(:placeholder-shown) + label {
  font-size: 11px;
  top: -9px;
}

.form-item label {
  position: absolute;
  cursor: text;
  z-index: 1;
  top: 13px;
  left: 10px;
  font-size: 12px;
  font-weight: bold;
  background: #f8f9fa;
  padding: 0 3px;
  color: #5e5e5e;
  transition: all 0.3s ease;
}

button {
  user-select: none;
}

button.loading {
  position: relative;
  pointer-events: none;
  background-color: var(--c1) !important;
  color: #ffffff6b !important;
}

[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled,
button:disabled {
  cursor: not-allowed !important;
}

button.loading::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.ascentia-footer {
  background-color: #0b111a;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--c1);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background-color: var(--c1);
  color: #fff;
  transform: translateY(-5px);
  border-color: var(--c1);
  box-shadow: 0 10px 20px rgba(238, 96, 44, 0.2);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
}

.brightness-filter {
  filter: brightness(0) invert(1);
  height: 60px;
}

@media (max-width: 991px) {
  .footer-title {
    margin-bottom: 15px;
  }
}

/* scroll to top */

/* scroll to top redesign */
/* refined scroll to top */
.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 48px;
  width: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: none !important;
}

.scroll-top--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--c1);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(238, 96, 44, 0.3);
}

.scroll-top::after {
  content: "\F148";
  font-family: "Bootstrap-icons" !important;
  font-size: 18px;
  color: var(--c1);
  transition: all 0.3s ease;
}

.scroll-top:hover::after {
  color: #fff;
}

.scroll-top__circle path {
  stroke: var(--c1);
  stroke-width: 4;
  fill: none;
  transition: all 0.3s ease;
}

/* Infinite Marquee Scroll */
.tools-marquee {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  position: relative;
  background: #fff;
  mask-image: linear-gradient(
    to right,
    transparent,
    block 10%,
    block 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: scroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.partner-item {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  height: 60px;
  width: auto;
  /* filter: grayscale(1) opacity(0.5); */
  transition: all 0.4s ease;
}

.partner-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partner-item {
    padding: 0 25px;
  }
  .partner-item img {
    height: 45px;
  }
  .marquee-track {
    animation-duration: 25s;
  }
}

@media (max-width: 991px) {
  .section_container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 11px;
  }

  .uiux_testimonial .cards-box .card p {
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }

  .footer-address span {
    font-size: 12px;
  }

  .ascentia_logo {
    height: 35px;
  }

  .ascentia-cta .button {
    padding: 5px 18px;
    font-size: 12px;
  }

  .cad-cards {
    display: block;
    height: auto;
  }

  .cad-cards .card {
    position: relative;
    width: 100%;
    left: 0 !important;
    transform: none !important;
    margin-bottom: 20px;
    opacity: 1;
    transform: translateY(30px);
  }

  .cad-cards.transition .card {
    opacity: 1;
    transform: translateY(0);
  }

  .cad-cards.transition .card-1,
  .cad-cards.transition .card-2,
  .cad-cards.transition .card-3,
  .cad-cards.transition .card-4 {
    left: 0;
  }

  .cad-cards.transition .card-1 {
    transition-delay: 0.1s;
  }

  .cad-cards.transition .card-2 {
    transition-delay: 0.3s;
  }

  .cad-cards.transition .card-3 {
    transition-delay: 0.5s;
  }

  .cad-cards.transition .card-4 {
    transition-delay: 0.7s;
  }
}

/* Mobile Feature Box Optimization */
@media (max-width: 575px) {
  .feature-box {
    /* padding: 30px 15px; */
    min-height: 240px;
    border-radius: 18px;
    margin-bottom: 20px; /* Added vertical gap for mobile cards */
  }
  .feature-box h4 {
    font-size: 20px;
    letter-spacing: -0.3px;
  }
  .feature-box p {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .image_feature {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 16px;
  }
  /* .image_feature img {
        width: 28px;
        height: 28px;
    } */
  .section_container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* Luxury Lead Modal Styling */
.modal-backdrop.show {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
}

.custom-lead-modal .modal-content {
  background: #ffffff;
  border: none;
  border-radius: 30px !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
}

.modal-close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 100 !important;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
  color: #000000 !important;
  font-size: 26px !important;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 0;
  line-height: 0;
}

.modal-close-btn span {
  display: block;
  margin-top: -4px; /* Perfectly center the times character */
}

.modal-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: #f8f8f8 !important;
  color: var(--c1) !important;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.bg-c1-light {
  background: rgba(238, 96, 44, 0.08);
}

.form-item-modal {
  position: relative;
  margin-bottom: 18px;
}

.form_fields_modal {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fbfbfb;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none !important;
  color: #333;
}

.form_fields_modal:focus {
  border-color: var(--c1);
  background: #fff;
  box-shadow: 0 12px 24px rgba(238, 96, 44, 0.08);
}

.form-item-modal label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 15px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 5px;
}

.form_fields_modal:focus + label,
.form_fields_modal:not(:placeholder-shown) + label,
.form_fields_modal:not([value=""]) + label {
  top: 0;
  left: 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--c1);
  background: #ffffff;
  padding: 0 6px;
}

/* Correct Luxury Button Behavior in Modal */
.custom-lead-modal .ascentia-btn {
  width: 100%;
  display: block;
  height: 54px;
  position: relative;
  overflow: hidden;
  background: var(--c1) !important;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none !important;
}

.custom-lead-modal .ascentia-btn i,
.custom-lead-modal .ascentia-btn span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-lead-modal .ascentia-btn span {
  transform: translateY(100%);
  background: #000;
}

.custom-lead-modal .ascentia-btn:hover i {
  transform: translateY(-100%);
}

.custom-lead-modal .ascentia-btn:hover span {
  transform: translateY(0);
}

/* Modal Bottom sheet on mobile */
@media (max-width: 575px) {
  .custom-lead-modal .modal-dialog {
    margin: 0;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
  }

  .custom-lead-modal .modal-content {
    border-radius: 35px 35px 0 0 !important;
    padding-bottom: 30px;
  }

  .modal-close-btn {
    top: 15px;
    right: 15px;
  }
}

/* Achievers Section Styling - Professional Refinement */
.achivers_section {
  background-color: #f8f9fa !important;
}

.placement-card-new {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.04),
    0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.placement-card-new:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(238, 96, 44, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(238, 96, 44, 0.3);
}

.placement-img {
  width: 100%;
  height: 380px; /* Taller for more professional look */
  overflow: hidden;
  background: #eef1f4;
  position: relative;
}

.placement-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s ease;
}

.placement-card-new:hover .placement-img img {
  transform: scale(1.08);
}

.placement-info {
  padding: 30px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  z-index: 2;
}

.placement-info h5 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-family: var(--heading-font);
}

.placement-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Professional logo container */
.logo-container {
  background: #fff;
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.placement-card-new:hover .logo-container {
  box-shadow: 0 8px 25px rgba(238, 96, 44, 0.15);
  transform: scale(1.05);
}

.company-logo {
  height: 45px; /* Larger logo */
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: all 0.4s ease;
}

.placement-card-new:hover .company-logo {
  filter: grayscale(0);
}

@media (max-width: 1200px) {
  .placement-img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .placement-img {
    height: 180px; /* Adjusted for 2-column mobile view */
  }
  .placement-card-new {
    border-radius: 20px;
  }
  .placement-info {
    padding: 15px 10px;
  }
  .placement-info h5 {
    font-size: 14px;
  }
  .placement-info p {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .logo-container {
    padding: 8px 15px;
  }
  .company-logo {
    height: 25px;
  }
}
