/* Compact Professional Design for Go Help Africa */
/* Smaller cards, clean layout, all pages linked */

:root {
    /* Colors */
    --primary: #1e40af;
    --secondary: #f97316;
    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f8fafc;
    --white: #ffffff;
    --success: #059669;
    --border: #e5e7eb;
    
    /* Typography */
    --font-main: 'Inter', system-ui, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 60px 0;
    --card-padding: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .container {
    padding: 0 5px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff !important;
    z-index: 1000;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
    color: var(--primary);
}

.nav-link.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    background: transparent;
    box-shadow: none;
    outline: none;
    margin-left: -15px;
}

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

.logo-name {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.logo-tagline {
    font-weight: 400;
    font-size: 0.65rem;
    color: var(--gray);
    line-height: 1;
    font-style: italic;
    opacity: 0.8;
}

.logo img {
    width: 90px;
    height: 90px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    object-fit: contain;
    display: block;
    padding: 0;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-nav {
    background: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 230px 0 115px;
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/blog1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #ea580c;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Stats Section - Compact */
.stats {
    padding: 40px 0;
    background: var(--white);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Compact Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-image {
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--card-padding);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.card-description {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 10px;
}

/* Sections */
.section {
    padding: var(--section-padding);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background: var(--light);
}

.bg-primary {
    background: var(--primary);
    color: white;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* CEO Section - Compact */
.ceo-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.ceo-image-container {
    text-align: center;
}

.ceo-image {
    width: 240px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.ceo-badge {
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ceo-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.ceo-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.ceo-bio {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.ceo-quote {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-style: italic;
    color: var(--dark);
    margin-top: 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    margin-bottom: 16px;
    color: var(--secondary);
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

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

.footer-section a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1e3a8a, #facc15); /* Deep blue to golden yellow */
    color: white;
    text-align: center;
}


.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Page Header with Banner3 Background */
body.about-page .page-header {
    padding: 150px 0 100px;
    min-height: 110vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/banner3.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    color: white;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
}

body.about-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

body.about-page .page-header .container {
    position: relative;
    z-index: 2;
}

body.about-page .page-header h1 {
    color: #fb923c;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 3rem;
    font-weight: 800;
}

body.about-page .page-header p {
    color: #fdba74;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Content Page Styles */
.content-section {
    padding: 60px 0;
}

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

.content-main h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.content-main p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.content-sidebar {
    background: var(--light);
    padding: 24px;
    border-radius: 12px;
    height: fit-content;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-grid,
    .ceo-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .ceo-image {
        width: 200px;
        height: 240px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}
