/* Mobile-First Shared Styles for CISI Subpages */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}

body {
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky Contact Icons (Mobile-first sizing) */
.sticky-icons {
    position: fixed;
    left: 10px;
    top: 66px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.icon-btn,
.icon-btn:visited {
    width: 40px;
    height: 40px;
    background-color: #1B5730;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.08);
}

/* Sticky Header (Mobile-first) */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000000;
    padding: 6px 0;
}

.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0 8px;
    width: 100%;
}

.sticky-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo {
    height: 2rem;
    width: auto;
}

.nav-brand-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    background: none;
    border: none;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
}

.nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    list-style: none;
    background-color: #000000;
    padding: 12px 0;
    width: 100%;
    position: absolute;
    top: 56px;
    left: 0;
    z-index: 998;
    border-top: 1px solid #222;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    width: 100%;
    text-align: center;
}

.nav-links li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.96rem;
}

.nav-links li a:hover,
.nav-links li a.nav-active {
    color: #23b24a;
    text-decoration: underline;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
    background-color: #f3f6f4;
    border-bottom: 1px solid #dce5df;
    padding: 10px 16px;
    font-size: 0.86rem;
    color: #444;
}

.breadcrumb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumb-inner a {
    color: #1B5730;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-inner a:hover {
    text-decoration: underline;
}

/* Page Hero Banner */
.page-hero {
    background: linear-gradient(135deg, #0b2414 0%, #1B5730 100%);
    color: #ffffff;
    padding: 38px 16px;
    text-align: center;
}

.page-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: #FFD700;
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.page-hero h1 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: #e6f2ea;
    margin-bottom: 14px;
    font-weight: 600;
}

