/* --- 1. RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2b3a4a;
    line-height: 1.6;
    
    /* Cosmic Background Image Setup */
    background-image: url('../images/background-nebula.jpg'); 
    background-size: cover; 
    background-position: center bottom; 
    background-attachment: fixed; 
    background-repeat: no-repeat; 
    background-color: #06152b; /* Fallback deep blue color */
}

/* --- 2. NAVIGATION BAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    background-color: rgba(255, 255, 255, 0.95); /* High opacity white for crisp navigation readability */
    border-bottom: 1px solid #eadecc;
    backdrop-filter: blur(5px);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lotus-icon {
    font-size: 2.5rem;
    color: #bfa15f; /* Muted gold tone */
}

.logo-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #0b2545;
}

.logo-text p {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #bfa15f;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #0b2545;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #bfa15f;
    border-bottom: 2px solid #bfa15f;
    padding-bottom: 4px;
}

/* --- 3. MAIN CONTAINER LAYOUT --- */
.main-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 80vh;
    padding: 60px 6%;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- 4. LEFT COLUMN (TEXT CONTENT) --- */
.content-left {
    padding: 40px;
    background-color: rgba(252, 249, 242, 0.93); /* Soft glassmorphism panel so text remains flawlessly readable */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.script-heading {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #bfa15f;
    display: block;
    margin-bottom: -15px;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: #0b2545;
    letter-spacing: 1px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 15px 0 25px 0;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eadecc;
}

.lotus-small {
    margin: 0 15px;
    color: #bfa15f;
}

.sub-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #0b2545;
    margin-bottom: 20px;
}

.content-left p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #334e68;
    text-align: justify;
}

.callout-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #0b2545;
    text-align: center;
    margin: 30px 0 10px;
    font-weight: 600;
}

.heart-divider, .heart-divider-gold {
    text-align: center;
    color: #bfa15f;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

/* Beliefs List */
.beliefs-list {
    list-style: none;
    margin-bottom: 40px;
}

.beliefs-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #334e68;
}

.bullet-icon {
    color: #bfa15f;
}

/* Testimonials Box */
.transformations-section {
    margin-top: 40px;
}

.section-sub-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #bfa15f;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-sub-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eadecc;
}

.intro-p, .outro-p {
    font-style: italic;
    margin-top: 10px;
}

.testimonial-box {
    background-color: #f7f1e5;
    border: 1px solid #eaddca;
    border-radius: 4px;
    padding: 30px;
    position: relative;
    margin: 20px 0;
}

.quote-mark {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    position: absolute;
    color: #bfa15f;
    opacity: 0.3;
    line-height: 1;
}

.quote-mark.open {
    top: 10px;
    left: 15px;
}

.quote-mark.close {
    bottom: -10px;
    right: 15px;
}

.quote-item {
    font-style: italic;
    text-align: center;
    margin-bottom: 15px !important;
    font-size: 1rem !important;
    color: #2b3a4a !important;
}

.quote-item:last-child {
    margin-bottom: 0 !important;
}


/* --- 5. RIGHT COLUMN (IMAGE CARD COMPOSITION) --- */
.content-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #0b2545; 
    border-radius: 8px 8px 240px 240px; /* Elegant bottom arches */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(5, 17, 33, 0.4);
    display: flex;
    flex-direction: column;
}

.profile-img {
    width: 100%;
    height: 480px; 
    object-fit: cover; /* Keeps image perfectly proportioned without crushing aspect ratios */
    object-position: center 15%; /* Vertically centers the portrait composition precisely */
    display: block;
    border-bottom: 3px solid #bfa15f;
}

.overlay-card {
    background: linear-gradient(180deg, #0b2545 0%, #051121 100%);
    padding: 45px 35px 60px 35px;
    text-align: center;
    color: #ffffff;
}

.card-lotus {
    font-size: 2rem;
    color: #bfa15f;
    margin-bottom: 15px;
}

.overlay-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    color: #ebd096;
    line-height: 1.4;
}

.overlay-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.95;
}

