/* Base Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #a855f7;
    --dark-color: #1e1b4b;
    --light-color: #fefefe;
    --gray-color: #64748b;
    --light-gray: #f8fafc;
    --purple-light: #f3f4f6;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Didact Gothic', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 400;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa 0%, #8b5a3c 100%);
    border-radius: 1px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #374151;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cta-button.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.8;
}

.cta-button.disabled:hover {
    transform: none;
    background: #9ca3af;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Header & Hero */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 25%);
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero-icon {
    position: absolute;
    right: 2%;
    bottom: 0%;
    width: 30%;
    height: 30%;
    background: url('../images/sg_icons2.png') no-repeat center;
    background-size: contain;
    z-index: 3;
    opacity: 0.95;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)) brightness(1.05);
    pointer-events: none;
    animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 1;
    }
}

/* SVG wave styling */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.green-strand {
    animation: greenStrandFloat 8s ease-in-out infinite;
}

@keyframes greenStrandFloat {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-3px);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    margin: 0 auto;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.bracket {
    color: var(--accent-color);
    font-weight: 700;
    margin: 0 5px;
}

.logo-text {
    color: white;
    margin: 0 5px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.date-location {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.date-location p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.date-location i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.main-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* About Section */
.about-grid {
    margin-top: 2rem;
}

.about-topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 3.8rem;
}

.about-left {
    text-align: left;
}

.about-right {
    text-align: left;
}

.about-eyebrow, .section-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
}

.about-eyebrow::after, .section-eyebrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #8b5a3c;
    border-radius: 1px;
}

.date-highlight {
    color: #8b5a3c;;
    font-weight: 500;
    margin-left: 20px;
}

.link-highlight {
    color: #1f2937;
    text-decoration: underline;
    text-decoration-color: #8b5a3c;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0 1.5rem 0;
    text-align: left !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    color: var(--dark-color);
}

.about-title::after {
    display: none;
}

.about-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.topic-category {
    margin-bottom: 1.5rem;
}

.topic-category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.topic-category p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
    margin: 0;
}

.checklist {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.75rem;
}

.checklist li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    color: #374151;
    font-size: 0.95rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Topics Section */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.topic-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topic-card h3 {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1.3rem;
}

.topic-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.speaker-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem 1.5rem;
}

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

.speaker-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-color);
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.speaker-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.affiliation {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Schedule Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    width: 100%;
    padding: 0 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.topic-category h4 {
    color: #8b5a3c;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

/* Submission Section */
.submission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.important-dates {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.important-dates h3 {
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 500;
}

.important-dates ul {
    padding: 0;
}

.important-dates li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: start;
    align-items: center;
}

.important-dates li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.important-dates strong {
    color: var(--dark-color);
    font-weight: 600;
}

.submission-guidelines {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 2rem;
    border: none;
}

.submission-guidelines h3 {
    color: #8b5a3c;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 500;
}

.submission-guidelines ul {
    padding-left: 1.5rem;
}

.submission-guidelines li {
    margin-bottom: 0.8rem;
    color: var(--gray-color);
    position: relative;
    padding-left: 1.5rem;
}

.submission-guidelines li::before {
    content: '•';
    color: #6b7280;
    font-weight: normal;
    position: absolute;
    left: 0;
}

.topic-checkmark {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    background: linear-gradient(135deg, #7c3aed 0%, #8b5a3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Organizers Section */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.1rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.organizer-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.2s ease;
    text-align: center;
    border: none;
    text-decoration: none;
    color: inherit;
    display: block;
}

.organizer-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.organizer-avatar {
    width: 80%;
    height: 220px;
    border-radius: 6px;
    margin: 0 auto 0.6rem;
    overflow: hidden;
    background: #f8f9fa;
}

.organizer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 6px;
}

.organizer-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.organizer-card .affiliation {
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.organizer-card .role {
    color: var(--gray-color);
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 0;
}

.placeholder {
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.02);
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-grid,
    .submission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-left {
        order: 1;
    }
    
    .about-right {
        order: 2;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        text-align: left;
    }
}

@media (max-width: 900px) {
    .about-topics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .topic-category {
        text-align: left;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero::before {
        left: 12px;
        bottom: 12px;
        width: 84px;
        height: 84px;
    }
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links ul {
        margin-bottom: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:first-child {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:last-child {
        transform: translateY(-8.5px) rotate(-45deg);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .speakers-grid,
    .organizers-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .about-topics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .topic-category h4 {
        font-size: 1rem;
    }

    .topic-category p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .date-location {
        flex-direction: column;
        gap: 1rem;
    }
    
    .speakers-grid,
    .organizers-grid {
        grid-template-columns: 1fr;
    }
}

/* Important Dates - clean alignment */
.important-dates ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.important-dates li {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.important-dates li:last-child {
    border-bottom: none;
}

.important-dates li strong {
    min-width: 220px;   /* keeps labels aligned */
    font-weight: 600;
    color: var(--dark-color);
}

.important-dates li span {
    color: #8b5a3c;
    font-weight: 500;
}

/* Mobile view: stack neatly */
@media (max-width: 768px) {
    .important-dates li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .important-dates li strong {
        min-width: auto;
    }
}

/* Default organizer images */
.organizer-avatar {
    width: 80%;
    height: 220px;
    border-radius: 6px;
    margin: 0 auto 0.6rem;
    overflow: hidden;
    background: #f8f9fa;
}

.organizer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 6px;
}

.job-title {
    color: #6b7280;
    font-size: 0.9rem;
    margin: -0.5rem 0 0.5rem 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Fix for narrow screens */
@media (max-width: 768px) {
    .organizer-avatar {
        width: 200px;   /* uniform width */
        height: 220px;  /* uniform height */
        margin: 0 auto 1rem; /* keep it centered */
    }

    .organizer-card {
        text-align: center;
    }

    .organizer-card h3,
    .organizer-card .affiliation,
    .organizer-card .job-title {
        text-align: center;
    }
}

.organizer-card {
    position: relative;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer; /* show it’s clickable */
}

/* Corner elements */
.organizer-card::before,
.organizer-card::after {
    content: "";
    position: absolute;
    width: 10px;   /* corner size */
    height: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: linear-gradient(90deg, #a78bfa 0%, #8b5a3c 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Top-left corner */
.organizer-card::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* Bottom-right corner */
.organizer-card::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Hover effect */
.organizer-card:hover {
    transform: translateY(-3px);
}

.organizer-card:hover::before,
.organizer-card:hover::after {
    opacity: 1;
    animation: gradientFlow 2s linear infinite;
}

/* Animate gradient movement */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}


