/* ================= ROOT ================= */
.about-wrapper {
  --red: #ed1c24;
  --black: #252525;
  --muted: #544e4e;
  --card-bg: #fff;
}
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= SECTION ================= */

.about-wrapper-section{
  background: url("../images/Rectangle\ 27.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  
}
.about-wrapper {

  /* background: #f6f6f6; */

max-width: 1320px;
margin: 0 auto;
}



.card-wrapper-section{

    background: url("../images/Rectangle\ 27.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
    padding: 90px 70px;
   


}

.card-wrapper{
max-width: 1320px;
    margin: 0 auto;
}
/* .section-title {
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  overflow: hidden;

  font-family: EB Garamond;
  font-weight: 400;
  font-style: Regular;
  font-size: 36px;
  width: 180px;

  letter-spacing: 1%;
}


.section-title::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 6px;
  background: var(--red);
  top: -3px;
  left: 0;
} */




.section-title {
  font-family: "EB Garamond";
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  letter-spacing: 1%;
  color: #252525;

  display: flex;
  flex-direction: column; /* stack line + text */
  align-items: flex-start;
  gap: 2px;

  margin-bottom: 35px;
  position: relative;
}

/* small line above */
.section-title::before {
  content: "";
  width: 32px;          /* very small line */
  height: 4px;
  background: #e11b22;  /* change color if needed */
  border-radius: 2px;
}



/* Shine layer */
/* .section-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(234, 146, 146, 0.8),
    transparent
  );
  transform: skewX(-20deg);
  animation: headingShine 3.5s ease-in-out infinite;
} */

/* Shine animation */
/* @keyframes headingShine {
  0% {
    left: -120%;
  }
  40% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
} */

/* ================= LAYOUT ================= */
.layout {
  display: flex;
  gap: 40px;
}

.big-card {
  flex: 1;
  background: var(--card-bg);
  border-radius: 12px;
    box-shadow: 0 8px 20px rgb(237 28 36 / 8%);
  overflow: hidden;
}

.right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.small-card {
  display: flex;
  background: var(--card-bg);
  border-radius: 12px;
    box-shadow: 0 8px 20px rgb(237 28 36 / 8%);

  overflow: hidden;
  height: 279px;
}

/* ================= IMAGE CAROUSEL ================= */
.card-image.carousel {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.small-card .card-image.carousel {
  width: 260px;
  height: 100%;
  flex-shrink: 0;
}

.card-image.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
  border-radius: 18px;

  opacity: 0;
  transform: scale(1.15);
  transition: opacity 1.2s ease, transform 6s ease;
}

.card-image.carousel img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* ================= CONTENT ================= */
.card-body {
  padding: 25px;
}

.card-heading {
  font-family: EB Garamond;
  font-size: 28px;
  color: var(--red);
  margin-bottom: 10px;
  position: relative;
  width: 100%;
}

/* dotted line after heading */
.card-heading::after {
  content: "";
  display: block;
  width: 100%;
  margin-top: 8px;
  border-bottom: 2px dotted red;
}

.sub {
  font-weight: 600;
  margin: 10px 0;
}

.features {
  list-style: none;
  margin-bottom: 20px;
}

.features li {
  margin-bottom: 8px;

  position: relative;
  padding-left: 28px;
  list-style: none;
  transition: color 0.3s ease, transform 0.3s ease;
  color: #544e4e;
}

/* icon before li */
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("../images/Mask\ group\ \(56\).png"); /* your logo */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* ===== HOVER EFFECT ===== */
.features li:hover {
  color: var(--red);
  transform: translateX(6px);
}

.features li:hover::before {
  transform: translateY(-50%) scale(1.2);
  filter: brightness(1.2);
}


.actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn.filled {
  background: var(--red);
  color: #fff;
}

.btn.outline {
  /* background: #fff; */
  border: 1px solid var(--red);
  color: var(--red);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ================= RESPONSIVE FIX (ONLY CSS) ================= */
@media (max-width: 1300px) {
  .actions{
    flex-direction: column;
  }
  .btn.filled {
    height: 40px;
    /* padding: 0 18px; */
    text-align: center;
  }
  .btn.outline{
       height: 40px;
    padding: 0 18px;

  }
    .actions{
    flex-direction:row;
  }
}


/* Tablets */
@media (max-width: 1100px) {
 .about-wrapper{
    padding: 20px 25px;
  }


  .layout {
    flex-direction: column;
  }

  .big-card {
    width: 100%;
  }

  .right-col {
    width: 100%;
  }

  .small-card {
    height: auto;
  }

  .small-card .card-image.carousel {
    width: 100%;
    height: 220px;
  }
}

/* Mobile */
/* ================= MOBILE FIX ================= */
@media (max-width: 1074px) {

  /* stack image & content vertically */
  .small-card {
    flex-direction: column;
    height: auto;
  }

  .small-card .card-image.carousel {
    width: 100%;
    height: 220px;
  }

  .small-card .card-body {
    width: 100%;
   
  }

  /* ensure heading is visible */
  .card-heading {
    font-size: 22px;
    line-height: 1.3;
    word-break: break-word;
  }

  .card-wrapper-section{
    padding: 20px 20px;
  }
    .actions{
    flex-direction:column;
  }
 
}
@media (max-width: 1074px) {
  .about-wrapper-section{
    padding: 0px;
  }

  
  
}
