/* Ocean and Sea Life Conference Theme */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&family=Crimson+Text:wght@400;600&display=swap');

/* Mobile/Desktop Display Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #1a365d;
    background: #ffffff;
    overflow-x: hidden;
}

body.about-page {
    background: url('https://inteng-storage-us.s3.amazonaws.com/img/iea/4N61ooRROJ/header-deep-sea.jpg') center center/cover no-repeat fixed;
    position: relative;
}
body.about-page::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 40, 60, 0.65);
    z-index: 0;
    pointer-events: none;
}
body.about-page .section,
body.about-page .container {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Professional Navigation */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: 'Crimson Text', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #19c5e7;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-size: 20px;
    letter-spacing: 0.5px;
    position: relative;
}


.nav-link:hover,
.nav-link.active {
    color: #00b4d8;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0077b6;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Academic Hero Section */
.hero {
    background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 40px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?auto=format&fit=crop&w=1920&q=80');
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Crimson Text', serif;
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #caf0f8;
    letter-spacing: 1px;
}

.conference-details {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #e8f4f8;
}

.conference-details i {
    margin-right: 10px;
    color: #90e0ef;
}

/* Professional Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px 20px;
    border-radius: 8px;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.countdown-item span {
    display: block;
}

.countdown-item span:first-child {
    font-size: 2.2rem;
    font-weight: 700;
    color: #90e0ef;
}

.countdown-item .label {
    font-size: 0.9rem;
    color: #caf0f8;
    margin-top: 5px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #e8f4f8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Professional Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #00b4d8;
    color: white;
    border-color: #00b4d8;
}

.btn-primary:hover {
    background: #0096c7;
    border-color: #0096c7;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #90e0ef;
    border-color: #90e0ef;
}

.btn-secondary:hover {
    background: #90e0ef;
    color: #0077b6;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Academic Sections */
.section {
    padding: 80px 0;
    background: #ffffff;
}

.section:nth-child(even) {
    background: #f8fafc;
}

.section-title {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #0077b6;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #023e8a, #03045e);
    border-radius: 2px;
}

.bg-light {
    background: #f8f9fa;
}

.section.bg-beige {
    background: #f9f6f2;
}

/* About Section (index page) */
#home + #about .about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* About Page */
#about.about-page {
    background: url('https://inteng-storage-us.s3.amazonaws.com/img/iea/4N61ooRROJ/header-deep-sea.jpg') center center/cover no-repeat;
    position: relative;
}

#about.about-page .container {
    position: relative;
    z-index: 2;
}

#about.about-page .section-title {
    color: white;
}

#about.about-page .about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

#about.about-page .about-text,
#about.about-page .host-info {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(27, 13, 13, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    padding: 30px !important;
    margin-bottom: 20px !important;
}

#about.about-page .about-text h3,
#about.about-page .host-info h3 {
    color: white !important;
}

#about.about-page .about-text p,
#about.about-page .host-info p {
    color: #e0e0e0 !important;
}

.about-text {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #00b4d8;
    transition: all 0.3s ease;
}

.about-text:hover {
    box-shadow: 0 15px 50px rgba(0, 180, 216, 0.15);
    transform: translateY(-2px);
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    line-height: 1.9;
    color: #34495e;
    text-align: justify;
}

.about-text p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #00b4d8;
    margin-bottom: 25px;
}

.about-text p:first-of-type::before {
    content: '"';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3rem;
    color: rgba(0, 180, 216, 0.2);
    font-family: Georgia, serif;
}

.host-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 180, 216, 0.15);
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.host-info:hover {
    box-shadow: 0 15px 50px rgba(0, 180, 216, 0.15);
    transform: translateY(-2px);
    border-color: rgba(0, 180, 216, 0.3);
}

.host-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

.host-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.host-icon i {
    font-size: 1.3rem;
    color: white;
}

.host-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.host-toggle-container {
    margin-bottom: 30px;
}

