/* 
 * Premium Header & Footer Refinements
 * Built for Hi-Cure Acupuncture Center
 */

:root {
    --primary-red: #a90000;
    --primary-blue: #0075b7;
    --text-dark: #333333;
    --text-light: #666;
    --bg-light: #f8f9fe;
    --footer-bg: #151515;
    --footer-bottom-bg: #101010;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

/* Header Refinements */
.header-toparea {
    background-color: var(--primary-red);
    padding: 10px 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.header-topinfo ul li {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.header-topinfo ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.header-topinfo ul li a:hover {
    opacity: 0.8;
}

.header-bottomarea {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header-bottominner {
    padding: 15px 0;
}

.header-logo img {
    max-height: 80px;
    width: auto;
    transition: var(--transition);
}

.tm-navigation ul li a {
    font-weight: 600;
    padding: 30px 18px;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.tm-navigation ul li:hover>a {
    color: var(--primary-red);
}

.tm-navigation-dropdown ul {
    border-top: 3px solid var(--primary-red) !important;
}

/* Footer Refinements */
.footer-toparea {
    background-color: var(--footer-bg);
    padding: 80px 0;
}

.widget-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    color: var(--white);
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.widget-contact ul li {
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.6;
}

.widget-contact b {
    color: var(--white);
    font-weight: 600;
    margin-right: 5px;
}

.widget-quicklinks ul li {
    margin-bottom: 10px;
}

.widget-quicklinks ul li a {
    color: #ccc;
    transition: var(--transition);
}

.widget-quicklinks ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-bottomarea {
    background-color: var(--footer-bottom-bg);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: #888;
    font-size: 13px;
    margin-bottom: 0;
}

.footer-copyright a {
    color: #ccc;
    font-weight: 600;
}

.footer-copyright a:hover {
    color: var(--primary-red);
}

/* Section Styling & Alignment */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-bordered {
    border-bottom: 1px solid #eee;
}

.section-label {
    display: table;
    margin: 0 auto 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    padding: 5px 15px;
    background: rgba(169, 0, 0, 0.05);
    border-radius: 50px;
}

.h2-display {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-align: center;
}

.hero-motto {
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

.lead-p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Grid System */
.grid-2,
.grid-3 {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Category Cards */
.category-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-red);
}

.category-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.condition-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.condition-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-light);
}

.condition-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 700;
}

/* Utilities */
.fade-up {
    animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alignment Adjustments */
.header-mobilemenu .mean-container .mean-nav {
    background: var(--primary-red) !important;
}

@media (max-width: 991px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .h2-display {
        font-size: 32px;
    }

    .header-toparea {
        display: none;
    }

    .header-logo img {
        max-height: 60px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }

    .footer-bottomarea .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-widgets .single-widget {
        text-align: center;
    }

    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quick-links {
        display: none;
    }
}