/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    font-family: 'Epilogue', sans-serif;
    color: #000;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
/* Header & Navigation */
header {
    background-color: #FFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1920px;
    padding: 0 100px;
}

.logo img {
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    transition: opacity 0.3s ease;
}

.nav-links a.active::after,
.nav-links a[href*="resources.html"].active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Ensure the active page is marked correctly */
.nav-links a[href*="resources.html"].active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
}

/* Banner */
.banner {
    width: 100%;
    height: 455px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #144464;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: none;
}

/* Speakers Section */
.speakers {
    
    width: 100%;
    max-width: 1200px;
    height: 1757;
    margin: 120px auto;
    text-align: center;
    padding: 60px 20px;
}

.speakers h1 {
    font-size: 52px;
    font-weight: 800;
    color: #1B1464;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speakers h2 {
    font-size: 26px;
    font-weight: 500;
    color: #333;
    max-width: 430px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

.speaker-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 60px; /* Increased vertical spacing */
    justify-content: center;
    align-items: start;
}

.speaker-item {
    background: #FFF;
    padding: 25px;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid red;
}

/* Uneven Red Borders for Each Speaker */
.speaker-item:nth-child(1) {
    border-width: 1px;
}

.speaker-item:nth-child(2) {
    border-width: 1px;
}

.speaker-item:nth-child(3) {
    border-width: 1px;
}

.speaker-item:nth-child(4) {
    border-width: 1px;
}

.speaker-item:nth-child(5) {
    border-width: 1px;
}

.speaker-item:nth-child(6) {
    border-width: 1px;
}

.speaker-item img {
    width: 100%;
    border-radius: 10px;
}

.speaker-item h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #1B1464;
}

.speaker-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 12px;
    color: #000;
}

.speaker-item p {
    font-size: 18px;
    font-weight: 400;
    margin-top: 12px;
    line-height: 30px;
    color: #333;
}

/* Question Form Section */
.question-form {
    width: 100%;
    height: auto;
    background: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px;
    margin: 0;
}

.form-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 80px;
    padding: 40px 100px;
}

.form-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    color: #1B1464;
    font-family: 'Epilogue', sans-serif;
}

.form-text h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 15px;
}

.form-text p {
    font-size: 22px;
    font-weight: 400;
    line-height: 32px;
    color: #000;
}

form {
    width: 50%;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input, 
form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    font-family: 'Epilogue', sans-serif;
    background-color: #F5F5F5;
}

form input::placeholder, 
form textarea::placeholder {
    color: #888;
    font-size: 16px;
}

.submit-button {
    width: 150px;
    height: 50px;
    background-color: black;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background-color: darkgray;
}
/* Footer */
footer {
    background: #000;
    text-align: left;
    padding: 40px 100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
}

footer p {
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
    line-height: 38px;
}

footer a {
    color: #FF6467;
    font-size: 24px;
    font-weight: 500;
    line-height: 38px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Social Media Icons */
.footer-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
}

.footer-icons a {
    width: 55px;
    height: 55px;
    background-color: #FF6467;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.footer-icons a:hover {
    transform: scale(1.1);
}

.footer-icons img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}
