/* =========================================
   Contact Us Page Styles
   Prefix: ctc-
   ========================================= */

:root {
    --ctc-primary: #007791;
    --ctc-primary-dark: #005669;
    --ctc-secondary: #00a8cc;
    --ctc-dark: #2b2d42;
    --ctc-gray: #6c757d;
    --ctc-light: #f8f9fa;
    --ctc-border: #e9ecef;
    --ctc-radius: 12px;
    --ctc-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --ctc-transition: all 0.3s ease;
}

/* Container مستقل (برای اینکه مثل About دقیق و قابل کنترل باشد) */
.ctc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* =========================================
   HERO (مثل About)
   ========================================= */

.ctc-hero {
    padding: 50px 0;
    color: #ffffff;
    text-align: right;
    background: linear-gradient(135deg, var(--ctc-primary) 0%, #0a4f60 100%);
    border-bottom: 4px solid var(--ctc-secondary);
}

/* breadcrumb مثل About */
.ctc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.ctc-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--ctc-transition);
}

.ctc-breadcrumb a:hover {
    color: var(--ctc-secondary);
}

.ctc-divider {
    color: rgba(255, 255, 255, 0.5);
}

.ctc-current {
    color: #e9ecef;
}

.ctc-hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.6;
    color: #ffffff;
}

.ctc-hero-content p,
.ctc-hero-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2;
}

.ctc-hero-description p { margin: 0; }

/* =========================================
   BODY
   ========================================= */

.ctc-body-section {
    padding: 60px 0 75px;
    background-color: #fcfcfc;
}

.ctc-page-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.ctc-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    flex-shrink: 0;

    color: #ffffff;
    font-size: 1.25rem;
    background: var(--ctc-primary);
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(0, 119, 145, 0.2);
}

.ctc-heading-text h2 {
    margin: 0 0 6px;
    color: var(--ctc-dark);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.7;
}

.ctc-heading-text p {
    margin: 0;
    color: var(--ctc-gray);
    font-size: 0.96rem;
    line-height: 1.9;
}

/* =========================================
   Grid & Cards
   ========================================= */

.ctc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 30px;
    align-items: stretch;
}

.ctc-card {
    height: 100%;
    padding: 30px;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid var(--ctc-border);
    border-radius: var(--ctc-radius);
    box-shadow: var(--ctc-shadow);
    transition: var(--ctc-transition);
}

.ctc-card:hover {
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ctc-card-header {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--ctc-border);
}

.ctc-card-header > i {
    color: var(--ctc-primary);
    font-size: 1.45rem;
}

