/* 
   Style.css for Tozie Zokufa's Website
   Created: April 2025
*/

/* Global Styles */
:root {
    --primary-color: #1a5276; /* Deep blue */
    --secondary-color: #27ae60; /* Green */
    --accent-color: #f39c12; /* Orange accent */
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --background-color: #f8f9fa;
    --footer-color: #34495e;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--dark-color);
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: 10px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

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

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.intro {
    background-color: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.intro-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* Expertise Preview Section */
.expertise-preview {
    background-color: var(--light-color);
    text-align: center;
}

.expertise-preview h2 {
    margin-bottom: 50px;
}

.expertise-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.cta .btn:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-info, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-info h3, .footer-links h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 10px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-info a {
    color: #bdc3c7;
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-info a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

/* About Page */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
}

.about-content, .expertise-content, .experience-content, .publications-content, .contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.about-image {
    text-align: center;
    margin: 30px 0;
}

.about-image img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Expertise Page */
.expertise-section {
    margin-bottom: 60px;
}

.expertise-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.expertise-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

/* Experience Page */
.experience-item {
    margin-bottom: 40px;
}

.experience-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.experience-item h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.experience-item .date {
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}

.experience-item ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.experience-item ul li {
    margin-bottom: 8px;
}

/* Publications Page */
.publication-section {
    margin-bottom: 50px;
}

.publication-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.publication-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

.publication-item {
    margin-bottom: 20px;
}

.publication-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.publication-item .publisher {
    font-style: italic;
    color: #777;
    margin-bottom: 10px;
}

/* Contact Page */
.contact-info {
    margin-bottom: 40px;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .expertise-cards {
        justify-content: center;
    }
    
    .footer-content {
        justify-content: flex-start;
    }
    
    .footer-info, .footer-links, .footer-social {
        margin-right: 30px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .intro-content h3 {
        font-size: 1.3rem;
    }
    
    .card {
        min-width: 100%;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 50px 0;
    }
}
