/*--------------------CSS Reset & Global Styles------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*--------------------Typography-------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poiret One", sans-serif;
  font-weight: 600;
}

h3 {
  font-size: 96px;
  font-weight: 600;
  line-height: 111px;
  color: #fafafa;
}

h4 {
  font-size: 72px;
  color: #fff;
  font-weight: 400;
}

h5 {
  font-weight: 600;
  font-size: 36px;
  line-height: 145%;
  color: #161616c8;
  font-family: "Open Sans", sans-serif;
}

h6 {
  font-weight: 600;
  font-size: 24px;
  color: #161616c8;
  font-family: "Open Sans", sans-serif;
}

html,
body {
  overflow-x: hidden;
  font-family: "Open Sans", sans-serif;
}

/*-----------------Background Image Section----------------------*/

.bg-img {
  position: relative;
  background-image: url("images/hero_bg.jpg");
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
}

.bg-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

/*------------------Hero Section------------------------*/

.hero-section {
  padding-top: 200px;
  padding-bottom: 74.5%;
  font-weight: 600;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

.hero-content {
  gap: 4px;
  position: relative;
  z-index: 5;
}

.hero-title {
  font-size: 122px;
  line-height: 130px;
  letter-spacing: 0;
}

.sub-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 122px !important;
  line-height: 130px;
  letter-spacing: 0;
  font-family: "Poiret One", sans-serif;
}

.hero-thirdline {
  font-size: 122px !important;
  line-height: 130px;
  font-family: "Poiret One", sans-serif;
}

.hero-subtext {
  max-width: 450px;
  line-height: 36px;
  font-weight: 400;
  font-size: 24px;
  color: #003d63;
  font-family: "Open Sans", sans-serif;
  margin: 0px 75px 0px auto;
  text-align: right;
}

.inline-video {
  width: 240px;
  height: 100px;
  vertical-align: middle;
  display: inline-block;
}

#heroVideo {
  position: relative;
  z-index: 10;
  transform-origin: top center !important;
}

/*--------------------Logo Section-------------------------*/

.logo-section {
  padding: 60px 0;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.desktop-scroll-container {
  display: block;
  width: 100%;
}

.logo-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.logo-scroll-wrapper:last-child {
  margin-bottom: 0;
}

.logo-grid {
  margin: 60px auto;
}

.logo-row-desktop {
  display: flex;
  margin-top: 15px;
  gap: 80px;
  align-items: center;
  width: fit-content;
  padding: 0px 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-scroll-wrapper {
  overflow: hidden;
  touch-action: pan-y;
}

.logo-row-desktop > div {
  flex-shrink: 0;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-scroll-wrapper:hover .logo-row-desktop {
  animation-play-state: paused;
}

.logo-grid img {
  width: 100px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
  opacity: 1 !important;
  filter: brightness(1) !important;
  visibility: visible !important;
}

.logo-grid img[src*="thermax.png"] {
  max-width: 45px !important;
}

.logo-grid img:hover {
  opacity: 1 !important;
  transform: scale(1.05);
}

.logo-row-desktop > div,
.logo-row-mobile > div {
  opacity: 1 !important;
  visibility: visible !important;
}

/*-----------------Expertise Section-------------------*/

.expertise-container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  margin: 0 auto 150px auto;
}

.expertise-title {
  width: 100%;
  font-size: 96px;
  line-height: 111px;
  margin: 0;
}

.subtext-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
}

.expertise-subtext {
  font-size: 20px;
  line-height: 36px;
  margin-top: 10px;
  font-weight: 400;
  text-align: end;
  font-family: "Open Sans", sans-serif;
  color: #003b62;
  width: 494px;
  height: auto;
}

/*---------------------Stack Section (Cards)----------------------*/

.stack-section {
  position: relative;
  background: transparent;
  min-height: 105vh;
  z-index: 2;
}

.cards-container {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 3rem;
}

.card {
  position: absolute;
  max-width: 100%;
  width: 90%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  background: none;
  border: none;
  transform-origin: center top;
  will-change: transform, filter;
}
.card > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto;

  display: block;
}

.card:nth-child(1) {
  z-index: 1;
  top: 0;
}

.card:nth-child(2) {
  z-index: 2;
  top: 20px;
}

.card:nth-child(3) {
  z-index: 3;
  top: 40px;
}

.card:nth-child(4) {
  z-index: 4;
  top: 60px;
}

/*-----------------------Help Section---------------------*/

.help-container hr {
  background: linear-gradient(0.25turn, #2e8bc6, #ffffff, #527f9c);
  height: 1px;
  border: none;
  width: 80%;
  margin: 0 auto;
}

.help-section {
  background-color: transparent;
  background-image: radial-gradient(at center center, #007cc9 31%, #003d63 78%);
  position: relative;
}

.help-section::before {
  content: "";
  /* background-image: url(images/help_section_vector.png); */
  height: 100%;
  width: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
}

.help-section h3 {
  color: #fff;
}

.service-block ul {
  list-style: none;
}

.service-block ul li {
  color: #fff;
  font-size: 19px;
  line-height: 36px;
  letter-spacing: 0;
  font-weight: lighter;
}

.service-block h4::after {
  content: "";
  display: none;
}

.service-left {
  flex: 1;
}

.service-title {
  font-size: 72px;
  line-height: 135px;
  font-weight: 400;
  letter-spacing: -2px;
  color: #fafafa;
  text-align: center;
}

.service-image-wrapper {
  position: relative;
  overflow: visible;
}

.service-image {
  width: 100%;
  display: block;
  opacity: 0;
  transform: translate(159px, 120px) rotate(8deg);
  transition:
    transform 0.9s cubic-bezier(0.23, 0.85, 0.32, 1.2),
    opacity 0.5s ease-out;
}

.service-block:hover .service-image {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

/* Right side list */
.service-list {
  flex: 1.4;
  display: flex;
  gap: 60px;
  font-family: "Open Sans", sans-serif;
}

.service-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  color: #fafafa;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 0;
  font-weight: 400;
}

/*-----------------------Testimonial Section-----------------------*/

.testimonial-section {
  padding: 80px 0;
  position: relative;
}

.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  border-radius: 20px;
  color: #fafafa;
  min-height: 220px;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
  opacity: 1;
}

.testimonial-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: #fafafa;
  max-width: 500px;
}

.testimonial-name {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 36px;
  letter-spacing: 0;
}

.testimonial-role {
  font-size: 18px;
}

.arrow-btn {
  width: 55px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  color: #fafafa;
}

