.hero__slide figure,
.hero__image {
  position: relative;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.65) 20%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.45) 65%
  );
}

.hero__content {
  position: absolute;
  z-index: 2;
}

span.service-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  display: block;
}

html:not(.theme-color-yellow) span.service-title {
  color: var(--primary);
}

span.service-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

html:not(.theme-color-yellow) span.service-desc {
  color: #64748b;
}

.footer__tender-images,
.footer__tender-text {
  text-align: center;
}

.footer__tender-images img {
  width: 100%;
  max-width: 250px;
  height: 100%;
  padding: 1rem 0;
}

.footer__tender-imgcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
}

@media (max-width: 768px) {
  .footer__tender-imgcontainer {
    flex-direction: column;
  }
}

a.hero__more.button:hover {
  transform: translateY(-3px);
}

html:not(.theme-color-yellow) a.hero__more.button:hover {
  background-color: #ffd91a;
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.5);
}

a.hero__more.button {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  font-family: var(--font-main);
  text-transform: none;
}

html:not(.theme-color-yellow) a.hero__more.button {
  background-color: var(--secondary);
  color: var(--primary) !important;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
  text-shadow: none;
}

.hero__title {
  max-width: 50%;
  font-family: var(--font-main);
  line-height: 1.2;
  text-transform: none;
  font-size: 60px;
}

li:has(a[href$="/kapcsolat"]) {
  display: none !important;
}

.kapcsolat-form {
  margin-top: 3rem;
}

main > aside.carousel-section:last-child,
main > section:last-child {
  padding-bottom: 0;
}

@media (min-width: 1200px) {
  .cover + .carousel-section,
  .cover + section {
    padding-top: 0;
  }
}

.carousel-section,
section {
  padding: 0;
}

.documents-section.main-page ul.doc-grid {
  grid-template-columns: repeat(1, 1fr);
}

html:not(.theme-color-yellow) .header {
  background-color: #1c1c1c;
}

@media (min-width: 1200px) {
  .footer__bottom-inner {
    padding: 20px 0;
  }
}

li:has(svg.icon--heart),
li:has(svg.icon--heart-empty),
li:has(svg.icon--random),
li:has(svg.icon--search),
li:has(svg.icon--user),
li:has(svg.icon--sign-out-alt),
.cover.cover--static,
.article__footer,
icon--user-plus,
button[data-tabhref="#usermenu"] {
  display: none !important;
}

button.drawer__tab {
  justify-content: flex-start;
  padding: 15px;
}

html:not(.theme-color-yellow) .header__top {
  background-color: var(--primary);
  color: white;
}

@media (min-width: 1200px) {
  .site-wrap {
    padding-top: 124.93px;
  }
}

section.homepage-static-content {
  padding-top: 0;
  margin-top: 0;
}

section.hero-custom {
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 1200px) {
  .header__middle {
    padding: 14px 0;
    transition-timing-function: ease-out;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary: #1f559b;
  --primary-dark: #143d72;
  --secondary: #f1cf27;
  --accent: #f1cf27;
  --text-main: #1a1a1a;
  --font-main: "Inter", sans-serif;
  --section-padding: 60px;
}

html:not(.theme-color-yellow) {
  --primary-light: #0a3d91cc;
  --text: #222222;
  --text-light: #666666;
  --white: #ffffff;
  --bg-light: #f4f6f8;
  --bg-page: #f8f9fc;
  --card-bg: #ffffff;
  --shadow-soft: 0 20px 40px -10px rgba(31, 85, 155, 0.15);
  --shadow-hover: 0 30px 60px -12px rgba(31, 85, 155, 0.25);
}

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

body {
  line-height: 1.5;
}

html:not(.theme-color-yellow) body {
  background-color: var(--bg-page);
  color: var(--text-main);
}

.container {
  max-width: 1600px;
  margin: 0 auto;
}

/* Common Button Styles */

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

html:not(.theme-color-yellow) .btn {
  background-color: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
}

html:not(.theme-color-yellow) .btn:hover {
  background-color: #ffd91a;
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.5);
}

html:not(.theme-color-yellow) .btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: none;
}

.btn-white:hover {
  transform: translateY(-2px);
}

html:not(.theme-color-yellow) .btn-white:hover {
  background: #f0f0f0;
  box-shadow: none;
}

.btn-outline {
  border-width: 2px;
  border-style: solid;
}

html:not(.theme-color-yellow) .btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  box-shadow: none;
}

.btn-outline:hover {
  transform: translateY(-2px);
}

html:not(.theme-color-yellow) .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 15px 0 20px;
}

html:not(.theme-color-yellow) .section-title {
  color: var(--primary);
}