.host-toggle-btns {
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.host-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.host-btn.active {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.host-btn:hover:not(.active) {
    background: #f8f9fa;
    color: #00b4d8;
}

.host-btn i {
    font-size: 1rem;
}

.host-main-content {
    position: relative;
    min-height: 300px;
}

.host-content {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.host-content[style*="block"] {
    display: block !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.host-logo-large {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 15px;
    border: 2px solid rgba(0, 180, 216, 0.1);
    position: relative;
}

.host-logo-large::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.host-logo-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.25);
}

.host-logo-large:hover::before {
    opacity: 1;
}

.host-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.host-info-text h4 {
    font-size: 1.25rem;
    color: #00b4d8;
    margin-bottom: 12px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 180, 216, 0.1);
    letter-spacing: 0.3px;
}

.host-info-text .univ-name {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.4;
}

.host-info-text .location {
    font-size: 0.9rem;
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
}

.host-info-text .location i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .host-info {
        max-width: 100%;
        padding: 20px;
        margin: 20px;
    }
    
    .host-header {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .host-header h3 {
        font-size: 1.1rem;
    }
    
    .host-toggle-btns {
        flex-direction: column;
        gap: 8px;
    }
    
    .host-btn {
        padding: 10px 15px;
    }
    
    .host-logo-large {
        width: 150px;
        height: 150px;
    }
}

.host-btn {
    background: #f0f8ff;
    border: 1px solid #0077b6;
    color: #0077b6;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.host-btn.active, .host-btn:hover {
    background: #0077b6;
    color: #fff;
    border-color: #0077b6;
}

.university-logo {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.university-logo img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Important Dates */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.date-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #1a472a;
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.date-icon {
    background: #1a472a;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.date-content h3 {
    font-family: 'Crimson Text', serif;
    color: #1a472a;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.date-content .date {
    color: #d4a574;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.date-content .status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-card:nth-child(1) .status {
    background: #d4edda;
    color: #155724;
}

.date-card:nth-child(2) .status,
.date-card:nth-child(3) .status,
.date-card:nth-child(4) .status {
    background: #fff3cd;
    color: #856404;
}

.date-card:nth-child(5) .status {
    background: #cce5ff;
    color: #004085;
}

/* Registration Section */
#registration {
    background: url('https://i.pinimg.com/736x/9f/0b/d3/9f0bd3f4afe22a245f81e958f7224dbf.jpg') center center/cover no-repeat;
    position: relative;
}

#registration .container {
    position: relative;
    z-index: 2;
}

#registration .section-title {
    color: white;
}

/* Committees Section */
#committees {
    background: url('https://inteng-storage-us.s3.amazonaws.com/img/iea/4N61ooRROJ/header-deep-sea.jpg') center center/cover no-repeat;
    position: relative;
}

#committees .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.committee-blocks {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* Scientific Committee - same as organization committee */
.honorary-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
}

#committees .section-title {
    color: white;
}

/* Committee Blocks Styling */
.committee-block {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

.committee-block h3 {
    color: white !important;
}

.committee-block .leader-card,
.committee-block div[style*="background: #f0f8ff"] {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
}

.committee-block .leader-card h4,
.committee-block div[style*="background: #f0f8ff"] {
    color: white !important;
}

.committee-block .leader-card p,
.committee-block div[style*="background: #f0f8ff"] {
    color: #e0e0e0 !important;
}

/* Background for other pages (same as committees) */
#speaker,
#call-for-papers,
#submission,
#contact {
    background: url('https://inteng-storage-us.s3.amazonaws.com/img/iea/4N61ooRROJ/header-deep-sea.jpg') center center/cover no-repeat;
    position: relative;
}

#speaker .container,
#call-for-papers .container,
#submission .container,
#contact .container {
    position: relative;
    z-index: 2;
}

#speaker .section-title,
#call-for-papers .section-title,
#submission .section-title,
#contact .section-title {
    color: white;
}

