/* ===========================================
    HIS 2025 Conference Website Styles
    ========================================== */

/* Base & Typography
----------------------------------------- */
:root {
    --primary-color: #008251;
    --primary-dark: #006c42;
    --text-color: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

section {
    padding: 3rem 0;
}

/* Navigation & Header
----------------------------------------- */
.navbar {
    position: absolute;
    width: 100%;
    z-index: 1000;
    background: #fff;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.year-text {
    color: var(--primary-color);
    margin-left: 4px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Styles
----------------------------------------- */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.nav-link.dropdown-toggle::after {
    transition: transform 0.2s ease;
}

.nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Hero Section Styles
----------------------------------------- */
.hero-section, .hero-banner {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.hero-banner {
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.hero-banner.call-banner,
.hero-banner.travel-banner,
.hero-banner.committee-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
}

.hero-banner.program-banner {
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
}

.hero-banner .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.hero-banner h1,
.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

/* Hero Section Enhancement */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
    padding-top: 80px;
}

.hero-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.5);
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.hero-section h2 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.hero-info {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info i {
    color: var(--primary-color);
}

/* Welcome Section Styling */
.welcome-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

.welcome-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: #198754;
}

.scope-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 2.5rem;
}

.scope-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #198754;
    transition: transform 0.3s ease;
}

.scope-item:hover {
    transform: translateX(10px);
}

/* Sidebar Styles
----------------------------------------- */
.sidebar-box .digital-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem;
    background: white;
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1),
                inset -2px -2px 5px rgba(255,255,255,0.8);
    flex-wrap: nowrap;
    width: 100%;
}

.sidebar-box .time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px; 
}

.sidebar-box .time-segment span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.1),
                -3px -3px 8px rgba(255,255,255,0.8);
    min-width: 40px; 
    text-align: center;
}

.sidebar-box .time-separator {
    font-size: 1.5rem; 
    margin-top: -0.5rem; 
    padding: 0 2px;
}

.sidebar-box .time-label {
    font-size: 0.65rem; 
    margin-top: 0.3rem;
}

.sidebar-box .date-display {
    font-size: 0.9rem;
    padding: 0.4rem;
    margin-bottom: 0.8rem;
}

.sidebar-box .time-heading {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.previous-conferences-box {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1),
                -5px -5px 15px rgba(255,255,255,0.8);
}

.conf-heading {
    color: #008251;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.conf-heading i {
    color: #008251;
    margin-right: 0.5rem;
}

.conferences-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1),
                inset -2px -2px 5px rgba(255,255,255,0.8);
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #008251 #f0f0f0;
}

/* Custom scrollbar styling */
.conferences-container::-webkit-scrollbar {
    width: 6px;
}

.conferences-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.conferences-container::-webkit-scrollbar-thumb {
    background: #008251;
    border-radius: 3px;
}

.conference-list {
    margin: 0;
    padding: 0;
}

.conference-list li {
    margin-bottom: 0.8rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.05),
                -3px -3px 8px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.conference-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.conf-link {
    color: #0066cc;
    text-decoration: none;
    transition: var(--transition);
}

.conf-link:hover {
    color: #004999;
    transform: translateX(5px);
    display: inline-block;
}

/* Time Display Styles
----------------------------------------- */
.time-display {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1), 
                -5px -5px 15px rgba(255,255,255,0.8);
}

.time-heading {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.date-display {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(0,130,81,0.1);
    border-radius: 8px;
    text-align: center;
}

.digital-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1),
                inset -2px -2px 5px rgba(255,255,255,0.8);
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-segment span:first-child {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.1),
                -3px -3px 8px rgba(255,255,255,0.8);
    min-width: 60px;
    text-align: center;
}

.time-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

.time-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    animation: blink 1s infinite;
    margin-top: -1rem;
}

/* Important Dates Styles
----------------------------------------- */
.dates-box {
    margin: 1.5rem 0;
}

.dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 1.5rem;
}

.dates-list li {
    margin-bottom: 1rem;
    padding: 0;
    background: none;
}