/* Hero section css start */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--primary) 25%, #4379c0 100%);
  padding: 80px 20px 120px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .hero-section {
  background: var(--primary);
  color: var(--white);
}

/* Background pattern overlay */

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  pointer-events: none;
}

html:not(.theme-color-yellow) .hero-section::before {
  background-size: 40px 40px;
}

.hero-container {
  max-width: 1630px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

/* Image Wrapper with decoration */

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.img-wrapper {
  position: relative;
  display: inline-block;
}

.img-wrapper:hover::before {
  transform: translate(5px, 5px);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 220px;
  object-fit: cover;
  max-height: 550px;
  display: block;
  border-width: 8px;
  border-style: solid;
}

html:not(.theme-color-yellow) .hero-image img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--secondary);
}

/* Experience Badge */

.exp-badge {
  position: absolute;
  bottom: 20px;
  left: -60px;
  border-width: 5px;
  border-style: solid;
  padding: 15px 25px;
  min-width: 200px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
  animation: floatBadge 4s ease-in-out infinite;
}

html:not(.theme-color-yellow) .exp-badge {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.exp-badge .bad-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

html:not(.theme-color-yellow) .exp-badge .bad-num {
  color: var(--primary);
}

.exp-badge .bad-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .exp-badge .bad-text {
  color: var(--text);
}

.company-name {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

html:not(.theme-color-yellow) .company-name {
  color: var(--secondary);
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-section p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 90%;
}

.buttonarea {
  display: flex;
  gap: 20px;
}

.hero-trust {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
}

html:not(.theme-color-yellow) .hero-trust {
  color: #dbe4f3;
}

.hero-trust::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

/* Wave Divider */

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

html:not(.theme-color-yellow) .hero-wave .shape-fill {
  fill: #ffffff;
}

/* Tablet & Desktop Tweaks */

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .img-wrapper {
    max-width: 80%;
  }

  .exp-badge {
    left: -10px;
    bottom: 20px;
    padding: 10px 15px;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-bottom: 80px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .exp-badge {
    display: none;
  }

  .img-wrapper {
    max-width: 100%;
  }

  .hero-image img {
    max-height: 300px;
  }
}

/* Hero section css end */

/* About section css start */

.about-section {
  padding: 100px 20px;
  position: relative;
  z-index: 1;
}

html:not(.theme-color-yellow) .about-section {
  background-color: var(--bg-light);
  color: var(--text);
}

.about-container {
  max-width: 1630px;
  margin: 0 auto;
}

.about-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* Image styles */

.about-image-col {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  border-radius: 12px;
}

html:not(.theme-color-yellow) .about-img-wrapper {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

.about_satisfied {
  position: absolute;
  bottom: -50px;
  right: -30px;
  min-height: 100px;
  width: auto;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  padding: 25px 30px;
}

html:not(.theme-color-yellow) .about_satisfied {
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: -40px 24px 60px rgba(5, 30, 54, 0.04);
}

.about_satisfied h3 {
  font-size: 30px;
  margin-bottom: 5px;
}

html:not(.theme-color-yellow) .about_satisfied h3 {
  color: var(--primary);
}

.img-decoration {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 50%;
  height: 50%;
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-left-width: 5px;
  border-left-style: solid;
  border-radius: 0 0 0 12px;
  z-index: -1;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

html:not(.theme-color-yellow) .img-decoration {
  border-bottom-color: var(--secondary);
  border-left-color: var(--secondary);
}

.about-img-wrapper:hover .img-decoration {
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

/* Text styles */

.section-title-left {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
  position: relative;
}

html:not(.theme-color-yellow) .section-title-left {
  color: var(--primary);
}

.section-title-left::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin-top: 15px;
  border-radius: 2px;
}

.lead-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.6;
}

html:not(.theme-color-yellow) .lead-text {
  color: #2d3748;
}

.about-text-col p {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 1.05rem;
}

html:not(.theme-color-yellow) .about-text-col p {
  color: #5a6b7c;
}

.btn.mt20 {
  margin-top: 20px;
}

/* Features Grid (Cards) */

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 70px;
}

.feature-card {
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-bottom-width: 3px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .feature-card {
  background: var(--white);
  border-bottom-color: var(--secondary);
}

.feature-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  opacity: 0.4;
  border-width: 0 0 40px 40px;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}

html:not(.theme-color-yellow) .feature-card::before {
  border-color: transparent transparent var(--primary) transparent;
}

.feature-card:hover::before {
  border-width: 0 0 20px 20px;
  transition: all 0.3s ease-in-out;
}

.feature-card:hover {
  transform: translateY(-5px);
}

html:not(.theme-color-yellow) .feature-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--secondary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(31, 85, 155, 0.05);
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html:not(.theme-color-yellow) .feature-icon {
  color: var(--primary);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

html:not(.theme-color-yellow) .feature-icon svg {
  stroke-width: 1.5px;
}

.feature-card:hover .feature-icon {
  transform: translateY(-5px) scale(1.05);
}

html:not(.theme-color-yellow) .feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(31, 85, 155, 0.15);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

html:not(.theme-color-yellow) .feature-card h3 {
  color: var(--primary);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

html:not(.theme-color-yellow) .feature-card p {
  color: #64748b;
}

/* Responsiveness */

@media (max-width: 991px) {
  .about-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .about-img-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .section-title-left {
    font-size: 2rem;
    margin-top: 50px;
  }
}

/* About section css end */

/* Why Choose Us section css start */

.why-us-section {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

html:not(.theme-color-yellow) .why-us-section {
  background-color: var(--primary);
  color: var(--white);
}

/* Background pattern */

.why-us-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

html:not(.theme-color-yellow) .why-us-section::before {
  background-size: 50px 50px;
}

html:not(.theme-color-yellow) .why-us-section .section-title {
  color: var(--white);
}

html:not(.theme-color-yellow) .why-us-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1630px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  transition: all 0.3s ease;
  position: relative;
}

html:not(.theme-color-yellow) .advantage-card {
  border-color: rgba(255, 255, 255, 0.1);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

html:not(.theme-color-yellow) .advantage-card:hover {
  border-color: var(--secondary);
}

.adv-number {
  font-size: 1.5rem;
  font-weight: 900;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 3px;
  position: absolute;
  top: -20px;
  right: -20px;
  line-height: 1;
  border-radius: 50%;
  border-width: 1px;
  border-style: solid;
  transition: all 0.3s ease;
}

html:not(.theme-color-yellow) .adv-number {
  color: rgba(255, 255, 255, 1);
  background: var(--primary);
  border-color: var(--secondary);
}

.advantage-card:hover .adv-number {
  transform: scale(1.05);
}

html:not(.theme-color-yellow) .advantage-card:hover .adv-number {
  color: var(--secondary);
}

.adv-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  padding-right: 20px;
}

html:not(.theme-color-yellow) .adv-content h3 {
  color: var(--secondary);
}

.adv-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
}

.adv-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

html:not(.theme-color-yellow) .adv-content p {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-us-section {
    padding: 60px 20px;
  }
}

/* Why Choose Us section css end */

/* Services section css start */

.services-section {
  padding: 100px 20px;
  position: relative;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
}

html:not(.theme-color-yellow) .services-section {
  background-color: var(--white);
  color: var(--text);
  background-size: 30px 30px;
}

.services-section .container {
  max-width: 1630px;
  margin: 0px auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

html:not(.theme-color-yellow) .section-subtitle {
  color: var(--secondary);
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

html:not(.theme-color-yellow) .section-description {
  color: #64748b;
}

.services_inner {
  display: flex;
  gap: 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0;
}

.service_img {
  max-width: 100%;
  width: 100%;
}

.service_img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.services-section .service-card {
  padding: 30px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-width: 1px;
  border-style: solid;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  text-decoration: none;
  flex-direction: column;
}

html:not(.theme-color-yellow) .services-section .service-card {
  background: var(--white);
  border-color: #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.services-section .service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary);
  opacity: 0.05;
  transition: height 0.3s ease;
  z-index: 0;
}

.services-section .service-card:hover::after {
  height: 100%;
}

.services-section .service-card:hover {
  transform: translateY(-5px);
}

html:not(.theme-color-yellow) .services-section .service-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.services-section .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border-width: 1px;
  border-style: solid;
}

html:not(.theme-color-yellow) .services-section .service-icon {
  background-color: #f8fafc;
  color: var(--primary);
  border-color: #e2e8f0;
}

.services-section .service-card:hover .service-icon {
  transform: none;
}

html:not(.theme-color-yellow)
  .services-section
  .service-card:hover
  .service-icon {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 10px 20px rgba(10, 61, 145, 0.15);
  border-color: var(--primary);
}

.services-section .service-icon svg {
  width: 32px;
  height: 32px;
}

.services-section .service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

html:not(.theme-color-yellow) .services-section .service-card h3 {
  color: var(--primary);
}

.services-section .service-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

html:not(.theme-color-yellow) .services-section .service-card p {
  color: #64748b;
}

.service_btn {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Services section css end */

/* Partners section css start */

.partners-section {
  padding: 80px 20px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .partners-section {
  background-color: var(--white);
  color: var(--text);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 60px;
  max-width: 1630px;
  margin: 0 auto;
}

.partner-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

html:not(.theme-color-yellow) .partner-logo {
  filter: grayscale(100%);
}

.partner-logo[src*="minima"] {
  padding: 5px 10px;
  border-radius: 2px;
}

html:not(.theme-color-yellow) .partner-logo[src*="minima"] {
  background-color: #333;
}

/* Specific adjustments for wide logos */

.partner-logo[src*="intercars"],
.partner-logo[src*="pennipes"],
.partner-logo[src*="merkantil"] {
  height: auto;
  width: 160px;
  max-height: 80px;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

html:not(.theme-color-yellow) .partner-logo:hover {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .partners-section {
    padding: 60px 20px;
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    justify-items: center;
    align-items: center;
  }

  .partner-logo {
    height: 50px;
    max-height: 45px;
    max-width: 140px;
  }

  /* Adjust wide logos for mobile grid */

  .partner-logo[src*="intercars"],
  .partner-logo[src*="pennipes"],
  .partner-logo[src*="merkantil"] {
    width: 100%;
    max-width: 130px;
    height: auto;
  }
}

/* Partners section css end */

/* Documents section css start */

.documents-section {
  padding: 100px 20px;
  position: relative;
  text-align: center;
}

html:not(.theme-color-yellow) .documents-section {
  background-color: var(--primary);
  color: var(--white);
}

.doc-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.doc-text .section-title {
  text-align: center;
  margin-bottom: 20px;
}

html:not(.theme-color-yellow) .doc-text .section-title {
  color: var(--white);
}

.doc-text .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.doc-text p {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.doc-card {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 25px 30px;
  border-radius: 12px;
  text-decoration: none;
  border-width: 1px;
  border-style: solid;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: left;
}

html:not(.theme-color-yellow) .doc-card {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.doc-card:hover {
  transform: translateY(-5px);
}

html:not(.theme-color-yellow) .doc-card:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.doc-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

html:not(.theme-color-yellow) .doc-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

html:not(.theme-color-yellow) .doc-card:hover .doc-icon {
  background: var(--bg-light);
  color: var(--primary);
}

.doc-info {
  flex: 1;
}

.doc-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.doc-info span {
  font-size: 0.9rem;
  opacity: 0.7;
  display: block;
}

.doc-download {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

html:not(.theme-color-yellow) .doc-download {
  background: var(--secondary);
  color: var(--primary);
}

.doc-card:hover .doc-download {
  opacity: 1;
  transform: scale(1);
}

.doc-download svg,
.doc-icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

/* Documents section css end */

/* Contact section css start */

.contact-section {
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

html:not(.theme-color-yellow) .contact-section {
  background-color: var(--white);
  color: var(--text);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1150px;
  margin: 0 auto;
  align-items: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  z-index: 1;
  position: relative;
  margin-bottom: 10px;
}

.info_main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  position: relative;
  border-width: 1px;
  border-style: solid;
}

html:not(.theme-color-yellow) .info_main {
  background: var(--white);
  border-color: #dddddd;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
}

.info_main::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  left: -10px;
  top: -10px;
  border-radius: 18px;
  z-index: -5;
  transition: all 0.3s ease-in-out;
}

.info-item:hover .info_main::after {
  left: 0;
  top: 0;
  transition: all 0.3s ease-in-out;
}

.info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  border-width: 1px;
  border-style: solid;
}

html:not(.theme-color-yellow) .info-icon {
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: var(--primary);
  border-color: #f1f5f9;
}

.info-content h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

html:not(.theme-color-yellow) .info-content h3 {
  color: #94a3b8;
}

.info-content p {
  font-size: 1rem;
  margin: 0 0 4px 0;
  line-height: 1.5;
  font-weight: 500;
}

html:not(.theme-color-yellow) .info-content p {
  color: #1e293b;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
  position: relative;
}

html:not(.theme-color-yellow) .text-link {
  color: var(--secondary);
}

.text-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.text-link:hover::after {
  width: 100%;
}

.phone-number {
  font-size: 1.25rem !important;
  font-weight: 700;
  margin-bottom: 2px !important;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

html:not(.theme-color-yellow) .phone-number {
  color: var(--primary) !important;
}

.phone-sub {
  font-size: 1rem;
  font-weight: 500;
}

html:not(.theme-color-yellow) .phone-sub {
  color: #1e293b;
}

.info-content a {
  font-size: 1rem;
  font-weight: 500;
}

html:not(.theme-color-yellow) .info-content a {
  color: #1e293b;
}

html:not(.theme-color-yellow) .info-content a:hover {
  color: var(--primary);
}

.rescue-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-width: 1px;
  border-style: solid;
}

html:not(.theme-color-yellow) .rescue-badge {
  background-color: #fffbeb;
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.1);
}

.schedule {
  margin-top: 6px;
}

.day-row {
  display: flex;
  justify-content: space-between;
  max-width: 240px;
  gap: 15px;
  font-size: 0.95rem;
  margin-bottom: 4px;
  border-bottom-width: 1px;
  border-bottom-style: dashed;
  padding-bottom: 4px;
}

html:not(.theme-color-yellow) .day-row {
  color: #64748b;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.day-row:last-child {
  border-bottom: none;
}

.day-row strong {
  font-weight: 600;
}

html:not(.theme-color-yellow) .day-row strong {
  color: var(--text);
}

html:not(.theme-color-yellow) .day-row.closed strong {
  color: #ef4444;
}

.map-wrapper {
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border-width: 4px;
  border-style: solid;
  transform: translateZ(0);
}

html:not(.theme-color-yellow) .map-wrapper {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--white);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: filter 0.5s ease;
}

html:not(.theme-color-yellow) .map-wrapper iframe {
  filter: grayscale(100%) contrast(1.1);
}

html:not(.theme-color-yellow) .map-wrapper:hover iframe {
  filter: grayscale(0%) contrast(1);
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .map-wrapper {
    height: 400px;
  }

  .contact-info-list {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media only screen and (max-width: 1024px) {
  .services_inner {
    flex-wrap: wrap;
  }

  .services-grid {
    max-width: fit-content;
  }

  .service_img {
    max-width: unset;
    width: auto;
    height: auto;
    margin: 0 auto;
    text-align: center;
  }

  .buttonarea {
    justify-content: center;
  }
}

@media only screen and (max-width: 768px) {
  .btn {
    max-width: max-content;
    min-width: max-content;
  }

  .about_satisfied {
    right: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero-container {
    display: inline-block;
  }

  .buttonarea {
    gap: 15px;
  }

  .hero-image {
    margin-top: 30px;
  }

  .img-decoration {
    left: -15px;
    bottom: -15px;
  }

  .adv-number {
    top: -15px;
    right: -10px;
  }
}

.services-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 30px;
}

/* Header Section */

.services-intro {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html:not(.theme-color-yellow) .services-intro h1 {
  color: var(--text-main);
  background-clip: text;
}

.services-intro p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 0;
}

html:not(.theme-color-yellow) .services-intro p {
  color: var(--text-light);
}

.services-intro::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 30px auto 0;
  border-radius: 2px;
}

/* Grid Layout */

.services-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Card Design */

.services-showcase .service-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

html:not(.theme-color-yellow) .services-showcase .service-card {
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.services-showcase .service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform: translate(-50%);
  height: 5px;
  background-color: var(--secondary);
  transition: all 0.3s ease-in-out;
  z-index: 0;
}

.services-showcase .service-card:hover::after {
  width: 100%;
  transition: all 0.3s ease-in-out;
}

html:not(.theme-color-yellow) .services-showcase .service-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.services-showcase .service-card ~ .text-only-card:hover {
  border: none;
}

html:not(.theme-color-yellow)
  .services-showcase
  .service-card
  ~ .text-only-card:hover {
  background: var(--primary);
}

.services-showcase .service-card .btn_primary {
  display: inline-block;
  width: max-content;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

html:not(.theme-color-yellow) .services-showcase .service-card .btn_primary {
  background: var(--primary);
  color: var(--card-bg);
}

.services-showcase .service-card .btn_primary::before {
  content: "";
  width: 30%;
  background: var(--text-main);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  opacity: 0;
  border-radius: 50px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.services-showcase .service-card .btn_primary:hover::before {
  width: 100%;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

/* Image styling */

.services-showcase .card-image {
  height: 340px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.services-showcase .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.services-showcase .service-card:hover .card-image img {
  transform: scale(1.08);
}

/* Gradient overlay on hover */

.services-showcase .card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services-showcase .service-card:hover .card-image::after {
  opacity: 1;
}

/* Content styling */

.services-showcase .card-content {
  position: relative;
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  z-index: 0;
}

/* .card-content::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: -1;
  opacity: 0.06;
  transform: scale(2.5);
  transition: all 0.3s ease-in-out;
} */

.services-showcase .card-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

html:not(.theme-color-yellow) .services-showcase .card-content h2 {
  color: var(--text-main);
}

.services-showcase .service-card:hover .card-content::before {
  transform: scale(4);
  transition: all 0.3s ease-in-out;
}

/* 
.services-showcase .service-card:hover .card-content h2 {
  color: #fff;
}
.services-showcase .service-card:hover .card-content p {
  color: #ddd;
} 
*/

.services-showcase .card-content p {
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 400;
}

html:not(.theme-color-yellow) .services-showcase .card-content p {
  color: var(--text-light);
}

.services-showcase .service-card:hover::before {
  opacity: 1;
}

/* Special Styling for Text Only Card (Claims Handling) */

.services-showcase .text-only-card {
  justify-content: center;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
}

html:not(.theme-color-yellow) .services-showcase .text-only-card {
  background: var(--primary);
  color: white;
}

.services-showcase .text-only-card::before {
  background: var(--accent);
}

.services-showcase .text-only-card .card-content {
  align-items: center;
  text-align: center;
  z-index: 2;
}

.services-showcase .text-only-card .icon-header {
  font-size: 3.5rem;
  margin-bottom: 0;
}

html:not(.theme-color-yellow) .services-showcase .text-only-card .icon-header {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.services-showcase .text-only-card .card-content h2 {
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 1.1px;
}

html:not(.theme-color-yellow)
  .services-showcase
  .text-only-card
  .card-content
  h2 {
  color: white;
}

html:not(.theme-color-yellow)
  .services-showcase
  .text-only-card:hover
  .card-content
  h2 {
  color: white;
}

html:not(.theme-color-yellow)
  .services-showcase
  .text-only-card
  .card-content
  p {
  color: rgba(255, 255, 255, 0.9);
}

/* Decorative background for text card */

.services-showcase .text-only-card::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  top: -50%;
  left: -50%;
  z-index: 1;
  transition: transform 0.6s ease;
}

.services-showcase .text-only-card:hover::after {
  transform: translate(10%, 10%);
}

/* --- New Sections Styles --- */

/* Process Section */

.process-section {
  margin-bottom: 80px;
  padding-top: 80px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}

html:not(.theme-color-yellow) .process-step {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

html:not(.theme-color-yellow) .step-number {
  background: var(--primary);
  color: white;
}

.process-step h3 {
  margin-bottom: 10px;
}

html:not(.theme-color-yellow) .process-step h3 {
  color: var(--text-main);
}

.process-step p {
  font-size: 0.95rem;
}

html:not(.theme-color-yellow) .process-step p {
  color: var(--text-light);
}

/* CTA Section */

.cta-section {
  border-radius: 24px;
  padding: 0 20px;
  margin-top: 50px;
  text-align: center;
  margin-bottom: 40px;
}

html:not(.theme-color-yellow) .cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
}

.cta-section .cta-content {
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 40px;
}

html:not(.theme-color-yellow) .cta-section .cta-content {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Testimonials Section */

.testimonials-section {
  margin-bottom: 80px;
  padding: 60px 20px;
  border-radius: 20px;
}

html:not(.theme-color-yellow) .testimonials-section {
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  border-radius: 12px;
  position: relative;
}

html:not(.theme-color-yellow) .testimonial-card {
  background: #f8f9fc;
}

.testimonial-card .stars {
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
}

html:not(.theme-color-yellow) .testimonial-card .quote {
  color: var(--text-main);
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

html:not(.theme-color-yellow) .author-avatar {
  background: var(--primary);
  color: white;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

html:not(.theme-color-yellow) .author-info h4 {
  color: var(--text-main);
}

.author-info span {
  font-size: 0.85rem;
}

html:not(.theme-color-yellow) .author-info span {
  color: var(--text-light);
}

/* FAQ Section */

.faq-section {
  margin-bottom: 80px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-card {
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s;
  border-left-width: 4px;
  border-left-style: solid;
}

html:not(.theme-color-yellow) .faq-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left-color: var(--accent);
}

.faq-card:hover {
  transform: translateY(-3px);
}

.faq-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

html:not(.theme-color-yellow) .faq-card h3 {
  color: var(--text-main);
}

.faq-card p {
  line-height: 1.6;
}

html:not(.theme-color-yellow) .faq-card p {
  color: var(--text-light);
}

@media (max-width: 600px) {
  .services-intro h1 {
    font-size: 2.5rem;
  }

  .services-container {
    padding: 40px 20px;
  }

  .services-showcase .card-image {
    height: 280px;
  }

  .services-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-showcase .text-only-card {
    grid-column: auto;
    min-height: auto;
  }

  .services-showcase .card-content {
    padding: 20px;
  }
}

/* Match homepage info-icon style for service cards */

.detials-card .info-icon {
  width: 55px;
  height: 60px;
  border-width: 1px;
  border-style: solid;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 10px;
}

html:not(.theme-color-yellow) .detials-card .info-icon {
  border-color: rgb(226, 232, 240);
  background: #efefef;
}

.services-detials {
  max-width: 1630px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

ul {
  padding-left: 0;
  list-style: none;
}

ul li a {
  text-decoration: none;
}

.details-header {
  padding: 80px 40px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

html:not(.theme-color-yellow) .details-header {
  background: var(--primary);
  color: var(--card-bg);
}

.details-header::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 100%;
  background: var(--secondary);
  top: 0px;
  left: -80px;
  transform: skew(-30deg);
  opacity: 0.1;
}

.details-header::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 100%;
  background: var(--secondary);
  top: 0px;
  right: -80px;
  transform: skew(-30deg);
  opacity: 0.1;
}

.details-header h1 {
  font-size: 50px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* .details-header ul li {
  display: inline-block;
  padding: 5px 20px;
}
.details-header ul li a {
  color: var(--card-bg);
} */

/* details main  */

.details-main {
  display: flex;
  margin-top: 50px;
}

.details-main .left_services {
  width: 30%;
  border-radius: 12px;
  overflow: hidden;
  height: max-content;
  position: sticky;
  top: 30px;
  border-width: 1px;
  border-style: solid;
}

html:not(.theme-color-yellow) .details-main .left_services {
  border-color: #dddddd;
}

.details-main .left_services h3 {
  font-size: 30px;
  padding: 10px 20px;
  font-weight: 600;
}

html:not(.theme-color-yellow) .details-main .left_services h3 {
  color: var(--card-bg);
  background: var(--primary);
}

.details-main .left_services ul {
  position: relative;
  z-index: 1;
}

.details-main .left_services ul::before {
  content: "";
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0.1;
  background: #ddd;
  z-index: -1;
}

.details-main .left_services ul li {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  display: block;
}

html:not(.theme-color-yellow) .details-main .left_services ul li {
  border-bottom-color: #dddddd;
}

.details-main .left_services ul li:last-child {
  border-bottom: 0px;
}

.details-main .left_services ul li a {
  padding: 15px 20px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html:not(.theme-color-yellow) .details-main .left_services ul li a {
  color: #111;
}

.details-main .left_services ul li a:hover {
  transition: all 0.3s ease-in-out;
}

html:not(.theme-color-yellow) .details-main .left_services ul li a:hover {
  background: var(--primary);
  color: var(--card-bg);
}

/* detials-area */

.detials-area {
  padding-left: 50px;
  width: 70%;
}

.detials-area .details-img {
  width: 100%;
  aspect-ratio: 4/2.2;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.detials-area .details-img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  opacity: 0.1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scaleX(0) skew(45deg);
  transition: all 0.5s ease-in-out;
}

.detials-area .details-img:hover::before {
  transform: translate(-50%, -50%) scaleX(2) skew(45deg);
  transition: all 0.5s ease-in-out;
}

.detials-area .details-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-paragraph {
  padding: 25px 0px;
}

.top-paragraph p {
  font-size: 17px;
  margin-bottom: 10px;
}

.detials-area .big-title {
  font-size: 30px;
  margin-bottom: 0;
}

html:not(.theme-color-yellow) .detials-area .big-title {
  color: var(--primary);
}

.detials-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
}

.detials-card .card-area {
  padding: 20px 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 15px;
}

html:not(.theme-color-yellow) .detials-card .card-area {
  border-color: #dddddd;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.08);
}

.detials-card .card-area h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

html:not(.theme-color-yellow) .detials-card .card-area h4 {
  color: var(--primary);
}

.detials-card .card-area svg {
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
}

html:not(.theme-color-yellow) .detials-card .card-area svg {
  color: var(--primary);
}

html:not(.theme-color-yellow) .detials-card .card-area svg path {
  fill: var(--primary);
}

.benifit {
  padding: 80px 0px;
}

.benifit h3 {
  font-size: 30px;
  margin-bottom: 20px;
}

html:not(.theme-color-yellow) .benifit h3 {
  color: var(--primary);
}

.benifit ul li {
  display: block;
  padding: 20px 20px 20px 35px;
  margin: 15px 0;
  font-size: 18px;
  border-radius: 8px;
  position: relative;
}

html:not(.theme-color-yellow) .benifit ul li {
  background: var(--primary);
  background: #1f559b;
  background: linear-gradient(
    90deg,
    rgba(31, 85, 155, 1) 40%,
    rgba(31, 85, 155, 0.2) 100%
  );
  color: var(--card-bg);
}

.benifit ul li::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50px;
  left: 10px;
  top: calc(50% - 7px);
}

@media only screen and (max-width: 991px) {
  .details-main {
    flex-direction: column-reverse;
  }

  .details-main .left_services,
  .detials-area {
    width: 100%;
    padding-left: 0;
  }

  .detials-card {
    grid-template-columns: repeat(1, 1fr);
  }

  .details-header::before {
    display: none;
  }

  .details-header h1 {
    font-size: 32px;
  }
}

.top-card-area {
  padding: 0 20px;
}

.top-card {
  height: 300px;
  width: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/services/windshield-repair.jpg") no-repeat center
      center/cover;
  margin-top: 40px;
  border-radius: 20px;
  padding: 0 20px;
  position: relative;
}

.top-card::after {
  content: "About Us";
  position: absolute;
  top: 0;
  left: 0;
  background: #f8f9fc;
  font-size: 50px;
  padding: 0 20px 5px 0;
  font-weight: 700;
  border-bottom-right-radius: 30px;
}

.about-us-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 20px;
}

.about-us-section > div {
  margin-top: 50px;
}

.about-us-section > .about-left {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: start;
  justify-content: space-between;
}

.about-left svg {
  width: auto;
  height: 50px;
  border-radius: 15px;
}

html:not(.theme-color-yellow) .about-left svg {
  fill: #ddd;
}

.about-left p {
  font-weight: 400;
  font-size: 20px;
}

html:not(.theme-color-yellow) .about-left p {
  color: #111;
}

.about-left .card-image {
  width: 100%;
  height: 150px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/services/windshield-repair.jpg") no-repeat center
      center/cover;
}

.about-us-section > .about-right {
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

html:not(.theme-color-yellow) .about-us-section > .about-right {
  background: var(--primary);
  color: #fff;
}

.about-right .title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

html:not(.theme-color-yellow) .about-right .title {
  color: var(--secondary);
}

.about-right .title svg {
  width: 30px;
  height: 30px;
}

html:not(.theme-color-yellow) .about-right .title svg {
  fill: var(--secondary);
}

.about-right h2 {
  font-weight: 600;
}

.about-right p {
  font-weight: 300;
  letter-spacing: 0.02em;
}

.single-card {
  border-width: 2px;
  border-style: solid;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr;
  margin: 50px 20px 0 20px;
}

html:not(.theme-color-yellow) .single-card {
  border-color: #ddd;
}

.single-card > div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  gap: 15px;
  padding: 40px 20px;
}

.single-card h2 {
  font-size: 50px;
}

html:not(.theme-color-yellow) .single-card h2 {
  color: var(--primary);
}

.single-card p {
  font-size: 18px;
  font-weight: 400;
}

html:not(.theme-color-yellow) .single-card p {
  color: #444;
}

.single-card hr {
  border: none;
  width: 2px;
  height: 100%;
  margin: 0;
}

html:not(.theme-color-yellow) .single-card hr {
  background: #ddd;
}

.keypoint-section {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 30px;
  margin: 50px auto;
  padding: 0 20px;
}

.keypoint-section .card {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: start;
  justify-content: center;
  padding: 30px 30px;
  border-width: 2px;
  border-style: solid;
}

html:not(.theme-color-yellow) .keypoint-section .card {
  border-color: #ddd;
}

.keypoint-section .card h2 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 40px;
}

html:not(.theme-color-yellow) .keypoint-section .card h2 {
  color: var(--primary);
}

.keypoint-section .card p {
  font-size: 18px;
  font-weight: 400;
}

html:not(.theme-color-yellow) .keypoint-section .card p {
  color: #444;
}

.keypoint-section .card:last-child {
  border: none;
  width: 100%;
  height: 100%;
}

html:not(.theme-color-yellow) .keypoint-section .card:last-child {
  background-image: url("../images/services/windshield-repair.jpg");
  background-size: cover;
  background-position: center;
}

/* Responsive Styles */

@media (max-width: 991px) {
  .about-us-section {
    grid-template-columns: 1fr;
  }

  .keypoint-section {
    grid-template-columns: 1fr;
  }

  .single-card {
    grid-template-columns: 1fr;
    margin: 50px 20px;
    padding: 0 !important;
  }

  .single-card hr {
    height: 2px;
    width: 100%;
  }

  /* .container {
    padding: 0 20px;
  }
  .top-card-area {
    padding: 0 20px;
  } */

  .keypoint-section .card:last-child {
    aspect-ratio: 3/2;
  }
}

/* Responsive Styles */

@media (max-width: 768px) {
  .cta-section {
    padding: 40px 20px;
  }

  .top-card::after {
    font-size: 30px;
    padding: 0 15px 5px 0;
    border-bottom-right-radius: 20px;
  }
}

p.small-info {
  font-size: 13px;
}

html:not(.theme-color-yellow) p.small-info {
  color: #64748b;
}

html:not(.theme-color-yellow) .page-wrapper-modified svg {
  fill: transparent;
}

.card-content li {
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 400;
}

html:not(.theme-color-yellow) .card-content li {
  color: var(--text-light);
}

.card-content ul {
  list-style: disc;
  padding-left: 1rem;
}

html:not(.theme-color-yellow) ::marker {
  color: var(--primary);
}

.card-content p,
.card-content ul {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 32px;
  }
}