/* Styling for blocks on other pages */
#speaker .speaker {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

#speaker .speaker-info h3,
#speaker .speaker-info h4 {
    color: white !important;
}

#speaker .speaker-info p {
    color: #e0e0e0 !important;
}



.registration-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.registration-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.registration-card {
    background: rgba(80, 80, 80, 0.4);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.registration-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 119, 182, 0.4);
    border-color: #0077b6;
    background: rgba(0, 119, 182, 0.3);
}

.card-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title i {
    font-size: 1.4rem;
    color: #00b4d8;
    transition: color 0.3s ease, transform 0.3s ease;
}

.registration-card:hover .card-title i {
    color: #0077b6;
    transform: scale(1.1);
}

.card-header h3 {
    font-family: 'Crimson Text', serif;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    min-width: 80px;
    transition: color 0.3s ease;
}

.registration-card:hover .card-header h3 {
    color: white;
}

.price-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 90px;
}

.price-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.price-header i {
    font-size: 0.9rem;
    color: #00b4d8;
    transition: color 0.3s ease, transform 0.3s ease;
}

.registration-card:hover .price-header i {
    color: #0077b6;
    transform: scale(1.05);
}

.price-label {
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 500;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Crimson Text', serif;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
}

.pricing-table th,
.pricing-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

.pricing-table th {
    background: #1a2f47;
    color: white;
    font-weight: 600;
    font-family: 'Crimson Text', serif;
}

.pricing-table tr:hover {
    background: #f8f9fa;
}

.payment-info h3 {
    font-family: 'Crimson Text', serif;
    color: #1a472a;
    margin-bottom: 20px;
    font-weight: 600;
}

.payment-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.payment-info li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.payment-info i {
    color: #1a472a;
    margin-right: 12px;
    width: 20px;
}

.registration-form-download {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}


.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.speaker {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e1e8ed;
}

.speaker:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 48px 0 rgba(0, 180, 216, 0.28);
    border-color: #00b4d8;
}

.speaker-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.speaker:hover .speaker-image img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.speaker-info {
    padding: 30px;
}

.speaker-info h3 {
    font-family: 'Crimson Text', serif;
    color: #0077b6;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.speaker:hover .speaker-info h3 {
    color: #00b4d8;
}

.affiliation {
    color: #00b4d8;
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.speaker:hover .affiliation {
    color: #0077b6;
}

.speaker-info h4 {
    font-family: 'Crimson Text', serif;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.bio {
    color: #2c3e50;
    line-height: 1.7;
}

/* Sponsors Section */
.sponsors-content {
    padding: 0 0 30px 0;
}

.sponsor-level h3 {
    font-family: 'Crimson Text', serif;
    color: #1a472a;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.sponsors-grid {
    display: flex;
    flex-direction: row;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}

.sponsor-logo {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100px;
    width: 160px;
    border: 1px solid #e1e8ed;
    flex-shrink: 0;
}

.sponsor-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.2);
    border-color: #00b4d8;
}

.sponsor-logo:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.sponsor-thanks {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
    color: #2c3e50;
    font-style: italic;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1842b7;
}

/* Professional Footer */
.footer {
    background: #1a365d;
    color: #c8d6be;
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Crimson Text', serif;
    color: #c8d6be;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #c8d6be;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fdfcfa;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #c8d6be;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: #d4a574;
    background: rgba(212, 165, 116, 0.2);
}

