/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #111;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f39c12;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://www.frankmgashumba.com/fg.jpeg') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Offset for nav */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #f39c12;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #d68910;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
}

.section-subtitle {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
    font-style: italic;
    color: #666;
}

/* About Grid */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 15px;
}

.about-stats {
    flex: 1;
    display: flex;
    gap: 20px;
    min-width: 300px;
}

.stat-box {
    background: #111;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-box i {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 10px;
}

/* Cards (Career) */
.cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-top: 4px solid #f39c12;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Advocacy */
.advocacy-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.text-block {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-left: 4px solid #f39c12;
    background: #f9f9f9;
}

.text-block h3 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 60px 0 20px;
}

footer h2 {
    color: #fff;
    margin-bottom: 20px;
}

.socials {
    margin: 30px 0;
}

.socials a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #f39c12;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #777;
}

/* -- Contact Form Styles -- */

.contact-form {
    max-width: 600px; /* Limits form width for readability */
    margin: 50px auto; /* Centers the form with vertical space */
    text-align: center; /* Center aligns form text */
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f3f3f3; /* Ensuring light text for the header */
}

.contact-form p {
    font-size: 1.1rem;
    color: #aaaaaa; /* Lighter subtitle text */
    margin-bottom: 40px;
}

/* Targets the form itself to stack elements */
.contact-form form {
    display: flex;
    flex-direction: column; /* Vertical stack */
    gap: 20px; /* Space between each form field */
}

/* Base styling for all input fields and the textarea */
.contact-form input,
.contact-form textarea {
    width: 100%; /* Full width of the container */
    padding: 15px; /* Comfortable padding for interaction */
    border: 2px solid #333; /* Dark border */
    background-color: #1a1a1a; /* Matching dark background */
    color: #f3f3f3; /* Light text */
    border-radius: 5px; /* Subtle rounding */
    font-size: 1rem;
    transition: border-color 0.3s ease; /* Smooth transition on focus */
}

/* Placeholder text color */
.contact-form ::placeholder {
    color: #666666;
}

/* Input/Textarea focus state: adds an accent color */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00bcd4; /* Accent color on interaction */
}

/* SPECIFIC FIX FOR TEXTAREA: fixes its size and flow */
.contact-form textarea {
    height: 150px; /* Professional, large height for messages */
    resize: vertical; /* Prevents users from breaking layout horizontally */
    margin-top: 0; /* Overrides previous misalignments */
}

/* Style for the "Send Message" button to make it full-width */
.contact-form .submit-btn {
    width: 100%; /* Full width below the form */
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #00bcd4; /* Key brand color */
    color: #1a1a1a; /* Dark text on light button */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px; /* Space above the button */
}

/* Button hover state */
.contact-form .submit-btn:hover {
    background-color: #0097a7; /* Subtle color shift on hover */
}

/* -- Keep the existing socials section centered -- */
.socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

/* Responsive */
@media(max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .about-grid, .cards, .advocacy-content { flex-direction: column; }
}