/* ================= GENERAL ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #050505e3;
  overflow-x: hidden; /* FIX right side space issue */
}

/* ================= CONTAINER ================= */
.container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* ================= CARD ================= */
.card {
  position: relative;
  width: 480px;
  min-height: 399px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbd1ac;
  display: flex;
  align-items: start;
}

/* Background image */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Backgrounds */
.bridal::before {
  background-image: url('assets/images/website/Survey.png');
}

.academy::before {
  background-image: url('assets/images/website/constraction.png');
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25)
  );
  z-index: 1;
}

/* ================= CONTENT ================= */
.card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;

}

.card-title {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  /* color: #11aa0e; */
    color:  #1ba961;

  
  margin-bottom: 15px;
}

.card-desc {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.5px;
  color: #f5f5f5;
  margin-bottom: 20px;

  width: 450px;
}

/* ================= BUTTON ================= */
.card-btn {
  padding: 12px 26px;
  color: #ff4f8b;
  border: 2px solid #ff4f8b;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(0,0,0,0.4);
  transition: 0.3s ease;
}

.card-btn:hover {
  background: #ff4f8b;
  color: #fff;
}

/* ================= LOGO ================= */
.logo {
  text-align: end;
  margin-top: 20px;
}

.logo img {
  width: 260px;
  height: auto;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  .container {
    gap: 20px;
    padding: 20px 15px;
  }
.card-right-radius{
        border-top-right-radius: 10px;
}
  .card {
    width: 100%;
    min-height:260px !important; 
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 1.6rem;
  }

  .card-desc {
    font-size: 0.95rem;
  }

  /* Remove hover/tilt/zoom effects on mobile */
  .card:hover,
  .card:hover::before {
    transform: none;
  }
}
.thm-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    border: none;
    outline: none !important;
    background-color: var(--thm-base);
    color: #ffffff;
    font-size: 18px;
      font-weight: 900;
    text-transform: capitalize;
    padding: 26px 129px 31px;
    border-radius: 0px;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    font-family: var(--thm-font-2);
    letter-spacing: 0.01em;
    overflow: hidden;
    z-index: 1;
    
    margin-top:30px
}


.thm-btn::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:  var(--thm-base);
    color: #ffffff;
    transition: 0.5s;
    transform-origin: bottom;
    transform: translateY(-100%) rotateX(90deg);
}

.thm-btn:hover::before {
    transform: translateY(0) rotateX(0deg);
}

.thm-btn::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #1ba961;
    color: #ffffff;
    transition: 0.5s;
    transform-origin: top;
    transform: translateY(0) rotateX(0deg);
}

.thm-btn:hover::after {
    transform: translateY(100%) rotateX(90deg);
}
















.card-desc{
    list-style: none;
    padding: 0;
}

.service-item{
    margin-bottom: 8px;
}

.service-link{
    text-decoration: none;
    color: white;
    font-size: 17px;
    display: inline-block;
    animation: blinkText 2.2s infinite;
}

/* Arrow at end */
.service-link::after{
    content: " →";
    margin-left: 6px;
    font-weight: bold;
}

/* Blink animation */
@keyframes blinkText{
    0%{opacity:1;}
    50%{opacity:0.4;}
    100%{opacity:1;}
}