.arrow-btn:hover {
  color: #ff5500;
  border-color: #ff5500;
  transform: scale(1.1);
}

/* Animation styles */
.slide-left-out {
  transform: translateX(--10px);
  opacity: 0;
}

.slide-left-in {
  transform: translateX(50px);
  opacity: 0;
}

.slide-right-out {
  transform: translateX(50px);
  opacity: 0;
}

.slide-right-in {
  transform: translateX(-50px);
  opacity: 0;
}

/*-------------------Client Section------------------------*/

.clientbg-image {
  position: relative;
}

.clientbg-image::before {
  background: url(images/bgforcraft.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  background-attachment: scroll;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.craft-section {
  padding: 120px 0;
  position: relative;
}

.craft-title {
  line-height: 111px;
  letter-spacing: 0px;
  text-align: center;
  margin-bottom: 50px;
  color: #161616;
}

.team-title {
  font-size: 96px;
  line-height: 111px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
}

.img-wrapper {
  border-radius: 20px 60px 20px 60px;
  overflow: hidden;
}

.img-card {
  width: 100%;
  height: 650px;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 0.6s ease,
    transform 0.4s ease;
  border-radius: 25px;
}

.img-wrapper .img-card:hover {
  filter: grayscale(0%);
  transform: translateY(-4px);
}

.team-text {
  font-size: 19px;
  line-height: 32px;
  margin-top: 120px;
  letter-spacing: 0;
  color: #003b63;
  text-align: right;
}

/*--------------------------FAQ Section--------------------------*/

.faq-section {
  padding-bottom: 120px;
  position: relative;
}

.faq-heading {
  text-align: center;
  padding-bottom: 40px !important;
  color: #161616;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 30px 0;
}

.faq-question {
  width: 100%;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 36px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: #161616;
  transition: color 0.3s ease;
}

.faq-icon {
  font-size: 26px;
  color: #161616;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0;
  overflow: hidden;
  opacity: 1;
  padding: 0 0;
  transition:
    transform 0.4s,
    max-height 0.45s ease,
    opacity 0.35s ease,
    padding 0.4s ease;
}

/* Active State */
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 5px 0px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: #ff5500;
}

.faq-item.active .faq-icon {
  color: #ff5500;
}

/*--------------------------404 Error Page Styles---------------------*/

.main-navbar {
  background: #f5eee166;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 26px;
  letter-spacing: 1px;
  color: #004f6e;
}

a.nav-link {
  font-size: 14px;
  color: #161616;
  font-weight: 500;
}

a.nav-link:hover {
  color: #ff5500 !important;
  transition: 0.3 ease;
}

/* Orange button */
.get-btn {
  width: 155px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #ff5500;
  color: #fafafa;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  border-radius: 2036.67px;
  padding: 10px 20px;
  font-weight: 400;
  border: 1px solid transparent;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease-in-out;
  gap: 8.33px;
}

/* Radial white ball */
.get-btn::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) scale(0.1);
  background-color: #fafafa;
  border-radius: 2036.67px;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.get-btn:hover {
  color: #ff5500;
  background-color: transparent;
  border-color: #ff5500;
}

/* Expand the ball */
.get-btn:hover::before {
  transform: translateX(-50%) scale(20);
}

/* 404 Section */
.error-bg-img {
  background: url(images/error_bg.jpg);
  position: absolute;
  z-index: -1;
  background-position: center;
  background-size: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 80%;
}

.error-section {
  background-size: cover;
  background-position: center;
  padding-top: 120px;
  position: relative;
  z-index: 1;
}

.error-desc-span {
  color: #ff5500;
  cursor: pointer;
}

.error-desc a {
  text-decoration: none !important;
}

.error-code {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 250px;
  line-height: 1;
  margin: 0;
  display: inline-block;
  background-image: url("images/matrix.jpg");
  background-size: cover;
  background-position: center;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -10px;
}

.error-heading {
  font-size: 120px;
  line-height: 130px;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 15px;
  color: #161616;
}

.error-desc {
  font-size: 24px;
  letter-spacing: 0;
  line-height: 36px;
  color: #003d63;
}

/*-----------------------------Landing Page Specific Styles---------------*/

/* Button Styles */
a.btn.btn-primary {
  background: #ff5500;
  border-radius: 30px;
  padding: 5px 20px;
  border: none;
  width: 150px;
  height: 40px;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fafafa;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 0;
}

/* Radial white ball */
a.btn.btn-primary::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  z-index: -1;
  transition:
    width 1.7s ease,
    height 1.7s ease,
    bottom 1.7s ease;
}

a.btn.btn-primary:hover {
  color: #ff5500;
}

/* Expand the ball */
a.btn.btn-primary:hover::before {
  bottom: 0;
  width: 1000px;
  height: 1000px;
}

.my-line {
  width: 70%;
  opacity: 0.3;
}

