@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

body{
  overflow-x: hidden;
}

#preloader > img {
  width: 300px;
}
@media (max-width: 575px) {
  #preloader > img {
    width: 180px;
  }
}

/* ----------------------- */
/* Home page  start here */
/* ----------------------- */
.ms-banner__form {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ms-banner__form-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner__form-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.input-home-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--clr-common-white);
  font-weight: var(--bd-fw-sbold);
  background: var(--clr-gradient-2);
  padding: 0px 25px;
  height: 55px;
  border-radius: 30px;
  position: relative;
  z-index: 5;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.input-home-banner-btn::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: white; /* White background on hover */
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  border-radius: 30px;
  transition: all 0.5s ease-in-out;
}

.input-home-banner-btn:hover {
  color: var(--clr-theme-1); /* Change this color if needed for contrast */
}

.input-home-banner-btn:hover i {
  color: var(--clr-theme-1); /* Icon color on hover */
}

.input-home-banner-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

.input-home-banner-btn i {
  font-size: 20px;
}

@media (max-width: 575px) {
  .ms-tm-space {
    margin-inline: 10px 10px;
  }
}

@media only screen and (max-width: 450px) {
  .ms-fun-brand-bottom {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ms-fun-brand-bottom {
    min-width: 250px;
  }
}

@media only screen and (max-width: 450px) {
  .work__features-item {
    flex-wrap: nowrap;
  }
  .work__features-content h4 {
    font-size: 18px;
  }
}
/* ----------------------- */
/* Home page Events End */
/* ----------------------- */

/* ----------------------- */
/* Foundation Start here */
/* ----------------------- */
.foundation {
  padding-top: 160px;
  padding-bottom: 160px;
}
.foundation-quote {
  font-family: "Dancing Script", cursive;
  font-size: 40px;
  color: #ffff;
}
/* ----------------------- */
/* Foundation End */
/* ----------------------- */

/* ----------------------- */
/* Contact Start here */
/* ----------------------- */
/* Contact Section */
.contact-section {
  padding: 100px 10px 60px 10px;
  max-width: 1280px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

/* Grid for contact info boxes */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Individual contact box */
.contact-box {
  background-color: #111;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  border: 1px solid var(--clr-border-1);
}

.contact-icon {
    background-color: var(--clr-border-1);
    width: 70px;
    height: 70px;
    line-height: 75px;
    border-radius: 50%;
    text-align: center;
    margin-bottom: 20px;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.contact-icon i {
    color: var(--clr-common-white);
    font-size: 22px;
    top: 7px;
}
/* Title inside contact box */
.contact-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

/* Info text and link styles */
.contact-info {
  font-size: 16px;
  color: #858585;
  word-break: break-word;
  transition: all ease-in-out 0.4s;
}

.contact-info a{
  color: #858585;
  text-decoration: none;
  word-break: break-word;
  transition: all ease-in-out 0.4s;
}
.contact-box:hover {
    border-color: var(--clr-common-white);
}
.contact-info a:hover,.contact-info:hover {
    color: #ffffff;
}
.contact-box:hover .contact-icon {
    background-color: #ffd701;
}
/* ========================================= */
.ms-contact-iframe {
  display: flex;
  justify-content: center;
}
.ms-contact-iframe iframe {
  opacity: 0.4;
}

/* ----------------------- */
/* Contact End */
/* ----------------------- */

/* ----------------------- */
/* Footer start here */
/* ----------------------- */

.footer-logo {
  color: #ffd701;
  font-size: 54px;
  font-weight: bold;
  letter-spacing: 1px;
  opacity: 0.95;
}
.footer-tagline {
  margin-top: 5px;
  font-size: 14px;
  color: #aaa;
}
.footer-title {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.footer-mission {
  font-size: 13px;
  color: #aaa;
  margin-top: 8px;
  line-height: 1.5;
}

.footer-cta {
  display: inline-block;
  margin-top: 5px;
  font-size: 16px;
  color: #ffcc00;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease-in-out all;
}

.footer-cta:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-quote {
  font-style: italic;
  font-size: 13px;
  color: #777;
}

.footer-address {
  font-size: 16px;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links li a {
  font-size: 16px;
}
/* .ms-footer-social {
    justify-content: center;
} */
/* ----------------------- */
/* Footer End */
/* ----------------------- */

/* ----------------------- */
/* Gallery start here */
/* ----------------------- */
.ms-product-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 45px 24px;
}

.ms-model1 .modal-dialog {
  max-width: 660px;
}
.ms-product-modal-wrapper {
  padding: 10px 10px 10px 40px;
}
.ms-product-img {
  padding: 0;
  height: 260px;
}
.ms-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product__modal-img {
  padding: 10px 10px;
}
.product__modal-box ul {
  justify-content: center;
}

.product__modal-box ul li .nav-link {
  width: 110px;
  height: 90px;
  padding: 10px;
}

@media (max-width: 1199px) {
  .ms-product-grid {
    grid-template-columns: auto auto auto;
  }
}

@media (max-width: 991px) {
  .ms-product-grid {
    grid-template-columns: auto auto;
  }
}

@media (max-width: 575px) {
  .ms-product-grid {
    grid-template-columns: auto;
  }
}

/* ----------------------- */
/* Gallery End */
/* ----------------------- */

/* ----------------------- */
/* Footer Contact Button Start here */
/* ----------------------- */

.footer__contact-wrapper {
  text-align: center;
}

.footer__contact-btn {
  font-weight: 600;
  font-size: 16px;
  color: var(--clr-common-white);
  text-transform: capitalize;
  height: 60px;
  line-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--clr-border-1);
  border-radius: 30px;
  padding: 0 25px;
  white-space: nowrap;
  transition: 0.3s;
}

.footer__contact-btn i {
  color: var(--clr-theme-1);
  margin-right: 10px;
  transition: 0.3s;
}

.footer__contact-btn:hover {
  background-color: var(--clr-theme-1);
  color: var(--clr-common-white);
  border-color: var(--clr-theme-1);
}

.footer__contact-btn:hover i {
  color: var(--clr-common-white);
}

/* ----------------------- */
/* Footer Contact Button End */
/* ----------------------- */

.ms-cta-m-120 {
  margin-bottom: -80px;
}
.footer-column-1 {
  padding-inline-start: 100px;
}

.footer-column-3 {
  padding-inline-start: 10px;
}

@media (max-width: 575px) {
  .ms-cta-m-120 {
    margin-bottom: -20px;
  }

  .footer-address {
    font-size: 15px;
  }

  .footer-links li a {
    font-size: 14px;
  }
  .footer-column-1 {
    padding-inline-start: 40px;
  }
  .footer-column-3 {
    padding-inline-start: 40px;
  }
  .ms-footer-copy p {
    font-size: 14px;
  }
  .work__features-action {
    gap: 30px 50px;
  }
  .p-5 {
    padding: 1rem !important;
  }
}
.ms-text2 {
  color: var(--clr-text-11);
}
