/* Common CSS for Arukah Health Website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066FF;
    --primary-orange: #FF4500;
    --accent-red: #FF0000;
    --soft-white: #FEFEFE;
    --warm-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #8B9DC3;
    --gentle-shadow: rgba(0, 0, 0, 0.08);
    --blue-soft: rgba(0, 102, 255, 0.1);
    --orange-soft: rgba(255, 69, 0, 0.1);
    --red-soft: rgba(255, 0, 0, 0.1);
    --success-green: #10B981;
    --error-red: #EF4444;
    --star-color: #FFC107;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--soft-white);
    font-weight: 400;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Clean Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Professional Header */
header {
    position: relative;
    width: 100%;
    background: var(--soft-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--blue-soft);
    color: var(--primary-blue);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Comprehensive Footer - FIXED to flow naturally */
footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    position: static;
    margin-top: 0;
    clear: both;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact-info .icon {
    color: var(--primary-orange);
    font-weight: bold;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-services-list {
    list-style: none;
}

.footer-services-list li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1.2rem;
}

.footer-services-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.footer-hours h5 {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hours-list,
.footer-hours-list {
    list-style: none;
}

.hours-list li,
.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-links a:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}

.footer-certifications {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ensure sections don't overlap */
section {
    position: relative;
    z-index: 1;
    clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px var(--gentle-shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .certifications-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-hours {
        padding: 1rem;
    }

    .cert-badge {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
}
