/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Custom Font Family Override */
body,
html {
  font-family: 'Cormorant Upright', sans-serif;
}

/* Ensure all text elements use Cormorant Upright */
* {
  font-family: inherit;
}

/* Paragraph styling */
p {
  font-size: 18px !important;
  font-weight: 500 !important;
}

/* Hero intro paragraph - larger text */
.hero-intro-text {
  font-size: 1.5rem !important;
}

/* Overall page background */
body {
  background-color: #e1d6d0;
}

/* Section background color override */
.main-wrapper > section:not([class*="bg-"]):not(.bg-img):not([data-background]) {
  background-color: #e1d6d0 !important;
}

/* Clients section white background override */
.client-04 .client-logo,
.client-04 .client-logo img {
  background-color: #ffb74d !important;
  background: #ffb74d !important;
}

/* Specific clients section selector */
section.mx-1-6.mx-md-9.mt-n10.bg-primary {
  background-color: #ffb74d !important;
  background: #ffb74d !important;
}

.solutions-section-bg {
  background-color: #f9f2ee !important;
}

.solutions-section-bg .title-style13 h2,
.solutions-section-bg .card-style11 h3,
.solutions-section-bg .card-style11 a,
.solutions-section-bg .card-style11 .card-body,
.solutions-section-bg .card-style11:hover h3,
.solutions-section-bg .card-style11:hover .card-body,
.solutions-section-bg .card-style11:hover a {
  color: #000 !important;
}

.service-modal-trigger {
  cursor: pointer;
  text-decoration: none;
}

.event-package-gap{
  gap: 5rem;
}

/* Service Modal Styles */
.service-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.service-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal-content {
  background-color: #f9f2ee;
  margin: auto;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.3s ease;
}

.service-modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 2px solid #ffb74d;
  background-color: #fff;
  border-radius: 10px 10px 0 0;
}

.service-modal-header h2 {
  margin: 0;
  color: #000;
  font-size: 2rem;
  font-weight: 700;
}

.service-modal-header i {
  font-size: 3rem;
  display: block;
}

.service-modal-body {
  padding: 2rem;
  color: #000;
}

.service-modal-body h4 {
  color: #000;
  font-weight: 600;
  font-size: 1.3rem;
}

.service-modal-body ul {
  padding-left: 1.5rem;
}

.service-modal-body li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.service-modal-footer {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-modal-close {
  color: #999;
  float: right;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 10;
}

.service-modal-close:hover,
.service-modal-close:focus {
  color: #000;
}

.service-modal-close-btn {
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .service-modal-header {
    padding: 1.5rem 1rem 1rem;
  }

  .service-modal-header h2 {
    font-size: 1.5rem;
  }

  .service-modal-body {
    padding: 1.5rem;
  }

  .service-modal-footer {
    padding: 1rem;
    flex-direction: column;
  }

  .service-modal-footer a,
  .service-modal-footer button {
    width: 100%;
  }
}

.justify-content-center{
  display: flex;
  justify-content: center;
}