body {
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Navigation */
.nav-link-custom {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.nav-link-custom:hover {
    color: #797b7c;
}

.header-inner {
    display: flex;
    align-items: center;
}

/* Logos */
.header-logos {
    display: flex;
    align-items: center;
}

/* Logos */
.header-logos img {
    height: 58px;               /* slight size increase */
    object-fit: contain;
    margin-right: 30px;         /* increased space between logos */
}

/* Remove margin for the last logo */
.header-logos img:last-child {
    margin-right: 0;
}

/* push navigation to right */
nav {
    margin-left: auto;
}

.navbar-brand img {
    margin-right: 0; /* spacing between logos */
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    gap: 30px; /* space between logos, works for desktop and mobile */
}

/* Wrap logos on small screens */
@media (max-width: 767px) {
    .navbar-brand {
        flex-wrap: wrap;       /* allow logos to wrap */
        justify-content: start; /* align logos left */
        gap: 20px;             /* slightly smaller gap on mobile */
    }
    .navbar-brand img {
        height: 50px;          /* slightly smaller on mobile if needed */
    }
}

/* Hero */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    top: 50%;
    transform: translateY(-50%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

section {
    scroll-margin-top: 90px; 
}

/* Speakers Row */
.speakers-row {
    display: flex;                /* use flex layout */
    justify-content: center;      /* center cards */
    flex-wrap: wrap;              /* wrap on smaller screens */
    gap: 20px;                    /* reduce space between cards */
}

/* Speaker Card - uniform size and reduced width */
.speaker-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s;
    width: 260px;           /* fixed width */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.speaker-card img {
    width: 100%;
    height: 300px;              
    object-fit: cover;          /* fill card */
    object-position: top center;/* crop from bottom, keep face */
    background: #f8f9fa;
    transition: transform 0.3s; /* smooth hover */
}



/* Card content below image */
.speaker-card h3,
.speaker-card p {
    margin: 8px 0 0 0;
    padding: 0 10px;
    text-align: center;
    flex-shrink: 0;
}


/* Optional: scale image on hover */
.speaker-card:hover img {
    transform: scale(1.05);
}

/* Info Boxes */
.info-box {
    background: #f8f9fa;
    padding: 32px 36px;
    border-radius: 12px;
    border-left: 5px solid #838484;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.info-box h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.info-box ul {
    list-style-type: square;  
    padding-left: 32px;        
    margin-bottom: 0;
}

.info-box ul li {
    margin-bottom: 12px;      
    line-height: 1.6;
}

.committee-logos {
    gap: 40px; /* space between logos */
    margin-top: 40px;
}

.committee-item img {
    display: block;
    margin: 0 auto;
}

.committee-item p {
    margin-top: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}


/* Footer */
footer {
    font-size: 14px;
}

.d-flex.flex-wrap.justify-content-center.gap-4 {
    margin-top: 30px;
    gap: 30px; 
}

/* Each small box */
.small-box {
    min-width: 280px;     
    max-width: 350px;     
    flex: 1 1 auto;
    padding: 25px;        
    border-radius: 12px;
    border-left: 5px solid #838484;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    background: #f8f9fa;
    margin-bottom: 20px;
}

/* Box headings */
.small-box h5 {
    font-weight: 600;
    margin-bottom: 12px;
}

/* Box lists */
.small-box ul {
    list-style-type: square;
    padding-left: 20px;
    margin: 0;
}

.small-box ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .d-flex.flex-wrap {
        flex-direction: column;
        align-items: center;
    }
    .small-box {
        max-width: 100%;
    }
}