.social-youtube {
    color: #ff0000; /* YouTube red */
}
.social-youtube:hover {
    color: #fff;
    background: #ff0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #c8d6be;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: transparent;
    color: #0077b6;
    border: 2px solid #00b4d8;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0, 180, 216, 0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.back-to-top svg {
    width: 32px;
    height: 32px;
    display: block;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: back-to-top-entrance 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes back-to-top-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.6) rotate(-10deg);
    }
    40% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.1) rotate(2deg);
    }
    70% {
        opacity: 1;
        transform: translateY(2px) scale(0.95) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.back-to-top:hover {
    background: rgba(0,180,216,0.08);
    border-color: #0077b6;
    box-shadow: 0 8px 28px rgba(0, 180, 216, 0.22);
    transform: translateY(-3px) scale(1.07);
}

/* Organizers and Topics Sections */
#organizers {
    background: url("https://i.pinimg.com/736x/82/6c/4e/826c4ec74ff1e0002fd26064b0275819.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

#organizers .container {
    position: relative;
    z-index: 2;
}

#organizers .section-title {
    color: white;
}

#organizers h3 {
    color: white;
}

.organizers-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
    width: 100%;
}
.organizer-card {
    background: rgba(80, 80, 80, 0.4);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 32px 24px 24px 24px;
    text-align: center;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.organizer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 119, 182, 0.4);
    border-color: #0077b6;
    background: rgba(0, 119, 182, 0.3);
}
.organizer-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 3px solid #00b4d8;
    background: #e8f0e5;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.organizer-card:hover .organizer-photo {
    transform: scale(1.05);
    border-color: #0077b6;
}
.organizer-role {
    color: #e0e0e0;
    font-weight: 600;
    margin: 8px 0 2px 0;
    transition: color 0.3s ease;
}

.organizer-card:hover .organizer-role {
    color: #ffffff;
}
.organizer-affiliation {
    color: #cccccc;
    font-size: 0.98rem;
    transition: color 0.3s ease;
}

.organizer-card:hover .organizer-affiliation {
    color: #e0e0e0;
}

.organizer-card h3 {
    transition: color 0.3s ease;
    color: white;
}

.organizer-card:hover h3 {
    color: #ffffff;
}

.organizer-card.honorary-president:hover {
    border-color: #FFD700 !important;
    box-shadow: 0 0 20px 2px #FFD70055 !important;
    background: rgba(255, 215, 0, 0.08) !important;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 32px;
}
.topic-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.18);
    padding: 44px 32px;
    font-size: 1.25rem;
    color: #1a472a;
    font-weight: 500;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    min-width: 320px;
    min-height: 260px;
}
.topic-card:hover {
    box-shadow: 0 16px 48px 0 rgba(0, 180, 216, 0.28);
    transform: translateY(-6px) scale(1.03);
}

.topics-speaker-style-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}
.topic-mini-card {
    width: 270px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0.15, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e1e8ed;
    cursor: pointer;
    flex-shrink: 0;
}
.topic-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.2);
    border-color: #00b4d8;
}
.topic-mini-card:hover .topic-mini-image img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}
.topic-mini-card:hover .topic-mini-info h3 {
    color: #0077b6;
    transform: translateY(-2px);
}
.topic-mini-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.topic-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}
.topic-mini-info {
    padding: 30px;
}
.topic-mini-info h3 {
    font-family: 'Crimson Text', serif;
    color: #0077b6;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.dept-name {
    color: #2e8b57;
    font-weight: 600;
}
.univ-name {
    color: #0077b6;
    font-weight: 600;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 15px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }

    .countdown-item span:first-child {
        font-size: 1.8rem;
    }

    .about-content,
    .registration-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: center;
    }
    
    .sponsor-logo {
        height: 80px;
        width: 120px;
        padding: 12px;
    }
    
    .sponsor-logo img {
        max-width: 80px;
        max-height: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .price-info {
        gap: 20px;
        justify-content: center;
    }
    
    .price-item {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }

    .countdown-item span:first-child {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .dates-grid {
        grid-template-columns: 1fr;
    }

    .speaker-info,
    .date-card,
    .host-info {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .topics-speaker-style-grid {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .topic-mini-card {
        width: 280px !important;
    }
}
@media (max-width: 768px) {
    .topics-speaker-style-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 0px;
        padding: 0 20px 20px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .topics-speaker-style-grid::-webkit-scrollbar {
        display: none;
    }
    
    .topic-mini-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        width: 280px ;
    }
    
    /* Add scroll indicators for mobile */
    .topics-speaker-style-grid::after {
        content: '';
        flex: 0 0 10px;
    }
    
    /* Carousel dots for topics - Hidden */
    .topics-carousel-dots {
        display: none;
    }
}

#contact .contact-info,
#contact .contact-form {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

#contact .contact-info h3,
#contact .contact-form h3,
#contact .contact-info h4,
#contact .contact-form h4 {
    color: white !important;
}

#contact .contact-info p,
#contact .contact-form p,
#contact .contact-info label,
#contact .contact-form label {
    color: #e0e0e0 !important;
}

