/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
    color: #222;
    line-height: 1.6;
}

a {
    color: #1a56db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    font-weight: 700;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3em;
}

section {
    padding: 48px 0;
}

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

.center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5em;
}

.mb-4 {
    margin-bottom: 1.5em;
}

.mb-6 {
    margin-bottom: 2.5em;
}

.mt-2 {
    margin-top: 0.5em;
}

.mt-4 {
    margin-top: 1.5em;
}

.mt-6 {
    margin-top: 2.5em;
}

.btn {
    display: inline-block;
    background: #1a56db;
    color: #fff;
    padding: 0.6em 1.5em;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #174bb1;
}

nav {
    background: #1e40af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    max-width: 100%;
    margin: 0 auto;
}

.navbar::-webkit-scrollbar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.navbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.navbar a {
    font-weight: 500;
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    min-width: max-content;
    flex-shrink: 0;
}

.navbar a:hover,
.navbar a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    background: linear-gradient(90deg, #e0e7ff 0%, #f8fafc 100%);
    padding: 48px 0 24px 0;
    text-align: center;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-bottom: 1em;
}

.hero-logo {
    height: 70px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 180px;
    flex-shrink: 0;
}

.hero-title {
    flex: 1 1 auto;
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0;
    color: #1a202c;
    white-space: nowrap;
    line-height: 1.2;
    order: 2;
}

.left-logo {
    order: 1;
}

.right-logo {
    order: 3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1.5em;
}

/* Slider */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 2em auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #1a56db;
    transition: all 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dot.active {
    background: #1a56db;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.speaker-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5em;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.speaker-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.speaker-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1em auto;
    border: 4px solid #e0e7ff;
}

.speaker-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3em;
}

.speaker-title {
    color: #1a56db;
    font-weight: 500;
    margin-bottom: 0.3em;
}

.speaker-affil {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5em;
}

.speaker-link {
    color: #1a56db;
    font-size: 0.9rem;
    text-decoration: underline;
    margin-top: 0.5em;
    display: inline-block;
}

.speaker-img-top {
    object-position: top;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.organizer-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5em;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.organizer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.organizer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1em auto;
    border: 4px solid #e0e7ff;
}

.organizer-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3em;
}

.organizer-title {
    color: #1a56db;
    font-weight: 500;
    margin-bottom: 0.3em;
}

.organizer-affil {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    table-layout: fixed;
}

th,
td {
    padding: 0.8em;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    word-wrap: break-word;
}

th {
    background: #1a56db;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

/* Specific styling for registration tables */
table th:nth-child(1) {
    width: 25%;
}

table th:nth-child(2),
table th:nth-child(3) {
    width: 37.5%;
}

tr:last-child td {
    border-bottom: none;
}

.qr-container {
    text-align: center;
    margin: 2em 0;
}

.qr-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.5em;
}

.registration-dates {
    background: #e0e7ff;
    padding: 1.5em;
    border-radius: 8px;
    margin-bottom: 2em;
}

.registration-dates p {
    margin-bottom: 0.5em;
    font-weight: 500;
}



.themes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-top: 1.5em;
}

@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 1em;
    }

    .hero-title {
        font-size: 1.8rem;
        white-space: normal;
    }

    .hero-logo {
        height: 60px;
    }

    .slider-container {
        margin: 0 20px 2em 20px;
    }

    .slide {
        height: 300px;
    }

    .speakers-grid,
    .organizers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    table,
    .themes-grid {
        grid-template-columns: 1fr;
    }
}

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

.themes-list li {
    padding: 0.5em 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 1.5em;
}

.themes-list li:before {
    content: "•";
    color: #1a56db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-card {
    background: #fff;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 0 auto;
    max-width: 100%;
}

.info-card h2 {
    color: #1a56db;
    margin-bottom: 1em;
}

.info-card .icon {
    font-size: 2em;
    color: #1a56db;
    margin-bottom: 0.5em;
}

#theme-toggle {
    background: #1a56db;
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1em;
}

#theme-toggle:hover {
    background: #174bb1;
}

