/* --- Global Page Style --- */
.official-service-page {
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* --- 1. Header Section --- */
.service-banner {
    background: #0d1b2a; /* Your Navy Color */
    padding: 100px 5%;
    text-align: center;
    color: white;
}

#heading {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.gold-text { color: #c9a55c; } /* Your Gold Color */

.tagline {
    font-size: 1.1rem;
    color: #cbd5e0;
    font-weight: 300;
}

/* --- Layout Container --- */
.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- 2. Details & 3. Image (Float Right Logic) --- */
.details-section {
    overflow: hidden; /* Clearfix */
    margin-bottom: 40px;
}

.image-holder {
    float: right;
    width: 45%;
    margin-left: 30px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 8px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.image-holder img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    color: #c9a55c;
    font-weight: 600;
    font-style: italic;
}

.text-area h3 {
    color: #0d1b2a;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.text-area p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

/* --- 4. Table Style --- */
.section-title {
    color: #0d1b2a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table th {
    background: #0d1b2a;
    color: white;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

table td {
    padding: 15px;
    border: 1px solid #eee;
    color: #555;
}

table tr:nth-child(even) { background: #f9f9f9; }

/* --- 5. Video Style --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-bottom: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* --- 6. Button Style --- */
.action-section {
    text-align: center;
    padding-top: 20px;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0d1b2a;
    color: white;
    padding: 20px 45px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: 0.3s ease;
    border-radius: 4px;
}

.btn-appointment:hover {
    background: #c9a55c;
    color: #0d1b2a;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .image-holder {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    #heading { font-size: 1.6rem; }
    .tagline { font-size: 0.9rem; }
    .service-banner { padding: 60px 5%; }
    
    .content-container { padding: 30px 15px; }
    
    .text-area h3 { font-size: 1.3rem; margin-bottom: 15px; }
    .text-area pre { font-size: 0.9rem; line-height: 1.7; }
    .text-area p { font-size: 0.9rem; line-height: 1.7; }
    
    .section-title { font-size: 1.1rem; margin-bottom: 20px; }
    .section-title i { font-size: 1rem; }
    
    table th, table td { padding: 12px; font-size: 0.85rem; }
    
    .btn-appointment {
        padding: 15px 30px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-banner { padding: 40px 4%; }
    #heading { font-size: 1.3rem; letter-spacing: 0.5px; }
    .tagline { font-size: 0.85rem; }
    
    .text-area h3 { font-size: 1.1rem; }
    .text-area pre { font-size: 0.85rem; }
    
    .section-title { font-size: 1rem; }
    table th, table td { padding: 10px; font-size: 0.8rem; }
    
    .btn-appointment { padding: 12px 25px; font-size: 0.85rem; }
    
    .image-caption { font-size: 0.75rem; }
}

/* --- Global Page Style --- */
.official-service-page {
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* --- 1. Header Section --- */
.service-banner {
    background: #0d1b2a; 
    padding: 80px 5%;
    text-align: center;
    color: white;
}

#heading {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.gold-text { color: #c9a55c; }

.tagline {
    font-size: 1.1rem;
    color: #cbd5e0;
    font-weight: 300;
}

/* --- Content Container --- */
.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* --- 2. Details & Pre Tag Styling --- */
.details-section {
    overflow: hidden; 
    margin-bottom: 40px;
}

/* STYLING THE PRE TAG TO LOOK LIKE NORMAL TEXT */
.text-area pre {
    font-family: 'Montserrat', sans-serif; /* Removes monospace look */
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    white-space: pre-wrap;       /* ESSENTIAL: Allows text to wrap */
    white-space: -moz-pre-wrap;  /* Firefox support */
    word-wrap: break-word;       /* Prevents horizontal scrolling */
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.text-area h3 {
    color: #0d1b2a;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #c9a55c;
    display: inline-block;
}

/* --- 3. Image (Float Right) --- */
.image-holder {
    float: right;
    width: 42%;
    margin-left: 30px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 8px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.image-holder img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    color: #c9a55c;
    font-weight: 600;
    font-style: italic;
}

/* --- 4. Table Style --- */
.section-title {
    color: #0d1b2a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table th {
    background: #0d1b2a;
    color: white;
    text-align: left;
    padding: 15px;
}

table td {
    padding: 15px;
    border: 1px solid #eee;
    color: #555;
}

table tr:nth-child(even) { background: #f9f9f9; }

/* --- 5. Video Style --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* --- 6. Button Style --- */
.action-section {
    text-align: center;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0d1b2a;
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s ease;
    border-radius: 4px;
}

.btn-appointment:hover {
    background: #c9a55c;
    color: #0d1b2a;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .image-holder {
        float: none;
        width: 100%;
        margin-left: 0;
    }
    
    #heading { font-size: 1.8rem; }
}