.dates-list li:before {
    display: none !important;  /* Remove any pseudo-element bullets */
    content: none !important;  /* Ensure no content is added */
}

.date-item {
    background: var(--bg-light);
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.date-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.date-value, .date-content {
    color: var(--text-muted);
}

.old-date {
    text-decoration: line-through;
    color: #666;
    margin-right: 0.5rem;
}

.new-date {
    color: var(--primary-color);
    font-weight: 500;
}

/* Call for Papers Content */
.call-papers-content {
    padding: 0;
}

.call-papers-content h2 {
    color: #198754;
    margin-bottom: 1rem;
}

.topic-list {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
}

.topic-item {
    margin-bottom: 0.5rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

/* Guidelines Box Styling */
.guidelines-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.guideline-item {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.guideline-item i {
    color: #198754;
    margin-top: 0.25rem;
}

/* Publications Box Styling */
.publications-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.publication-item {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.publication-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.publication-content i {
    color: #198754;
}

/* Modern Component Styles */
.date-item,
.guideline-item,
.publication-item {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05),
                -5px -5px 15px rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.date-item:hover,
.guideline-item:hover,
.publication-item:hover {
    transform: translateX(5px);
    box-shadow: 7px 7px 20px rgba(0,0,0,0.1),
                -7px -7px 20px rgba(255,255,255,0.9);
}

/* PDF Viewer Styles
----------------------------------------- */
.pdf-container {
    width: 100%;
    height: 800px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

#pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-toolbar {
    padding: 10px;
    background: var(--white);
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-toolbar button {
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.pdf-toolbar button:hover {
    background: var(--primary-dark);
}

.pdf-toolbar input {
    width: 50px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px;
}

.zoom-controls {
    margin-left: auto;
}

/* Committee Styles
----------------------------------------- */
/* Program Committee Page Specific Styles */
.program-committee-banner {
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
}

/* Committee Table Styles */
.committee-members-container {
    margin-top: 20px;
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1),
                -5px -5px 15px rgba(255,255,255,0.8);
}

.committee-table th,
.committee-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.committee-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
    color: #2c3e50;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    color: var(--primary-color);
    border-bottom: 2px solid rgba(0,130,81,0.2);
}

.committee-table tr {
    transition: var(--transition);
}

.committee-table tr:hover {
    background-color: #f5f5f5;
}

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

.committee-table td {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Fade-in animation for table rows */
.committee-table .fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.6s ease forwards;
}

/* Loading indicator styles */
.text-center .fa-spinner,
#loadingIndicator .fa-spinner {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 2rem 0;
}

#loadingIndicator {
    padding: 3rem;
    text-align: center;
    color: var(--primary-color);
}

#loadingIndicator .fa-spinner {
    margin-bottom: 1rem;
}

/* Organization Committee Specific Styles */
.committee-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
}

/* Committee Section Styles */
.committee-section {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    opacity: 1 !important; /* Ensure visibility */
    display: block !important; /* Force display */
    border: 1px solid rgba(0, 130, 81, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.committee-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.committee-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Committee Member Card */
.committee-member {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05),
                -5px -5px 15px rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block !important; /* Force display */
    opacity: 1 !important; /* Ensure visibility */
}

.committee-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

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

.member-name {
    font-size: 1.1rem;
    font-weight: 600 !important;
    color: #333;
    margin-bottom: 0.5rem;
    opacity: 1 !important;
}

.member-affiliation {
    font-size: 0.95rem;
    color: #666;
    opacity: 1 !important;
    margin-bottom: 8px;
    font-style: normal;
}

.member-email {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.member-email a {
    color: #198754;
    text-decoration: none;
    transition: color 0.2s ease;
}

.member-email a:hover {
    color: #146c43;
    text-decoration: underline;
}

/* Fixed committee content container */
#committeeContent {
    min-height: 200px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Button Styles
----------------------------------------- */
.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 130, 81, 0.2);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Footer Styles
----------------------------------------- */
/* Enhanced Footer Styles for HIS 2025 */
.footer {
    width: 100%;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    padding: 4rem 0 1rem;
    color: #333;
    border-top: 4px solid var(--primary-color);
    margin-top: 3rem;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Section Title Styling */
.footer .section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: center;
}

.footer .section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

/* Organization Boxes */
.organization-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.organization-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.organization-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.organization-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Organizer Logos */
/* Organizer Logos - Improved Version */
.organizer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.organizer-logo-container {
    background-color: white;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Set consistent size for all containers */
    width: 120px;
    height: 80px;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Make all logos consistent size */
.organizer-logo-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
    display: block;
}

/* Alternative approach - Set specific dimensions */
.organizer-logos-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    justify-items: center;
}

