/* Custom styles */
:root {
    --primary: #004aad;
    --primary-light: #1e88e5;
    --primary-dark: #002855;
    --secondary: #28a745;
    --accent: #ff9800;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: #444;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .navbar {
    font-family: 'Montserrat', sans-serif;
}

/* Enhanced Navbar */
.navbar {
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 12px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-link:hover:before, .nav-link.active:before {
    visibility: visible;
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.university-logo {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.university-logo:hover {
    transform: scale(1.05);
}

/* Enhanced Header */
.page-header {
    background: linear-gradient(rgba(0, 74, 173, 0.8), rgba(0, 40, 85, 0.9)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.page-header h1:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    padding: 10px 20px;
    border-radius: 30px;
}

.breadcrumb-item, .breadcrumb-item a {
    color: white;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Section Heading */
.section-heading {
    position: relative;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    padding-bottom: 15px;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f0f8 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.05);
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.05);
    z-index: 0;
}

.contact-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.contact-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary);
}

/* Contact Form */
.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.form-label {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-send {
    background-color: var(--primary);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    width: 100%;
}

.btn-send:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary);
}

/* Location and Convenor Info */
.location-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.location-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

.convenor-card {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
    margin-bottom: 30px;
}

.convenor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.convenor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--primary-light);
    padding: 3px;
}

.convenor-name {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.convenor-role {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
}

.convenor-details {
    margin-top: 20px;
}

.convenor-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.convenor-details i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
    min-width: 20px;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), #051c3b);
    color: white;
    padding: 70px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-dark));
}

.footer-logo {
    max-height: 130px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-conference-logo {
    max-width: 250px;
    margin-bottom: 15px;
    color: white;
    font-size: 1.2rem;
    line-height: 1.4;
}

.footer-conference-logo .biotech {
    color: var(--primary-light);
    font-weight: bold;
}

.footer h4 {
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    font-size: 1.4rem;
    color: white;
}

.footer h4::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-light);
    bottom: 0;
    left: 0;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-contact:hover {
    color: white;
    transform: translateX(5px);
}

.social-icons {
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    margin-right: 12px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
    display: inline-block;
}

.footer-links li a i {
    margin-right: 10px;
    color: var(--primary-light);
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 150px;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    .university-logo {
        max-height: 60px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .location-map {
        height: 250px;
    }
}