/* ========================================
   The White Rehab - Drug Rehabilitation Page Stylesheet
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4a7c59;
    --dark-green: #2d5a3d;
    --light-green: #6b9b7a;
    --accent-red: #d32f2f;
    --gold: #c9a961;
    --cream: #f5f1e8;
    --brown: #8b6914;
    --text-dark: #333;
    --text-gray: #666;
}

body {
    font-family: 'DB Heavent', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Intro Section
   ======================================== */
.dr-intro-section {
    background-color: #f7f4eb;
    padding: 60px 0 40px;
}

.dr-intro-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.dr-intro-left {
    flex: 1;
}

.dr-intro-title {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}   

.dr-intro-subtitle {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.dr-intro-slogan {
    font-size: 2.225rem;
    color: var(--text-gray);

}

.dr-intro-right {
    flex-shrink: 0;
    text-align: right;
    padding-top: 8px;
}

.dr-intro-consult {
    font-size: 2.25rem;
    color: var(--text-gray);
    margin-bottom: -5px;
}

.dr-intro-phone {
    font-size: 2.25rem;
    font-weight: 550;
    color: var(--text-gray);
}

/* ========================================
   Programs Section
   ======================================== */
.dr-programs-section {
    background-color: #f7f4eb;
    padding: 20px 0 60px;
}

.dr-program-card {
    margin-bottom: 32px;
}

.dr-program-card img {
    width: 100%;
    height: auto;
    display: block;
}

.dr-program-card__image-wrap {
    position: relative;
    width: 44%;
    flex-shrink: 0;
    overflow: hidden;
}

.dr-program-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dr-program-card__nav {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.75);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    line-height: 1;
    transition: background 0.2s;
}

.dr-program-card__nav:hover {
    background: rgba(255, 255, 255, 0.95);
}

.dr-program-card__overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.3);
    padding: 16px 20px 18px;
    color: var(--text-dark);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
}

.dr-overlay__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.45;
    margin-bottom: 12px;
}

.dr-overlay__duration {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-gray);
    white-space: nowrap;
}

.dr-btn-orange {
    display: inline-block;
    background: linear-gradient(180deg, #f5ad68 0%, #fd8818 100%);
    color: #fff;
    padding: 7px 22px;
    border-radius: 20px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dr-btn-orange:hover {
    background-color: #c96a10;
}

.dr-program-card__content {
    flex: 1;
    background-color: #9e6100;
    color: #fff;
    padding: 36px 36px 32px;
}

.dr-program-card__title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #e4c3a2;
    margin-bottom: 8px;
    line-height: 1.35;
}

.dr-program-card__duration {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
}

.dr-program-card__content p {
    font-size: 1.225rem;
    /* line-height: 1.75; */
    margin-bottom: 12px;
    color: #e4c3a2;
    margin-bottom: -3px;
}

.dr-program-card__highlight {
    margin-top: 16px;
    font-size: 1.3rem !important;
}

/* ========================================
   Drug Types Section
   ======================================== */
.dr-types-section {
    background-color: #f7f4eb;
    padding: 64px 0;
}

.dr-types-title {
    font-size: 4rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.dr-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dr-type-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 60px;
    padding: 4px 16px 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.dr-type-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.dr-type-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dr-type-item span {
    font-size: 1.3rem;
    font-weight: 550;
    line-height: 1.4;
}

.dr-type-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #4c7b5a;
}

/* ========================================
   Contact Form Section
   ======================================== */
.dr-contact-section {
    background-color: var(--cream);
    padding: 64px 0;
}

.dr-contact-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.dr-contact-left {
    flex-shrink: 0;
    width: 420px;
    padding-top: 6px;
}

.dr-contact-title {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

.dr-contact-right {
    flex: 1;
}

.dr-contact-form input,
.dr-contact-form textarea {
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 1.5rem;
    font-family: 'DB Heavent', sans-serif;
    color: var(--text-dark);
    margin-bottom: 12px;
    outline: none;
    display: block;
}

.dr-contact-form input:focus,
.dr-contact-form textarea:focus {
    box-shadow: 0 0 0 2px var(--gold);
}

.dr-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.dr-form-submit {
    text-align: center;
    margin-top: 10px;
}

.dr-submit-btn {
    background: linear-gradient(180deg, #f5ad68 0%, #fd8818 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 8px 52px;
    font-size: 1.5rem;
    font-family: 'DB Heavent', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dr-submit-btn:hover {
    background-color: #c96a10;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
    .dr-intro-inner {
        flex-direction: column;
        gap: 20px;
    }

    .dr-intro-left,
    .dr-intro-right{
        width: 100%;
        flex: none;
    }

    .dr-intro-right {
        text-align: left;
    }

    .dr-program-card {
        flex-direction: column;
        height: auto;
    }

    .dr-program-card__image-wrap {
        width: 100%;
        height: 240px;
        min-height: unset;
    }

    .dr-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dr-contact-inner {
        flex-direction: column;
        gap: 28px;
    }

    .dr-contact-left {
        width: 100%;
    }

    .dr-contact-right {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .dr-intro-title {
        font-size: 2rem;
    }

    .dr-intro-subtitle {
        text-align: center;
        font-size: 1.75rem;
    }

    .dr-intro-slogan {
        margin-top: -20px;
        text-align: center;
        font-size: 1.4rem;
    }

    .dr-intro-consult,
    .dr-intro-phone {
        text-align: center;
        font-size: 1.5rem;
    }

    .dr-types-title {
        font-size: 2rem;
    }

    .dr-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dr-type-circle {
        width: 70px;
        height: 70px;
    }

    .dr-program-card__title {
        font-size: 1.25rem;
    }

    /* Contact Form Section */
    .dr-contact-section {
        padding: 40px 0;
    }

    .dr-contact-title {
        text-align: center;
        font-size: 1.75rem;
    }

    .dr-contact-form input,
    .dr-contact-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .dr-submit-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    /* — Intro Section — */
    .dr-intro-title {
        font-size: 3rem;
    }

    .dr-intro-subtitle {
        font-size: 2.5rem;
    }

    .dr-intro-slogan {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .dr-intro-consult,
    .dr-intro-phone {
        font-size: 2rem;
    }

    /* — Programs Section — */
    .dr-program-card__title {
        font-size: 3rem;
    }

    .dr-program-card__duration {
        font-size: 1.5rem;
    }

    .dr-program-card__content p,
    .dr-program-card__highlight {
        font-size: 1.25rem !important;
    }

    .dr-overlay__title {
        font-size: 1.5rem;
    }

    .dr-overlay__duration {
        font-size: 1.25rem;
    }

    /* — Drug Types Section — */
    .dr-types-title {
        font-size: 3rem;
    }

    .dr-type-item a {
        font-size: 1.25rem;
    }

    /* — Contact Section — */
    .dr-contact-title {
        font-size: 3rem;
    }

    .dr-contact-form input,
    .dr-contact-form textarea {
        font-size: 1.25rem;
    }
}