/* ============================================================
   ITTMEE Conference Website — Main Stylesheet
   Color Scheme: Teal / Dark Green / Gold Accents
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary-dark: #1a3a3a;
    --primary: #2a5f5f;
    --primary-light: #3a8b8b;
    --teal: #3aada8;
    --teal-light: #5ec5c0;
    --gold: #d4a843;
    --gold-light: #e8c972;
    --white: #ffffff;
    --off-white: #f5f7f6;
    --gray-50: #f8fafa;
    --gray-100: #eef2f1;
    --gray-200: #dce3e1;
    --gray-300: #b8c4c2;
    --gray-400: #8a9a97;
    --gray-500: #6b7d7a;
    --gray-600: #4a5856;
    --gray-700: #2d3836;
    --text-primary: #1a2e2c;
    --text-secondary: #4a5856;
    --text-light: #6b7d7a;
    --danger: #c0392b;
    --success: #27ae60;
    --warning: #f39c12;
    --info: #2980b9;
    --shadow-sm: 0 1px 3px rgba(26, 58, 58, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 58, 58, 0.1);
    --shadow-lg: 0 8px 30px rgba(26, 58, 58, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--off-white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 0.5em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-text small {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--teal-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.main-nav a.active {
    background: var(--teal);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
}
.nav-cta:hover {
    background: var(--gold-light) !important;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e4f4f 50%, var(--teal) 100%);
    color: var(--white);
    padding: 36px 0 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero-content { position: relative; z-index: 1; }

/* Hero logos row */
.hero-logos-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-logo-left, .hero-logo-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-left {
    align-items: flex-start;
}

.hero-logo-right {
    align-items: flex-end;
}

.hero-sponsored-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.hero-logo-img {
    display: block;
}

.hero-logo-ishlt {
    height: 100px;
    width: auto;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.hero-logo-sim {
    height: 48px;
    width: auto;
    background: rgba(255, 255, 255, 0.92);
    padding: 6px 12px;
    border-radius: 6px;
}

.hero-logo-iict {
    height: 56px;
    width: auto;
    background: rgba(255, 255, 255, 0.92);
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.hero-bas-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

/* Hero titles */
.hero-title-main {
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 6px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.hero-title-sub {
    color: var(--gold-light);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

/* BAS participation — centered below subtitle */
.hero-participation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    backdrop-filter: blur(4px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .hero-logos-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .hero-logo-left, .hero-logo-right { align-items: center; }
    .hero-title-main { font-size: 1.3rem; }
    .hero-title-sub { font-size: 1.2rem; }
    .hero-logo-ishlt { height: 80px; }
    .hero-logo-iict { height: 44px; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}
.btn-primary:hover {
    background: var(--teal-light);
    color: var(--white);
    border-color: var(--teal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(58, 173, 168, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-gold {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.35);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* ============================================================
   TAB LAYOUT (HOME & NOTABLE PLACES)
   ============================================================ */
.tab-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    margin: 40px 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-height: 500px;
}

.tab-sidebar {
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 8px 0;
}

.tab-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all var(--transition);
}

.tab-sidebar a:hover {
    background: var(--gray-100);
    color: var(--primary);
    border-left-color: var(--gray-300);
}

.tab-sidebar a.active {
    background: var(--white);
    color: var(--primary);
    border-left-color: var(--teal);
    font-weight: 600;
}

.tab-sidebar a i {
    width: 20px;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.85rem;
}
.tab-sidebar a.active i { color: var(--teal); }

.tab-content {
    padding: 36px 40px;
}

.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

.tab-content h2 {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-100);
}

.tab-content p { margin-bottom: 1em; color: var(--text-secondary); }
.tab-content ul, .tab-content ol { margin: 0.8em 0; padding-left: 1.5em; color: var(--text-secondary); }
.tab-content li { margin-bottom: 0.4em; }
.tab-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.tab-content table th, .tab-content table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.tab-content table th { background: var(--gray-50); font-weight: 600; color: var(--primary-dark); }

/* Notable place cards */
.place-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--gray-200);
}
.place-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.place-card-body {
    padding: 20px 24px;
}
.place-card-body h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}
.place-card-body p {
    margin-bottom: 0.8em;
    line-height: 1.7;
}
.place-card-body .place-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-top: 4px;
}

/* --- Mobile accordion (hidden on desktop) --- */
.tab-layout-mobile {
    display: none;
}

/* --- Accordion toggle buttons --- */
.accordion-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 22px;
    margin-bottom: 6px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}
