/* Custom CSS for the AI Symposium Website */

/* Ensure header background color is applied */
header {
    background-color: #007fa3 !important; /* Force the background color to apply */
}

/* Modify the navbar items to improve contrast */
.navbar-light .navbar-nav .nav-link {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif; /* Apply the Google font here */
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #f8f9fa; /* Light color on hover */
}

/* Style for the hero section text */
/* Default hero background */
.hero {
    background-image: url('images/ai_background.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
}

/* Mobile background override */
@media (max-width: 800px) {
    .hero {
        background-image: url('images/ai_background_mobile.jpg');
        height: 300px; /* Optional: adjust height for smaller screens */
    }
}

/* Footer background color */
footer {
    background-color: #333;
    color: white;
}

/* Custom styles for stacking the logo and navbar on mobile */
@media (max-width: 767px) {
    header .container {
        flex-direction: column; /* Stack the logo and navbar vertically */
        align-items: center; /* Center them horizontally */
        flex-direction: row; /* Keep the logo and navbar in a row on larger screens */
        justify-content: space-between; /* Space between logo and navbar */
    }

    .logo {
        margin-bottom: 15px; /* Add space between the logo and navbar */
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .hero {
        height: 50vh; /* 50% of the viewport height on mobile */
    }
    .hero .container {
        height: 100%; /* Make sure container still uses full height */
    }
}
.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
}

.event-info {
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black background */
    padding: 20px;
    border-radius: 5px;
    flex: 1;
}

.event-info p {
    font-size: 1.5rem;
    margin: 5px 0;
}

.event-info strong {
    font-weight: bold;
}

.btn-register {
    flex-shrink: 0; /* Prevent shrinking */
    margin-left: 20px;
}
.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1.1rem;
}

    .program-item:hover {
        background-color: #d6d6d6;
        cursor: pointer;
    }

    .program-card {
        border-left: 5px solid #005066;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    #sponsors {
        background: linear-gradient(135deg, #007fa3 0%, #005066 100%);
        padding: 60px 0;
    }
    
    #sponsors h2 {
        font-size: 2.5rem;
        font-weight: 700;
    }
    
    #sponsors p {
        font-size: 1.25rem;
        margin-top: 15px;
    }
    