/* ===========================================
   CSS VARIABLES & RESET
=========================================== */

/* :root {
  --blush-pink: hsl(345, 60%, 82%);
  --rose-gold: hsl(12, 45%, 70%);
  --deep-rose: hsl(340, 70%, 45%);
  --soft-ivory: hsl(36, 33%, 96%);
  --charcoal: hsl(210, 10%, 15%);
  --ash-gray: hsl(0, 0%, 60%);
  --white: hsl(0, 0%, 100%);
  --light-gray: hsl(0, 0%, 95%);
  --dark-rose: hsl(340, 70%, 35%);
} */
:root {
  --blush-pink: #d7ccc8;
  --rose-gold: #a1887f;
  --deep-rose: #8b6b61;
  --soft-ivory: hsl(36, 33%, 96%);
  --charcoal: hsl(210, 10%, 15%);
  --ash-gray: hsl(0, 0%, 60%);
  --white: hsl(0, 0%, 100%);
  --light-gray: hsl(0, 0%, 95%);
  --dark-rose: #5d4037;

  /* Semantic mapping */
  --primary: var(--rose-gold);
  --secondary: var(--deep-rose);
  --light: var(--soft-ivory);
  --dark: var(--charcoal);
  --text-muted: var(--ash-gray);

  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--white);
  color: var(--ash-gray);
  font-size: 1.6rem;
  line-height: 1.75;
  font-family: "Poppins", sans-serif;
   overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Syne", sans-serif !important;
  font-weight: 600;
  line-height: 1.2;
}
p,
a,
li,
span,
strong {
  font-family: "Syne", sans-serif !important;
}
a {
  text-decoration: none !important;
}
/* ===========================================
   LAYOUT & CONTAINERS
=========================================== */

.container {
  padding-inline: 15px;
}

.section {
  padding-block: 75px;
}

.shape {
  position: absolute;
  display: none;
}

.has-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* ===========================================
   TYPOGRAPHY
=========================================== */

.h1 {
  color: var(--charcoal);
  font-family: "League Spartan", sans-serif;
  line-height: 1;
  font-weight: 600;
  font-size: 4.2rem;
}

.span {
  color: var(--deep-rose);
}

.view-course {
  color: var(--soft-ivory);
}

/* ===========================================
   BUTTONS (ALL BUTTON STYLES)
=========================================== */

.btn {
  background-color: var(--deep-rose);
  color: var(--white);
  font-family: "League Spartan", sans-serif;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: max-content;
  padding: 10px 20px !important;
  overflow: hidden;
  text-transform: uppercase;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(-90deg, var(--dark-rose) 0%, var(--deep-rose));
  z-index: -1;
  border-radius: inherit;
  transform: translateX(-100%);
  transition: 0.5s ease;
}

.btn:is(:hover, :focus)::before {
  transform: translateX(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--deep-rose);
  color: var(--deep-rose);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "League Spartan", sans-serif;
}

.btn-outline:hover {
  background-color: var(--deep-rose);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-rose), var(--rose-gold));
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "League Spartan", sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-view-all {
  background: transparent;
  color: var(--deep-rose);
  border: 2px solid var(--deep-rose);
  padding: 10px 20px;
  font-size: 14px;
  font-family: "League Spartan", sans-serif;
}

.btn-view-all:hover {
  background-color: var(--deep-rose);
  color: var(--white);
}

/* ===========================================
   HERO SECTION (COMPLETE)
=========================================== */

/* hero===========section */
.section.hero.has-bg-image {
  padding-top: 80px;
}

.hero .container {
  display: grid;
  gap: 40px;
}

.hero-text {
  color: var(--charcoal);
  font-size: 1.8rem;
  text-align: center;
  margin-block: 18px 20px;
}

.hero .btn {
  margin-inline: auto;
}

.hero-banner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: flex-start;
  gap: 30px;
}

.hero-banner .img-holder.one {
  border-top-right-radius: 70px;
  border-bottom-left-radius: 110px;
}

.hero-banner .img-holder.two {
  border-top-left-radius: 50px;
  border-bottom-right-radius: 90px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: hsl(0, 0%, 85%);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* animtion code ===>>>> */
/* HERO SLIDER CONTAINER */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* INDIVIDUAL SLIDES */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;

  /* Killer animation base */
  transform: translateX(60px) scale(1.05);
  filter: blur(10px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  filter: blur(0);
  z-index: 5;
}

/* CONTENT FADE IN */
.hero-slide .hero-content,
.hero-slide .hero-banner {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.active .hero-banner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* INDIVIDUAL IMAGE ANIMATIONS */
.hero-slide .img-holder {
  opacity: 0;
  transform: translateY(40px) scale(1.1) rotate(2deg);
  transition: 1.1s ease;
}

.hero-slide.active .img-holder.one {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
  transition-delay: 0.6s;
}

.hero-slide.active .img-holder.two {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.8s;
}

/* SHAPE ANIMATION */
.hero-slide .hero-shape-2 {
  opacity: 0;
  transform: translateY(50px) scale(1.2);
  transition: 1s ease;
}

.hero-slide.active .hero-shape-2 {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 1s;
}
/* ===========================================
   ABOUT SECTION 
=========================================== */

.about {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.about-bg-shape {
  position: absolute;
  top: -80px;
  left: -100px;
  width: 700px;
  height: auto;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.about-banner {
  position: relative;
  z-index: 1;
}

.about-banner .img-holder {
  position: relative;
  overflow: hidden;
  border-radius: 60px 180px 60px 180px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #fff7f8 0%, #ffe4ec 100%);
  transition: all 0.6s ease;
  isolation: isolate;
  animation: floatWave 8s ease-in-out infinite;
  height: 400px;
  width: 500px;
}

.about-banner .img-holder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: all 0.8s ease;
  filter: brightness(1.03) contrast(1.05);
}

.about-banner .img-holder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 192, 203, 0.25),
    rgba(255, 182, 193, 0.1) 40%,
    transparent 80%
  );
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}

