.service-section {
    padding: 30px 35px;
    background-color: #fff;
    font-family: Georgia, sans-serif;
    color: #000;
}

.service-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
      flex-direction: column; /* stack main content and button */
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}

/* Header */
.service-header h2 {
    font-size: 22px;
    letter-spacing: 0.7px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 20px; /* left and right padding */
}

.service-header span {
    color: #7A0000; /* Red accent */
}


.service-data {
    width: 100%;              /* make it scale full width of container */
    max-width: 1200px;        /* keep a maximum size only on large screens */
    margin: 0 auto;           /* center on wide screens */
    padding: 0 20px;          /* keep spacing inside */
    box-sizing: border-box;   /* ensures padding doesn’t overflow max-width */
}


.service-image {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    height: 500px;           /* set a fixed container height */
    overflow: hidden;        /* prevent overflow */
}

.service-image img {
    width: 96%;
    height: auto;
    max-height: 100%;        /* scale properly inside container */
    object-fit: cover;
    display: block;
}



.service-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    padding: 0 20px; /* left and right padding */
}

/* Two-column layout */
.service-details {
    padding: 20px; /* added padding inside the details */
}

.service-columns {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.service-requirements,
.service-fees {
    flex: 1;
    min-width: 300px;
}

.service-requirements h2,
.service-fees h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
    padding: 0 10px;
}

.service-requirements span,
.service-fees span {
    color: #7A0000;
}

.service-requirements ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.service-fees h6 {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #444;
    padding: 0 10px;
    text-align: justify;
}

/* Fees Table */
.service-fees table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.service-fees table th,
.service-fees table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

.service-fees table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.service-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


/* Book Button */
.book-button {
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    margin-top: 20px;
    right: 500px;
}

.book-button button {
    background-color: #333;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
     transition: all 0.3s ease;}

.book-button button:hover {
    background-color: #4CAF50;
     transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(76, 175, 80, 0.3); /* soft green shadow */
}

/* Add this to your style-services.css file */

.service-section .service-wrapper {
  /* This tells the wrapper to animate any changes to its opacity */
  transition: opacity 0.3s ease-in-out;
}

.service-section .service-wrapper.fading {
  /* This is the class we will add to fade the content out */
  opacity: 0;
}

/* Add this to your style-services.css */

.service-fees .fees-disclaimer {
  font-size: 0.8rem;  /* Makes it small */
  color: #666;         /* Makes it grey */
  font-style: italic;
  margin-top: -10px;  /* Pulls it up closer to the title */
  margin-bottom: 10px;/* Adds space before the table */
  text-align: center;   /* Aligns it with the title */
}

.service-fees .fees-disclaimer span {
  color: red; /* Makes the asterisk red */
}


@media (max-width: 768px) {
    .service-data {
        padding: 0 15px;   /* reduce padding */
    }

    .service-image {
        height: auto;      /* let images scale naturally */
    }

    .service-columns {
    flex-direction: column; /* stack vertically */
    gap: 0;
  }
}

@media (max-width: 480px) {
    .service-data {
        padding: 0 10px;   /* tighter on very small screens */
    }

    .service-columns {
    flex-direction: column; /* stack vertically */
  }
}
