/* Container Styling */
.containertreatment {
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 900px;
    padding: 0 16px;
}

.treatment-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding to both sides */
}

.treatment-image-container {
    width: 100%;
    height: 320px;           /* Fixed height for desktop */
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.treatment-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* Show full image, may add letterboxing */
    display: block;
    border-radius: 8px;
    box-shadow: none;
}

/* Remove Card Styling */
.card {
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    background: none;
}

.card-body {
    padding: 0;
}

/* Title Styling */
.card-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-muted {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Image Styling */
.card img, .img-fluid {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: none;
    object-fit: cover;
    max-height: 400px;
    margin-bottom: 20px;
    display: block;
}

/* Description Styling */
.card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
}


/* Base styles */
.Introbook, .Mob {
    background-color: #217066;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    max-width: 100%;
    white-space: nowrap;
    display: inline-block;
    margin-right: 10px;
  }

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .containertreatment, .container {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0 8px;
    }
    .treatment-inner {
        padding: 0 6px;
    }
    .treatment-image-container {
        height: 160px;      /* Smaller height for mobile */
        border-radius: 6px;
    }
    .card-title {
        font-size: 1.3rem;
    }
    .card-text {
        font-size: 0.98rem;
    }
    .card img, .img-fluid {
        max-height: 180px;
        border-radius: 6px;
    }
    .text-muted {
        font-size: 0.95rem;
    }
}
