/* Custom CSS for Clear Choice De-addiction Centre */

/* Utility Classes derived from Inline Styles */
.vision-section, .values-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.mission-section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-0 {
    margin-bottom: 0;
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin: 0 auto;
}

.text-gray {
    color: #666;
}

.font-1-1 {
    font-size: 1.1em;
}

.lh-1-6 {
    line-height: 1.6;
}

/* Values Grid System */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-item-title {
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

/* Treatment Section Styles */
.treatment-section {
    padding: 80px 0;
    background-color: #d3ddc2;
    height: auto;
}

.treatment-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.treatment-title-wrapper h2 {
    font-size: 2.5em;
    color: #0f2e15;
    margin-bottom: 15px;
}

.treatment-title-wrapper p {
    color: #666; /* Default color, can be overridden */
    font-size: 1.1em;
}

.treatment-title-wrapper p.light-text {
    color: #d3ddc2;
}

.highlight-text {
    color: #4a7c59;
}

/* Treatment Cards Grid */
.treatment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto;
    width: 100%;
}

.treatment-cards-grid.wide {
    max-width: 1400px;
}

.treatment-cards-grid.standard {
    max-width: 1200px;
}

/* Treatment Card */
.treatment-card {
    aspect-ratio: 1/1;
    background: #0f2e15;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.treatment-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Icon Background Colors */
.icon-bg-green { background: #e8f5e9; }
.icon-bg-blue { background: #e3f2fd; }
.icon-bg-orange { background: #fff3e0; }
.icon-bg-purple { background: #f3e5f5; }
.icon-bg-pink { background: #fce4ec; }
.icon-bg-teal { background: #e0f2f1; }

.treatment-card h3 {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.treatment-card p {
    color: #d3ddc2;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .treatment-section {
        padding: 60px 0;
    }
    
    .treatment-title-wrapper h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .treatment-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .treatment-card {
        padding: 30px 20px;
        aspect-ratio: auto; /* Allow height to grow if content is long */
        min-height: 280px; /* maintained approximate square look */
    }

    .treatment-title-wrapper h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .treatment-cards-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .treatment-card {
        min-height: auto; /* Content driven height */
        padding: 40px 25px;
    }
}
