.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease; /* smooth fade */
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    max-width: 550px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* subtle shadow */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #000; /* set text color to black */
    line-height: 1.7;
    text-align: justify; /* paragraph justification */
}

.modal-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #333;
}

.contact-cards .card {
  display: flex;
  align-items: center;
  background: #f7f9fc; /* 🔹 light gray background for cards */
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 1.8rem;
  margin-right: 12px;
}

.card-info .title {
  display: block;
  font-weight: bold;
  color: #222;
}

.card-info p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-align: center; /* title centered */
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify; /* paragraph justified */
    color: #555;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.contact-list li {
    display: flex;
    flex-direction: column; /* stack icon + title + content vertically */
    margin-bottom: 15px;
    font-size: 1rem;
    color: #000;
}

.contact-list li .icon {
    font-size: 1.3rem;
    margin-bottom: 5px; /* space between icon and title */
}

.contact-list li .title {
    font-weight: 700;
    margin-bottom: 4px; /* space between title and content */
    display: block;       /* ensures it’s on a separate line */
}

.service-cards .card {
  display: flex;
  align-items: center;
  background: #f0f8ff; /* light blue background */
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.service-cards .card-icon {
  font-size: 26px;
  margin-right: 12px;
}
