/* Earth & Growth Theme */
:root {
    --soil-brown: #5C4B36;
    --plant-green: #6B8E23;
    --ocean-blue: #3A7CA5;
    --gold-accent: #D4AF37;
    --white: #FFFFFF;
    --light-bg: #f5f5f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--soil-brown);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: var(--plant-green);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

h1 i {
    margin-right: 15px;
}

h2 {
    color: var(--ocean-blue);
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 10px;
    margin-top: 40px;
}

.region-selector {
    background: rgba(107, 142, 35, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.region-selector label {
    font-weight: bold;
    color: var(--soil-brown);
}

select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 2px solid var(--plant-green);
    font-size: 16px;
    background-color: var(--white);
    color: var(--soil-brown);
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 5px;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--ocean-blue);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.tab-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.tab-btn.active {
    background: var(--plant-green);
    font-weight: bold;
}

section {
    display: none;
}

section.active-section {
    display: block;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #ddd;
}

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

.card-header {
    position: relative;
}

.card-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-header h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 1.3rem;
}

.region-tag {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--soil-brown);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-left: 8px;
    font-weight: bold;
}

.card-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 20px;
    background: #f9f9f9;
}

.card.active .card-desc {
    max-height: 500px;
    padding: 20px;
}

.practice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 15px 0;
}

.detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ocean-blue);
}

.detail i {
    font-size: 1.2rem;
}

.save-btn {
    width: 100%;
    padding: 10px;
    background: var(--plant-green);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.save-btn:hover {
    background: var(--soil-brown);
}
footer {
            background-color: var(--soil-brown);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            text-align: left;
        }
        
        .footer-column h3 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 0.75rem;
        }
        
        .footer-column ul li a {
            color: #adb5bd;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-column ul li a:hover {
            color: white;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-links a {
            color: white;
            background-color: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .copyright {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #adb5bd;
            font-size: 0.9rem;
        }

/* Responsive Design */
@media (max-width: 768px) {
    /* Make cards single column */
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 15px;
    }

    /* Stack tabs vertically */
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .tab-btn {
        border-radius: 8px !important;
        margin-bottom: 0; /* Remove extra spacing */
        width: 100%;
        justify-content: center;
    }

    /* Stack region selector */
    .region-selector {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
        text-align: center;
    }

    select {
        width: 100%;
        max-width: 300px;
    }

    .card-header h3 {
        font-size: 1.1rem; /* Slightly smaller text for small screens */
        padding: 10px;
    }

    .practice-details {
        grid-template-columns: 1fr; /* Stack details vertically */
        gap: 10px;
    }

    .save-btn {
        font-size: 0.9rem;
        padding: 8px;
    }
}