#contact .contact-item i {
    color: #00b4d8 !important;
}

#contact .contact-form input,
#contact .contact-form textarea {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
    color: #e0e0e0 !important;
}

#call-for-papers .topics,
#call-for-papers .important-dates {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

#call-for-papers .topics h3,
#call-for-papers .important-dates h3,
#call-for-papers .topics ul,
#call-for-papers .important-dates .event,
#call-for-papers .important-dates .date {
    color: white !important;
}

#call-for-papers .topics li,
#call-for-papers .important-dates .event {
    color: #e0e0e0 !important;
}

#submission .submission-guidelines,
#submission .submission-platform {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    padding: 30px !important;
    margin-bottom: 20px !important;
}

#submission .submission-guidelines h3,
#submission .submission-platform h3 {
    color: white !important;
}

#submission .submission-guidelines ul,
#submission .submission-guidelines li,
#submission .submission-platform p {
    color: #e0e0e0 !important;
}

#important-dates.section {
    position: relative;
    background: url('https://a-z-animals.com/media/2021/08/Animals-That-Live-in-Coral-Reefs-header.jpg') center center/cover no-repeat fixed;
    z-index: 1;
}
#important-dates.section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 40, 60, 0.65);
    z-index: 2;
}
#important-dates .container, #important-dates .important-dates-content {
    position: relative;
    z-index: 3;
}
#important-dates .calendar-mockup, #important-dates .registration-card {
    background: rgba(80, 80, 80, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(8px) !important;
    color: #fff !important;
}
#important-dates .calendar-mockup table td {
    color: #fff;
}
#important-dates .calendar-mockup table thead td {
    color: #00b4d8;
}
#important-dates .calendar-mockup table thead tr:first-child td {
    color: #0077b6;
}
#important-dates .calendar-mockup div {
    color: #fff;
}
#important-dates .price-label, #important-dates .price-value {
    color: #fff !important;
}
#important-dates .section-title {
    color: #fff !important;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 1201;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #111;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu-links li {
  opacity: 0;
  transform: translateY(40px);
  animation: menuLinkIn 0.6s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
.mobile-menu-overlay.active .mobile-menu-links li {
  /* Staggered animation */
  animation-name: menuLinkIn;
}
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(1) { animation-delay: 0.10s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(2) { animation-delay: 0.22s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(3) { animation-delay: 0.34s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(4) { animation-delay: 0.46s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(5) { animation-delay: 0.58s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(6) { animation-delay: 0.70s; }
.mobile-menu-overlay.active .mobile-menu-links li:nth-child(7) { animation-delay: 0.82s; }

@keyframes menuLinkIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu-links a {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
  text-align: center;
  display: block;
}
.mobile-menu-links a:hover {
  color: #00b4d8;
}

/* Show hamburger and hide desktop nav on mobile */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: none !important;
  }
  .mobile-menu-overlay {
    display: flex;
  }
  .cfp-content,
  .committee-blocks,
  .contact-content,
  .submission-content {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  /* For the upload section in submission.html */
  .submission-content,
  .submission-content + section > div[style*='display: flex'] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .cfp-content > div,
  .committee-blocks > div,
  .contact-content > div,
  .submission-content > div,
  .submission-content + section > div > a > div {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  /* About page mobile tweaks */
  .about-page .about-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    display: flex !important;
  }
  .about-page .about-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .about-page .about-text p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .about-page .host-info {
    margin-top: 24px !important;
    order: 2 !important;
  }
  .about-page .about-text {
    order: 1 !important;
  }
  /* Index page about section mobile tweaks */
  .home #about .about-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
  }
  .home #about .about-text {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    order: 1 !important;
  }
  .home #about .about-text p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }
  .home #about .host-info {
    margin-top: 24px !important;
    order: 2 !important;
  }
  .important-dates {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
  .important-dates .date-item {
    width: 70% !important;
    margin: 0 !important;
    display: block !important;
  }
  #important-dates .important-dates-calendar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    display: flex !important;
  }
  #important-dates .calendar-mockup {
    max-width: 90% !important;
    width: 100% !important;
    margin: 0 auto 8px auto !important;
  }
}