/* Animation base styles */
@keyframes slideRightToLeft {
  0% {
    transform: translateX(120px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-one,
.slide-two,
.slide-three,
.slide-four {
  opacity: 0;
  animation: slideRightToLeft 0.8s ease forwards;
}

.slide-one {
  animation-delay: 0.2s;
}

.slide-two {
  animation-delay: 0.8s;
}

.slide-three {
  animation-delay: 1.5s;
}

.slide-four {
  animation-delay: 2s;
}

/* Landing page sections */

.We-Let-Our-Work-Speak-section .portfolio-scroll {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.We-Let-Our-Work-Speak-section {
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 6vw, 96px);
}

.We-Let-Our-Work-Speak-section img {
  width: 100%;
  height: auto;
  display: block;
}

.We-Let-Our-Work-Speak-section .row {
  justify-content: center;
  text-align: center;
}

.We-Let-Our-Work-Speak-section .col-md-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.Why-Kreeya-Design .container {
  z-index: 99999999;
  position: relative;
}

.Why-Kreeya-Design h1 {
  font-size: 96px;
  line-height: 111px;
  letter-spacing: 0;
  color: #161616c8;
  padding-bottom: 80px;
}

.Why-Kreeya-Design p {
  color: #16161650;
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 0;
}

.Why-Kreeya-Design .item-box {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
  border: 1px solid #1616161f;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px) saturate(180%);
  text-align: center;
  padding: 40px;
  gap: 24px;
}

h5 .fw-bold {
  margin-bottom: 0;
  font-weight: 700;
}

.sub-text {
  font-weight: 400 !important;
}

.faded-divider {
  width: 548px;
  max-width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 15%,
    #9ca3af7d 50%,
    transparent 85%,
    transparent 100%
  );
  margin: 0;
}

.We-Let-Our-Work-Speak-section {
  background-color: #0167a7;
}

.We-Let-Our-Work-Speak-section h1 {
  font-size: 96px;
  color: #fff;
}

.portfolio-scroll {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.portfolio-scroll .container {
  max-width: 100%;
}

.margin-right {
  margin-left: -60px;
  position: relative;
  z-index: 1;
}

.slide-item {
  position: relative;
}

.slide-item img {
  width: 370px;
  height: 285px;
}

.slider-left-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -50px;
}

/* Reverse the z-index order */
.slide-item:nth-child(1) {
  z-index: 1;
  transform: translateY(0px);
}

.slide-item:nth-child(2) {
  z-index: 2;
  transform: translateY(30px);
}

.slide-item:nth-child(3) {
  z-index: 3;
  transform: translateY(60px);
}

.slide-item:nth-child(4) {
  z-index: 4;
  transform: translateY(90px);
}

.What-Our-Clients-Are-Saying-section {
  background-color: #0167a7;
  position: relative;
  overflow: hidden;
  height: 400px;
  color: #fff;
}

.What-Our-Clients-Are-Saying-section img {
  position: absolute;
  top: 25%;
  left: 50%;
}

.What-Our-Clients-Are-Saying-section .btn-card {
  position: absolute;
  top: 60%;
  right: 10%;
}

/* Form Section */
.form-section {
  background-image: url("images/form-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.form-section::before {
  content: "";
  background: #ffffff;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  opacity: 0.9;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.form-section .container {
  z-index: 2;
  position: relative;
}

.form-section h1 {
  font-size: 72px;
  line-height: 84px;
  letter-spacing: 0;
  font-weight: 700;
}

.contact-box {
  background: #fff;
  border-radius: 40px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 1280px;
  width: 90%;
  margin: 0 auto !important;
  z-index: 3;
  position: relative;
}

.custom-input {
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  width: 431px;
  max-width: 100%;
  height: 36px;
  color: #161616;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  z-index: 4;
}

.custom-input::placeholder {
  color: #cacaca;
  opacity: 1;
}

.custom-input:focus {
  outline: none;
  border-color: #ff5500;
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.1);
  background-color: #fff;
}

textarea.form-control.custom-input {
  height: 80px;
  resize: vertical;
}

.form-container-width {
  max-width: 431px;
  margin-right: auto;
}

.form-section .form-box h1 {
  font-size: 72px;
  font-weight: 900;
  font-family: "Poiret One", sans-serif;
}

.form-section .col-12.col-lg-6 {
  position: relative;
}

.form-section .vr {
  display: inline-block;
  align-self: stretch;
  width: 1px;
  min-height: 1em;
  background-image: linear-gradient(to bottom, #16161600, #161616, #16161600);
  position: absolute;
  left: -21px;
  height: 86%;
  top: 42px;
  opacity: 50%;
}

.text-orange {
  color: #ff5500;
}

label.form-label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.form-label span {
  color: #003d63;
}

.get-touch-btn {
  background: linear-gradient(90deg, #ff5a00, #ff7b00);
  color: #fff;
  border-radius: 50px;
  padding: 12px;
  border: none;
  font-weight: 500;
}

section.form-section button.footer-final-btn {
  width: 431px;
  max-width: 100%;
  height: 60px;
  font-size: 17.5px;
  line-height: 25px;
}

.faded-divider-vertical {
  width: 2px;
  height: 431px !important;
  max-height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 0%,
    #16161680 50%,
    transparent 100%,
    transparent 100%
  );
  position: absolute;
  left: 54%;
  transform: translateX(-50%);
  top: 140px;
  bottom: 50px;
  height: auto;
  margin: 0 auto;
}
/* Center Floating Confirmation */
.form-toast-center {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35); /* subtle overlay */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 99999;
}

.form-toast-center.show {
  opacity: 1;
  pointer-events: all;
}

/* Modal box */
.toast-content {
  background: linear-gradient(135deg, #ff5500, #ff7a18);
  color: #fff;
  padding: 26px 36px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
  max-width: 90%;
}

.form-toast-center.show .toast-content {
  transform: scale(1);
}

/* Error version */
.form-toast-center.error .toast-content {
  background: linear-gradient(135deg, #d93025, #ff4d4d);
}
/* Button loading & states */
.footer-final-btn.loading {
  pointer-events: none;
  opacity: 0.85;
}

.footer-final-btn.success {
  background: linear-gradient(135deg, #ff5500, #ff7a18);
  border-color: transparent;
}

.footer-final-btn .btn-text {
  transition: opacity 0.3s ease;
}

.footer-final-btn.loading .btn-text {
  opacity: 0.7;
}

.footer-final-btn.loading .btn-arrow {
  opacity: 0.5;
}

/*------------------RESPONSIVE MEDIA QUERIES----------------------*/

@media (min-width: 1600px) {
  .logo-scroll-wrapper {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 1024px) {
  .hero-title,
  .sub-container,
  .hero-thirdline {
    font-size: 5.5rem !important ;
    line-height: 6.6rem;
  }
  .error-heading {
    font-size: 80px;
    line-height: 95px;
  }
  .hero-section {
    padding-top: 160px;
  }

  .expertise-title,
  .help-section h3,
  .craft-title,
  .faq-heading {
    font-size: 5.5rem;
    line-height: 6.6rem;
  }
  .cards-container {
    margin-top: 8rem;
  }
  .team-text {
    font-size: 20px;
    margin-top: 42px;
  }
  .hero-subtext {
    font-size: 1rem;
    line-height: 1.5rem;
    width: 312px;
    height: 72px;
    padding-top: 1.25rem;
  }

  .expertise-subtext {
    width: 100%;
    height: 72px;
    max-width: 297px;
  }

  .service-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-block:last-child {
    border-bottom: none;
  }

  /* ---------- HEADER ---------- */

  .service-block .col-sm-2 {
    width: 100%;
    cursor: pointer;
    padding: 24px 16px !important;
    position: relative;
  }

  .service-block .col-sm-2 h4 {
    font-size: 48px;
    line-height: 60px;
    margin: 0;
    color: #fafafa;
    padding-right: 56px !important;
    position: relative;
    display: block;
  }
  .testimonial-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    padding-bottom: 24px;
  }

  /* ---------- PLUS / MINUS ICON ---------- */

  .service-block .col-sm-2::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    color: #ffffff;
    opacity: 1;
    visibility: visible;
    pointer-events: none;

    transition:
      transform 0.3s ease-in,
      color 0.3s ease;
  }

  .service-block.active .col-sm-2::after {
    content: "−";
    /* color: #ff5500; */
    transform: translateY(-50%) rotate(180deg);
  }

  /* .service-block.active .col-sm-2 h4 {
        color: #FF5500;
    } */

  /* ---------- BODY ---------- */

  .service-block .col-sm-5 {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    transition:
      max-height 0.45s ease,
      opacity 0.35s ease,
      padding-bottom 0.4s ease;
  }

  .service-block.active .col-sm-5 {
    max-height: 2000px;
    opacity: 1;
    padding-bottom: 32px;

    display: flex;
    justify-content: center;
  }

  /* ---------- IMAGE ---------- */
  .service-image {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 1 !important;
    transform: translate(0, 0) rotate(-5deg) !important;
    transition: none !important;
  }

  /* ---------- LIST ---------- */

  .service-block ul {
    padding-left: 0;
    margin-bottom: 0;
  }

  .service-block ul li {
    font-size: 16px;
    line-height: 32px;
    padding: 2px 0px;
  }

  .service-block.active ul li {
    color: #fafafa;
  }
  .faq-section {
    padding-bottom: 40px;
  }
  .craft-section {
    padding: 80px;
  }

  .service-image-wrapper {
    width: 100%;
    margin: 0 auto;
  }
  .help-container hr {
    display: none;
  }
}

@media (max-width: 993px) {
  .hero-title,
  .sub-container,
  .hero-thirdline {
    font-size: 5.25rem !important;
    line-height: 7.375rem;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .hero-section {
    padding-top: 160px;
  }

  .expertise-title,
  .help-section h3,
  .craft-title,
  .faq-heading {
    width: 100%;
    font-size: 5.25rem;
    line-height: 6.375rem;
    margin: 0;
  }

  .craft-title {
    padding-bottom: 40px;
  }

  .expertise-subtext {
    text-align: center;
  }

  .team-text {
    margin-top: 2rem;
  }

  .d-none.d-lg-block {
    display: none !important;
  }
  .help-section {
    padding: 80px 0px;
  }

  .craft-title {
    font-size: 65px;
    line-height: 75px;
  }

  .portrait-left {
    min-height: 520px;
    max-width: 320px;
  }

  .portrait-right {
    min-height: 420px;
    max-width: 320px;
  }

  .desc {
    max-width: 320px;
    text-align: center;
  }

  .portrait-right::after {
    left: 50%;
  }

  .help-container hr {
    display: none !important;
  }

  .service-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 !important;
    margin: 0 !important;
  }

  .service-block:last-child {
    border-bottom: none;
  }

  .service-block .col-sm-2 {
    width: 100%;
    cursor: pointer;
    padding: 25px 15px !important;
    position: relative;
  }

  .service-block .col-sm-2 h4 {
    font-size: 48px;
    line-height: 60px;
    margin: 0;
  }

  .service-block .col-sm-5 {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .service-block.active .col-sm-5 {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
    transition:
      max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.5s ease 0.1s,
      transform 0.5s ease 0.1s;
    padding: 0 15px !important;
  }

  .service-block.active .col-sm-5:last-child {
    padding-bottom: 30px !important;
  }

  .service-image {
    opacity: 1 !important;
    transform: translate(0, 0) rotate(0deg) !important;
    margin-bottom: 20px;
    transition: none !important;
  }

  .service-block .col-sm-5 .row {
    display: flex;
  }

  .service-block .col-sm-5 .col-sm-6 {
    flex: 1;
    padding: 0 10px;
  }

  .service-block ul li {
    font-size: 16px;
    line-height: 35px;
  }

  .help-section h3 {
    font-size: 56px;
    line-height: 60px;
    text-align: center;
  }
  .craft-section {
    padding: 80px 0;
  }

  .faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 20px 0;
  }

  .faq-section {
    padding-bottom: 40px;
  }

  .testimonial-section {
    padding: 0;
  }
  .testimonial-section .testimonial-title {
    padding-top: 80px;
  }
  .landing-page .testimonial-section .testimonial-title {
    padding-top: 0;
  }
  .service-block.row {
    display: block;
  }

  .service-block:hover .service-image {
    opacity: 1 !important;
    transform: translate(0, 0) rotate(-5deg) !important;
  }

  .help-section .container {
    margin-bottom: 0 !important;
  }

  .cards-container {
    position: relative !important;
    height: 300px !important;
    margin: 40px 0 80px !important;
    width: 100% !important;
    padding-top: 60px !important;
    perspective: 1000px !important;
  }

  .cards-container {
    position: relative !important;
    height: 66rem !important;
    margin: 40px 0 80px !important;
    width: 100% !important;
    padding-top: 60px !important;
    perspective: 1000px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .pin-spacer.pin-spacer-cardsAnimation {
    height: 2615px !important;
  }

  .hero-section {
    padding-top: 160px;
  }

  .craft-title {
    padding-bottom: 40px;
  }

  .expertise-subtext {
    text-align: center;
  }

  .team-text {
    margin-top: 2rem;
  }

  .service-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-block:last-child {
    border-bottom: none;
  }

  /* ---------- HEADER ---------- */

  .service-block .col-sm-2 {
    width: 100%;
    cursor: pointer;
    padding: 24px 16px !important;
    position: relative;
  }

  .service-block .col-sm-2 h4 {
    font-size: 48px;
    line-height: 60px;
    margin: 0;
    color: #fafafa;
    padding-right: 56px !important;
    position: relative;
    display: block;
  }
  .testimonial-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    padding-bottom: 24px;
  }

  /* ---------- PLUS / MINUS ICON ---------- */

  .service-block .col-sm-2::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;

    color: #ffffff;
    opacity: 1;
    visibility: visible;
    pointer-events: none;

    transition:
      transform 0.3s ease-in,
      color 0.3s ease;
  }

  .service-block.active .col-sm-2::after {
    content: "−";
    /* color: #ff5500; */
    transform: translateY(-50%) rotate(180deg);
  }

  /* .service-block.active .col-sm-2 h4 {
        color: #FF5500;
    } */

  /* ---------- BODY ---------- */

  .service-block .col-sm-5 {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    transition:
      max-height 0.45s ease,
      opacity 0.35s ease,
      padding-bottom 0.4s ease;
  }

  .service-block.active .col-sm-5 {
    max-height: 2000px;
    opacity: 1;
    padding-bottom: 32px;

    display: flex;
    justify-content: center;
  }

  /* ---------- IMAGE ---------- */
  .service-image {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 1 !important;
    transform: translate(0, 0) rotate(-5deg) !important;
    transition: none !important;
  }

  /* ---------- LIST ---------- */

  .service-block ul {
    padding-left: 0;
    margin-bottom: 0;
  }

  .service-block ul li {
    font-size: 16px;
    line-height: 34px;
    padding: 2px 0;
  }

  .service-block.active ul li {
    color: #fafafa;
  }

  .service-image-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .help-section h3 {
    margin: 80px 0 60px;
  }
  /* ---------- HELP SECTION ---------- */

  .help-container hr {
    display: none !important;
  }

  .form-section h1 {
    font-size: 3.375rem;
    line-height: 3.57rem;
    letter-spacing: 0;
    font-weight: 700;
  }

  .faded-divider-vertical {
    display: none;
  }
  .Why-Kreeya-Design .item-box {
    padding: 40px 16px;
  }
  .Why-Kreeya-Design .item-box {
    padding: 40px 16px;
  }
  .Why-Kreeya-Design h1 {
    font-size: 3.5rem;
    line-height: 3.75rem;
    letter-spacing: 0;
    color: #161616c8;
  }

  .What-Our-Clients-Are-Saying-section,
  .portfolio-scroll {
    overflow: visible !important;
  }
  .service-block .col-sm-2 h4 {
    font-size: 42px !important;
    line-height: 52px !important;
    padding-right: 50px !important;
    width: 100%;
  }

  .service-block .col-sm-2 h4::after {
    font-size: 36px;
    width: 36px;
  }

  .service-block.active .col-sm-5 .row {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
  }

  .service-block.active .col-sm-5 .col-sm-6 {
    width: 50% !important;
    max-width: 50% !important;
  }

  .service-block.active ul {
    align-items: center;
  }

  .service-block.active ul li {
    text-align: center;
  }
  .slide-item img {
    transform: rotate(0deg);
  }
  .testimonial-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    padding-bottom: 24px;
  }
  .slide-item img {
    height: auto !important;
    max-width: 100%;
  }
  .margin-right,
  .slider-left-container {
    margin-left: 0 !important;
  }

  .We-Let-Our-Work-Speak-section .row {
    justify-content: center !important;
  }

  .slider-left-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .slide-item {
    position: relative !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .slide-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .error-heading {
    font-size: 3.5rem;
    line-height: 3.75rem;
  }
  .container.py-5.pt-5.mt-5.mb-5 {
    padding: 0;
    margin-top: 80px !important;
  }
  .d-flex.justify-content-end.mt-4 {
    margin-top: 0 !important;
    padding-top: 40px;
  }

  .Why-Kreeya-Design h1 {
    padding: 0 0 3.75rem;
    margin-bottom: 0;
  }
  .testimonial-name {
    margin-top: 0;
  }
  .slider-left-container {
    display: flex;
    flex-direction: column !important;
    gap: 20px;
  }

  .slide-item {
    position: relative !important;
    margin: 0 auto !important;
  }

  .slide-item img {
    width: 100% !important;
    height: auto !important;
  }
  .hero-title,
  .sub-container,
  .hero-thirdline {
    font-size: 3.5rem !important;
    line-height: 3.75rem;
  }

  .hero-section {
    padding-top: 160px;
  }

  .expertise-title,
  .help-section h3,
  .craft-title,
  .faq-heading {
    width: 100%;
    font-size: 3.5rem;
    line-height: 3.75rem;
    margin: 0 0 40px;
  }

  .faq-section .faq-heading {
    padding-bottom: 0 !important;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.5rem;
    width: 312px;
    height: 72px;
    padding-top: 1.25rem;
  }

  .expertise-subtext {
    width: 100%;
    height: 72px;
    max-width: 297px;
    margin: 0 !important;
  }

  .logo-section {
    padding: 0;
  }

  .craft-title {
    padding-bottom: 40px;
  }

  .expertise-subtext {
    text-align: right;
    line-height: 24px;
    font-size: 16px;
  }
  .col-sm-12.text-center {
    padding: 40px !important;
  }

  .team-text {
    margin-top: 2rem;
  }

  .hero-section {
    padding-bottom: 0 !important;
  }

  .expertise-container {
    padding-bottom: 0;
  }

  .custom-modal .modal-dialog {
    width: 85vw;
    height: 85vh;
    max-width: 85vw;
    top: 30px;
    right: 30px;
  }
  .Why-Kreeya-Design h1 {
    padding: 0 0 3.75rem;
  }

  .help-container hr {
    display: none !important;
  }

  .service-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 !important;
    margin: 0 !important;
  }

  .service-block:last-child {
    border-bottom: none;
  }

  .service-block .col-sm-2 {
    width: 100%;
    cursor: pointer;
    padding: 25px 15px !important;
    position: relative;
  }

  .service-block .col-sm-2 h4 {
    font-size: 48px;
    line-height: 60px;
    margin: 0;
  }

  .service-block .col-sm-5 {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .service-block.active .col-sm-5 {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
    transition:
      max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.5s ease 0.1s,
      transform 0.5s ease 0.1s;
    padding: 0 15px !important;
  }

  .service-block.active .col-sm-5:last-child {
    padding-bottom: 30px !important;
  }

  .service-image {
    opacity: 1 !important;
    transform: translate(0, 0) rotate(0deg) !important;
    margin-bottom: 0;
    transition: none !important;
  }

  .service-block .col-sm-5 .row {
    display: flex;
  }

  .service-block .col-sm-5 .col-sm-6 {
    flex: 1;
    padding: 0 10px;
  }

  .service-block ul li {
    font-size: 16px;
    line-height: 35px;
  }
  .container.py-5.pt-5.mt-5.mb-5 {
    margin-top: 5rem 0 5rem !important;
  }

  .help-section h3 {
    font-size: 56px;
    line-height: 60px;
  }

  .service-block.row {
    display: block;
  }

  .service-block:hover .service-image {
    opacity: 1 !important;
    transform: translate(0, 0) rotate(-5deg) !important;
  }

  .help-section .container {
    margin-bottom: 0 !important;
  }

  .testimonial-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    padding-bottom: 24px;
  }

  .testimonial-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: center;
  }

  .testimonial-name {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0;
    font-weight: 400;
    margin-top: 0;
  }

  .testimonial-role {
    font-size: 14px;
    line-height: 20px;
    padding-top: 3px;
  }

  .slide-item {
    opacity: 0;
    transform: translateY(0);
  }

  .faded-divider-vertical {
    display: none;
  }

  .contact-box {
    padding: 2.5rem 1.5rem !important;
    border-radius: 8px;
  }

  .custom-input {
    width: 100%;
    height: 100%;
  }
  .Why-Kreeya-Design .item-box {
    padding: 40px 16px;
  }

  section.form-section button.footer-final-btn {
    width: 100%;
    font-size: 1.094rem;
    line-height: 1.563rem;
  }

  .col-lg-6.mb-5.mb-lg-0 {
    margin-bottom: 0 !important;
  }

  .d-flex.justify-content-end.mt-4 {
    margin-top: 0 !important;
    padding-top: 40px;
  }

  .Why-Kreeya-Design h1 {
    font-size: 3.5rem;
    line-height: 3.75rem;
    letter-spacing: 0;
    color: #161616c8;
  }

  .sub-text {
    font-weight: 400 !important;
    font-size: 1.125rem;
    line-height: 2rem;
  }

  .Why-Kreeya-Design p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .hero-subtext {
    margin: 0px 18px 0px auto;
  }

  .portfolio-scroll .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }
  .slider-left-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 !important;
    place-items: center;
    position: relative;
  }
  .slide-item {
    position: relative !important;
    width: 100%;
  }

  .slide-item img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
  }

  /* ROW 1 */
  .slide-item:nth-child(1) {
    top: 0;
    left: 5%;
    z-index: 2;
  }

  .slide-item:nth-child(2) {
    left: -8%;
    z-index: 3;
  }

  /* ROW 2 */
  .slide-item:nth-child(3) {
    left: 5%;
    z-index: 2;
  }

  .slide-item:nth-child(4) {
    left: -8%;
    z-index: 3;
  }
  .cards-container {
    margin: 65px 0 80px !important;
  }
}

