/* Professional Healthcare Clinic Design - Qi TCM - VERSION 2.0 UPDATED */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Healthcare Header Design */
.healthcare-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8f5e8;
    margin: 0;
    padding: 0;
    width: 100vw;
}

.header-top {
    background: linear-gradient(135deg, #2c5a2c 0%, #1e4a1e 100%);
    color: white;
    padding: 1px 0;
    font-size: 12px;
    position: relative;
}

.header-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.header-contact {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.header-contact span:hover {
    transform: translateY(-1px);
}

.header-contact i {
    font-size: 16px;
    opacity: 0.9;
}

.header-main {
    padding: 1px 0;
    background: rgba(248, 252, 248, 0.5);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 25px;
}

/* Logo and Branding */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.site-logo {
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(44, 90, 44, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(44, 90, 44, 0.1);
}

.site-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(44, 90, 44, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text .site-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: #2c5a2c;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.site-title a:hover {
    color: #1e4a1e;
}

.site-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5a2c, #4a7c4a);
    transition: width 0.3s ease;
}

.site-title a:hover::after {
    width: 100%;
}

.site-tagline {
    color: #5a8a5a;
    font-size: 12px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 10;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.nav-menu .menu-item > a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    font-size: 14px;
}

.nav-menu .menu-item > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2c5a2c, #4a7c4a);
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-menu .menu-item:hover > a::before,
.nav-menu .current-menu-item > a::before {
    opacity: 1;
    transform: scale(1);
}

.nav-menu .menu-item:hover > a,
.nav-menu .current-menu-item > a {
    color: white;
    transform: translateY(-2px);
}

/* Dropdown Menus */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sub-menu li a:hover {
    background: #f5f5f5;
    color: #2c5a2c;
    padding-left: 25px;
}

/* Header CTA Button */
.btn-appointment {
    background: linear-gradient(135deg, #2c5a2c 0%, #4a7c4a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44,90,44,0.25);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
    line-height: 1.2;
    z-index: 100;
    cursor: pointer;
    display: block;
}

.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.btn-appointment span {
    position: relative;
    z-index: 1;
}

.btn-appointment:hover::before {
    left: 100%;
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #1e4a1e 0%, #2c5a2c 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44,90,44,0.4);
    border-color: rgba(255,255,255,0.2);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(44,90,44,0.1);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section - Full Image Display */
.healthcare-hero,
.hero-section,
.service-hero,
.condition-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.05); }
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,90,44,0.85), rgba(26,58,26,0.75));
    z-index: -1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(76,175,80,0.2) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1.5s ease-out;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
    width: 100%;
}

@keyframes heroFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: heroTitleSlide 1.5s ease-out 0.3s both;
}