/* Traditional keynote speakers card layout */
.keynote-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.keynote-speaker-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 32px 0 rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e1e8ed;
}

.keynote-speaker-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px 0 rgba(0, 180, 216, 0.25);
    border-color: #00b4d8;
}

.keynote-speaker-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.keynote-speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.keynote-speaker-card:hover .keynote-speaker-image img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.keynote-speaker-info {
    padding: 25px;
    text-align: left;
}

.keynote-speaker-info h3 {
    font-family: 'Crimson Text', serif;
    color: #0077b6;
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.keynote-speaker-card:hover .keynote-speaker-info h3 {
    color: #00b4d8;
}

.keynote-speaker-info .affiliation {
    color: #00b4d8;
    font-style: italic;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.keynote-speaker-card:hover .keynote-speaker-info .affiliation {
    color: #0077b6;
}

.keynote-speaker-info .bio {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive design for keynote speakers */
@media (max-width: 768px) {
    .keynote-speakers-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 0 20px 20px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .keynote-speakers-grid::-webkit-scrollbar {
        display: none;
    }
    
    .keynote-speaker-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        margin-bottom: 10px;
    }
    
    .keynote-speaker-image {
        height: 300px;
    }
    
    .keynote-speaker-info {
        padding: 20px;
    }
    
    .keynote-speaker-info h3 {
        font-size: 1.2rem;
    }
    
    /* Add scroll indicators for mobile */
    .keynote-speakers-grid::after {
        content: '';
        flex: 0 0 10px;
    }
    
    /* Carousel dots for keynote speakers - Hidden */
    .keynote-carousel-dots {
        display: none;
    }
}

/* Mobile swipe carousel for organizers */
@media (max-width: 780px) {
    .organizers-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 0px;
        padding: 0 20px 20px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    
    .organizers-grid::-webkit-scrollbar {
        display: none;
    }
    
    .organizer-card {
        margin-bottom: 10px;
        width: 50% !important;
        max-height: 600px !important;
        right: 10px ;
    }
    
    .organizer-photo {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Add scroll indicators for mobile */
    .organizers-grid::after {
        content: '';
        flex: 0 0 10px;
    }
    
    /* Carousel dots for organizers - Hidden */

    
    /* Upload topics carousel */
    .upload-topics-grid {
        position: relative;
        overflow: hidden;
        width: 90%;
    }
    
    .upload-topic-card {
        flex: 0 0 100%;
        min-width: 100%;
        margin: 0;
        padding: 0 8px;
        box-sizing: border-box;
        width: 280px !important;
        margin: 0 auto;
        min-height: 120px;
        height: 140px;
        transform: scale(0.85);
        margin: center;
    }
    /* Ensure organizer & topic images stay visible on mobile */
    .organizer-photo,
    .topic-mini-card img {
    width: 100%;
    height: 100% auto;
    object-fit: cover;
    display: block;
    }

}

/* ==========================================
   CHATBOT STYLES
   ========================================== */

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Roboto', sans-serif;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}
/* Chatbot moves up when back-to-top button appears */
.chatbot-container.moved-up {
    bottom: 90px;
    transform: translateY(-10px);
    animation: chatbot-float-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes chatbot-float-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    30% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.9;
    }
    60% {
        transform: translateY(-15px) scale(0.98);
        opacity: 0.95;
    }
    100% {
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }
}

/* Chatbot Toggle Button */
.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
    transition: all 0.3s ease;
    animation: chatbot-pulse 2s infinite;
    position: relative;
}

/* Chatbot Arrow Above */
.chatbot-toggle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #00b4d8;
    animation: chatbot-arrow-bounce 2s infinite;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arrow moves down when chatbot moves up */
.chatbot-container.moved-up .chatbot-toggle::before {
    top: -20px;
    animation: chatbot-arrow-bounce-moved 2s infinite;
}

@keyframes chatbot-arrow-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-5px);
    }
    60% {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* Arrow bounce animation when chatbot is moved up */
@keyframes chatbot-arrow-bounce-moved {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(-2px);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 180, 216, 0.4);
}

