/*
Theme Name: Africa College of Education
Theme URI: https://acoe.online
Author: Khuliso Nedzingahe
Author URI: https://acoe.online
Description: A custom WordPress theme for Africa College of Education, specifically designed for agricultural training programs, featuring LearnPress compatibility and responsive design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acoe
*/

:root {
    --primary-color: #2e7d32;
    --secondary-color: #fbc02d;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-bg: #f4f6f8;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

/* Header */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}
.logo a {
    text-decoration: none;
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}
.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 4rem 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}
.bg-light {
    background-color: var(--light-bg);
}
.text-center {
    text-align: center;
}

/* Hero */
.hero-section {
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(46, 125, 50, 0.8)), url('hero-bg.jpg') center/cover;
    color: white;
    padding: 6rem 0;
    text-align: center;
}
.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: opacity 0.3s;
}
.btn:hover {
    opacity: 0.9;
}

/* Grids */
.grid-4, .logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}
.card h3 {
    color: var(--primary-color);
}

/* Logos & Badges */
.logo-placeholder {
    background: white;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.badge {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
}

/* LearnPress Area */
.learnpress-integration-area {
    margin-top: 2rem;
}

/* Footer & WhatsApp */
.site-footer {
    background: #222;
    color: white;
    padding: 2rem 0;
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
}
