/*
Theme Name: CEDAAH Conference Theme
Description: A static WordPress theme for the Climate Extremes, Disasters, and Human Health Conference
Version: 1.0
Author: Generated from HTML
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2a6e3f;
    --secondary: #1a4d8c;
    --accent: #e67e22;
    --light-bg: #f1f8f4;
    --dark-text: #2c3e50;
}

body {
    background-color: #f9fdfb;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    /* Replace 'your-image-name.jpg' with the actual filename on your drive */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('flood2s.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2.2rem;
    color: #4cd964;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conference-title {
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

.conference-title h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.conference-title .subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    color: #e0e0e0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: rgba(76, 217, 100, 0.3);
}

.hero {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 1.60rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    color: #555;
}

.conference-details {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    width: 30px;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 110, 63, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 110, 63, 0.4);
}

.section-title {
    text-align: center;
    font-size: 2.15rem;
    margin-bottom: 3rem;
    color: var(--dark-text);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.figures-section {
    padding: 4rem 0;
    background-color: white;
}

.figures-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.figure-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background-color: var(--light-bg);
    transition: transform 0.3s ease;
}

.figure-card:hover {
    transform: translateY(-10px);
}

.figure-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.figure-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.figure-label {
    font-size: 1.2rem;
    color: var(--dark-text);
}

.theme-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.theme-content {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
}

.theme-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.theme-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.theme-topics {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0.8, 0.08);
    min-height: 8rem;
}

.theme-topics h3 {
    font-size: 2.0rem;
    margin-top: 2.0rem;
    margin-bottom: 1.0rem;
    color: var(--primary);
}

.theme-topics ul {
    list-style-position: inside;
    font-size: 1.12rem;
}

.theme-topics li {
    margin-bottom: 0.8rem;
    padding-left: 10px;
    list-style-type: square;
}

.committee-section {
    padding: 4rem 0;
    background-color: white;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.committee-card {
    background-color: #f9fdfb;
    border-radius: 8px;
    padding: 1.2rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.member-name {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.member-title {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.member-affiliation {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.committee-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: #666;
    font-family: 'Segoe UI', sans-serif;
    font-style: regular;
    font-weight: 600;
    font-size: 1.12rem;
    margin-bottom: 2rem;
    color: #556b2f;
    letter-spacing: 0.2px;
}

.submission-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 45%;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-marker {
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.dates {
    margin-top: 4rem;
    text-align: center;
}

.date-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.date-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px;
    text-align: center;
}

.date-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

footer {
    background-color: var(--dark-text);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    font-size: 1.2rem;
    text-align: left;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    margin-right: 10px;
    color: var(--accent);
    margin-top: 3px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .conference-title h1 {
        font-size: 1.8rem;
    }

    nav ul {
        justify-content: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .theme-content {
        grid-template-columns: 1fr;
    }

    .committee-grid {
        grid-template-columns: 1fr;
    }

    .timeline:before {
        left: 30px;
    }

    .timeline-item, .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-marker {
        left: 30px;
    }
}