:root {
  --primary-color: rgba(51, 27, 9, 1);
  /* --primary-color: grey; */
  --secondary-color: #cb9866;
  --tertiary-color: #FFFFFF;
  --primary-font: "Cinzel Decorative", serif;
  ;
  --secondary-font: 'Merriweather', serif;
}

/* =================================================================== */
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--primary-font);
  font-weight: 800;
   font-display: swap;
}

p,
li {
  font-family: var(--secondary-font);
   font-display: swap;
}

/* ================================================================== */
.title {
  color: var(--secondary-color);
}

.sub-title {
  color: var(--primary-color);
}

/* =================================================================== */
.hero img {
  height: 80vh;
  object-fit: cover;
  transition: transform 0.9s ease;
  /*padding-top:70px;*/
}

@media screen and (max-width: 768px) {
  .hero img {
    height: unset;
  }

}

.carousel-item.active img {
  transform: scale(1.03);
}

.carousel-caption {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  bottom: 20%;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  font-family: var(--primary-font);
}

.carousel-caption p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  font-family: var(--secondary-font);
   font-display: swap;
}

@media screen and (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
 .carousel-caption {
    bottom: 5%;
    padding: 10px 15px;
    font-size: 14px;
    width: 90%;
    left: 5%;
    right: 5%;
    text-align: center;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }

}

/*.carousel-caption .btn {*/
/*  margin-top: 1rem;*/
/*}*/

/* ========================================================== */
.hero-bottom {
  background: var(--secondary-color);
  color: var(--tertiary-color);
  padding: 1rem;
  text-align: center;
}

.hero-bottom h4 {
  font-family: var(--primary-font);
   font-display: swap;
  margin: 0;
  font-weight: 800;
}

/* =============================================================== */
.head-title {
  /* text-align: center; */
  margin-bottom: 2rem;
  position: relative;
}

.head-title h2 {
  font-family: var(--primary-font);
   font-display: swap;
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  position: relative;
  display: inline-block;
  animation: fadeInUp 0.8s ease-out;
}

@media screen and (max-width: 768px) {
  .head-title h2 {
  font-family: var(--primary-font);
   font-display: swap;
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  position: relative;
  display: inline-block;
  animation: fadeInUp 0.8s ease-out;
}
}
.head-title h2 span {
  color: var(--secondary-color);
  position: relative;
}

.head-title .underline {
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  /* margin: 12px auto 0; */
  border-radius: 4px;
  animation: growUnderline 1s ease-out;
}

.head-title .subtitle {
  font-size: 1.1rem;
  font-family: var(--secondary-font);
   font-display: swap;
  color: #555;
  max-width: 700px;
  /* margin: 0 auto; */
}

/* Optional Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes growUnderline {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 100px;
    opacity: 1;
  }
}

/* ================================================================= */
.services {
  background: url(../images/background/2.avif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services .service-card {
  transition: transform 0.9s ease;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  background: var(--tertiary-color);
}

.services .service-card img {
  transition: transform 0.9s ease;
  height: 250px;
  object-fit: cover;
}

.services .service-card:hover {
  transform: scale(1.03);
}

.services .service-card h4 {
  color: var(--primary-color);
  font-family: var(--primary-font);
   font-display: swap;
  font-weight: 800;
}

.services .service-card p {
  color: var(--secondary-color);
  font-family: var(--secondary-font);
   font-display: swap;
}

.services .service-card:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}


.service-card {
  position: relative;
  overflow: hidden;
}

.service-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: bottom 0.4s ease;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 30px;
}

.service-card:hover .service-overlay {
  bottom: 0;
}

.service-overlay .btn {
  background-color: var(--secondary-color);
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.service-overlay .btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ============================================== */
.why-choose-us {
  background: var(--secondary-color);
  color: var(--tertiary-color);
  padding: 70px 0;
}

.why-choose-us img {
  border: 5px solid var(--tertiary-color);
  border-radius: 10px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

.why-choose-us .why-choose-us-cards {
  background-color: var(--primary-color);
  position: relative;
  top: 10px;
  left: -60px;
  border: 5px solid var(--tertiary-color);
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) {
  .why-choose-us .why-choose-us-cards {
    top: unset;
    left: unset;
  }

}

.why-choose-us .underline {
  width: 80px;
  height: 4px;
  background: var(--tertiary-color);
}

/* ========================================================= */
.counter {
  background-color: var(--primary-color);
  /* or any background */
  margin-top: 50px;
}

.counter-box h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--tertiary-color);
}

.counter-box p {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--tertiary-color);
}

/* ========================================= */
.social-media {
  background: url(../images/background/2.avif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================ */
.contact-section {
  background: url(../images/background/4.avif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-section .card {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url(../images/background/3.avif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10px;
}

/* =========================================== */
.contact-section .form-label {
  color: var(--tertiary-color);
  font-weight: 600;
  font-family: var(--primary-font);
   font-display: swap;
}

.contact-section .form-control,
.form-select {
  border: 1px solid var(--tertiary-color);
  background: transparent !important;
  border-radius: 0px;
  color: var(--tertiary-color);
  /* font-weight: 600; */
  font-family: var(--secondary-font);
   font-display: swap;
  margin-bottom: 10px;
}

.contact-section .form-select option {
  color: var(--primary-color);
}

.contact-section .form-control::placeholder {
  color: var(--tertiary-color) !important;
}

.contact-section iframe {
  border-radius: 10px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  border: 5px solid var(--secondary-color);
}

/* ===================================================== */
.why-choose {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url(../images/background/3.avif);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.why-choose .card {
  background: url(../images/background/4.avif);
  background-size: cover;
  color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  transition: all 0.6s ease-in-out;
}

.why-choose .card:hover {
  background: url(../images/background/back1.avif);
  background-size: cover;
  color: var(--tertiary-color);
  border: 1px solid var(--tertiary-color);
  transform: scale(1.05);
  transition: all 0.6s ease-in-out;
}

/* ================================================ */
.jali-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(../images/background/2.avif);
  background-size: cover;
  color: var(--tertiary-color);
  background-position: bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* =============================================== */
.curve-img img {
  border-radius: 50px 0px 50px 0px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  transition: all 0.6s ease-in-out;
  margin-bottom: 15px;
}

.curve-img img:hover {
  border-radius: 0px 50px 0px 50px;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  transition: all 0.6s ease-in-out;
}

/* ================================================== */
.btn {
  position: relative;       /* needed for the :after */
  display: inline-block;
  padding: 0.6em 1.8em;
  font-size: 1rem;
  font-family: var(--primary-font);
   font-display: swap;
  font-weight: 600;
  color: #fff;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background-color: transparent;
  overflow: hidden;
  transition: color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 0;
  user-select: none;
}

.btn:after {
  position: absolute;
  content: "";
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-image: linear-gradient(315deg, var(--secondary-color) 0%, var(--secondary-color) 74%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center center;
  will-change: transform;
}

.btn:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.7);
  transform: scale(1.05);
  box-shadow:
    0 8px 15px var(--primary-color),
    0 0 10px var(--secondary-color);
}

.btn:hover:after {
  transform: scale(2) rotate(180deg);
  box-shadow:
    4px 4px 12px rgba(255, 255, 255, 0.6),
    -4px -4px 12px rgba(116, 125, 136, 0.3),
    inset -4px -4px 12px rgba(255, 255, 255, 0.6),
    inset 4px 4px 12px rgba(116, 125, 136, 0.4);
}