@media (max-width: 575px) {
  .expertise-container {
    padding-bottom: 0;
  }
  .service-image {
    margin-bottom: 0 !important;
  }

  .cards-container {
    position: relative !important;
    height: 340px !important;
    margin: 40px 0 80px !important;
    width: 100% !important;
    padding-top: 60px !important;
    perspective: 1000px !important;
  }

  .card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .craft-section {
    padding: 50px 0;
  }

  .craft-title {
    font-size: 45px;
    margin-bottom: 20px;
  }

  .faq-heading {
    font-size: 36px !important;
    line-height: 48px !important;
    margin-bottom: 0px !important;
    padding-bottom: 40px !important;
  }

  .faq-container {
    padding: 0;
    margin-bottom: 40px;
  }

  .faq-item {
    padding: 16px 0;
  }

  .portrait-left,
  .portrait-right {
    min-height: 360px;
    max-width: 280px;
    border-radius: 20px;
  }

  .desc {
    padding: 0 0.75rem;
    font-size: 0.875rem;
    text-align: center;
  }

  .container.py-5.pt-5.mt-5.mb-5 {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .contact-box {
    border-radius: 8px;
    width: auto;
    padding: 2.5rem 1.5rem !important;
  }

  .form-section h1 {
    font-size: 32px;
    line-height: 44px;
    text-align: left;
  }

  section.form-section button.footer-final-btn {
    font-size: 1.094rem;
    line-height: 1.563rem;
  }
  .service-block .col-sm-2::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;

    color: #ffffff;
    opacity: 1;
    visibility: visible;
    pointer-events: none;

    transition:
      transform 0.3s ease-in,
      color 0.3s ease;
  }

  .service-block.active .col-sm-2::after {
    content: "−";
    /* color: #ff5500; */
    transform: translateY(-50%) rotate(180deg);
  }

  .service-block.active .col-sm-2 h4 {
    color: #fafafa;
  }

  .hero-title,
  .sub-container,
  .hero-thirdline {
    font-size: 56px !important;
    line-height: 60px !important;
  }

  .inline-video {
    width: 120px;
    height: 55px;
  }
  .help-section h3 {
    font-size: 56px;
    line-height: 60px;
    text-align: center;
  }

  .hero-subtext {
    font-size: 16px;
    line-height: 24px;
    margin-top: 30px;
  }

  .logo-grid {
    margin: 40px auto;
    gap: 24px;
    display: flex;
    flex-direction: column;
  }

  .logo-section {
    padding: 0 0;
  }

  .logo-row-desktop {
    gap: 40px;
    padding: 10px 0;
  }

  .logo-row-desktop > div {
    min-width: 70px;
  }

  .logo-grid img,
  .logo-placeholder {
    width: 70px;
    height: 42px;
    font-size: 12px;
  }

  .chatbot-window {
    width: calc(100% - 20px);
    height: calc(100vh - 100px);
    bottom: 10px;
    right: 10px;
    border-radius: 15px;
    background: transparent !important;
  }

  .chatbot-toggle {
    bottom: 20px;
    right: 20px;
    min-width: 70px;
    height: 70px;
    padding: 15px;
  }

  .chatbot-toggle:hover {
    padding: 15px 25px 15px 15px;
  }

  .chatbot-toggle span {
    font-size: 16px;
  }

  .robot-icon {
    width: 45px;
    height: 45px;
  }

  .robot-icon img {
    width: 120%;
    height: 120%;
  }

  .chat-title h3 {
    font-size: 24px;
  }

  .chat-title p {
    font-size: 13px;
  }

  .testimonial-title {
    font-size: 48px;
    text-align: center;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .faded-divider-vertical {
    display: none;
  }

  .custom-modal .modal-dialog {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    max-width: calc(100vw - 20px);
    top: 10px;
    right: 10px;
  }

  .expertise-container {
    padding-bottom: 0;
  }

  .cards-container {
    position: relative !important;
    height: 380px !important; /* keep your existing value */
    padding-top: 0 !important;
    margin: 40px 0 80px !important;
  }

  .card > div {
    height: 60%;
  }

  .card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .Why-Kreeya-Design h1 {
    font-size: 3.5rem;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .Why-Kreeya-Design .item-box {
    padding: 40px 16px;
    gap: 24px;
  }
  .row.g-4.why-kreeya-row {
    --bs-gutter-y: 0;
  }

  .col-sm-12.mt-5.text-center.help-title-col {
    margin-top: 0 !important;
  }
  .item-box h3 {
    font-size: 1.5rem;
  }

  .item-box p {
    font-size: 0.9rem;
  }

  .form-section .vr {
    display: none;
  }

  .faq-question {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 25px;
    padding-bottom: 15px;
    gap: 12px;
  }

  .hero-section {
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  .hero-title,
  .sub-container,
  .hero-thirdline {
    font-size: 40px;
    line-height: 44px;
  }

  .hero-subtext {
    font-size: 12px !important;
    line-height: 20px;
    text-align: right;
  }

  .logo-section {
    margin-top: 0 !important;
  }

  .expertise-title {
    font-size: 40px !important;
    line-height: 44px !important;
    margin-top: 24px !important;
  }

  .expertise-subtext {
    font-size: 12px;
    line-height: 20px;
    margin-top: 40px;
    text-align: right !important;
  }

  .subtext-container {
    width: 95% !important;
    height: 80px !important;
    display: flex !important;
    justify-content: end !important;
    align-items: center !important;
  }

  .help-section h3 {
    font-size: 36px !important;
    line-height: 48px !important;
    margin-top: 40px;
  }

  .service-block .col-sm-2 h4 {
    font-size: 24px !important;
    line-height: 32px !important;
    margin: 0;
  }

  .testimonial-card {
    min-height: 0;
  }
  .Why-Kreeya-Design .item-box {
    padding: 40px 16px;
  }
  .craft-title {
    font-size: 40px !important;
    line-height: 44px !important;
  }

  .craft-section {
    padding: 40px 0 !important;
  }

  .team-text {
    font-size: 14px;
    line-height: 24px;
  }

  h3.faq-heading {
    font-size: 40px;
    line-height: 44px;
  }

  .faq-question {
    font-size: 18px;
    line-height: 32px;
    padding-bottom: 0;
  }

  .faq-section {
    padding-bottom: 0;
  }

  .chat-header {
    padding: 25px 10px;
    gap: 0;
  }

  .chat-title p {
    font-size: 12px;
    line-height: 12px;
  }

  .chat-title h3 {
    margin: 0;
  }
  .slider-left-container {
    position: relative;
    height: 300px;
  }
  #pin-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .slide-item {
    position: absolute !important;
    left: 5%;
    bottom: 0;
    transform: translateX(-50%);
    margin: 0 !important;
    width: 100%;
  }

  .slide-item img {
    width: 85% !important;
    max-width: 320px;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }

  .slide-item:nth-child(1) {
    bottom: 0px;
  }
  .slide-item:nth-child(2) {
    bottom: -20px;
  }
  .slide-item:nth-child(3) {
    bottom: -40px;
  }
  .slide-item:nth-child(4) {
    bottom: -80px;
  }

  .portfolio-scroll {
    align-items: flex-start !important;
    justify-content: center;
    min-height: 500px !important;
    height: auto !important;
    padding: 0 !important;
  }

  .margin-right {
    margin-left: 0 !important;
  }
  .testimonial-section .testimonial-title {
    padding-top: 30px;
  }
  .help-section {
    padding: 0 0 30px;
  }
  .col-sm-12.text-center {
    padding-top: 0 !important;
    margin-top: 30px;
  }
  .expertise-container {
    margin: 0;
  }
}

@media (min-width: 415px) and (max-width: 480px) {
  .Why-Kreeya-Design h1 {
    font-size: 2.5rem;
  }

  .form-section h1 {
    font-size: 2.1rem;
    line-height: 2.8rem;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 36px !important;
    line-height: 48px !important;
    margin-top: 20px;
  }

  .sub-container {
    font-size: 36px !important;
    line-height: 48px;
    flex-direction: row;
  }

  .inline-video {
    width: 135px;
    height: 70px;
  }

  .hero-subtext {
    font-size: 12px !important;
    max-width: 407px;
    line-height: 20px;
    margin-top: 24px;
    margin-right: 0;
  }

  .hero-title {
    font-size: 36px !important;
    line-height: 48px !important;
    margin-top: 20px;
  }

  .sub-container {
    font-size: 36px !important;
    line-height: 48px;
    flex-direction: row;
  }

  .inline-video {
    width: 135px;
    height: 50px;
  }

  .hero-thirdline {
    font-size: 36px !important;
    line-height: 48px !important;
  }

  .subtext-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center !important;
    align-items: center;
    text-align: end;
  }

  .expertise-subtext {
    font-size: 12px;
    line-height: 20px;
    text-align: right;
  }

  .expertise-title {
    font-size: 36px;
    line-height: 48px;
    margin-top: 45px;
  }

  .stack-section .cards-container {
    height: 25vh;
  }
  .service-block ul {
    padding: 0 !important;
  }
  .error-code {
    font-size: 12.5rem;
    line-height: 105%;
  }
  .error-heading {
    font-size: 2.688rem;
    line-height: 3rem;
  }
  .error-desc {
    font-size: 1rem;
    line-height: 1.563rem;
  }
  .logo-section {
    padding-top: 0 !important;
    margin: 0;
  }

  .logo-row-desktop {
    gap: 30px;
    padding: 0;
    margin: 0;
  }

  .expertise-title {
    font-size: 36px !important;
    line-height: 48px !important;
    margin-top: 0 !important;
  }

  .expertise-subtext {
    font-size: 12px;
    margin: 0;
    padding-top: 18px;
  }

  .logo-grid img,
  .logo-placeholder {
    width: 55px;
    height: 33px;
  }

  .logo-row-desktop > div {
    min-width: 60px;
  }

  .stack-section {
    height: 500px !important;
    margin-bottom: 40px !important;
  }

  .cards-container {
    position: relative !important;
    height: 300px !important;
    margin: 85px 0 80px !important;
    width: 100% !important;
    padding-top: 60px !important;
    perspective: 1000px !important;
  }

  .expertise-container {
    padding-bottom: 0;
  }

  .help-section h3 {
    font-size: 36px !important;
    line-height: 48px !important;
    padding: 0;

    margin: 0;
    padding-top: 40px;
  }

  .help-section .container .row .col-sm-12 {
    margin-bottom: 0 !important;
    padding-top: 24px !important;
  }

  .service-block .col-sm-2 {
    width: 100%;
    cursor: pointer;
    padding: 16px 15px !important;
    position: relative;
  }

  .testimonial-section {
    padding: 40px 0;
  }

  .testimonial-text {
    margin-top: 0;
    font-size: 12px;
    line-height: 20px;
  }

  .testimonial-name {
    margin-top: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .testimonial-role {
    font-size: 12px;
    line-height: 20px;
    padding-top: 3px;
  }

  .contact-box .row {
    gap: 0;
  }

  .craft-title {
    padding-bottom: 40px;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  p.team-text {
    margin-bottom: 0;
  }

  .team-text {
    font-size: 15px;
    line-height: 22px;
  }

  .craft-section {
    padding: 40px 0 60px;
  }

  .craft-title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .team-section .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .team-section .col-10 {
    flex: 0 0 49%;
    max-width: 49%;
    padding: 0 !important;
  }

  .team-section .col-10:first-child {
    flex: 0 0 50%;
  }

  .team-section .col-10:first-child .img-card {
    height: 420px !important;
    object-fit: cover;
  }

  .team-section .col-10:last-child {
    flex: 0 0 52%;
    display: flex;
    flex-direction: column;
  }

  .team-section .col-10:last-child .img-wrapper {
    margin-bottom: 12px !important;
  }

  .team-section .col-10:last-child .img-card {
    height: 282px !important;
  }

  .img-wrapper {
    border-radius: 12px 30px 12px 30px;
  }

  .team-text {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0;
    text-align: left;
    padding: 0;
    color: #003b63;
  }

  .team-section .justify-content-center {
    justify-content: flex-start !important;
    padding: 0 10px;
  }
}

@media (max-width: 414px) {
  .chatbot-toggle {
    padding: 0;
  }
  .stack-section {
    min-height: 43vh;
  }
  .cards-container {
    margin-top: 0 !important;
    padding-top: 60px !important;
    perspective: 1000px !important;
  }

  .testimonial-text {
    font-size: 12px;
    line-height: 20px;
  }

  .testimonial-card {
    flex-direction: row;
    margin-top: -55px;
  }

  .testimonial-name {
    font-size: 14px;
    line-height: 20px;
  }

  .testimonial-role {
    font-size: 12px;
    line-height: 20px;
  }

  .help-section .help-container h4 {
    font-size: 24px;
    line-height: 32px;
  }

  .service-block ul li {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-title {
    font-size: 36px !important;
    line-height: 48px !important;
    margin-top: 20px;
  }

  .sub-container {
    font-size: 36px !important;
    line-height: 48px;
    flex-direction: row;
  }

  .inline-video {
    width: 135px;
    height: 55px;
  }

  .hero-subtext {
    font-size: 0.75rem !important;
    max-width: 407px;
    line-height: 1.25rem;
    margin-top: 0px;
    margin-right: 0;
    text-align: center;
  }

  .hero-thirdline {
    font-size: 36px !important;
    line-height: 48px !important;
  }

  .subtext-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center !important;
    align-items: center;
    text-align: end;
  }

  .expertise-subtext {
    font-size: 12px;
    line-height: 20px;
    text-align: right;
  }

  .expertise-title {
    font-size: 36px;
    line-height: 48px;
    margin-top: 45px;
  }

  #client-section .row {
    gap: 75px;
  }

  .expertise-container {
    padding-bottom: 0;
  }

  .card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .logo-section {
    margin-top: 3rem;
  }

  .hero-section {
    padding-top: 90px;
    padding-bottom: 0 !important;
    min-height: 0;
  }

  .craft-title {
    font-size: 36px;
    line-height: 48px;
  }

  .team-text {
    font-size: 15px;
    line-height: 22px;
  }

  .craft-section {
    padding: 40px 0 60px;
  }

  .craft-title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .team-section .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .team-section .col-10 {
    flex: 0 0 49%;
    max-width: 49%;
    padding: 0 !important;
  }

  .team-section .col-10:first-child {
    flex: 0 0 50%;
  }

  .team-section .col-10:first-child .img-card {
    height: 420px !important;
    object-fit: cover;
  }

  .team-section .col-10:last-child {
    flex: 0 0 52%;
    display: flex;
    flex-direction: column;
  }

  .team-section .col-10:last-child .img-wrapper {
    margin-bottom: 12px !important;
  }

  .team-section .col-10:last-child .img-card {
    height: 282px !important;
  }

  .img-wrapper {
    border-radius: 12px 30px 12px 30px;
  }

  .team-text {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0;
    text-align: left;
    padding: 0;
    color: #003b63;
  }

  .team-section .justify-content-center {
    justify-content: flex-start !important;
    padding: 0 10px;
  }

  .faq-heading {
    font-size: 36px !important;
    line-height: 48px !important;
  }

  .faq-question {
    font-size: 18px;
    line-height: 32px;
    padding-bottom: 10px;
    gap: 8px;
  }

  .faq-answer {
    font-size: 15px;
    line-height: 25px;
  }

  .form-section h1 {
    font-size: 30px;
    line-height: 35px;
    text-align: center;
  }

  section.form-section button.footer-final-btn {
    font-size: 17px;
    line-height: 25px;
  }

  .error-code {
    font-size: 180px;
    line-height: 100%;
    letter-spacing: -8px;
  }

  .error-heading {
    font-size: 36px;
    line-height: 48px;
    letter-spacing: 0;
    font-weight: 600;
  }

  .error-desc {
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }

  .error-section {
    padding-top: 180px;
  }

  .Why-Kreeya-Design h1 {
    font-size: 2.25rem;
    line-height: 3rem;
    padding-bottom: 1.563rem;
  }

  .item-box {
    margin-bottom: 8px;
  }

  .item-box h3 {
    font-size: 1.3rem;
  }

  .item-box h5 {
    font-size: 1.75rem;
    line-height: 145%;
    margin: 0;
  }
  .item-box .sub-text {
    font-size: 1.063rem !important;
    line-height: 145%;
    margin: 0;
  }
  .item-box p {
    font-size: 0.75rem;
  }
  .col-12.col-sm-6.col-lg-6 {
    padding: 0;
  }
  .my-line {
    width: 40px;
  }
  .service-block ul {
    padding: 0 !important;
  }

  .cards-container {
    margin: 0 !important;
    padding: 0 !important;
    height: 348px !important;
  }
  .stack-section .cards-container .card {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 320px) {
  .cards-container {
    position: relative !important;
    height: 312px !important;

    width: 100% !important;
    perspective: 1000px !important;
    position: relative;
  }

  .card > div {
    height: 60%;
  }

  .card img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .hero-section {
    padding-bottom: 0 !important;
  }

  .stack-section {
    min-height: auto;
    min-height: auto !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    height: 64vh;
  }

  .expertise-subtext {
    font-size: 12px;
    text-align: center !important;
  }

  .craft-title {
    font-size: 36px !important;
    line-height: 40px !important;
  }

  .faq-heading {
    font-size: 36px !important;
    line-height: 42px !important;
    padding-bottom: 0 !important;
  }

  .error-heading {
    font-size: 30px;
    line-height: 36px;
  }

  .error-code {
    font-size: 140px;
  }
  .service-block ul {
    padding: 0 !important;
  }
}