.accordion-toggle:hover {
    background: var(--gray-200);
    color: var(--primary);
}
.accordion-toggle.active {
    background: var(--primary-dark);
    color: var(--white);
    margin-bottom: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.accordion-toggle i {
    width: 22px;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.accordion-toggle.active i {
    color: var(--teal-light);
}

/* --- Accordion panels --- */
.accordion-panel {
    display: none;
    margin-bottom: 6px;
}
.accordion-panel.active {
    display: block;
}
.accordion-panel-inner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 24px 20px;
}
.accordion-panel-inner h2 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
    font-size: 1.4rem;
}
.accordion-panel-inner p { margin-bottom: 1em; color: var(--text-secondary); }
.accordion-panel-inner ul, .accordion-panel-inner ol { margin: 0.8em 0; padding-left: 1.5em; color: var(--text-secondary); }
.accordion-panel-inner li { margin-bottom: 0.4em; }
.accordion-panel-inner table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.accordion-panel-inner table th, .accordion-panel-inner table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.accordion-panel-inner table th { background: var(--gray-50); font-weight: 600; color: var(--primary-dark); }

@media (max-width: 768px) {
    .tab-layout-desktop { display: none; }
    .tab-layout-mobile {
        display: block;
        margin: 24px 0;
    }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-page {
    max-width: 800px;
    margin: 40px auto;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.form-card h2 {
    text-align: center;
    margin-bottom: 8px;
}

.form-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.form-section:last-child { border-bottom: none; }

.form-section h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(58, 173, 168, 0.15);
}

.form-group .help-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
}

/* Radio groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.radio-option:hover { border-color: var(--teal-light); }
.radio-option input:checked + .radio-label { color: var(--primary); font-weight: 600; }
.radio-option:has(input:checked) { border-color: var(--teal); background: rgba(58, 173, 168, 0.04); }

/* ============================================================
   EVALUATION FORM
   ============================================================ */
.evaluation-form {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress bar */
.eval-progress {
    position: relative;
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.eval-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 3px;
    transition: width 0.4s ease;
}

.eval-progress-text {
    display: block;
    text-align: right;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Question layout */
.eval-question {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.eval-question:last-of-type {
    border-bottom: none;
}

.eval-question-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    margin-top: 2px;
}

.eval-question-content {
    flex: 1;
    min-width: 0;
}

.eval-question-content > label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Radio options inside evaluation */
.eval-radio-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eval-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.eval-radio-option:hover {
    border-color: var(--teal-light);
    background: rgba(58, 173, 168, 0.02);
}

.eval-radio-option:has(input:checked) {
    border-color: var(--teal);
    background: rgba(58, 173, 168, 0.06);
}

.eval-radio-option label {
    display: inline;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.88rem;
    cursor: pointer;
    flex: 1;
}

.eval-radio-option:has(input:checked) label {
    color: var(--primary);
    font-weight: 600;
}

.eval-radio-option input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--teal);
    cursor: pointer;
    flex-shrink: 0;
}

/* Textarea fields */
.eval-question-content textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: vertical;
}

.eval-question-content textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(58, 173, 168, 0.15);
}

/* Hint text */
.eval-hint {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 4px;
    font-style: italic;
}

/* Other field that slides in */
.eval-other-field {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-200);
}

.eval-other-field label {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 6px;
}

/* Validation errors */
.eval-question-content .error,
.eval-question-content ul li {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 6px;
}

@media (max-width: 600px) {
    .eval-question { gap: 12px; }
    .eval-question-number { width: 28px; height: 28px; font-size: 0.75rem; }
    .eval-question-content > div > div { padding: 8px 12px; }
}

/* Checkbox */
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Errors */
.form-error {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 4px;
}