.page-hero-summary {
    font-size: 0.96rem;
    color: #f4f8f5;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Main Content Container */
.page-main {
    padding: 36px 16px 48px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Coming Soon Card (Service Pages) */
.coming-soon-card {
    max-width: 860px;
    margin: 0 auto;
    border: 2px solid #1B5730;
    border-radius: 12px;
    padding: 28px 18px;
    text-align: center;
    background-color: #f9fbf9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.service-preview-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 18px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.coming-soon-icon {
    font-size: 2.4rem;
    color: #1B5730;
    margin-bottom: 12px;
}

.coming-soon-pill {
    display: inline-block;
    background-color: #1B5730;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.coming-soon-card h2 {
    font-size: 1.4rem;
    color: #0a3d62;
    margin-bottom: 12px;
}

.coming-soon-card p {
    font-size: 0.98rem;
    color: #222222;
    max-width: 680px;
    margin: 0 auto 22px auto;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.trust-tag {
    background-color: #ffffff;
    border: 1px solid #1B5730;
    color: #1B5730;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Action Buttons (Mobile-first full-width tap targets >= 44px) */
.cta-action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.cta-btn,
.cta-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, background-color 0.2s ease;
}

.cta-btn:active {
    transform: translateY(1px);
}

.cta-whatsapp {
    background-color: #1B5730;
    color: #ffffff !important;
}

.cta-whatsapp:hover {
    background-color: #144224;
}

.cta-session {
    background-color: #0a3d62;
    color: #ffffff !important;
}

.cta-session:hover {
    background-color: #072c47;
}

.cta-appointment {
    background-color: #FFD700;
    color: #111111 !important;
}

.cta-appointment:hover {
    background-color: #e6c200;
}

.cta-btn.copied-state {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
}

.session-id-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #b9c9be;
    font-size: 0.86rem;
    color: #333;
}

.session-id-code {
    display: inline-block;
    margin-top: 6px;
    background-color: #eef3ef;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
    color: #111;
}

/* All Services Directory Strip */
.all-services-nav {
    background-color: #f2f2f2;
    padding: 36px 16px;
}

.all-services-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.all-services-inner h3 {
    text-align: center;
    color: #1B5730;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.service-pills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.service-pill-link,
.service-pill-link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: #ffffff;
    border: 1.5px solid #1B5730;
    color: #1B5730;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.service-pill-link:hover,
.service-pill-link.current-page {
    background-color: #1B5730;
    color: #ffffff !important;
}

/* ===================== Appointment Page Styles ===================== */
.qr-payment-box {
    text-align: center;
    background-color: #f8faf8;
    border: 2px solid #1B5730;
    border-radius: 10px;
    padding: 22px 16px;
    max-width: 440px;
    margin: 0 auto 32px auto;
}

.qr-payment-box img {
    max-width: 190px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.fee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
}

.fee-card {
    border: 2px solid #1B5730;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.fee-card.featured-fee {
    border-color: #d4af37;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.fee-card-header {
    background-color: #1B5730;
    color: #ffffff;
    padding: 16px 14px;
}

.fee-card.featured-fee .fee-card-header {
    background-color: #FFD700;
    color: #111111;
}

.fee-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
}

.fee-card-body {
    padding: 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.fee-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0a3d62;
}

.fee-note {
    font-size: 0.92rem;
    color: #333333;
}

.tnc-box {
    background-color: #f8f8f8;
    border-left: 4px solid #1B5730;
    border-radius: 8px;
    padding: 22px 18px;
    color: #222;
}

.tnc-box h2 {
    font-size: 1.25rem;
    color: #1B5730;
    margin-bottom: 14px;
    text-decoration: underline;
}

.tnc-box ol {
    padding-left: 20px;
}

.tnc-box li {
    margin-bottom: 12px;
    font-size: 0.94rem;
    line-height: 1.6;
}

.tnc-box a {
    color: #1B5730;
    font-weight: 600;
}

/* ===================== Contact Page Styles ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 36px;
}

.contact-card {
    border: 2px solid #1B5730;
    border-radius: 10px;
    padding: 24px 18px;
    background-color: #f9fbf9;
    text-align: center;
}

.contact-card h2 {
    color: #1B5730;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 14px;
}

.contact-qr-img {
    max-width: 190px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.desk-direct-box {
    border: 2px solid #0a3d62;
    border-radius: 10px;
    padding: 24px 18px;
    text-align: center;
    background-color: #ffffff;
    margin-bottom: 32px;
}

.desk-direct-box h2 {
    color: #0a3d62;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.desk-direct-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.desk-direct-links a {
    color: #1B5730;
    text-decoration: none;
    word-break: break-word;
}

.desk-direct-links a:hover {
    text-decoration: underline;
}

.office-map-card {
    border: 2px solid #1B5730;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    background-color: #f8faf8;
}

.office-map-card h2 {
    color: #0a3d62;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.office-map-card img {
    width: 100%;
    max-width: 780px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #1B5730;
}

.office-map-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #444;
    font-style: italic;
}

/* ===================== FAQ Page Styles ===================== */
.faq-page-list {
    max-width: 880px;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-page-list details {
    border: 1.5px solid #1B5730;
    border-radius: 8px;
    background-color: #f9fbf9;
    overflow: hidden;
}

.faq-page-list summary {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 1rem;
    color: #0a3d62;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-page-list summary::-webkit-details-marker {
    display: none;
}

.faq-page-list summary::after {
    content: "+";
    font-size: 1.35rem;
    font-weight: 800;
    color: #1B5730;
    flex-shrink: 0;
}

.faq-page-list details[open] summary {
    background-color: #1B5730;
    color: #ffffff;
}

.faq-page-list details[open] summary::after {
    content: "−";
    color: #FFD700;
}

.faq-answer-body {
    padding: 16px 18px;
    background-color: #ffffff;
    color: #222222;
    font-size: 0.96rem;
    line-height: 1.65;
    border-top: 1px solid #dce5df;
}

.faq-answer-body a {
    color: #1B5730;
    font-weight: 600;
}

/* Social Icons & Footer */
#social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px 16px;
    background-color: #ffffff;
}

.social-link {
    color: #1B5730;
    font-size: 30px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    transform: scale(1.12);
    color: #0a3d62;
}

.site-footer {
    background-color: #1B5730;
    color: #ffffff;
    text-align: center;
    padding: 16px 12px;
    font-size: 0.86rem;
}

.footer-main {
    max-width: 1100px;
    margin: 0 auto 8px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.86rem;
}

#backToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 999;
    background-color: #0a3d62;
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: none;
}

#backToTopBtn:hover {
    background-color: #1B5730;
}

/* ===================== Tablet & Desktop Enhancements (min-width: 769px) ===================== */
@media (min-width: 769px) {
    .sticky-icons {
        top: 50%;
        transform: translateY(-50%);
    }

    .icon-btn {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .hamburger {
        display: none;
    }

    .nav-logo {
        height: 2.4rem;
    }

    .nav-brand-text {
        font-size: 2.4rem;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        padding: 0;
        gap: 14px;
        border-top: none;
    }

    .nav-links li {
        width: auto;
    }

    .nav-links li a {
        padding: 6px 8px;
        font-size: 0.92rem;
    }

    .page-hero {
        padding: 56px 24px;
    }

    .page-hero h1 {
        font-size: 2.35rem;
    }

    .page-hero-subtitle {
        font-size: 1.15rem;
    }

    .coming-soon-card {
        padding: 42px 32px;
    }

    .coming-soon-card h2 {
        font-size: 1.7rem;
    }

    .cta-action-row {
        flex-direction: row;
        justify-content: center;
    }

    .cta-btn {
        width: auto;
        min-width: 210px;
    }

    .service-pills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        flex-direction: row;
        justify-content: space-between;
    }
}