/* Organizer Sections */
.organizer-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.organizer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.organizer-section h3 {
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

/* Center the Office Bearers section specifically */
.organizer-section:nth-child(3) {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.organizer-section:nth-child(3) .organizers-grid {
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.organizer-link {
    color: #1e40af;
    text-decoration: none;
    font-size: 14px;
    margin-top: 8px;
    display: inline-block;
}

.organizer-link:hover {
    text-decoration: underline;
}

/* Small image styles for specific speakers/organizers */
.speaker-img-small {
    width: 80px !important;
    height: 80px !important;
}

.organizer-img-small {
    width: 80px !important;
    height: 80px !important;
}

/* Accommodation Styles */
.accommodation-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.accommodation-section {
    background: #f8f9fa;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 4px solid #1e40af;
}

.accommodation-section h4 {
    color: #1e40af;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.accommodation-section p {
    margin: 10px 0;
    line-height: 1.6;
    color: #333;
}

.accommodation-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
}

.accommodation-link:hover {
    text-decoration: underline;
}



/* Responsive Design for Organizer Tabs */
/* Mobile Responsive Design */
/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .navbar a:hover {
        transform: none;
    }

    .speaker-card:hover,
    .organizer-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .tab-button:hover {
        transform: none;
    }
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .speakers-grid,
    .organizers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

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

    .hero-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        order: 2;
    }

    .hero-logo {
        height: 50px;
        max-width: 120px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .navbar {
        gap: 0.3em;
        padding: 0.5em 0;
        justify-content: flex-start;
        overflow-x: auto;
        max-width: 100%;
    }

    .navbar a {
        font-size: 0.75rem;
        padding: 0.3em 0.5em;
        min-width: max-content;
    }

    .speakers-grid,
    .organizers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .speaker-card,
    .organizer-card {
        padding: 1rem;
    }

    .speaker-img,
    .organizer-img {
        width: 80px;
        height: 80px;
    }

    .organizer-section {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }

    .organizer-section h3 {
        font-size: 1.2rem;
    }

    table {
        font-size: 0.85rem;
    }

    .slider-container {
        max-width: 100%;
        margin: 0 auto 1.5em auto;
    }

    .slide img {
        height: 200px;
    }
}

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

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .navbar {
        gap: 0.2em;
        padding: 0.4em 0;
    }

    .navbar a {
        font-size: 0.7rem;
        padding: 0.25em 0.4em;
    }

    .speakers-grid,
    .organizers-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .speaker-card,
    .organizer-card {
        padding: 0.8rem;
    }

    .speaker-img,
    .organizer-img {
        width: 70px;
        height: 70px;
    }

    .speaker-name,
    .organizer-name {
        font-size: 1rem;
    }

    .speaker-title,
    .organizer-title {
        font-size: 0.85rem;
    }

    .speaker-affil,
    .organizer-affil {
        font-size: 0.75rem;
    }

    table {
        font-size: 0.75rem;
    }

    .slide img {
        height: 150px;
    }

    .btn {
        padding: 0.6em 1.2em;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

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

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

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .navbar a {
        font-size: 0.65rem;
        padding: 0.2em 0.3em;
    }

    .speaker-img,
    .organizer-img {
        width: 60px;
        height: 60px;
    }

    .speaker-name,
    .organizer-name {
        font-size: 0.9rem;
    }

    .speaker-title,
    .organizer-title {
        font-size: 0.8rem;
    }

    .speaker-affil,
    .organizer-affil {
        font-size: 0.7rem;
    }

    table {
        font-size: 0.7rem;
    }

    .slide img {
        height: 120px;
    }

    .btn {
        padding: 0.5em 1em;
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}

/* Awards Section Interactive Styles */
.awards-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Interactive Card Structure */
.interactive-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.interactive-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Simple Awards Section Styles */
.awards-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background: #1a56db;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header:hover {
    background: #174bb1;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.card-content {
    padding: 2rem;
    display: block;
}

/* Awards Note */
.awards-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-top: 2rem;
}

.awards-note .card-header {
    background: #856404;
}

.awards-note .card-content {
    color: #856404;
}

.award-highlights {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-item {
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    color: #495057;
    border-left: 4px solid #1a56db;
}

/* Simple Tab System */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 86, 219, 0.3) transparent;
}

.category-tabs::-webkit-scrollbar {
    height: 4px;
}

.category-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: rgba(26, 86, 219, 0.3);
    border-radius: 4px;
}

.category-tabs::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 86, 219, 0.5);
}

.tab-btn {
    background: #e9ecef;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
    min-width: max-content;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background: #1a56db;
    color: white;
}

.tab-active {
    background: #1a56db;
    color: white;
}

/* Awards Summary */
.awards-summary {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.award-summary-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #1a56db;
}

.award-summary-item strong {
    color: #1a56db;
    display: block;
    margin-bottom: 0.5rem;
}

.award-summary-item small {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Simple Award Items */
.award-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.award-header {
    background: #f8f9fa;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.award-header:hover {
    background: #e9ecef;
}

.award-number {
    background: #1a56db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.award-header h4 {
    margin: 0;
    flex: 1;
    font-size: 1rem;
}

.award-category {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.award-details {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.award-meta {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.highlight-item {
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    color: #495057;
    border-left: 4px solid #667eea;
}

.submission-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
}

.submission-info p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Basic styles only - no advanced features */

/* Responsive adjustments */
@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        gap: 0.3rem;
        padding: 0.3rem;
        justify-content: flex-start;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        text-align: center;
    }
}
