﻿/* Color Palette Variables */
:root {
    --th-brown: #9d795dd4;
    --th-white: #ffffff;
    --th-yellow: #fff9c7;
    --th-black: #000000;
}

/* 90% Screen Width Enforcement */
.th-2026-parallax-section {
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Parallax Background Settings */
.th-2026-parallax-bg {
    /* High quality medical/pharmacy background placeholder matching warm brown tones */
    background-image: url('https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?q=80&w=2000&auto=format&fit=crop');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
}

/* Warm Overlay using #9d795dd4 (Brown) */
.th-2026-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--th-brown);
    z-index: 1;
}

/* Title Styling */
.th-2026-section-title {
    color: var(--th-white);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.th-2026-title-divider {
    width: 80px;
    height: 4px;
    background-color: var(--th-yellow);
    border-radius: 2px;
    margin-top: 10px;
}

/* Individual Icon Box */
.th-2026-facility-box {
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 12px;
}

    /* Hover Effect */
    .th-2026-facility-box:hover {
        transform: translateY(-8px);
    }

/* Circle Icon Container */
.th-2026-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: var(--th-white);
    border-radius: 50%;
    border: 3px solid var(--th-yellow);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    /* Icon Styling inside circle */
    .th-2026-icon-wrapper i {
        font-size: 2.5rem;
        color: #8c6040; /* Darker brown contrast for icon inside white circle */
    }

.th-2026-facility-box:hover .th-2026-icon-wrapper {
    background-color: var(--th-yellow);
    border-color: var(--th-white);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Text Label Styling */
.th-2026-facility-label {
    color: var(--th-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Initial state for Scroll Animations */
.th-2026-scroll-anim {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

/* Fallback for devices that don't support parallax background-attachment */
@media (max-width: 768px) {
    .th-2026-parallax-bg {
        background-attachment: scroll;
    }

    .th-2026-section-title {
        font-size: 1.8rem;
    }

    .th-2026-icon-wrapper {
        width: 80px;
        height: 80px;
    }

        .th-2026-icon-wrapper i {
            font-size: 2rem;
        }

    .th-2026-facility-label {
        font-size: 1.1rem;
    }
}
