/*
Theme Name: MBIZ Development Foundation Theme
Theme URI: https://mbizdevelopment.org
Author: MDF Team
Author URI: https://mbizdevelopment.org
Description: A modern, customizable WordPress theme for MBIZ Development Foundation
Version: 1.0.0
License: GPL v2 or later
Text Domain: mbiz-dev-foundation
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefef7;
    color: #1e2f2f;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header & Navigation */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
}

.site-logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a6d4d, #2b8c5e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.site-logo span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #4a6a5e;
    display: block;
}

.primary-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.primary-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #1e3a2f;
    transition: 0.2s;
}

.primary-menu a:hover {
    color: var(--mdf-primary, #0f7b4a);
}

.btn-outline {
    border: 2px solid var(--mdf-primary, #1e6f4c);
    padding: 8px 20px;
    border-radius: 40px;
    background: transparent;
    font-weight: 700;
    color: var(--mdf-primary, #1e6f4c);
    transition: 0.25s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--mdf-primary, #1e6f4c);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(105deg, #eef5f0 0%, #e2efe7 100%);
    border-radius: 48px;
    margin: 24px 0 48px 0;
    padding: 64px 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    background: #dff0e8;
    color: #1b6b48;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a3d32;
}

.hero-content p {
    font-size: 1.1rem;
    color: #2c4a3e;
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.stat-item {
    font-weight: 700;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mdf-secondary, #1b764e);
}

.hero-image {
    flex: 0.8;
    background: #cbdcd2;
    border-radius: 32px;
    padding: 28px;
    text-align: center;
}

.hero-image i {
    font-size: 6rem;
    color: #2c6e4f;
    margin-bottom: 16px;
}

/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: white;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    border: 1px solid #e2ede6;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(32, 77, 62, 0.12);
}

.card-icon {
    font-size: 2.4rem;
    color: var(--mdf-secondary, #278a60);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.card ul {
    padding-left: 20px;
    margin-top: 12px;
    list-style-type: none;
}

.card li {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

/* Buttons */
.btn-primary {
    background: var(--mdf-primary, #1c7651);
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--mdf-dark, #0f5c3f);
}

/* Priority Section */
.priority-box {
    background: var(--mdf-dark, #1f463b);
    color: white;
    border-radius: 40px;
    padding: 48px 40px;
    text-align: center;
    margin: 80px 0;
}

.priority-box h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: #0e2c23;
    color: #cfdfd9;
    padding: 48px 0 32px;
    margin-top: 60px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-widget-area h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #2f5b4b;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    
    .primary-menu {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero {
        padding: 32px 24px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Logo & Logo Placeholder Styles */
.site-logo {
    flex-shrink: 0;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-placeholder {
    background: linear-gradient(135deg, #f0f7f3 0%, #e8f2ec 100%);
    padding: 12px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    background: linear-gradient(135deg, #e8f2ec 0%, #ddebe3 100%);
    transform: translateY(-2px);
}

.logo-text {
    margin: 0;
    line-height: 1.2;
}

.logo-main {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1a6d4d, #2b8c5e, #3da37a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
}

.logo-tagline {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4a6a5e;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Responsive logo */
@media (max-width: 768px) {
    .custom-logo {
        max-height: 50px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
    
    .logo-placeholder {
        padding: 8px 12px;
    }
}