@import url('CityUHK_CSS/CityU-revamp/css/custom.css');

/* Theme colors and variables */
:root {
    --primary-color: #A51C51;
    --secondary-color: #F7941D;
    --gradient-main: linear-gradient(135deg, #F7941D 0%, #A51C51 100%);
    --gradient-light: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    --text-color: #333;
    --light-bg: #f8f9fa;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero section styles */
.hero {
    background: var(--gradient-main);
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.28);
    border-radius: 18px;
    padding: 32px 32px 28px 32px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    backdrop-filter: blur(7px);
}

.hero-content a {
    text-shadow: none !important;
}

.hero h1, .hero-subtitle, .hero-deadline {
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin: 0;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-deadline {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Using CityU component-button-1 styles */

/* Section layout */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f8f9fa;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-intro {
    text-align: left;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
}

/* About section layout */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.about-text {
    max-width: 1200px;
    width: 100%;
    text-align: left;
    padding: 0 20px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    text-align: left;
}

.deadline-box {
    background: var(--gradient-main);
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.deadline-box i {
    font-size: 1.5rem;
}

/* Thematic areas list */
.thematic-areas {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.thematic-areas li {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.thematic-areas li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

/* Remove the old emoji/::before icons for thematic-areas */
/* .thematic-areas li::before, .thematic-areas li:nth-child(2)::before, .thematic-areas li:nth-child(3)::before { content: none !important; display: none !important; } */

.soft-matter-icon i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

/* Restore icons in thematic-areas */
.thematic-areas i {
    display: inline;
    margin-left: 10px;
    font-size: 1.2em;
    vertical-align: middle;
    color: var(--primary-color);
}

/* Poster info styles */
.poster-content {
    max-width: 800px;
    margin: 0 auto;
}

.poster-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.poster-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.poster-icon i {
    font-size: 2rem;
    color: white;
}

.poster-details h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.poster-details p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.poster-themes h4 {
    font-size: 1.2rem;
    color: #007BFF;
    margin-bottom: 15px;
}

.poster-themes ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.poster-themes li {
    background: #f8f9fa;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.poster-themes li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.poster-status {
    margin-top: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F7941D, #A51C51);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.status-badge i {
    font-size: 1.1rem;
}

/* Keynote speakers carousel */
.speakers-carousel {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.speakers-carousel::-webkit-scrollbar {
    display: none;
}
.speakers-track {
    display: flex;
    flex-direction: row;
    gap: 32px;
    min-width: 600px;
    width: max-content;
    padding: 8px 0 8px 2px;
    transition: transform 0.3s;
}
.speaker-card {
    min-width: 260px;
    max-width: 260px;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
    padding: 30px 18px 24px 18px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.speaker-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.speaker-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A51C51, #F7941D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.speaker-avatar i {
    font-size: 2rem;
    color: white;
}
.speaker-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}
.speaker-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.speaker-topic {
    color: #666;
    font-style: italic;
    font-size: 0.98rem;
}
@media (max-width: 700px) {
    .speakers-track {
        gap: 16px;
        min-width: 320px;
    }
    .speaker-card {
        min-width: 210px;
        max-width: 210px;
        padding: 18px 8px 16px 8px;
    }
    .speaker-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
}

/* Schedule table styles */
.schedule-container {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(165,28,81,0.10);
    margin-top: 24px;
}
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.08rem;
    color: #333;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}
.schedule-table th {
    background: var(--primary-color);
    color: #fff;
    padding: 20px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 1.13rem;
    border-bottom: 3px solid var(--secondary-color);
    letter-spacing: 0.5px;
}
.schedule-table td, .schedule-table th {
    border: 1px solid #e0d3db;
}
.schedule-table td {
    padding: 18px 14px;
    border-bottom: 1px solid #eee;
    background: #fff;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    transition: background 0.2s;
}
.schedule-table tr:nth-child(even) td {
    background: #f8f3f7;
}
.schedule-table td:hover {
    background: #f3e3ec;
    box-shadow: 0 2px 8px rgba(165,28,81,0.07);
    z-index: 1;
    position: relative;
}
.schedule-table tr:hover td {
    background: inherit;
    box-shadow: none;
}
.schedule-table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 700px) {
    .schedule-table th, .schedule-table td {
        padding: 10px 4px;
        font-size: 0.98rem;
    }
}

/* Venue section layout */
.venue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.venue-details h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.venue-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.venue-details i {
    color: var(--primary-color);
    width: 20px;
}

.venue-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.venue-map {
    height: 300px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #007BFF;
}

/* Organizers and sponsors */
.organizers-content {
    padding: 40px 0;
}

.contact-info, .organizer-block, .sponsor-block {
    text-align: center;
    margin-bottom: 30px;
}

.organizer-logos, .sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.organizer-block, .sponsor-block {
    margin-bottom: 40px;
}

.organizer-block h3, .sponsor-block h3 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.org-logo, .sponsor-logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero container responsive styles */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column !important;
        gap: 30px !important;
    }
}

/* Responsive design tweaks */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-text {
        max-width: 98vw;
        padding: 0 8px;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .venue-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .schedule-table {
        font-size: 0.9rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 15px 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .poster-info {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .poster-icon {
        margin: 0 auto 20px;
    }
    
    .poster-themes li {
        text-align: left;
    }
    
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        padding: 16px 12px;
    }
    
    .contact-avatar {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 15px 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .venue-actions {
        flex-direction: column;
    }
}

.org-sponsor-row {
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 32px;
    flex-wrap: nowrap;
}
.org-sponsor-row .organizer-block, .org-sponsor-row .sponsor-block {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 400px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
}
@media (max-width: 900px) {
    .org-sponsor-row {
        flex-direction: column;
        gap: 32px;
        margin-top: 24px;
    }
    .org-sponsor-row .organizer-block, .org-sponsor-row .sponsor-block {
        max-width: 100%;
    }
}

.contact-info {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    max-width: 420px;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(165,28,81,0.10);
    padding: 22px 28px 22px 18px;
    border-left: 6px solid var(--primary-color);
    position: relative;
    margin-left: 0;
    margin-right: 0;
    transition: box-shadow 0.3s;
}
.contact-card:hover {
    box-shadow: 0 8px 32px rgba(165,28,81,0.18);
}
.contact-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #A51C51, #F7941D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-avatar i {
    font-size: 1.3rem;
    color: white;
}
.contact-details p {
    margin-bottom: 0;
    font-size: 1.08rem;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}
.contact-info h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}
@media (max-width: 600px) {
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 10px 16px 10px;
        gap: 10px;
    }
    .contact-info {
        max-width: 98vw;
    }
}

.sponsor-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
@media (max-width: 900px) {
    .sponsor-logos {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: center;
    }
}

.table-legend {
    font-size: 0.98rem;
    color: #A51C51;
    margin-bottom: 10px;
    margin-top: 10px;
    font-style: italic;
    background: #f8f3f7;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
}

/* Back to top button styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(165,28,81,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top:hover {
    background: linear-gradient(135deg, #A51C51 0%, #F7941D 100%);
    box-shadow: 0 10px 25px rgba(165,28,81,0.18);
    transform: translateY(-3px);
}

/* Center organizer logos on all screens */
.organizer-logos {
    display: flex;
    justify-content: center !important;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

/* Add gap above Speakers heading */
#speakers .component-header {
    margin-top: 40px !important;
}

/* Speaker card text positioning fix */
.cityu .spotlightSwiper .card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 320px !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
    overflow: visible !important;
    margin-bottom: 30px !important;
}

/* Modified hover effect - pull down instead of up */
.cityu .spotlightSwiper .card:hover {
    transform: translateY(15px) !important;
    box-shadow: 0 20px 40px rgba(165, 28, 81, 0.2) !important;
}

.cityu .spotlightSwiper .card-body {
    height: auto !important;
    min-height: 180px !important;
    padding: 15px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    flex-grow: 1 !important;
    position: relative !important;
}

.cityu .spotlightSwiper .card-body .card-title {
    margin-bottom: 8px !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #A51C51 !important;
    text-align: center !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    -webkit-line-clamp: none !important;
}

.cityu .spotlightSwiper .card-body .speaker-topic {
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.cityu .spotlightSwiper .card-body .bio-link {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* Responsive speaker section */
/* Extra small screens */
@media (max-width: 480px) {
    .cityu .spotlightSwiper .card {
        min-height: 240px !important;
        border-radius: 8px !important;
    }
    
    .cityu .spotlightSwiper .card-body {
        min-height: 140px !important;
        padding: 10px 8px !important;
    }
    
    .cityu .spotlightSwiper .card-body .card-title {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }
    
    .cityu .spotlightSwiper .card-body .speaker-title {
        font-size: 0.7rem !important;
        margin-bottom: 6px !important;
    }
    
    .cityu .spotlightSwiper .card-img {
        width: 80px !important;
        height: 80px !important;
        border-width: 2px !important;
        margin-bottom: 8px !important;
    }
    
    .details-btn {
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 767px) {
    .cityu .spotlightSwiper .card {
        min-height: 280px !important;
        border-radius: 10px !important;
    }
    
    .cityu .spotlightSwiper .card-body {
        min-height: 160px !important;
        padding: 12px 10px !important;
    }
    
    .cityu .spotlightSwiper .card-body .card-title {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }
    
    .cityu .spotlightSwiper .card-body .speaker-title {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    
    .cityu .spotlightSwiper .card-body .speaker-topic {
        font-size: 0.85rem !important;
    }
    
    .cityu .spotlightSwiper .card-img {
        width: 90px !important;
        height: 90px !important;
        border-width: 2px !important;
        margin-bottom: 10px !important;
    }
    
    .details-btn {
        padding: 7px 14px !important;
        font-size: 0.75rem !important;
        margin-top: 10px !important;
    }
}

/* Enhanced speaker image styling - increased size */
.cityu .spotlightSwiper .card-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto 12px auto !important;
    border: 3px solid #A51C51 !important;
    box-shadow: 0 3px 12px rgba(165, 28, 81, 0.2) !important;
    transition: all 0.3s ease !important;
}

.cityu .spotlightSwiper .card:hover .card-img {
    transform: scale(1.05) !important;
    border-color: #8a1642 !important;
    box-shadow: 0 6px 20px rgba(165, 28, 81, 0.3) !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .cityu .spotlightSwiper .card {
        min-height: 300px !important;
    }
    
    .cityu .spotlightSwiper .card-body {
        min-height: 170px !important;
        padding: 14px 12px !important;
    }
    
    .cityu .spotlightSwiper .card-img {
        width: 100px !important;
        height: 100px !important;
        border-width: 2px !important;
    }
    
    .details-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}

@media (min-width: 1024px) {
    .cityu .spotlightSwiper .card {
        min-height: 320px !important;
    }
    
    .cityu .spotlightSwiper .card-body {
        min-height: 180px !important;
    }
}

/* Ensure equal height for all swiper slides */
.cityu .spotlightSwiper .swiper-wrapper {
    align-items: stretch !important;
}

.cityu .spotlightSwiper .swiper-slide {
    height: auto !important;

}

/* Swiper navigation and pagination styling */
.cityu .spotlightSwiper .swiper-button-next,
.cityu .spotlightSwiper .swiper-button-prev {
    color: #A51C51 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
}

.cityu .spotlightSwiper .swiper-button-next:after,
.cityu .spotlightSwiper .swiper-button-prev:after {
    font-size: 16px !important;
}

/* Ensure only one set of navigation buttons is visible */
.cityu .spotlightSwiper .swiper-button-next,
.cityu .spotlightSwiper .swiper-button-prev {
    display: block !important;
}


.cityu .spotlightSwiper .card-body .speaker-title {
    margin-bottom: 10px !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    color: #A51C51 !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: linear-gradient(135deg, #A51C51, #F7941D) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.cityu .spotlightSwiper .card-body .speaker-topic {
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* Remove all gradient elements completely */
.cityu .spotlightSwiper .card-body::after {
    display: none !important;
}

/* Create a new grey box that covers the text area */
.cityu .spotlightSwiper .card-body::before {
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    content: '' !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: -1 !important;
}

/* Set clean white background for card body */
.cityu .spotlightSwiper .card-body {
    background: transparent !important;
    background-image: none !important;
    position: relative !important;
    z-index: 1 !important;
}

#venue p {
    margin-bottom: 6px;
}

#venue .section-content {
    padding-top: 10px;
}

/* Align venue text with map */
#venue .col-md-6:first-child {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#venue h3 {
    margin-top: 0;
    margin-bottom: 5px;
    padding-top: 0;
}

.section-content {
    padding-top: 10px !important;
} 

/* Ensure font consistency for About and Call for Registration sections */
.about-content, .about-content *,
.registration-content, .registration-content * {
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
} 

/* Match About section style to Call for Registration */
.about-content {
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.about-text {
    padding: 0 18px;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.about-text p {
    text-align: left;
    margin-bottom: 18px;
}

.thematic-areas {
    margin: 32px 0 24px 0;
    padding: 0;
}

.thematic-areas li {
    background: #fff;
    margin-bottom: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.08rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.thematic-areas i, .soft-matter-icon i {
    display: inline;
    margin-left: 10px;
    font-size: 1.2em;
    vertical-align: middle;
    color: var(--primary-color);
    margin-right: 0;
}

/* Program Schedule Styles */
.program-schedule {
    margin-top: 30px;
}

/* Date Header Styling */
.date-header {
    background: linear-gradient(135deg, #A51C51 0%, #F7941D 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin: 40px 0 30px 0;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(165, 28, 81, 0.3);
    position: relative;
    overflow: hidden;
}

.date-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.date-header::after {
    content: '📅';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Different colors for each date */
.date-header.dec-3 {
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
    box-shadow: 0 6px 25px rgba(46, 139, 87, 0.3);
}

.date-header.dec-4 {
    background: linear-gradient(135deg, #4169E1 0%, #6495ED 100%);
    box-shadow: 0 6px 25px rgba(65, 105, 225, 0.3);
}

.date-header.dec-5 {
    background: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.3);
}

/* Poster Thumbnails Styling */
.poster-thumbnails {
    display: flex;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.poster-thumbnail {
    height: 275px;
    width: 195px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
}

.poster-thumbnail:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive design for poster thumbnails */
@media (max-width: 768px) {
    .poster-thumbnails {
        gap: 20px;
        justify-content: center;
    }
    
    .poster-thumbnail {
        height: 200px;
        width: 140px;
    }
}

.program-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.program-day {
    margin-bottom: 40px;
}

.program-day h3 {
    color: #A51C51;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #A51C51;
}

.session-column {
    padding: 0;
}

.session-item {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.session-item:last-child {
    border-bottom: none;
}

.session-item .time {
    font-weight: 600;
    color: #A51C51;
    font-size: 1rem;
    margin-bottom: 8px;
}

.session-item .title {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.session-item .speaker {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Responsive Design for Program Schedule */
@media (max-width: 768px) {
    .program-day h3 {
        font-size: 1.5rem;
    }
    
    .session-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .session-item .time {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
    
    .session-item .title {
        font-size: 1rem;
    }
}

/* Hide talk content from speaker cards on homepage */
.cityu .spotlightSwiper .card-body .speaker-topic {
    display: none !important;
}

/* Speaker Details Button Styling */
.details-btn {
    background: linear-gradient(135deg, #A51C51 0%, #F7941D 100%) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    font-size: 0.8rem !important;
    margin-top: 12px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 3px 12px rgba(165, 28, 81, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.details-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.details-btn:hover::before {
    left: 100% !important;
}

.details-btn:hover {
    background: linear-gradient(135deg, #8a1642 0%, #e67e22 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(165, 28, 81, 0.4) !important;
}

/* Speaker Details Modal Styling */
#speakerDetailsModal .modal-content {
    border-radius: 15px !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

#speakerDetailsModal .modal-header {
    background: linear-gradient(135deg, #A51C51 0%, #F7941D 100%) !important;
    color: white !important;
    border-radius: 15px 15px 0 0 !important;
    border-bottom: none !important;
}

#speakerDetailsModal .modal-title {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

#speakerDetailsModal .btn-close {
    filter: invert(1) !important;
}

.details-section {
    background: #f8f9fa !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border-left: 4px solid #A51C51 !important;
}

.section-title {
    color: #A51C51 !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #e9ecef !important;
}

.talk-item {
    background: white !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.talk-item h4 {
    color: #A51C51 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.talk-item p {
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}

.talk-item p strong {
    color: #333 !important;
}

#bioContent p {
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* Responsive modal */
@media (max-width: 768px) {
    #speakerDetailsModal .modal-dialog {
        margin: 10px !important;
    }
    
    .details-section {
        padding: 15px !important;
    }
    
    .section-title {
        font-size: 1.2rem !important;
    }
} 