/* --- Top Section: Speaking Profile --- */
.profile-section {
    padding: 80px 0 100px;
    background-color: #000;
}
.main-heading-container {
    display: flex;
    margin-bottom: 40px;
}

.profile-text p {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
    color: #d1d1d1;
    margin-bottom: 1.5rem;
    font-family: var(--font-01);
}

/* Styling for the testimonial quotes */
.profile-text .testimonial {
    font-style: italic;
    color: #b5b5b5;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(201, 159, 67, 0.3);
}

.profile-text .testimonial-author {
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: #fff;
    display: block;
    margin-top: 8px;
    font-family: var(--font-02);
}

.profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

/* --- Middle Section: Roles Grid --- */
.roles-grid-section {
    background-color: #000;
}

.role-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.role-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.role-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.85));
    z-index: 2;
    transition: background 0.4s ease;
}

.role-card:hover .role-bg {
    transform: scale(1.08);
}

.role-card:hover .role-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.95));
}

.role-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.role-title {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: var(--font-01);
}

.role-gold-line {
    width: 40px;
    height: 2px;
    background-color: #c99f43;
    transition: width 0.3s ease;
}

.role-card:hover .role-gold-line {
    width: 60px;
}

/* --- Bottom Section: Speaking Events --- */
.events-section {
    position: relative;
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.events-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.85); /* Deep dark overlay for readability */
    z-index: 1;
}

.events-container {
    position: relative;
    z-index: 2;
}

/* Events Header (Centered) */
.events-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
    text-align: center;
}

.events-header-container .header-sub {
    margin-left: 0;
    margin-bottom: 10px;
}

.events-header-container .main-heading-container {
    margin-bottom: 0;
    justify-content: center;
}

/* Events Grid Items */
.event-card {
    text-align: center;
    padding: 20px;
}

.event-logo-placeholder {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.event-company {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 15px;
}

.event-details {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a0a0a0;
    line-height: 1.8;
}

.event-details span {
    display: block;
    font-family: var(--font-01);
}

/* Responsive Design */
@media (max-width: 991px) {
    .profile-img { margin-top: 40px; }
    .role-card { height: 350px; }
    .event-card { margin-bottom: 30px; }
}

@media (max-width: 768px) {
    .profile-section { padding: 50px 0; }
    .events-section { padding: 80px 0; }
}