.organizer-logo-container-v2 {
    background-color: white;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 120px;
    height: 80px;
}

.organizer-logo-container-v2 img {
    max-width: 90px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive design */
@media (max-width: 768px) {
    .organizer-logos {
        gap: 0.5rem;
    }
    
    .organizer-logo-container {
        width: 100px;
        height: 70px;
        padding: 0.5rem;
    }
}

/* IDEAS LAB logo size */
.organizer-logo-container:first-child {
    width: 120px;
    height: 120px;
}

/* Maranatha logo size - LARGER */
.organizer-logo-container:last-child {
    width: 180px;  /* Increased width */
    height: 120px;
}

.organizer-logo-container:hover {
    transform: scale(1.05);
}

.organizer-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Specific styling for Maranatha logo */
.organizer-logo-container:last-child img {
    width: 180px !important;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .organizer-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Maranatha logo should remain larger on mobile */
    .organizer-logo-container:last-child {
        width: 200px;
    }
    
    .organizer-logo-container:last-child img {
        width: 200px !important;
    }
}

/* Co-organizer Placeholder */
.co-organizer-container {
    background-color: rgba(0, 130, 81, 0.05);
    border: 2px dashed rgba(0, 130, 81, 0.2);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Footer Info Section */
.footer-info-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.footer-heading {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-text {
    color: #666;
    line-height: 1.6;
}

/* Footer Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.footer-contact-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: var(--primary-color);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.footer-links li {
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Social Media Links */
.social-media-links {
    display: flex;
    gap: 1rem;
}

.social-media-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s;
}

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

/* Footer Bottom / Copyright */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.02);
    padding: 1.5rem 0;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Full Width Container Styles */
.footer .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Animation Styles
----------------------------------------- */
.fade-in {
    animation: fadeIn 0.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Read More Button Animation
----------------------------------------- */
[data-bs-toggle="collapse"] i {
    transition: transform 0.3s ease;
}

[data-bs-toggle="collapse"][aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Icons styling */
.fas, .far {
    color: #008251;
    font-size: 1.2rem;
    min-width: 24px;
}

/* Links styling */
.springer-link,
.easychair-link,
.info-link {
    color: #008251;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.springer-link:hover,
.easychair-link:hover,
.info-link:hover {
    color: #006c42;
    text-decoration: underline;
}

/* Program Announcement Styles */
.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

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

.announcement-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.announcement-card h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.announcement-content {
    max-width: 600px;
    margin: 0 auto;
}

.announcement-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.announcement-details {
    font-size: 1.1rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 1.5rem 1.5rem 0.5rem;
    border: none;
    justify-content: center;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Hide default close button */
.modal .btn-close {
    display: none;
}

.registration-info-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body h4 {
    color: var(--text-color);
    font-weight: 600;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

.modal-footer {
    border: none;
    justify-content: center;
    padding: 1rem 2rem 2rem;
}

/* Modal Animation and Backdrop */
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Venue Page Styles */
.venue-section, .info-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-title {
    color: #008251;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #008251;
}

.venue-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin: 1rem 0;
    border: none;
}

.transport-item, .travel-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #008251;
}

.transport-title {
    font-weight: bold;
    color: #008251;
    margin-bottom: 0.5rem;
}

.transport-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.transport-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.transport-list li:before {
    content: "•";
    color: #008251;
    position: absolute;
    left: 0;
}

/* Travel Information Page Styles */
.travel-icon {
    color: #008251;
    margin-right: 0.75rem;
    width: 20px;
}

.alert-info-custom {
    background-color: #e8f5f3;
    border-color: #008251;
    color: #333;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.travel-item h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Hero Banner specific to travel page */
.travel-banner {
    min-height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url('../images/bandung.avif');
    background-size: cover;
    background-position: center;
}

/* Additional Utilities */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Loading State Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Layout Utilities */
.row {
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
    flex-wrap: wrap;
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Responsive Design
----------------------------------------- */
@media (max-width: 992px) {
    .date-item,
    .guideline-item,
    .publication-item {
        padding: 0.8rem 1rem;
    }
    
    .date-content,
    .publication-content {
        gap: 0.5rem;
    }
    
    .hero-section {
        text-align: center;
        min-height: 50vh;
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .sidebar-box {
        margin-top: 2rem;
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        width: 100%;
        background-color: var(--bg-light);
        border: none;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 10px;
    }
    
    .digital-clock {
        gap: 0.3rem;
        padding: 0.8rem;
    }

    .time-segment {
        min-width: 60px;
    }

    .time-segment span:first-child {
        font-size: 1.5rem;
        padding: 0.4rem 0.6rem;
        min-width: 45px;
    }

    .time-separator {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .announcement-card {
        padding: 1.5rem;
    }

    .announcement-icon {
        font-size: 2.5rem;
    }

    .announcement-card h3 {
        font-size: 1.5rem;
    }

    .announcement-card p {
        font-size: 1rem;
    }

    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .welcome-section {
        padding: 3rem 0;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .scope-section {
        padding: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .previous-conferences-box {
        padding: 1rem;
    }

    .conference-list li {
        padding: 0.6rem;
    }

    .conf-location {
        font-size: 0.85rem;
    }

    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
        background-color: white;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
    }

    .dropdown-menu {
        padding: 0;
        margin: 0;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

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

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .date-item,
    .guideline-item,
    .publication-item {
        margin-bottom: 10px;
        padding: 12px;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

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

    .navbar-collapse {
        transition: all 0.3s ease;
    }

    .navbar-collapse.collapsing {
        height: auto;
    }

    .navbar-collapse.show {
        box-shadow: 0 6px 10px rgba(0,0,0,0.1);
    }

    .committee-section {
        padding: 1rem;
    }

    .speaker-photo {
        width: 150px;
        height: 150px;
    }

    .footer-contact {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }

    .call-papers-content {
        padding: 1rem 0;
    }

    .topics-box,
    .dates-box,
    .guidelines-container,
    .publications-box {
        padding: 1.5rem;
    }

    .date-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .committee-table th,
    .committee-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-info-section {
        padding: 1.5rem;
    }
    
    .footer-links {
        columns: 1;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .pdf-container {
        height: 500px;
    }

    .pdf-toolbar {
        flex-wrap: wrap;
    }

    .zoom-controls {
        width: 100%;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .sidebar-box {
        padding: 15px;
    }

    .time-display {
        padding: 1rem;
    }

    .time-heading {
        font-size: 1.1rem;
    }

    .date-display {
        font-size: 0.9rem;
    }

    .committee-member {
        padding: 0.75rem;
    }

    .member-affiliation {
        font-size: 0.9rem;
    }
    
    .organization-box {
        padding: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
}

/* Print Styles
----------------------------------------- */
@media print {
    body {
        padding-top: 0;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        background: none;
        color: #000;
    }

    .hero-section h1,
    .hero-section h2,
    .hero-section .text-white {
        color: #000 !important;
        text-shadow: none;
    }

    .navbar,
    .hero-section .btn,
    .btn-link,
    footer {
        display: none;
    }

    .topic-item,
    .date-item,
    .guideline-item,
    .publication-item {
        break-inside: avoid;
        border-left: 1px solid #333;
    }

    .dropdown-menu {
        display: none !important;
    }

    .committee-section {
        break-inside: avoid;
    }

    .keynote-speaker {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .pdf-container {
        display: none;
    }
}