.form-errors-list {
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid rgba(192, 57, 43, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    color: var(--danger);
    font-size: 0.88rem;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-messages { max-width: 800px; margin: 20px auto; padding: 0 24px; }

.flash-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-message.success {
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.2);
    color: #1a6b3f;
}

.flash-message.error {
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.2);
    color: var(--danger);
}

/* ============================================================
   REGISTRATION SUCCESS & ATTENDEE AREA
   ============================================================ */
.success-card {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px 40px;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.reg-number {
    display: inline-block;
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 14px 0;
}

/* Attendee Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    border-top: 3px solid var(--teal);
}

.dashboard-card h3 {
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-card h3 i { color: var(--teal); }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-badge.pending { background: rgba(243, 156, 18, 0.12); color: #c17f00; }
.status-badge.approved { background: rgba(39, 174, 96, 0.12); color: #1a6b3f; }
.status-badge.rejected { background: rgba(192, 57, 43, 0.12); color: var(--danger); }
.status-badge.canceled { background: rgba(108, 117, 125, 0.12); color: #555; }
.status-badge.paid { background: rgba(39, 174, 96, 0.12); color: #1a6b3f; }
.status-badge.unpaid { background: rgba(192, 57, 43, 0.12); color: var(--danger); }

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: var(--text-light); }
.info-row .value { font-weight: 600; color: var(--text-primary); }

/* Certificate list */
.certificate-list {
    list-style: none;
    padding: 0;
}

.certificate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.certificate-item .cert-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.certificate-item .cert-name i { color: var(--danger); }

/* ============================================================
   BANK TRANSFER SECTION
   ============================================================ */
.bank-transfer-section {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-top: 20px;
    border-top: 3px solid var(--gold);
}

.bank-transfer-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fee-breakdown {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.92rem;
}

.fee-row.total {
    border-top: 2px solid var(--gray-200);
    margin-top: 8px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.bank-details {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 8px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.92rem;
}

.bank-detail-row:last-child { border-bottom: none; }

.bank-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 110px;
}

.bank-value {
    text-align: right;
    color: var(--text-primary);
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    text-align: center;
}

.login-card h2 { margin-bottom: 6px; }
.login-card .subtitle { color: var(--text-light); margin-bottom: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    padding: 3px 0;
    font-size: 0.88rem;
}
.footer-col a:hover { color: var(--teal-light); }

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

.footer-bottom a { color: var(--teal-light); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .place-card-img { height: 180px; }
    .place-card-body { padding: 16px; }
    .place-card-body h3 { font-size: 1.1rem; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Page content area for non-tabbed pages */
.page-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}

.page-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

/* Organizer bar */
.organizer-bar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    padding: 6px 0;
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
}

.organizer-bar a {
    color: var(--primary-light);
    font-weight: 500;
}

/* ============================================================
   PAGE HERO (used for Speakers, Programme, etc.)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 40px 0 36px;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.page-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    margin-bottom: 12px;
    transition: color var(--transition);
}
.page-hero-back:hover { color: var(--white); }

/* ============================================================
   SPEAKERS PAGE
   ============================================================ */
.speakers-page {
    padding: 40px 0;
}

.speakers-section {
    margin-bottom: 48px;
}

.speakers-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.speakers-grid-featured {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.speaker-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.speaker-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: inherit;
}

.speaker-card-featured {
    border-top: 3px solid var(--gold);
}

.speaker-card-featured .speaker-card-photo {
    height: 253px;
}

.speaker-card-photo {
    height: 220px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.speaker-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-card-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-500);
}

.speaker-card-initials-lg {
    width: 100px;
    height: 100px;
    font-size: 1.8rem;
}

.speaker-card-body {
    padding: 18px 20px 20px;
}

.speaker-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.speaker-card-position {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.speaker-card-institution {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.speaker-card-country {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 0;
}

.speaker-card-country i {
    margin-right: 4px;
    font-size: 0.75rem;
}

.speaker-category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.speaker-category-badge.keynote {
    background: rgba(212, 168, 67, 0.15);
    color: var(--gold);
}

.speaker-category-badge.chair {
    background: rgba(42, 95, 95, 0.1);
    color: var(--primary);
}

.speaker-category-badge.speaker {
    background: rgba(58, 173, 168, 0.1);
    color: var(--teal);
}

/* ============================================================
   SPEAKER DETAIL PAGE
   ============================================================ */
.speaker-detail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    padding: 40px 0;
    align-items: start;
}

.speaker-detail-photo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    text-align: center;
}