@keyframes heroTitleSlide {
    0% { 
        opacity: 0; 
        transform: translateX(-50px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 650px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: heroSubtitleSlide 1.5s ease-out 0.6s both;
}

@keyframes heroSubtitleSlide {
    0% { 
        opacity: 0; 
        transform: translateX(50px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.hero-features {
    display: flex;
    gap: 45px;
    margin: 45px 0;
    animation: heroFeaturesSlide 1.5s ease-out 0.9s both;
}

@keyframes heroFeaturesSlide {
    0% { 
        opacity: 0; 
        transform: translateY(30px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.feature i {
    font-size: 18px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 25px;
    margin-top: 45px;
    animation: heroActionsSlide 1.5s ease-out 1.2s both;
}

@keyframes heroActionsSlide {
    0% { 
        opacity: 0; 
        transform: translateY(40px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    font-size: 16px;
    min-width: 160px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
    pointer-events: none;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #2c5a2c;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.8);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: #2c5a2c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    color: #2c5a2c;
    border-color: #2c5a2c;
}

.btn-outline:hover {
    background: #2c5a2c;
    color: white;
}

/* Sections */
.services-section,
.conditions-section {
    padding: 80px 0;
}

.services-section {
    background: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #2c5a2c;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #2c5a2c;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-card h3 {
    color: #2c5a2c;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-benefits {
    list-style: none;
    margin-bottom: 25px;
}

.service-benefits li {
    padding: 5px 0;
    color: #555;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.service-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5a2c;
    font-weight: bold;
}

.service-link {
    color: #2c5a2c;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    border-bottom-color: #2c5a2c;
}

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

/* Conditions Grid */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.condition-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #2c5a2c;
}

.condition-category h4 {
    color: #2c5a2c;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.condition-category ul {
    list-style: none;
}

.condition-category li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 15px;
}

.condition-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c5a2c;
}

.condition-category li:last-child {
    border-bottom: none;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c5a2c, #1a3a1a);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-contact {
    font-size: 18px;
}

/* Healthcare Footer */
.healthcare-footer {
    background: #f5f5f5;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    gap: 20px;
}

.footer-logo img {
    border-radius: 50%;
}

.footer-info h3 {
    color: #2c5a2c;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-menu h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #2c5a2c;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        padding: 2px 0;
    }
    
    .header-contact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        font-size: 12px;
    }
    
    .header-contact span {
        font-size: 12px;
    }
    
    .header-main {
        padding: 2px 0;
        position: relative;
    }
    
    .header-main .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-section {
        gap: 12px;
    }
    
    .site-logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-text .site-title {
        font-size: 18px;
    }
    
    .site-tagline {
        font-size: 11px;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .healthcare-hero,
    .hero-section,
    .service-hero,
    .condition-hero {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        margin: 25px 0;
    }
    
    .feature {
        justify-content: center;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .services-section,
    .conditions-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .condition-category {
        padding: 25px 20px;
    }
    
    .condition-category h4 {
        font-size: 18px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-actions {
        gap: 15px;
    }
    
    .cta-contact {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info h3 {
        font-size: 18px;
    }
    
    .footer-menu h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* Enhanced Mobile Menu */
@media (max-width: 768px) {
    .mobile-nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 9999;
        padding: 80px 0 20px;
        overflow-y: auto;
    }
    
    .mobile-nav-menu.active {
        left: 0;
    }
    
    .mobile-nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-nav-menu a {
        display: block;
        padding: 15px 25px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-menu a:hover {
        background: #f5f5f5;
        color: #2c5a2c;
        padding-left: 35px;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9998;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Icons (Simple CSS implementations) */
.icon-phone:before { content: "📞"; }
.icon-email:before { content: "✉️"; }
.icon-clock:before { content: "🕒"; }
.icon-shield:before { content: "🛡️"; }
.icon-heart:before { content: "❤️"; }
.icon-star:before { content: "⭐"; }

/* Enhanced Visual Effects */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved Button Styles */
.btn {
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

/* Enhanced Cards */
.service-card,
.condition-category {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after,
.condition-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5a2c, #4a7c4a, #2c5a2c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::after,
.condition-category:hover::after {
    transform: scaleX(1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5a2c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Focus States for Accessibility */
.btn:focus,
.nav-menu a:focus,
.menu-toggle:focus {
    outline: 2px solid #2c5a2c;
    outline-offset: 2px;
    border-radius: 3px;
}

/* Better Typography */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2c5a2c, #4a7c4a);
    border-radius: 2px;
}

/* Contact Page Styling */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.contact-form-section {
    padding-top: 20px;
    margin-top: -20px;
    scroll-margin-top: 100px;
    scroll-behavior: smooth;
}

#contact-form {
    scroll-margin-top: 120px;
}

#contact-form h2 {
    animation: highlightForm 2s ease-in-out;
}

@keyframes highlightForm {
    0% { background: transparent; }
    20% { background: rgba(44, 90, 44, 0.1); padding: 10px; border-radius: 5px; }
    100% { background: transparent; }
}

.contact-method h3 {
    color: #2c5a2c;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-method p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-method a {
    color: #2c5a2c;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact Page Mobile */
@media (max-width: 768px) {
    .contact-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}