/* ========== ROOT VARIABLES (Brand Colours) ========== */
:root {
    --primary-color: #006646;      /* dark green (coffee leaves) */
    --secondary-color: #1a3a5f;    /* deep blue */
    --accent-color: #d4af37;       /* gold / yellow */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #005538;
}

/* ========== GLOBAL RESETS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding-top: 0 !important;   /* controlled by hero top padding */
    background: var(--white);
}

/* ========== DARK FIXED NAVBAR ========== */
.main-navbar {
    background: var(--primary-color);
    padding: 0.6rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.logo-image {
    border-radius: 10%;
    object-fit: fill;
}
.logo-title {
    font-size: 1.2rem;
    font-weight: 550;
    line-height: 1.1;
    color: var(--white);
    display: block;
}
.logo-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    display: block;
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: 0.3s;
    margin: 0 5px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}
.btn-register {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 30px;
    transition: 0.3s;
    border: none;
}
.btn-register:hover {
    background: #b8941f;
    color: white;
    transform: translateY(-2px);
}

/* ========== HERO SECTION (full width, coffee bean gradient) ========== */
.hero-symposium {
    padding: 110px 0 30px;        /* clears fixed navbar */
    background: linear-gradient(135deg, var(--primary-color), #8B0000);
}
.hero-video-wrapper,
.hero-image-wrapper {
    border: 12px solid var(--accent-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-video-wrapper {
    aspect-ratio: 16 / 9;
    background: #000;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-wrapper {
    margin-bottom: 25px;
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.hero-image:hover {
    transform: scale(1.02);
}
.hero-content {
    text-align: center;
    color: white;
    margin-top: 10px;
}
.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.hero-motto {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.4;
}
.hero-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid white;
}
.hero-btn:hover {
    background: #b8941f;
    color: white;
    transform: translateY(-3px);
}

/* Responsive hero padding */
@media (max-width: 992px) {
    .hero-symposium { padding-top: 90px; }
    .hero-title { font-size: 1.3rem; }
    .hero-motto { font-size: 1rem; }
}
@media (max-width: 768px) {
    .hero-symposium { padding-top: 80px; }
}

/* ========== COUNTDOWN SECTION ========== */
.countdown-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    padding: 40px 0;
}
.countdown-single-row {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}
.countdown-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}
.countdown-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-wrap: nowrap;
}
.countdown-item {
    flex: 1;
    padding: 15px 10px;
}
.countdown-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    background: rgba(0, 102, 70, 0.1);
    border-radius: 8px;
    padding: 10px 5px;
    min-width: 70px;
}
.countdown-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 600;
}
.countdown-separator {
    margin: 0 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .countdown-number { font-size: 2rem; min-width: 50px; }
    .countdown-separator { font-size: 1.2rem; margin: 0 5px; }
}
@media (max-width: 480px) {
    .countdown-item { flex: 0 0 calc(50% - 10px); margin-bottom: 10px; }
    .countdown-row { flex-wrap: wrap; }
    .countdown-separator { display: none; }
}

/* ========== CONFERENCE DESCRIPTION ========== */
.conference-description {
    background: white;
    padding: 80px 0 60px;
}
.description-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: left;
}
.description-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}
.welcome-image-container {
    border-radius: 15px;
    overflow: hidden;
}
.welcome-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.image-caption {
    color: #666;
    font-size: 0.9rem;
}

/* Vision & Objectives */
.vision-box, .objectives-box {
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}
.vision-box {
    background: linear-gradient(135deg, rgba(0,102,70,0.05), rgba(0,102,70,0.1));
    border-left: 5px solid var(--primary-color);
}
.objectives-box {
    background: linear-gradient(135deg, rgba(26,58,95,0.05), rgba(26,58,95,0.1));
    border-left: 5px solid var(--secondary-color);
}
.vision-box:hover, .objectives-box:hover { transform: translateY(-5px); }
.vision-title, .objectives-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.vision-title { color: var(--primary-color); }
.objectives-title { color: var(--secondary-color); }
.objectives-list {
    list-style: none;
    padding-left: 0;
}
.objectives-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 35px;
    font-size: 1.05rem;
}
.objectives-list li:last-child { border-bottom: none; }
.objectives-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* ========== PANELS SECTION ========== */
.section-title {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}
.panel-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}
.panel-card:hover { transform: translateY(-5px); }
.panel-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.sub-themes-section {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}
.sub-themes-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}
.sub-themes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sub-theme-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}
.sub-theme-name {
    color: #333;
    font-size: 0.95rem;
}

/* ========== SPEAKERS & EDITORS ========== */
.speakers-section {
    background: var(--light-bg);
    padding: 20px 0;
    margin: 30px 0;
}
.speakers-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}
.speakers-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}
.speakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}
.speaker-card {
    width: 280px;
    flex: 0 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.speaker-card:hover { transform: translateY(-5px); }
.speaker-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #f0f0f0;
}
.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.speaker-card:hover .speaker-img { transform: scale(1.05); }
.view-details-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,102,70,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
}
.speaker-img-container:hover .view-details-overlay { opacity: 1; }
.speaker-info {
    padding: 20px;
    text-align: center;
}
.speaker-name {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}
.speaker-title, .speaker-org { color: #666; font-size: 0.9rem; }

/* ========== SPONSORS ========== */
.sponsors-section {
    background: white;
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
}
.sponsors-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
}
.sponsors-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}
.sponsors-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.sponsor-card-single {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    width: 200px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sponsor-logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.sponsor-logo { max-height: 100%; max-width: 100%; object-fit: contain; }
.sponsor-name { color: var(--primary-color); font-weight: 600; }

/* ========== DEADLINE & GUIDELINES ========== */
.deadline-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
}
.deadline-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.guidelines-box {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: white;
    border-radius: 15px;
    padding: 30px;
}
.guidelines-box h4 { color: var(--accent-color); margin-bottom: 20px; }
.guidelines-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}
.guidelines-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ========== CONTACT & CTA ========== */
.contact-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}
.contact-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.journal-link {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg)) !important;
}
.btn-video-register {
    background: linear-gradient(135deg, var(--accent-color), #b8941f);
    color: white;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    transition: 0.3s;
}
.btn-video-register:hover {
    transform: translateY(-3px);
    color: white;
}

/* ========== FOOTER ========== */
.footer-section {
    background: var(--primary-color);
    color: white;
    padding: 30px 0 20px;
}
.footer-title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 25px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}
.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 40px;
    text-align: center;
}

/* ========== SPEAKER MODAL ========== */
.speaker-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.speaker-modal-content {
    background: white;
    margin: 5% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    animation: slideIn 0.3s;
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.speaker-modal-header {
    background: linear-gradient(135deg, var(--primary-color), #008855);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
}
.speaker-modal-close {
    font-size: 2rem;
    cursor: pointer;
}
.speaker-modal-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}
.speaker-modal-image {
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
}
.speaker-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .speaker-modal-body { grid-template-columns: 1fr; }
}

/* ========== UTILITY / MISCELLANEOUS ========== */
.video-hero-section { display: none; }  /* hide old video section */
.btn-warning { background: var(--accent-color); border: none; }
.text-primary { color: var(--primary-color) !important; }