.ctc-card-header h3 {
    margin: 0;
    color: var(--ctc-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

/* =========================================
   Hospital Information
   ========================================= */

.ctc-hospital-name {
    margin: -5px 0 20px;
    padding: 12px 14px;

    color: var(--ctc-primary-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8;

    background: #f0f9fb;
    border-right: 4px solid var(--ctc-primary);
    border-radius: 6px;
}

.ctc-contact-list { display: grid; gap: 14px; }

.ctc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px;
    background: #fafbfc;
    border: 1px solid var(--ctc-border);
    border-radius: 8px;
    transition: var(--ctc-transition);
}

.ctc-contact-item:hover {
    background: #f0f9fb;
    border-color: rgba(0, 119, 145, 0.38);
}

.ctc-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    color: var(--ctc-primary);
    font-size: 1.1rem;

    background: #e8f6f9;
    border-radius: 8px;
}

.ctc-contact-content { min-width: 0; flex: 1; }

.ctc-contact-label {
    display: block;
    margin-bottom: 4px;

    color: var(--ctc-primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.ctc-contact-value {
    display: block;
    color: var(--ctc-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.9;

    overflow-wrap: anywhere;
    text-decoration: none;
}

a.ctc-contact-value { transition: var(--ctc-transition); }
a.ctc-contact-value:hover { color: var(--ctc-primary); text-decoration: none; }

.ctc-contact-note {
    display: block;
    margin-top: 3px;

    color: var(--ctc-gray);
    font-size: 0.86rem;
    line-height: 1.8;
}

.ctc-email-value { direction: ltr; text-align: right; }
.ctc-address-value { font-size: 0.95rem; font-weight: 600; line-height: 2; }

.ctc-empty-note {
    padding: 14px 16px;
    background: #fff6f6;
    border: 1px solid #ffd6d6;
    border-radius: 8px;
    color: #b42318;
    font-size: 0.92rem;
    line-height: 1.9;
}

/* =========================================
   Map
   ========================================= */

.ctc-map-intro {
    margin: -2px 0 20px;
    color: var(--ctc-gray);
    font-size: 0.95rem;
    line-height: 1.95;
}

.ctc-map-frame {
    position: relative;
    width: 100%;
    min-height: 340px;
    overflow: hidden;

    background: #eef5f7;
    border: 1px solid var(--ctc-border);
    border-radius: 10px;
}

.ctc-map-frame iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}

.ctc-map-caption {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 15px;
    padding: 12px 14px;

    color: var(--ctc-gray);
    font-size: 0.88rem;
    line-height: 1.9;

    background: #fafbfc;
    border-right: 3px solid var(--ctc-secondary);
    border-radius: 6px;
}

.ctc-map-caption i { margin-top: 5px; color: var(--ctc-primary); }

/* =========================================
   Help Box (مثل About vibe)
   ========================================= */

.ctc-help-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-top: 30px;
    padding: 22px 25px;

    background: #f0f9fb;
    border: 1px solid #d5edf2;
    border-right: 5px solid var(--ctc-primary);
    border-radius: var(--ctc-radius);
}

.ctc-help-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    color: #ffffff;
    font-size: 1.1rem;
    background: var(--ctc-primary);
    border-radius: 50%;
}

.ctc-help-content h3 {
    margin: 0 0 5px;
    color: var(--ctc-dark);
    font-size: 1.08rem;
    font-weight: 700;
}

.ctc-help-content p {
    margin: 0;
    color: #4a5568;
    font-size: 0.94rem;
    line-height: 1.95;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 991.98px) {
    .ctc-grid { grid-template-columns: 1fr; }

    .ctc-map-frame,
    .ctc-map-frame iframe {
        min-height: 380px;
        height: 380px;
    }
}

@media (max-width: 767.98px) {
    .ctc-hero { padding: 38px 0; }

    .ctc-hero-content h1 { font-size: 1.65rem; }
    .ctc-hero-content p,
    .ctc-hero-description { font-size: 1rem; line-height: 1.9; }

    .ctc-body-section { padding: 40px 0 55px; }

    .ctc-page-heading { gap: 12px; margin-bottom: 24px; }

    .ctc-heading-icon {
        width: 42px;
        height: 42px;
        font-size: 1.08rem;
    }

    .ctc-heading-text h2 { font-size: 1.2rem; }
    .ctc-heading-text p { font-size: 0.9rem; }

    .ctc-card { padding: 21px 17px; }
    .ctc-card-header h3 { font-size: 1.12rem; }

    .ctc-contact-item { gap: 11px; padding: 14px; }

    .ctc-contact-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 1rem;
    }

    .ctc-contact-value { font-size: 0.94rem; }

    .ctc-map-frame,
    .ctc-map-frame iframe {
        min-height: 300px;
        height: 300px;
        border-radius: 8px;
    }

    .ctc-help-box { gap: 12px; padding: 18px; }

    .ctc-help-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 0.95rem;
    }
}

@media (max-width: 479.98px) {
    .ctc-hero-content h1 { font-size: 1.45rem; }
    .ctc-breadcrumb { font-size: 0.82rem; }

    .ctc-card-header > i { font-size: 1.2rem; }

    .ctc-map-frame,
    .ctc-map-frame iframe {
        min-height: 260px;
        height: 260px;
    }
}