.about-banner .img-holder::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0) 70%
  );
  mix-blend-mode: overlay;
  opacity: 0.25;
  animation: shimmer 10s linear infinite;
}

.about-banner::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: url("images/decor-dots.png") no-repeat center/contain;
  opacity: 0.4;
  z-index: -1;
  animation: gentleRotate 20s linear infinite;
}

.about-banner .img-holder:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 18px 45px rgba(255, 105, 135, 0.25);
}

.about-banner .img-holder:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.15);
}

@keyframes floatWave {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gentleRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.info-card {
  position: absolute;
  top: 30px;
  right: -40px;
  background: var(--white);
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  width: 190px;
  z-index: 3;
}

.info-card i {
  font-size: 34px;
  color: var(--deep-rose);
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 1.6rem;
  color: var(--charcoal);
  font-weight: 600;
}

.info-card p {
  font-size: 1.3rem;
  color: var(--ash-gray);
  line-height: 1.4;
}

.badge {
  position: absolute;
  bottom: -35px;
  left: -35px;
  background: var(--white);
  border-radius: 14px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 3;
}

.badge i {
  font-size: 20px;
  color: var(--deep-rose);
}

.badge strong {
  display: block;
  font-size: 1.6rem;
  color: var(--charcoal);
  font-weight: 600;
}

.badge span {
  font-size: 1.3rem;
  color: var(--ash-gray);
}

.about-section-header {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

.about-content .section-text {
  font-size: 1.6rem;
  color: var(--ash-gray);
  margin-bottom: 25px;
  max-width: 520px;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: var(--charcoal);
}

.about-item i {
  color: var(--deep-rose);
  font-size: 1.4rem;
  transition: var(--transition);
}

.about-item:hover i {
  color: var(--rose-gold);
  transform: scale(1.2);
}

/* ===========================================
   RESPONSIVE STYLES FOR HERO & ABOUT
=========================================== */

@media (min-width: 575px) {
  .container {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-banner {
    grid-template-columns: 1fr 0.9fr;
  }
}

@media (min-width: 768px) {
  .h1 {
    font-size: 4.6rem;
  }

  .container {
    max-width: 720px;
  }

  .btn {
    padding: 15px 30px;
  }

  .hero {
    padding-block-start: calc(75px + 90px);
  }

  .hero .container {
    gap: 50px;
  }

  .hero-text {
    margin-block-end: 30px;
  }

  .hero-banner {
    position: relative;
    z-index: 1;
  }

  .hero-banner .img-holder {
    max-width: max-content;
  }

  .hero-banner .img-holder.one {
    justify-self: flex-end;
  }

  .hero-banner .img-holder.two {
    margin-block-start: 100px;
  }

  .hero-shape-1 {
    display: block;
    position: absolute;
    bottom: -40px;
    left: -10px;
  }
}

@media (min-width: 992px) {
  .h1 {
    font-size: 5.5rem;
  }

  .container {
    max-width: 960px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero .h1,
  .hero-text {
    text-align: left;
  }

  .hero .btn {
    margin-inline: 0;
  }
}

@media (min-width: 1200px) {
  .h1 {
    font-size: 6.5rem;
  }

  .section {
    padding-block: 120px;
  }

  .container {
    max-width: 1185px;
  }

  .shape {
    display: block;
  }

  .hero {
    padding-block-start: calc(0px + 120px);
  }

  .hero .container {
    gap: 80px;
  }

  .hero-shape-2 {
    top: -100px;
    right: -50px;
    z-index: -1;
  }
}

/* About Section Responsive */
@media (max-width: 992px) {
  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-bg-shape {
    top: auto;
    bottom: 0;
    left: -50px;
    width: 400px;
    opacity: 0.2;
  }
 .about-banner .img-holder {
  width: 100%;
  height: 450px;
 }
 .about-content .section-text{
  max-width: 800px;
  width: 100%;
  text-align: justify;
 }

 .about-section-header h2 .span{
  display: inline;
 }

}

@media (max-width:450px) {
  .about-banner .img-holder {
  background: linear-gradient(145deg, #fff7f800 0%, #ffe4ec00 0%);
    box-shadow: none;
}
  .about-banner .img-holder:hover {
    box-shadow: none;
}


}




.divider-image {
  position: absolute;
  right: 20px;
  width: 200px;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;

  /* Animation */
  animation: float 4s ease-in-out infinite;
}
.designe-am-bm {
  position: absolute;
  top: 120px;
  left: -120px;
  width: 150px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  /* Animation */
  animation: float 4s ease-in-out infinite;
}
.designe-am-cm {
  position: absolute;
  top: 260px;
  right: -120px;
  width: 150px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  /* Animation */
  animation: float 4s ease-in-out infinite;
}
.brush-float-am-dm {
  position: absolute;
  top: 260px;
  right: -120px;
  width: 150px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  /* Animation */
  animation: float 4s ease-in-out infinite;
}
.lipstick-float-am-sr {
  position: absolute;
  bottom: 260px;
  left: -120px;
  width: auto;
  height: 150px;
  pointer-events: none;
  z-index: 2;
  /* Animation */
  animation: float 4s ease-in-out infinite;
}
.lipstick-float-sr-am {
  position: absolute;
  bottom: 0;
  right: -100px;
  width: auto;
  height: 150px;
  pointer-events: none;
  transform: scaleX(-1) !important;
  z-index: 2;
  /* Animation */
  animation: float 4s ease-in-out infinite;
}
.brush-float-sr-am {
  position: absolute;
  bottom: -80px;
  left: -130px;
  width: auto;
  height: 150px;
  pointer-events: none;
  transform: scaleX(-1) !important;
  z-index: 2;
  /* Animation */
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(-50%) translateY(0px);
  }
  50% {
    transform: translateY(-50%) translateY(-15px); /* moves up */
  }
  100% {
    transform: translateY(-50%) translateY(0px); /* back to original */
  }
}
/* ==========================================
   RESPONSIVE STYLES FOR FLOATING DECOR IMAGES
========================================== */

/* Large Screens (Desktops) */
@media (max-width: 1200px) {
  .divider-image {
    width: 160px;
    right: 10px;
  }

  .designe-am-bm,
  .designe-am-cm,
  .brush-float-am-dm,
  .lipstick-float-am-sr,
  .lipstick-float-sr-am,
  .brush-float-sr-am {
    width: 120px;
  }

  .designe-am-bm {
    top: 100px;
    left: -90px;
  }

  .designe-am-cm,
  .brush-float-am-dm {
    right: -90px;
  }

  .lipstick-float-am-sr {
    bottom: 220px;
    left: -90px;
  }

  .lipstick-float-sr-am {
    right: -80px;
    height: 130px;
  }

  .brush-float-sr-am {
    left: -100px;
    height: 130px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .divider-image {
    width: 140px;
    right: 5px;
    opacity: 0.9;
  }

  .designe-am-bm,
  .designe-am-cm,
  .brush-float-am-dm,
  .lipstick-float-am-sr,
  .lipstick-float-sr-am,
  .brush-float-sr-am {
    width: 100px;
  }

  .designe-am-bm {
    top: 80px;
    left: -70px;
  }

  .designe-am-cm,
  .brush-float-am-dm {
    top: 200px;
    right: -70px;
  }

  .lipstick-float-am-sr {
    bottom: 180px;
    left: -70px;
  }

  .lipstick-float-sr-am {
    bottom: 0;
    right: -60px;
    height: 110px;
  }

  .brush-float-sr-am {
    bottom: -60px;
    left: -80px;
    height: 110px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .divider-image {
    display: none;
  }

  .designe-am-bm,
  .designe-am-cm,
  .brush-float-am-dm,
  .lipstick-float-am-sr,
  .lipstick-float-sr-am,
  .brush-float-sr-am {
    width: 80px;
    opacity: 0.7;
  }

  .designe-am-bm {
    top: 60px;
    left: -50px;
  }

  .designe-am-cm,
  .brush-float-am-dm {
    top: 160px;
    right: -50px;
  }

  .lipstick-float-am-sr {
    bottom: 120px;
    left: -50px;
  }

  .lipstick-float-sr-am {
    right: -40px;
    bottom: 0;
    height: 90px;
  }

  .brush-float-sr-am {
    left: -50px;
    bottom: -40px;
    height: 90px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .designe-am-bm,
  .designe-am-cm,
  .brush-float-am-dm,
  .lipstick-float-am-sr,
  .lipstick-float-sr-am,
  .brush-float-sr-am {
    width: 60px;
    opacity: 0.5;
  }

  .designe-am-bm {
    top: 40px;
    left: -30px;
  }

  .designe-am-cm,
  .brush-float-am-dm {
    top: 120px;
    right: -30px;
  }

  .lipstick-float-am-sr {
    bottom: 100px;
    left: -30px;
  }

  .lipstick-float-sr-am {
    right: -20px;
    height: 70px;
  }

  .brush-float-sr-am {
    left: -30px;
    bottom: -30px;
    height: 70px;
  }
}







.kmo-how-we-work-area {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;

  background: linear-gradient(
    to bottom,
    var(--soft-ivory),
    rgba(249, 245, 240, 0.05)
  );
}

.kmo-ptb-100 {
  padding: 50px;
}

/* .kmo-section-title {
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 55px;
    margin-top: -6px;
} */

.kmo-how-we-work-area .kmo-section-title {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-left: 0;
  max-width: 555px;
}

.kmo-section-title .kmo-sub-title {
  display: inline-block;
  position: relative;
  color: var(--deep-rose);
  font-size: 12px; /* slightly bigger than 10px for readability */
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px; /* smaller, more compact pill */
  border: 2px solid var(--deep-rose);
  border-radius: 30px; /* smaller radius for a sleek pill */
  background: none;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(222, 33, 111, 0.15); /* subtle glow */
}

/* moving diagonal accent */
.kmo-section-title .kmo-sub-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%;
  width: 50%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(222, 33, 111, 0),
    var(--deep-rose),
    rgba(222, 33, 111, 0)
  );
  transform: translateY(-50%) rotate(-25deg);
  animation: slideLine 3s linear infinite;
}

/* soft pulse glow */
.kmo-section-title .kmo-sub-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(222, 33, 111, 0.15);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes slideLine {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(222, 33, 111, 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgba(222, 33, 111, 0.25);
  }
}
.kmo-section-title-left-side{
  text-align:  left !important;
}

.kmo-section-title h2 {
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--charcoal);
}

.kmo-section-title h2 span {
  color: var(--deep-rose);
  display: inline-block;
}

.kmo-how-we-work-area .kmo-section-title p {
  margin-left: 0;
  max-width: 100%;
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--ash-gray);
  line-height: 1.7;
  font-weight: normal;
}

.kmo-how-we-work-process {
  position: relative;
  z-index: 1;
  margin-top: -60px;
}

.kmo-how-we-work-process::before {
  content: "";
  position: absolute;
  left: -275px;
  top: -200px;
  width: 1526px;
  height: 602px;
  transform: rotate(4deg);
  z-index: -1;
  background-image: url("images/arrow.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.45;
}

.kmo-process-list {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.kmo-process-list .kmo-single-process:nth-child(1) {
  margin-top: 180px;
}

.kmo-single-process {
  flex: 0 0 25%;
  max-width: 25%;
  padding-left: 15px;
  padding-right: 15px;
}

.kmo-content.kmo-bg-1 {
  background-image: url("https://images.pexels.com/photos/774866/pexels-photo-774866.jpeg");
}
.kmo-content.kmo-bg-2 {
  background-image: url("https://images.pexels.com/photos/3993447/pexels-photo-3993447.jpeg");
}
.kmo-content.kmo-bg-3 {
  background-image: url("https://images.pexels.com/photos/775557/pexels-photo-775557.jpeg");
}
.kmo-content.kmo-bg-4 {
  background-image: url("https://images.pexels.com/photos/3992873/pexels-photo-3992873.jpeg");
}

.kmo-content {
  position: relative;
  z-index: 1;
  padding-top: 105px;
  padding-right: 25px;
  padding-left: 25px;
  padding-bottom: 25px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.kmo-content::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: 0.5s;
  z-index: -1;
  background-color: var(--blush-pink);
}

.kmo-number {
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--deep-rose);
  color: var(--white);
  width: 80px;
  height: 80px;
  line-height: 60px;
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.kmo-content h3 {
  transition: 0.5s;
  margin-bottom: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
}

.kmo-content p {
  transition: 0.5s;
  color: var(--charcoal);
  line-height: 1.7;
  margin-top: 10px;
  margin-bottom: 0;
}

.kmo-content::after {
  opacity: 0;
  visibility: hidden;
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--dark-rose);
  transition: 0.5s;
}

.kmo-content:hover::before {
  opacity: 0;
  visibility: hidden;
}

.kmo-content:hover::after {
  visibility: visible;
  opacity: 0.54;
}

.kmo-process-list .kmo-single-process:nth-child(2) {
  margin-top: 120px;
}

.kmo-process-list .kmo-single-process:nth-child(3) {
  margin-top: 60px;
}

.kmo-content:hover h3,
.kmo-content:hover p {
  color: var(--white);
}
/* 
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .kmo-process-list .kmo-single-process:nth-child(1),
  .kmo-process-list .kmo-single-process:nth-child(2),
  .kmo-process-list .kmo-single-process:nth-child(3),
  .kmo-process-list .kmo-single-process:nth-child(4) {
    margin-top: 0;
    margin-bottom: 30px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .kmo-single-process {
    -ms-flex: 0 0 50%;
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .kmo-single-process {
    -ms-flex: 0 0 50%;
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  .kmo-single-process {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .kmo-number {
    width: 60px;
    height: 60px;
    line-height: 46px;
    font-size: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .kmo-content h3 {
    font-size: 18px;
  }
} */
 /* ================================================
   ENHANCED RESPONSIVE STYLES FOR HOW WE WORK SECTION
================================================ */

/* Large Tablets and Small Laptops */
@media (max-width: 1200px) {
  .kmo-how-we-work-area {
    padding: 80px 30px;
  }

  .kmo-section-title h2 {
    font-size: 34px;
  }

  .kmo-how-we-work-process::before {
    left: -150px;
    top: -120px;
    width: 1200px;
    height: 500px;
    opacity: 0.35;
  }

  .kmo-single-process {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 40px !important;
  }

  .kmo-content {
    padding: 80px 20px 25px;
  }

  .kmo-number {
    width: 70px;
    height: 70px;
    font-size: 50px;
    line-height: 54px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .kmo-how-we-work-area {
    padding: 60px 20px;
  }

  .kmo-section-title {
    text-align: center !important;
    margin: 0 auto 40px;
  }

  .kmo-section-title h2 {
    font-size: 30px;
  }

  .kmo-section-title p {
    font-size: 1.4rem;
  }

  .kmo-how-we-work-process {
    margin-top: 0;
  }

  .kmo-how-we-work-process::before {
    display: none;
  }

  .kmo-process-list {
    justify-content: center;
    gap: 25px;
  }

  .kmo-single-process {
    flex: 0 0 45%;
    max-width: 45%;
    margin-top: 0 !important;
  }

  .kmo-content {
    padding: 70px 20px 25px;
    border-radius: 15px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .kmo-how-we-work-area {
    padding: 50px 15px;
  }

  .kmo-section-title {
    text-align: center;
  }

  .kmo-section-title h2 {
    font-size: 26px;
  }

  .kmo-section-title .kmo-sub-title {
    font-size: 11px;
    padding: 3px 10px;
  }

  .kmo-section-title p {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .kmo-process-list {
    flex-direction: column;
    align-items: center;
  }

  .kmo-single-process {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .kmo-content {
    padding: 60px 20px 25px;
  }

  .kmo-number {
    width: 55px;
    height: 55px;
    line-height: 42px;
    font-size: 36px;
  }

  .kmo-content h3 {
    font-size: 18px;
  }

  .kmo-content p {
    font-size: 14px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .kmo-how-we-work-area {
    padding: 40px 10px;
  }

  .kmo-section-title h2 {
    font-size: 22px;
  }

  .kmo-section-title p {
    font-size: 1.2rem;
  }

  .kmo-content {
    padding: 50px 15px 20px;
  }

  .kmo-number {
    width: 45px;
    height: 45px;
    line-height: 34px;
    font-size: 30px;
  }
  .kmo-process-list{
    gap: 0.8rem;
  }
  .kmo-content h3 {
    font-size: 16px;
  }

  .kmo-content p {
    font-size: 13px;
    line-height: 1.6;
  }
}






/* ================================
   KMO COURSES SECTION - IMPROVED
================================ */

.kmo-courses-section {
  padding: 100px 20px;
  overflow: hidden;
  position: relative;
  background-image: url("images/course-bg.svg");
  background-size: cover; /* image pura stretch ho */
  background-repeat: no-repeat; /* repeat completely off */
  background-position: center; /* center crop */
}

.kmo-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.kmo-section-title {
  font-size: 4.2rem;
  color: var(--charcoal);
  margin-bottom: 80px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
}

/* ===========================================
   SLIDER WRAPPER + TRACK - IMPROVED
=========================================== */

.kmo-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 10px 0;
}

.kmo-slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px 10px;
  cursor: grab;
}

.kmo-slider-track:active {
  cursor: grabbing;
}

.kmo-slider-track > li {
  list-style: none;
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
}

/* ===========================================
   BEAUTIFUL ARROW UI - IMPROVED
=========================================== */

.kmo-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white) 0%, var(--soft-ivory) 100%);
  color: var(--deep-rose);
  border: 2px solid transparent;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeInArrows 0.6s ease 0.8s forwards;
}

@keyframes fadeInArrows {
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Position arrows properly without cutting */
.kmo-arrow-left {
  left: -80px;
}

.kmo-arrow-right {
  right: -80px;
}

.kmo-slider-arrow:hover {
  background: linear-gradient(
    135deg,
    var(--deep-rose) 0%,
    var(--dark-rose) 100%
  );
  color: var(--white);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--deep-rose);
}

.kmo-slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Show arrows on container hover */
.kmo-container:hover .kmo-slider-arrow {
  opacity: 1;
}

/* ===========================================
   COURSE CARD - IMPROVED WITH SAME HEIGHT
=========================================== */

.kmo-course-card {
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  animation: cardEntrance 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  height: 520px; /* Fixed height for all cards */
  display: flex;
  flex-direction: column;
}

.kmo-course-card:nth-child(1) {
  animation-delay: 0.1s;
}
.kmo-course-card:nth-child(2) {
  animation-delay: 0.2s;
}
.kmo-course-card:nth-child(3) {
  animation-delay: 0.3s;
}
.kmo-course-card:nth-child(4) {
  animation-delay: 0.4s;
}
.kmo-course-card:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes cardEntrance {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.kmo-course-banner {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 250px; /* Fixed banner height */
  flex-shrink: 0;
}

.kmo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.95);
}

.has-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0;
  transition: all 0.4s ease;
}

.kmo-course-card:hover .kmo-img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.kmo-course-card:hover .has-overlay::after {
  opacity: 1;
}

/* ===========================================
   CONTENT CARD - IMPROVED
=========================================== */

.kmo-course-content {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  position: relative;
  margin: -60px 20px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.kmo-course-card:hover .kmo-course-content {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* ===========================================
   READ BUTTON - IMPROVED
=========================================== */

.kmo-read-btn {
  position: absolute;
  top: -25px;
  right: 30px;
  padding: 18px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--deep-rose) 0%,
    var(--dark-rose) 100%
  );
  color: var(--white);
  font-size: 22px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(20px) scale(0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.kmo-course-card:hover .kmo-read-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kmo-read-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ===========================================
   TEXT CONTENT - IMPROVED
=========================================== */

.kmo-course-type {
  font-size: 1.3rem;
  color: var(--deep-rose);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.kmo-course-title {
  margin: 12px 0 18px;
  flex: 1;
}

.kmo-course-title a {
  font-size: 2.2rem;
  color: var(--charcoal);
  transition: all 0.3s ease;
  line-height: 1.3;
  display: block;
  font-weight: 700;
}

.kmo-course-title a:hover {
  color: var(--deep-rose);
  transform: translateX(5px);
}

.kmo-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.kmo-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-size: 1.4rem;
  font-weight: 500;
}

.kmo-meta-item ion-icon {
  color: var(--deep-rose);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.kmo-meta-item:hover ion-icon {
  transform: scale(1.2);
}

.kmo-course-text {
  font-size: 1.5rem;
  color: var(--ash-gray);
  line-height: 1.6;
  flex: 1;
}

/* ===========================================
   RESPONSIVE DESIGN - IMPROVED
=========================================== */

/* Large Desktop */
@media (min-width: 1400px) {
  .kmo-slider-track > li {
    flex: 0 0 calc(25% - 23px);
    min-width: calc(25% - 23px);
  }

  .kmo-arrow-left {
    left: -50px;
  }
  .kmo-arrow-right {
    right: -50px;
  }
}

/* Desktop */
@media (max-width: 1399px) {
  .kmo-slider-track > li {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
  }

  .kmo-arrow-left {
    left: -30px;
  }
  .kmo-arrow-right {
    right: -30px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .kmo-courses-section {
    padding: 80px 20px;
  }

  .kmo-section-title {
    font-size: 3.6rem;
    margin-bottom: 60px;
  }

  .kmo-slider-track > li {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }

  .kmo-slider-track {
    gap: 20px;
  }

  .kmo-course-card {
    height: 500px;
  }

  .kmo-arrow-left {
    left: -20px;
  }
  .kmo-arrow-right {
    right: -20px;
  }

  .kmo-slider-arrow {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .kmo-courses-section {
    padding: 60px 15px;
  }

  .kmo-section-title {
    font-size: 3rem;
    margin-bottom: 50px;
  }

  .kmo-slider-track > li {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .kmo-slider-track {
    gap: 15px;
    padding: 10px 5px;
  }

  .kmo-course-card {
    height: 480px;
  }

  .kmo-course-content {
    padding: 25px;
    margin: -50px 15px 0;
  }

  .kmo-course-title a {
    font-size: 2rem;
  }

  /* Hide arrows on mobile or make them visible inside */
  .kmo-slider-arrow {
    width: 45px;
    height: 45px;
    font-size: 18px;
    opacity: 1;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .kmo-arrow-left {
    left: 10px;
    transform: translateY(-50%) scale(1);
  }

  .kmo-arrow-right {
    right: 10px;
    transform: translateY(-50%) scale(1);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .kmo-courses-section {
    padding: 50px 10px;
  }

  .kmo-course-card {
    height: 460px;
  }

  .kmo-course-content {
    padding: 20px;
    margin: -40px 10px 0;
  }

  .kmo-course-title a {
    font-size: 1.8rem;
  }

  .kmo-meta-list {
    gap: 8px 16px;
  }

  .kmo-slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .kmo-arrow-left {
    left: 5px;
  }
  .kmo-arrow-right {
    right: 5px;
  }
  .kmo-section-title h2{
    font-size: 2rem;
  }
}

/* ===========================================
   SLIDER INDICATORS (Optional)
=========================================== */

.kmo-slider-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.kmo-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.kmo-indicator.active {
  background: var(--deep-rose);
  transform: scale(1.2);
}

.kmo-indicator:hover {
  background: var(--rose-gold);
  transform: scale(1.1);
}



















.certificate-container-am {
  padding: 50px;
  width: 1024px;
  margin: 0 auto;
  font-family: "Georgia", serif;
  position: relative;
}

.certificate-am {
  border: 15px solid var(--rose-gold);
  border-radius: 15px;
  padding: 50px;
  min-height: 750px;
  position: relative;
  background-color: var(--white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Watermark */
.certificate-am::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background-image: url("images/kmo-academy-certificate-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.certificate-header-am {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.logo-am {
  height: 50px;
}

.certificate-title-am {
  text-align: center;
  color: var(--dark-rose);
  font-size: 20px;
  font-weight: 600;
}

.certificate-heading-am {
  font-weight: 700;
  font-size: 48px;
  color: var(--deep-rose);
  margin: 20px 0;
  text-align: center;
}

.student-name-am {
  font-size: 28px;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.certificate-content-am {
  margin: 0 auto;
  width: 750px;
  line-height: 1.6;
  color: var(--charcoal);
  z-index: 1;
}

.about-certificate-am {
  margin-bottom: 15px;
  font-size: 18px;
}

.topic-title-am {
  font-weight: 500;
  margin-top: 20px;
  color: var(--charcoal);
  font-size: 16px;
}

.topic-description-am {
  text-align: center;
  color: var(--ash-gray);
  font-size: 14px;
}

.text-muted-am {
  color: var(--ash-gray);
}

.divider-am {
  border: none;
  border-top: 2px solid var(--rose-gold);
  margin: 20px 0;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.certificate-footer-am p {
  margin: 5px 0;
  font-size: 14px;
  color: var(--ash-gray);
}

.row-am {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.col-md-6-am {
  flex: 0 0 48%;
}

/* Signature Section */
.certificate-signature-am {
  display: flex;
  justify-content: space-between;
  margin: 50px 0 20px 0;
  position: relative;
  z-index: 1;
}

.signature-block-am {
  text-align: center;
}

.signature-img-am {
  height: 50px;
  display: block;
  margin: 0 auto 5px;
}

.signature-block-am::before {
  content: "";
  display: block;
  width: 150px;
  height: 1px;
  background-color: var(--ash-gray);
  margin: 0 auto 10px;
}

.fa-spin-fast {
  -webkit-animation: fa-spin-fast 0.2s infinite linear;
  animation: fa-spin-fast 0.2s infinite linear;
}
@-webkit-keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
/* ===========================
   FULL RESPONSIVE FIXES
=========================== */

/* Tablets and smaller laptops */
@media (max-width: 1024px) {
  .certificate-container-am {
    width: 90%;
    padding: 30px;
  }

  .certificate-am {
    padding: 40px 30px;
    min-height: auto;
  }

  .certificate-content-am {
    width: 100%;
  }

  .certificate-heading-am {
    font-size: 38px;
  }

  .student-name-am {
    font-size: 24px;
  }

  .about-certificate-am {
    font-size: 16px;
  }

  .topic-title-am {
    font-size: 15px;
  }

  .topic-description-am {
    font-size: 13px;
  }

  .signature-block-am::before {
    width: 120px;
  }

  .signature-img-am {
    height: 40px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .certificate-container-am {
    width: 95%;
    padding: 20px;
  }

  .certificate-am {
    padding: 30px 20px;
  }

  .certificate-heading-am {
    font-size: 32px;
  }

  .student-name-am {
    font-size: 22px;
  }

  .certificate-content-am {
    width: 100%;
    font-size: 14px;
  }

  .certificate-signature-am {
    flex-direction: column;
    gap: 30px;
  }

  .row-am {
    flex-direction: column;
    gap: 25px;
  }

  .col-md-6-am {
    flex: 0 0 100%;
  }

  .certificate-am::after {
    width: 90%;
    height: 90%;
    left: 50%;
  }

  .logo-am {
    height: 40px;
  }

  .certificate-title-am {
    font-size: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .certificate-container-am {
    padding: 15px;
  }

  .certificate-am {
    padding: 25px 15px;
    border-width: 10px;
  }

  .certificate-heading-am {
    font-size: 26px;
  }

  .student-name-am {
    font-size: 20px;
  }

  .certificate-content-am {
    font-size: 13px;
    line-height: 1.5;
  }

  .topic-title-am {
    font-size: 14px;
  }

  .topic-description-am {
    font-size: 12px;
  }

  .signature-block-am::before {
    width: 100px;
  }

  .signature-img-am {
    height: 35px;
  }

  .divider-am {
    width: 70%;
  }
}












.material-card {
  position: relative;
  height: 0;
  padding-bottom: calc(100% - 16px);
  margin-bottom: 6.6em;
}
.material-card h2 {
  position: absolute;
  top: calc(100% - 16px);
  left: 0;
  width: 100%;
  padding: 10px 16px;
  color: var(--white);
  font-size: 1.4em;
  line-height: 1.6em;
  margin: 0;
  z-index: 10;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card h2 span {
  display: block;
}
.material-card h2 strong {
  font-weight: 400;
  display: block;
  font-size: 0.8em;
}
.material-card h2:before,
.material-card h2:after {
  content: " ";
  position: absolute;
  left: 0;
  top: -16px;
  width: 0;
  border: 8px solid;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card h2:after {
  top: auto;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active {
    padding-bottom: 0;
    height: auto;
  }
}
.material-card.mc-active h2 {
  top: 0;
  padding: 10px 16px 10px 90px;
}
.material-card.mc-active h2:before {
  top: 0;
}
.material-card.mc-active h2:after {
  bottom: -16px;
}
.material-card .mc-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 16px;
  left: 16px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card .mc-btn-action {
  position: absolute;
  right: 16px;
  top: 15px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 5px solid;
  width: 54px;
  height: 54px;
  line-height: 44px;
  text-align: center;
  color: var(--white);
  cursor: pointer;
  z-index: 20;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card.mc-active .mc-btn-action {
  top: 62px;
}
.material-card .mc-description {
  position: absolute;
  top: 100%;
  right: 30px;
  left: 30px;
  bottom: 54px;
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 1.2s;
  -moz-transition: all 1.2s;
  -ms-transition: all 1.2s;
  -o-transition: all 1.2s;
  transition: all 1.2s;
}
.material-card .mc-footer {
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card .mc-footer h4 {
  position: absolute;
  top: 200px;
  left: 30px;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  -webkit-transition: all 1.4s;
  -moz-transition: all 1.4s;
  -ms-transition: all 1.4s;
  -o-transition: all 1.4s;
  transition: all 1.4s;
}
.material-card .mc-footer a {
  display: block;
  float: left;
  position: relative;
  width: 52px;
  height: 52px;
  margin-left: 5px;
  margin-bottom: 15px;
  font-size: 28px;
  color: var(--white);
  line-height: 52px;
  text-decoration: none;
  top: 200px;
}
.material-card .mc-footer a:nth-child(1) {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.material-card .mc-footer a:nth-child(2) {
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}
.material-card .mc-footer a:nth-child(3) {
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  -ms-transition: all 0.7s;
  -o-transition: all 0.7s;
  transition: all 0.7s;
}
.material-card .mc-footer a:nth-child(4) {
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -ms-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
}
.material-card .mc-footer a:nth-child(5) {
  -webkit-transition: all 0.9s;
  -moz-transition: all 0.9s;
  -ms-transition: all 0.9s;
  -o-transition: all 0.9s;
  transition: all 0.9s;
}
.material-card .img-container {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card.mc-active .img-container {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  left: 0;
  top: 12px;
  width: 60px;
  height: 60px;
  z-index: 20;
}
.material-card .img-container {
  position: relative;
  overflow: hidden;
}

.material-card .img-container .img-responsive {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  object-fit: cover;
}
.material-card .img-container {
  position: relative;
  overflow: hidden;
}

.material-card .img-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active state – image circle aur center me rahe */
.material-card.mc-active .img-container {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  position: absolute;
  top: 12px;
  left: 10%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 20;
}

.material-card.mc-active .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.material-card.mc-active .mc-content {
  padding-top: 5.6em;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active .mc-content {
    position: relative;
    margin-right: 16px;
  }
}
.material-card.mc-active .mc-description {
  top: 50px;
  padding-top: 5.6em;
  opacity: 1;
  filter: alpha(opacity=100);
}
@media screen and (max-width: 767px) {
  .material-card.mc-active .mc-description {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    padding: 50px 30px 70px 30px;
    bottom: 0;
  }
}
.material-card.mc-active .mc-footer {
  overflow: visible;
  position: absolute;
  top: calc(100% - 16px);
  left: 16px;
  right: 0;
  height: 82px;
  padding-top: 15px;
  padding-left: 25px;
}
.material-card.mc-active .mc-footer a {
  top: 0;
}
.material-card.mc-active .mc-footer h4 {
  top: -32px;
}

.material-card.Blackish h2 {
  background-color: #000000bd;
}
.material-card.Blackish h2:after {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card.Blackish h2:before {
  border-top-color: transparent;
  border-right-color: var(--ash-gray);
  border-bottom-color: var(--ash-gray);
  border-left-color: transparent;
}
.material-card.Blackish.mc-active h2:before {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card.Blackish.mc-active h2:after {
  border-top-color: var(--ash-gray);
  border-right-color: var(--ash-gray);
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card.Blackish .mc-btn-action {
  background-color: var(--charcoal);
}
.material-card.Blackish .mc-btn-action:hover {
  background-color: var(--ash-gray);
}
.material-card.Blackish .mc-footer h4 {
  color: var(--ash-gray);
}
.material-card.Blackish .mc-footer a {
  background-color: var(--ash-gray);
}
.material-card.Blackish.mc-active .mc-content {
  background-color: var(--light-gray);
}
.material-card.Blackish.mc-active .mc-footer {
  background-color: #000000bd;
  background-image: url(images/material-card-footer-desgine.png);
  background-size: cover;          
  background-position: center;     
  background-repeat: no-repeat;    
  width: 100%;
  object-fit: cover;               
}

.material-card.Blackish.mc-active .mc-btn-action {
  border-color: var(--light-gray);
}
.best-traning-kmo {
  position: relative;
  z-index: 1;
  padding: 20px; /* spacing inside the section */
}

.best-traning-kmo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px; /* height of the gradient, adjust as needed */
  background: linear-gradient(
    to bottom,
    var(--light-gray),
    transparent
  ); /* gradient from color to transparent */
  z-index: -1; /* behind the content */
}

.amsr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.amsr-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.amsr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.amsr-col {
  flex: 0 0 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .amsr-col {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .amsr-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Custom styles for makeup theme */
.material-card .mc-content {
  background: linear-gradient(135deg, var(--blush-pink), var(--white) 100%);
}

.material-card.mc-active .mc-content {
  background: linear-gradient(135deg, var(--blush-pink), var(--white) 100%);
}

.material-card .mc-description {
  color: #5d4037;
  font-size: 14px;
  line-height: 1.6;
}

.material-card .mc-footer {
  background: #f8e2e2;
}

.material-card .mc-footer h4 {
  color: #8b6b61;
}

.material-card .img-container img {
  filter: sepia(0.1) brightness(1.05);
  transition: all 0.3s ease;
}

.material-card:hover .img-container img {
  filter: sepia(0) brightness(1.1);
}








.fecilites-container{
      background-image: url("images/course-bg.svg");
  background-size: cover; /* image pura stretch ho */
  background-repeat: no-repeat; /* repeat completely off */
  background-position: center; /* center crop */
}

.feci-academy-facilities {
    padding: 40px 0px;
    max-width: 1200px;
    margin: 0 auto;
}

.feci-facilities-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}


.feci-facility-text {
    flex: 1;
    min-width: 300px;
}

.feci-facility-text h3 {
    font-size: 2.8rem;
    color: var(--dark-rose);
    margin-bottom: 20px;
    font-weight: 600;
}

.feci-facility-text p {
     font-size: 1.6rem;
  color: var(--ash-gray);
  margin-bottom: 25px;
}

.feci-facility-list {
    list-style: none;
    margin-top: 25px;
}

.feci-facility-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feci-facility-item:hover {
    background-color: rgba(161, 136, 127, 0.05);
    transform: translateX(5px);
}

.feci-facility-icon {
    color: var(--rose-gold);
    margin-right: 15px;
    margin-top: 4px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feci-facility-content {
    flex: 1;
}

.feci-facility-heading {
    display: block;
    color: var(--dark-rose);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.feci-facility-desc {
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feci-facility-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.feci-facility-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.feci-image-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.feci-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    /* Perfect capsule - only top and bottom curved */
    border-top-left-radius: 250px;
    border-top-right-radius: 250px;
    border-bottom-left-radius: 250px;
    border-bottom-right-radius: 250px;
    /* Ensure left and right are completely straight */
    border-left: 0;
    border-right: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.feci-main-image:hover {
    transform: translateY(-10px);
}

.feci-floating-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 3;
    animation: feci-float 3s ease-in-out infinite;
}

.feci-floating-icon i {
    font-size: 1.8rem;
    color: var(--rose-gold);
}

.feci-icon-1 {
    top: 10%;
    left: 20px;
    animation-delay: 0s;
}

.feci-icon-2 {
    bottom: 20%;
    right: 0;
    animation-delay: 1.5s;
}

@keyframes feci-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.feci-stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feci-stat-item {
    text-align: center;
    flex: 1;
}

.feci-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-rose);
    display: block;
    margin-bottom: 5px;
}

.feci-stat-label {
    font-size: 1.5rem;
    color: var(--ash-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .feci-facilities-container {
        flex-direction: column;
    }
    
    .feci-facility-text, .feci-facility-image {
        width: 100%;
    }
    
    .feci-main-image {
        height: 400px;
    }
}

@media (max-width: 576px) {
   .fecilites-container{
    padding: 0 10px;
   }
    .feci-section-title h2 {
        font-size: 2rem;
    }
    
    .feci-stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .feci-main-image {
        height: 300px;
    }
    
    .feci-floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .feci-floating-icon i {
        font-size: 1.4rem;
    }
    
    .feci-facility-item {
        padding: 10px;
    }
}