/* 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 Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://wallpapercave.com/wp/wp2298444.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 136, 229, 0.2), transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-title span {
    display: inline-block;
}

.hero-title .blue-text {
    color: var(--primary-light);
    position: relative;
}

.hero-title .blue-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.btn-abstract {
    background-color: var(--primary);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    border: 2px solid transparent;
}

.btn-abstract:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-light);
}

.btn-abstract::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-abstract:hover::before {
    left: 100%;
}

/* Conference Overview Section */
.overview-section {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.overview-section:nth-of-type(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f0f8 100%);
}

.overview-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;
}

.overview-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;
}

.overview-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.overview-title::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;
}

.overview-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.overview-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.overview-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Important Dates Section */
.dates-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.dates-overlay {
    background: linear-gradient(135deg, rgba(0, 40, 85, 0.9), rgba(0, 74, 173, 0.85));
    padding: 80px 0;
}

.dates-title {
    color: white;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.dates-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.date-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    background-clip: padding-box;
}

.date-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.08) 0%, rgba(40, 167, 69, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.date-card:hover::before {
    opacity: 1;
}

.date-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary-dark)) 1;
}

.date-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #667eea, #f093fb, #4facfe, #43e97b) 1;
    text-align: center;
    position: relative;
}

.date-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary-dark));
    border-radius: 2px;
}

.date-countdown {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.1rem !important;
    position: relative !important;
    text-align: center !important;
    padding: 20px 25px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.date-countdown::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.date-countdown:hover::after {
    left: 100%;
}

.date-countdown:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.date-countdown:nth-child(odd) {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e7e34 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.date-countdown:nth-child(odd):hover {
    background: linear-gradient(135deg, #1e7e34 0%, var(--secondary) 100%);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
}

.date-countdown:nth-child(3n) {
    background: linear-gradient(135deg, var(--accent) 0%, #e68900 100%);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}

.date-countdown:nth-child(3n):hover {
    background: linear-gradient(135deg, #e68900 0%, var(--accent) 100%);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
}

.date-countdown:nth-child(4n) {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #004085 100%);
    box-shadow: 0 8px 25px rgba(0, 40, 85, 0.3);
}

.date-countdown:nth-child(4n):hover {
    background: linear-gradient(135deg, #004085 0%, var(--primary-dark) 100%);
    box-shadow: 0 15px 35px rgba(0, 40, 85, 0.4);
}

.date-countdown::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    position: static;
    left: auto;
    top: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.countdown-expired {
    color: #dc3545;
    font-weight: 500;
}

.countdown-active {
    color: #198754;
    font-weight: 500;
}

.countdown-urgent {
    color: #fd7e14;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsive design for countdowns */
@media (max-width: 768px) {
    .date-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .date-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .date-countdown {
        font-size: 1rem !important;
        padding: 12px 15px !important;
        flex-direction: column;
        gap: 8px;
    }
    
    .date-countdown::before {
        font-size: 1.1rem;
    }
}

/* Deadline notification styles */
.deadline-notification {
    position: fixed;
    top: 150px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 1200;
    max-width: 380px;
    width: calc(100% - 40px);
    color: #ffffff;
    animation: slideIn 0.3s ease-out;
}

.notification-content {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-content h4 {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.98);
    font-size: 1rem;
}

.notification-content p {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.notification-text { flex: 1; }

.notification-close {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile: show as bottom toast */
@media (max-width: 575.98px) {
    .deadline-notification {
        bottom: 16px;
        top: auto;
        right: 50%;
        transform: translateX(50%);
        width: calc(100% - 32px);
        max-width: 520px;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    }
}



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

.schedule-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;
}

.schedule-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;
}

.schedule-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.schedule-title::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;
}

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

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

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

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

.schedule-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background-color: #f8f9fa;
    padding: 10px 10px 10px 30px;
    border-radius: 8px;
    transform: translateX(5px);
}

.schedule-item::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.schedule-item p {
    margin-bottom: 0;
}

.schedule-item strong {
    color: var(--primary-dark);
}

/* 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: 200px;
    border: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(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;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .overview-section, .schedule-section {
        padding: 60px 0;
    }
    
    .overview-title, .schedule-title, .dates-title {
        font-size: 1.8rem;
    }
    
    .overview-image {
        margin-top: 30px;
    }
}