.chatbot-toggle i {
    color: white;
    font-size: 24px;
}

@keyframes chatbot-pulse {
    0% { box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 180, 216, 0.5); }
    100% { box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3); }
}

/* Chatbot Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.keynote-speaker-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* New speaker card design */
.speaker-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.speaker-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.speaker-icon-container.marine {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
}

.speaker-icon-container.biology {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.speaker-icon-container.academic {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.speaker-icon-container i {
    font-size: 4.5rem;
    color: white;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.icon-bg-pattern {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.speaker-badge {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.keynote-speaker-info .affiliation {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.keynote-speaker-info .affiliation i {
    color: #00b4d8;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.expertise-tags .tag {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.keynote-speaker-info .bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
}

.keynote-speaker-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.chatbot-window.active {
    display: flex;
    animation: chatbot-slide-up 0.3s ease-out;
}

@keyframes chatbot-slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Chatbot Header */
.chatbot-header {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.chatbot-title i {
    font-size: 18px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.chatbot-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Messages Container */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #00b4d8;
    border-radius: 3px;
}

/* Message Styles */
.message {
    display: flex;
    gap: 10px;
    animation: message-slide-in 0.3s ease-out;
}

.carousel-wrapper,
.carousel-container,
.carousel-dot {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}

.read-more-btn {
    background: #00b4d8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 15px auto 0;
    transition: all 0.3s ease;
    display: block;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 180, 216, 0.3);
}

.read-more-btn:hover {
    background: #0077b6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
}

/* Hide read more button on desktop and show full text */
@media (min-width: 769px) {
    .read-more-btn {
        display: none;
    }
    
    .about-preview {
        display: none !important;
    }
    
    .about-full {
        display: block !important;
    }
    
    .about-full-text {
        display: block !important;
    }
}

@keyframes message-slide-in {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
}

.user-message .message-avatar {
    background: #e9ecef;
    color: #495057;
}

.message-content {
    flex: 1;
    background: white;
    padding: 12px 16px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 70%;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: #00b4d8;
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

/* Input Container */
.chatbot-input-container {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.chatbot-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatbot-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

#chatbot-input:focus {
    border-color: #00b4d8;
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
}

.chatbot-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Typing Indicator */
.chatbot-typing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #00b4d8;
    border-radius: 50%;
    animation: typing-dot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-dot {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 15px;
        right: 20px;
    }
    
    .chatbot-container.moved-up {
        bottom: 80px;
        transform: translateY(-8px);
    }
    
    .chatbot-container.moved-up .chatbot-toggle::before {
        top: -18px;
    }
    
    .chatbot-window {
        width: 300px;
        height: 450px;
        right: 0px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-toggle i {
        font-size: 22px;
    }
    
    #chatbot-input {
        width: 70%;
        max-width: 180px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 25px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: 280px;
        height: 400px;
        right: -5px;
    }
}