.heart-divider-gold {
    color: #ebd096;
    margin: 20px 0;
    font-size: 0.9rem;
}

.script-quote {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
    color: #ffffff;
}

.gold-text {
    font-family: 'Great Vibes', cursive;
    color: #ebd096;
}

.water-lotus {
    font-size: 2.8rem;
    margin-top: 25px;
    opacity: 0.9;
    display: block;
}


/* --- 6. FOOTER CALL-TO-ACTION BAR --- */
.cta-bar {
    background-color: rgba(237, 227, 211, 0.96); /* Slightly transparent cream matching look */
    padding: 40px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid #e1d3be;
    backdrop-filter: blur(10px);
}

.closing-gratitude {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #bfa15f;
    margin-bottom: -5px;
}

.cta-left h2 {
    font-family: 'Cinzel', serif;
    color: #0b2545;
    font-size: 2rem;
    letter-spacing: 1px;
}

.credentials {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #5c6b73;
    margin-top: 5px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 18px 28px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-dark-blue {
    background-color: #0b2545;
    color: #ffffff;
}

.btn-gold {
    background-color: #ba9653;
    color: #ffffff;
}


/* --- 7. BOTTOM TAGLINE FOOTER --- */
.footer-tagline {
    background-color: #051121;
    color: #ffffff;
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid #ba9653;
}

.tagline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: #ebd096;
}

.footer-lotus {
    font-size: 1.3rem;
}


