/* Custom styles for the African Conversations on Gene Drives landing page */

/* Hero Section Styles */
.hero-section .hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.theme-btn-alt {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: #fff;
    padding: 16px 35px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.theme-btn-alt:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Timeline Styles */
.project-timeline {
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-date {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
}

.timeline-connector {
    height: 3px;
    background-color: var(--primary-color);
    flex-grow: 1;
    margin: 0 15px;
    position: relative;
}

.timeline-connector::before,
.timeline-connector::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-connector::before {
    left: -5px;
}

.timeline-connector::after {
    right: -5px;
}

/* Statistics Boxes */
.stat-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Service Icon Styles */
.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Resource Type Badge */
.resource-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

/* Testimonial Card Styles */
.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-placeholder-image i {
    font-size: 30px;
    color: #999;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content .quote {
    font-style: italic;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content .quote::before,
.testimonial-content .quote::after {
    content: '"';
    font-size: 30px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

/* Countries List Styles */
.countries-list {
    margin-top: 30px;
}

.country-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.country-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.island-nation {
    background-color: rgba(var(--primary-rgb), 0.1);
}

.country-item h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.country-item p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* Contact Form Styles */
.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info {
    height: 100%;
}

.contact-info-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.contact-info-item h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details p i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.subscribe-form .form-group {
    position: relative;
}

.subscribe-form input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 120px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.subscribe-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
}

.social-share {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
} 