.speaker-detail-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.speaker-detail-initials {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-400);
}

.speaker-detail-info {
    padding: 20px;
}

.speaker-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--gray-100);
}

.speaker-info-item:last-child { border-bottom: none; }

.speaker-info-item i {
    width: 18px;
    text-align: center;
    color: var(--teal);
    font-size: 0.85rem;
}

.speaker-detail-main .page-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px;
}

.speaker-detail-main .page-card h2 {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.speaker-bio-content {
    color: var(--text-secondary);
    line-height: 1.75;
}

.speaker-bio-content p { margin-bottom: 1em; }
.speaker-bio-content ul, .speaker-bio-content ol { margin: 0.8em 0; padding-left: 1.5em; }
.speaker-bio-content li { margin-bottom: 0.4em; }

@media (max-width: 768px) {
    .speaker-detail {
        grid-template-columns: 1fr;
    }
    .speaker-detail-photo-card {
        max-width: 300px;
        margin: 0 auto;
    }
    .speakers-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .speakers-grid-featured {
        grid-template-columns: 1fr;
    }
    .speaker-card-photo {
        height: 180px;
    }
    .speaker-card-featured .speaker-card-photo {
        height: 207px;
    }
    .page-hero h1 { font-size: 1.6rem; }
}

/* ============================================================
   PROGRAMME PAGE
   ============================================================ */
.programme-page {
    padding: 40px 0;
}

.programme-day-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.programme-day-tab {
    padding: 14px 28px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-family: inherit;
}

.programme-day-tab:hover {
    border-color: var(--teal-light);
}

.programme-day-tab.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.programme-day-tab .day-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.programme-day-tab .day-date {
    display: block;
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 2px;
}

.programme-day-tab.active .day-name,
.programme-day-tab.active .day-date {
    color: var(--white);
}

.programme-day-panel {
    display: none;
}
.programme-day-panel.active {
    display: block;
}

.programme-date-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.programme-date-heading i { color: var(--teal); }

.programme-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.programme-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    border-left: 4px solid var(--teal);
    transition: box-shadow var(--transition);
}

.programme-item:hover {
    box-shadow: var(--shadow-md);
}

.programme-item-break {
    border-left-color: var(--gray-300);
    background: var(--gray-50);
}

.programme-time {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    padding-top: 2px;
}

.time-start {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

.time-end {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-400);
}

.programme-item-content {
    flex: 1;
    min-width: 0;
}

.programme-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.programme-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.programme-type-keynote { background: #fef3c7; color: #92400e; }
.programme-type-lecture { background: #dbeafe; color: #1e40af; }
.programme-type-workshop { background: #dcfce7; color: #166534; }
.programme-type-panel { background: #e0e7ff; color: #3730a3; }
.programme-type-break { background: #f1f5f9; color: #64748b; }
.programme-type-networking { background: #fce7f3; color: #9d174d; }
.programme-type-registration { background: #ccfbf1; color: #115e59; }
.programme-type-other { background: #f1f5f9; color: #475569; }

.programme-track {
    font-size: 0.78rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
}

.programme-item-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.programme-item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.programme-item-description p { margin-bottom: 0.5em; }

.programme-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.programme-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.programme-meta-item i {
    font-size: 0.78rem;
    color: var(--teal);
}

.programme-meta-item a {
    color: var(--primary-light);
}
.programme-meta-item a:hover {
    color: var(--teal);
}

@media (max-width: 768px) {
    .programme-item {
        flex-direction: column;
        gap: 8px;
        padding: 16px 18px;
    }
    .programme-time {
        width: auto;
        text-align: left;
        display: flex;
        gap: 6px;
        align-items: baseline;
    }
    .programme-day-tabs {
        flex-direction: column;
    }
    .programme-day-tab {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .programme-day-tab .day-name { display: inline; }
    .programme-day-tab .day-date { display: inline; margin-top: 0; }
}