/* --- 8. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }
    
    .content-right {
        order: -1; /* Pushes portrait card to the top on mobile and tablet */
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta-bar {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 2.2rem;
    }
    .content-left {
        padding: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .tagline-content {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   NEW STYLES FOR THE CREDENTIALS & QUALIFICATIONS PAGE (image_2c11ac.jpg)
   ========================================================================== */

/* Hero Setup Adjustments */
.credentials-hero-container {
    padding: 60px 6% 40px 6%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.white-text { color: #ffffff !important; }
.text-left { text-align: left; }
.width-fit { width: fit-content; margin-top: 15px; }

.hero-p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Connect button inside navigation */
.btn-nav-connect {
    background-color: #ba9653;
    color: #ffffff !important;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn-nav-connect:hover { background-color: #a38144; }

/* Profile Card Custom Top Variant */
.profile-card-wrapper {
    background: linear-gradient(180deg, rgba(11, 37, 69, 0.4) 0%, rgba(5, 17, 33, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(186, 150, 83, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.hero-profile-img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    display: block;
}

.hero-subtitle-bar {
    background-color: rgba(5, 17, 33, 0.9);
    color: #ebd096;
    padding: 20px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1.6;
    border-top: 2px solid #ba9653;
}
.hero-subtitle-bar span { font-size: 0.75rem; color: #ffffff; }

/* Main White Layout Area */
.white-body-section {
    background-color: #fcf9f2;
    padding: 60px 6%;
}

/* Beautiful Elegant Row Headers */
.section-title-divider {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #0b2545;
    letter-spacing: 2px;
    margin: 40px 0 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-title-divider::before, .section-title-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eadecc;
}
.section-title-divider span { padding: 0 20px; }

/* Credentials Grid */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.credential-card {
    background: #ffffff;
    border: 1px solid #ebd096;
    border-radius: 6px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.card-icon { font-size: 2rem; margin-bottom: 5px; }
.stars { color: #ba9653; font-size: 0.75rem; margin-bottom: 10px; letter-spacing: 2px; }

.credential-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: #0b2545;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 40px;
}

.credential-card p {
    font-size: 0.8rem;
    color: #5c6b73;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Media Cards Row */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.media-card {
    background: #ffffff;
    border: 1px solid #eadecc;
    border-radius: 6px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.media-badge {
    background: #0b2545;
    color: #ffffff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.media-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #0b2545;
    margin-bottom: 8px;
}

.media-text p {
    font-size: 0.8rem;
    color: #4a5568;
    line-height: 1.5;
}
.media-text .sub-detail { margin-top: 8px; font-style: italic; color: #718096; }

/* Dual Split Information Section */
.philosophy-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    border-top: 1px solid #eadecc;
    padding-top: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg ... (optional transparent layout graphic)>'); /* Adds the subtle watermark */
    background-repeat: no-repeat;
    background-position: center;
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: #0b2545;
    letter-spacing: 1px;
}

.mini-divider { color: #ba9653; margin: 10px 0 20px 0; font-size: 0.9rem; }

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    list-style: none;
    width: 100%;
}

.two-column-list li {
    font-size: 0.85rem;
    color: #334e68;
}

.philosophy-content {
    text-align: center;
    width: 100%;
}
.philosophy-content p {
    font-size: 0.85rem;
    color: #334e68;
    margin-bottom: 12px;
}
.bold-footer-p { font-weight: 600; color: #0b2545 !important; margin-top: 15px; }

/* Statement Banner Ribbons */
.statement-banner-bar {
    background: #051121;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #ba9653;
    border-bottom: 1px solid #ba9653;
}

.statement-banner-bar h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 5px;
}

.statement-banner-bar p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #ebd096;
    letter-spacing: 1px;
    font-style: italic;
}

/* Full Screen Width Bottom Action Box */
.bottom-cta-banner {
    background: linear-gradient(rgba(11, 37, 69, 0.75), rgba(5, 17, 33, 0.9)), url('background-nebula.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.cta-inner-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.cta-inner-content p {
    font-family: 'Great Vibes', cursive;
    color: #ebd096;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.cta-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-clear {
    border: 1px solid #ba9653;
    color: #ffffff;
    background: transparent;
}
.btn-clear:hover { background: rgba(186, 150, 83, 0.15); }

/* Detailed Footer Grid Layout */
.detailed-footer {
    background-color: #ffffff;
    padding: 40px 6%;
    border-top: 1px solid #eadecc;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand { text-align: left; }
.footer-logo-icon { font-size: 2rem; color: #ba9653; display: block; margin-bottom: 8px; }
.footer-brand p { font-family: 'Cinzel', serif; font-size: 0.85rem; color: #5c6b73; line-height: 1.4; }

.footer-center-credentials {
    text-align: center;
    border-left: 1px solid #eadecc;
    border-right: 1px solid #eadecc;
    padding: 0 20px;
}
.footer-center-credentials h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; color: #0b2545; margin-bottom: 8px; }
.footer-center-credentials p { font-size: 0.75rem; color: #5c6b73; margin-bottom: 4px; }

.footer-contact-info { text-align: right; }
.footer-contact-info p { font-size: 0.85rem; color: #334e68; margin-bottom: 8px; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-layout, .philosophy-layout-grid, .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text-side { order: 1; }
    .text-left { text-align: center; }
    .width-fit { margin: 15px auto 0 auto; }
    .footer-center-credentials { border-left: none; border-right: none; padding: 20px 0; }
    .footer-brand, .footer-contact-info { text-align: center; }
    .two-column-list { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .two-column-list { grid-template-columns: 1fr; text-align: left; }
    .cta-action-buttons { flex-direction: column; }
}

/* ==========================================================================
   NEW STYLES FOR THE TESTIMONIALS & TRANSFORMATIONS PAGE (image_2b9cec.jpg)
   ========================================================================== */

.section-tag-gold {
    font-family: 'Cinzel', serif;
    color: #ebd096;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Transformation Rows System */
.transformation-story-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #eadecc;
    border-radius: 8px;
    margin-bottom: 30px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.row-cream-bg {
    background: #fdfaf4;
    grid-template-columns: 180px 1.1fr 1fr; /* Accommodates the mini inline image */
}

.story-image-insert img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ebd096;
}

.story-left-summary {
    position: relative;
    padding-top: 20px;
}

.giant-quote {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    color: #ba9653;
    opacity: 0.25;
    position: absolute;
    top: -25px;
    left: -10px;
    line-height: 1;
}

.story-left-summary h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #0b2545;
    margin-bottom: 15px;
}

.story-left-summary p {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 10px;
}

.story-right-quotes {
    border-left: 1px solid #ebd096;
    padding-left: 30px;
}

.story-right-quotes p {
    font-style: italic;
    font-size: 0.92rem;
    color: #2d3748;
    margin-bottom: 14px;
    line-height: 1.5;
}

.quote-author {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ba9653;
    display: block;
    margin-top: 10px;
}

/* Support Matrix Row Container */
.support-matrix-banner {
    background: #0b2545;
    color: #ffffff;
    border-radius: 8px;
    padding: 35px;
    text-align: center;
    margin: 50px 0;
    border: 1px solid #ba9653;
}

.matrix-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.matrix-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.matrix-subtitle {
    font-size: 0.95rem;
    color: #ebd096;
    margin-bottom: 25px;
    font-style: italic;
}

.matrix-columns-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 25px auto;
    border-bottom: 1px dashed rgba(235, 208, 150, 0.3);
    padding-bottom: 20px;
}

.matrix-columns-container ul {
    list-style: none;
    text-align: left;
    padding-left: 20%;
}

.matrix-columns-container ul li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.matrix-tagline {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ebd096;
}

/* Personal Statement Block Layout */
.personal-statement-block-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #eadecc;
    border-radius: 8px;
    padding: 40px;
    margin-top: 40px;
    align-items: center;
}

.statement-portrait-aside img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.statement-text-aside h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #0b2545;
}

.statement-text-aside p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
}

.signature-box {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
}

.signature-font {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem !important;
    color: #0b2545 !important;
    line-height: 1;
    margin-bottom: 0px !important;
}

.signature-subtext {
    font-size: 0.75rem;
    color: #718096;
    letter-spacing: 1px;
    padding-left: 5px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .transformation-story-row {
        grid-template-columns: 1fr;
    }
    .row-cream-bg {
        grid-template-columns: 1fr;
    }
    .story-image-insert {
        max-width: 240px;
        margin: 0 auto;
    }
    .story-right-quotes {
        border-left: none;
        border-top: 1px solid #ebd096;
        padding-left: 0;
        padding-top: 20px;
    }
    .matrix-columns-container {
        grid-template-columns: 1fr;
    }
    .matrix-columns-container ul {
        padding-left: 0;
        text-align: center;
    }
    .personal-statement-block-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .statement-portrait-aside {
        max-width: 280px;
        margin: 0 auto;
    }
    .signature-box {
        align-items: center;
    }
}

/* --- NEW STYLES FOR SERVICES TABLE --- */
.table-container {
    width: 100%;
    overflow-x: auto; /* Ensures mobile layout safety if screens get ultra-narrow */
    margin: 40px 0 60px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #eadecc;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.services-table th {
    background-color: #0b2545;
    color: #ebd096;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 18px 24px;
    font-size: 0.95rem;
    border-bottom: 2px solid #ba9653;
}

.services-table td {
    padding: 24px;
    border-bottom: 1px solid #eadecc;
    color: #334e68;
    font-size: 0.92rem;
    line-height: 1.7;
    vertical-align: top;
}

.services-table tr:last-child td {
    border-bottom: none;
}

.services-table tr:nth-child(even) {
    background-color: #fdfaf4; /* Subtle contrasting cream stripe */
}

.service-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #0b2545;
    min-width: 240px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.service-meta {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ba9653;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Responsive Table Overrides for Mobile Viewports */
@media (max-width: 768px) {
    .services-table, 
    .services-table thead, 
    .services-table tbody, 
    .services-table th, 
    .services-table td, 
    .services-table tr { 
        display: block; 
    }
    
    .services-table thead {
        display: none; /* Hide standard headers on small viewports */
    }
    
    .services-table tr {
        border-bottom: 2px solid #ebd096;
        padding: 15px 0;
    }
    
    .services-table td {
        border-bottom: none;
        padding: 10px 20px;
    }
    
    .service-name {
        font-size: 1.1rem;
        padding-bottom: 5px;
    }
}