.section-container {
    padding: 20px 40px;
    color: #193046;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 50px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 20px;
}

.speakers-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.speaker-box {
    flex: 1;
    min-width: 300px;
    background: none;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.speaker-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.speaker-box:hover::before {
    opacity: 0.1;
}

.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 315px;
    /* Match video height */
}

.speaker-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.speaker-description {
    font-family: "OpenSansLight";
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #333333;
    font-weight: 100;
}

.subscribe-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    align-self: flex-start;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #c0392b;
}

.speaker-video {
    flex: 1;
    height: 315px;
    border-radius: 5px;
}

@media (max-width: 768px) {

    .section-container {
        padding: 40px 10px;
        flex-direction: column;
        text-align: center;
    }

    .speakers-grid {
        flex-direction: column;
        align-items: center;
    }

    .speaker-box {
        flex-direction: column;
        min-width: 300px;
        max-width: 400px;
    }

    .speaker-video {
        height: 200px;
        width: 100%;
    }

    .content-right {
        min-height: auto;
    }

    .view-all {
        padding: 20px 30px;
        font-size: 1rem;
    }
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid h1 {
    margin-bottom: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-grid .caption {
    text-align: center;
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555555;
}

.para {
    font-family: "OpenSansLight";
    font-size: 18px;
    line-height: 1.5;
    margin-top: 10px;
    color: #333333;
    text-align: justify;
    font-weight: 100;
}

.margin-top {
    margin-top: 80px;
    margin-bottom: 20px;
}

.margin-bottom {
    margin-bottom: 5px;
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 50px;
        font-weight: 600;
        margin-bottom: 40px;
        text-align: center;
    }

    .speaker-description {
        font-size: 16px;
    }
}