/* Africa-specific styles */

/* Agenda Section */
.agenda-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.agenda-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.agenda-card:hover {
    border-color: var(--maroon-light);
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.2);
}

.agenda-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--maroon-light), var(--primary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agenda-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.agenda-date {
    font-size: 0.875rem;
    color: var(--maroon-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.agenda-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.agenda-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.agenda-topics {
    list-style: none;
    margin: 0;
    padding: 0;
}

.agenda-topics li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.agenda-topics li::before {
    content: '•';
    color: var(--maroon-light);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Agenda */
@media (min-width: 768px) {
    .agenda-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 2rem;
}

.speaker-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    padding-bottom:35px;
    cursor: pointer;
}

.speaker-card:hover {
    border-color: var(--maroon-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(180, 83, 9, 0.2);
}

.speaker-image {
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: border-color 0.3s ease;
}

.speaker-card:hover .speaker-image {
    border-color: var(--maroon-light);
}

.speaker-image img {
    width: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.speaker-position {
    font-size: 0.875rem;
    color: var(--maroon-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.speaker-company {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.speaker-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--maroon-light);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.speaker-linkedin:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.speaker-linkedin svg {
    width: 1rem;
    height: 1rem;
}

/* Responsive Speakers */
@media (min-width: 640px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.partners-benefits {
    list-style: none;
    margin-top: 2rem;
}

.partners-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.partners-benefits li::before {
    content: '✓';
    color: var(--maroon-light);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.partners-cta {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}


.single-column{
    display: flex;
    flex-direction: column;
}


.partners-sponsor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Tablet screens (768px and up) - 2 columns */
@media (min-width: 768px) {
    .partners-sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop screens (1024px and up) - 3 columns */
@media (min-width: 1024px) {
    .partners-sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Center if only one child exists */
.partners-sponsor-grid:only-child,
.partners-sponsor-grid > :only-child {
    justify-self: center;
    margin: 0 auto;
}

.partner-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: white;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
}


.partner-card:hover {
    border-color: var(--maroon-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(180, 83, 9, 0.2);
}

.partner-image {
    overflow: hidden;
    border-radius: 1rem;
    transition: border-color 0.3s ease;
}

.partner-card:hover .partner-image {
    border-color: var(--maroon-light);
}

.partner-image img {
    width: 100%;
    object-fit: cover;
}


/* Responsive Partners */
@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Attendees Section */
.attendees-section {
    margin-bottom: 4rem;
}

.attendees-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.attendees-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.attendee-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.attendee-card:hover {
    border-color: var(--maroon-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.15);
}

.attendee-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--maroon-light), var(--primary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attendee-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.attendee-category {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.attendee-roles {
    list-style: none;
    margin: 0;
    padding: 0;
}

.attendee-roles li {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.sector-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.sector-card:hover {
    border-color: var(--maroon-light);
    background: rgba(180, 83, 9, 0.05);
}

.sector-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, var(--maroon-light), var(--primary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sector-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.sector-name {
    font-weight: 600;
    color: var(--foreground);
}

/* Responsive Attendees */
@media (min-width: 640px) {
    .attendees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .attendees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .attendees-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Africa-specific gradient overrides */
.gradient-africa-card {
    background: linear-gradient(135deg, var(--card) 0%, rgba(180, 83, 9, 0.1) 50%, var(--card) 100%);
}

/* Africa hero adjustments */
.hero-section.gradient-africa .hero-location .icon {
    color: var(--maroon-light);
}

/* Speaker Modal Styles */
.speaker-modal .modal-content {
    max-width: 600px;
}

.speaker-modal-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--maroon-light);
}

.speaker-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-modal-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.speaker-modal-position {
    font-size: 1rem;
    color: var(--maroon-light);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.speaker-modal-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.speaker-modal-linkedin {
    display: flex;
    justify-content: center;
}

.speaker-modal-linkedin a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--maroon-light);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.speaker-modal-linkedin a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}


.duration-500 {
    animation-duration: .5s;
}
.duration-500 {
    transition-duration: .5s;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}


@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.gap-8 {
    gap: 2rem;
}
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid {
    display: grid
;
}