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

/* Content Images */
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

.image-caption {
    font-size: 0.9rem;
    color: #6C6C6C;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

.image-with-text {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.image-with-text .content-image {
    margin: 0;
    flex: 0 0 40%;
}

.image-with-text .text-content {
    flex: 1;
}

/* Sponsor Grid Styles */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.sponsor-logo-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.sponsor-logo-container img {
    max-width: 200px;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.sponsor-caption {
    font-size: 0.9rem;
    color: #6C6C6C;
    line-height: 1.4;
}

.sponsor-caption a {
    color: #113A75;
    font-weight: 600;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400; /* Regular */
    line-height: 1.6;
    color: #1B1917;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; /* Bold */
}

h2, h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500; /* Medium */
}

a {
    color: #113A75;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

/* Create more space between paragraphs */
p {
  margin-bottom: 2em; /* increase white space after a paragraph */
}

/* Fixed top section (orange area + header + nav) */
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Orange Areas */
/* First, adjust the orange area clip-path to reduce the angle */
.top-orange-area {
    background-color: #113A75;
    height: 100px;
    width: 100%;
    position: relative;
    z-index: 101;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%); /* Reduced angle from 80% to 85% */
}

/* Navigation wrapper to contain both nav and its background */
.nav-wrapper {
    position: fixed;
    top: 80px; /* Same as main-nav */
    left: 0;
    width: 100%;
    height: 80px; /* Taller to cover potential gaps */
    background-color: #f8f9fa;
    z-index: 99; /* Between orange area and nav */
}

.bottom-orange-area {
    background-color: #113A75; /* Yellow/orange color like in the poster */
    height: 60px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 101;
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 100%);
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 20px;
    position: relative;
    top: -110px; /* Position header inside the orange area */
    margin-bottom: -65px; /* Compensate for negative top positioning */
    z-index: 101;
}

.site-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #1B1917;
}

.site-name a {
    color: #1B1917;
    text-decoration: none;
}

.logo-container-small {
    width: 180px;
    position: relative;
    z-index: 102;
}

/* Diagonal white stripe behind logo */
.logo-background {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 250px;
    height: 100px;
    background-color: white;
    transform: rotate(40deg);
    z-index: 101;
}

.logo-small {
    max-width: 100%;
    height: auto;
    z-index: 102;
}

/* Adjust main nav to sit inside the wrapper */
.main-nav {
    position: relative; /* Changed from fixed */
    top: 20px; /* Position relative to wrapper now */
    background-color: transparent; /* Let wrapper handle background */
    z-index: 100;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 103; /* Ensure links are clickable */
}

/* Remove the nav-background-extension and replace with a more robust solution */
.nav-background-extension {
    display: none; /* Disable the old solution */
}

/* Add a complete coverage element */
.gap-filler {
    position: fixed;
    top: 60px; /* Positioned to start before the gap begins */
    left: 0;
    width: 100%;
    height: 40px; /* Tall enough to cover the gap */
    background-color: #f8f9fa;
    z-index: 99;
}

.nav-item a {
    color: #1B1917;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-item a:hover {
    color: #113A75;
}

.nav-item a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #113A75;
    transition: width 0.3s;
}

.nav-item a:hover:after {
    width: 100%;
}

.nav-item a.active {
    color: #113A75;
}

.nav-item a.active:after {
    width: 100%;
}

/* Improved Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 18px; /* Adjusted for better vertical alignment */
    z-index: 105;
    background: transparent;
    border: none;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1B1917;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Content Styles */
.main-content {
    flex: 1;
    padding: 200px 20px 100px 20px; /* Increased top padding to account for fixed header and nav */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 160px); /* Viewport height minus top and bottom bars */
    z-index: 97;
}

.page-title {
    margin-bottom: 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-title h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    margin-bottom: 15px;
    color: #113A75;
}

/* Home Page Specific Styles */
.placeholder-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 200px 20px 100px 20px; /* Increased top padding to account for fixed header */
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 160px); /* Viewport height minus top and bottom bars */
}

.logo-container {
    margin-bottom: 5px;
}

.logo {
    max-width: 100%;
    height: auto;
}

.save-the-date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 15px;
}

.save-the-date h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.save-the-date h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-text {
    margin-bottom: 3px;
    font-size: 1rem;
}

.title-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.title-text h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* ===================================
   JP2026 Landing Page Improvements
   =================================== */

/* Hero Section - Logo and Title Side by Side */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1000px;
    flex-wrap: wrap;
}

.logo-container-compact {
    flex-shrink: 0;
}

.logo-compact {
    width: 380px;
    height: auto;
    display: block;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #113A75;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.hero-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #113A75;
    margin: 0 0 1rem 0;
}

.calendar-link {
    margin: 1rem 0 0 0;
    font-size: 1rem;
}

.calendar-link a {
    color: #113A75;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.calendar-link a:hover {
    color: #2980b9;
}

/* Call to Action Box */
.cta-box {
    background: linear-gradient(135deg, #113A75 0%, #0B2A57 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-box h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.cta-box p {
    font-size: 1.1rem;
    margin: 0 0 1.5rem 0;
}

.cta-button {
    display: inline-block;
    background: #113A75;
    color: white;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    margin: 10px 10px 10px 0;
}

.cta-button:hover {
    background: #0B2A57;
    text-decoration: none;
}

.cta-button.secondary {
    background: #113A75;
}

.cta-button.secondary:hover {
    background: #0B2A57;
}

.cta-button.disabled {
    background: #6C6C6C;
    cursor: not-allowed;
    opacity: 0.6;
}

.cta-button.disabled:hover {
    background: #6C6C6C;
}

/* CTA button inside orange highlight box (home page) */
.cta-box .cta-button {
    background: white;
    color: #e74c3c;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-box .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Conference Highlights Section */
.conference-highlights {
    margin: 4rem auto;
    max-width: 1000px;
}

.conference-highlights h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: #113A75;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

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

.highlight-item {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #e74c3c;
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    color: #113A75;
    margin: 0.5rem 0;
    font-weight: 600;
}

.highlight-item p {
    color: #6C6C6C;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.5rem 0 0 0;
}

/* End of JP2026 Landing Page Improvements */

.placeholder-text {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-email {
    margin-top: 20px;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background-color: #113A75;
    color: #fff;
    padding: 20px;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 101;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.legal-links {
    margin-bottom: 10px;
}

.legal-links a {
    color: #1B1917;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 600;
}

.legal-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: #1B1917;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.modal-title {
    margin-bottom: 20px;
    color: #113A75;
    font-size: 1.8rem;
    padding-right: 30px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h3 {
    margin-bottom: 10px;
    color: #113A75;
}

/* ==========================================================================
   NEWSLETTER REGISTRATION STYLES
   Add these styles to your existing styles.css file
   ========================================================================== */

/* Newsletter Form Container */
.newsletter-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    border-top: 4px solid #113A75; /* Using your orange color */
}

.newsletter-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6C6C6C;
    text-align: center;
    margin-bottom: 2rem;
}

/* Form Styles */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1B1917;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #113A75; /* Using your orange color */
    box-shadow: 0 0 0 3px rgba(17, 58, 117, 0.1);
}

.form-button {
    background: linear-gradient(135deg, #113A75 0%, #0B2A57 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-button:hover {
    background: linear-gradient(135deg, #0B2A57 0%, #0B2A57 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 58, 117, 0.3);
}

.form-button:active {
    transform: translateY(0);
}

/* Message Styles */
.message {
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Info / warning / status boxes */
.info-box {
    background: #e7f3ff;
    border-left: 4px solid #113A75;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.info-box strong {
    color: inherit;
}

.warning-box {
    background: #FFF4EC;
    border-left: 4px solid #FF7525;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.error-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

/* Newsletter-specific info box override */
.newsletter-form-container .info-box {
    background: #f8f9fa;
    border-left: none;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    color: #6C6C6C;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.newsletter-form-container .info-box strong {
    color: #495057;
}

/* Back Link */
.back-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #6C6C6C;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #5a6268;
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Confirmation Page Specific Styles */
.confirmation-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.additional-info {
    margin: 2rem 0;
    color: #6C6C6C;
    font-size: 0.95rem;
    line-height: 1.5;
}

.additional-info a {
    color: #113A75; /* Using your orange color */
    text-decoration: none;
}

.additional-info a:hover {
    text-decoration: underline;
}

.back-link-container {
    margin-top: 2rem;
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .form-input,
    .form-button {
        border-width: 1px; /* Prevent thick borders on retina displays */
    }
}

/* Focus and Accessibility Improvements */
.form-input:focus,
.form-button:focus,
.back-link:focus {
    outline: 2px solid #113A75;
    outline-offset: 2px;
}

/* Reduced Motion for Users Who Prefer It */
@media (prefers-reduced-motion: reduce) {
    .form-button,
    .back-link,
    .form-input {
        transition: none;
    }
    
    .form-button:hover,
    .back-link:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .newsletter-form-container {
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .form-button,
    .back-link {
        background: #ccc !important;
        color: #000 !important;
    }
}

/* Enhanced Responsive Styles */
/* For styles.css - Add these changes to the responsive section */

@media (max-width: 768px) {
    /* Header adjustments */
    .header {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        top: -90px;
        margin-bottom: -60px;
    }
    
    footer {
    	padding: 15px 10px;
    	font-size: 0.8rem;
    }
    
    .legal-links a {
    	font-size: 0.85rem;
    	margin-right: 12px;
    }
    
    .copyright {
    	font-size: 0.75rem;
    }

    /* Hide site name on mobile, only show logo */
    .site-name {
        display: none;
    }
    
    /* Center logo and make it smaller */
    .logo-container-small {
        width: 140px;
        margin: 0 auto;
    }
    
    .top-orange-area {
        height: 90px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
    }
    
    .nav-wrapper {
        top: 70px;
        height: 70px;
    }
    
    .gap-filler {
        top: 50px;
        height: 50px;
    }
    
    /* IMPORTANT FIX: Preserve logo aspect ratio */
    .logo-container {
        height: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto;
        display: flex;
        justify-content: center;
    }
    
    .logo-container img {
        width: auto;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        aspect-ratio: auto; /* Preserve original aspect ratio */
    }
    
    /* Fix for navigation bar hovering issue */
    .nav-background-extension {
        top: 90px;
        height: 80px;
        transform: skewY(8deg);
        background-color: #f8f9fa;
    }
    
    /* Ensure the nav bar has solid background */
    .main-nav {
        background-color: #f8f9fa;
        top: 20px;
    }
    
    /* Additional white background element to fill the gap */
    .main-nav::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 80px;
        background-color: #f8f9fa;
        z-index: -1;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }
    
    /* Dropdown menu position adjustment */
    .nav-list {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #f8f9fa;
        padding: 0;
        margin: 0;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 104;
    }
    
    .nav-list.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    /* IMPORTANT FIX: Adjust top padding for mobile to prevent content being cut off */
    .main-content, .placeholder-container {
        padding-top: 160px; /* Increased from 140px to prevent content from being cut off */
    }
    
    /* Make title text more responsive */
    .title-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .save-the-date h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    /* CONTENT LAYOUT FIX: Stack content vertically on mobile */
    .image-with-text {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .image-with-text .content-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
        flex: none;
    }
    
    .image-with-text .text-content {
        width: 100%;
        flex: none;
    }
    
    /* Make iframes responsive on mobile */
    .content-iframe,
    .image-with-text iframe {
        width: 100% !important;
        height: 300px !important;
        margin: 15px 0;
    }
    
    .modal-content {
    	margin: 25% auto 10% auto;
    	width: 90%;
    	padding: 20px;
    }
    
    .modal-title {
    	font-size: 1.5rem;
    }
    
    .close {
    	top: 10px;
    	right: 15px;
    }
    
    .newsletter-form-container {
        margin: 1rem 0;
        padding: 1.5rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    .form-input {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .info-box {
        padding: 1.2rem;
        font-size: 0.85rem;
    }
    
    .confirmation-container {
        padding: 0 1rem;
    }
    
    .message {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    /* Sponsor Grid - Mobile adjustments */
    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sponsor-logo-container {
        height: 120px;
    }
    
    /* JP2026 Landing Page - Mobile Responsive */
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin: 2rem auto;
    }
    
    .logo-compact {
        width: 150px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
    
    .cta-box h3 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .conference-highlights {
        margin: 2rem auto;
    }

    .countdown-section {
        padding: 1.75rem 1rem;
        margin: 2rem 1rem;
    }

    .countdown-top-label {
        font-size: 1.2rem;
    }

    .countdown-number {
        font-size: 2.2rem;
        padding: 0.4rem 0.5rem;
    }

    .countdown-units {
        gap: 0.5rem;
    }

    .registration-container {
        padding: 10px;
    }

    .form-step {
        padding: 20px;
    }
}

/* ===== Test Deployment Banner ===== */
.test-deployment-banner {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== Language Toggle Buttons (Privacy Policy modal) ===== */
.lang-toggle-btn {
    padding: 8px 16px;
    margin: 0 5px;
    background: #ddd;
    color: #1B1917;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: normal;
}

.lang-toggle-btn.lang-active {
    background: #113A75;
    color: white;
    font-weight: 600;
}

/* ===== Registration Info Page ===== */
.registration-info-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-card h2 {
    color: #113A75;
    margin-top: 0;
    border-bottom: 2px solid #113A75;
    padding-bottom: 10px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #113A75;
}

.feature-item h3 {
    margin-top: 0;
    color: #113A75;
    font-size: 18px;
}

.timeline {
    margin: 20px 0;
}

.timeline-item {
    padding: 15px;
    margin-bottom: 15px;
    background: #e7f3ff;
    border-left: 4px solid #113A75;
    border-radius: 4px;
}

.timeline-item strong {
    color: #113A75;
}

.timeline-item.completed {
    background: #e8f5e9;
    border-left-color: #4caf50;
}

.timeline-item.completed strong {
    color: #2e7d32;
}

.timeline-item.current {
    background: #FFF4EC;
    border-left-color: #FF7525;
    font-weight: 600;
}

.timeline-item.current strong {
    color: #8A3B0C;
}

.closed-banner {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.closed-banner h2 {
    color: #6C6C6C;
    margin-top: 0;
    font-size: 32px;
}

.closed-banner .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ===== Registration & Edit Registration Form ===== */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-step {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-step h2 {
    margin-top: 0;
    color: #113A75;
    border-bottom: 2px solid #113A75;
    padding-bottom: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1B1917;
}

.form-group label.required::after {
    content: " *";
    color: #113A75;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #113A75;
    box-shadow: 0 0 0 2px rgba(17, 58, 117, 0.1);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.radio-option:hover,
.checkbox-option:hover {
    background-color: #f9f9f9;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
}

.radio-option label,
.checkbox-option label {
    cursor: pointer;
    margin-bottom: 0;
    flex: 1;
}

.country-other-field {
    margin-top: 10px;
    padding-left: 30px;
    display: none;
}

.country-other-field.visible {
    display: block;
}

.conditional-field {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.conditional-field.visible {
    display: block;
}

.submit-button {
    background: #113A75;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background: #0B2A57;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.delete-button {
    background: #dc3545;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.delete-button:hover {
    background: #c82333;
}

.delete-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #ddd;
}

.edit-token-display {
    background: #f9f9f9;
    padding: 15px;
    border: 2px dashed #113A75;
    border-radius: 4px;
    margin: 15px 0;
    font-family: monospace;
    word-break: break-all;
}

.help-text {
    font-size: 14px;
    color: #6C6C6C;
    margin-top: 5px;
}

.word-count {
    font-size: 14px;
    color: #6C6C6C;
    margin-top: 5px;
    text-align: right;
}

.word-count.over-limit {
    color: #dc3545;
    font-weight: 600;
}

/* ===== Poll Page ===== */
.poll-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.poll-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e74c3c;
}

.poll-header h1 {
    color: #113A75;
    font-size: 32px;
    margin-bottom: 15px;
}

.poll-description {
    font-size: 16px;
    line-height: 1.6;
    color: #6C6C6C;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.message-box {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.message-box.error {
    background: #fee;
    border: 2px solid #e74c3c;
    color: #c0392b;
}

.message-box.success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.poll-question {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poll-question h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #113A75;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.poll-option {
    margin-bottom: 15px;
}

.poll-option label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.poll-option label:hover {
    border-color: #e74c3c;
    background: #fff;
}

.poll-option input[type="radio"],
.poll-option input[type="checkbox"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.poll-option input[type="radio"]:checked + span,
.poll-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #e74c3c;
}

/* Open answer text field inside a poll question */
.poll-open-answer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.poll-open-answer label {
    display: block;
    font-weight: 600;
    color: #113A75;
    margin-bottom: 8px;
    font-size: 15px;
}

.poll-open-answer textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.poll-open-answer textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.poll-open-answer.independent {
    border-top: none;
    padding-top: 0;
}

.poll-open-answer.linked {
    /* styling now lives on .open-answer-box inside */
}

/* Grey box wrapper for open-answer controls — matches .poll-option label appearance */
.poll-open-answer .open-answer-box {
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 15px 20px;
    transition: border-color 0.2s;
}

.poll-open-answer .open-answer-box label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    color: inherit;
    margin-bottom: 0;
}

.poll-open-answer .open-answer-box input[type="radio"],
.poll-open-answer .open-answer-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}

.poll-open-answer .open-answer-box textarea {
    margin-top: 10px;
    /* width, padding, border, etc. already from .poll-open-answer textarea */
}

.poll-open-count-note {
    margin-top: 12px;
    color: #6C6C6C;
    font-style: italic;
    font-size: 14px;
}

/* Poll submit button overrides global yellow to red */
.poll-container .submit-button {
    display: block;
    max-width: 400px;
    margin: 40px auto;
    padding: 18px 40px;
    background: #e74c3c;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.poll-container .submit-button:hover {
    background: #c0392b;
}

.results-container {
    margin-top: 40px;
}

.results-header {
    text-align: center;
    padding: 30px;
    background: #e74c3c;
    color: white;
    border-radius: 8px;
    margin-bottom: 30px;
}

.results-header .count {
    font-size: 48px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.result-question {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.result-question h3 {
    color: #113A75;
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.result-option {
    margin-bottom: 20px;
}

.result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #113A75;
}

.result-bar-container {
    background: #e9ecef;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
}

.result-bar {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: width 0.5s ease;
}

/* ===== Person Tooltip ===== */
.person-tooltip {
    position: relative;
    display: inline;
    border-bottom: 2px dashed #113A75;
    cursor: help;
}

.tooltip-bubble {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #113A75;
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.55;
    width: 280px;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    white-space: normal;
}

.tooltip-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #113A75;
}

.tooltip-bubble a {
    color: #113A75;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(17, 58, 117, 0.3);
    padding-bottom: 0px;
    width: fit-content;
}

.tooltip-bubble a:hover {
    color: #0B2A57;
    border-bottom-color: #113A75;
}

.person-tooltip:hover .tooltip-bubble {
    display: block;
}

/* ===== Countdown Section ===== */
.countdown-section {
    background: linear-gradient(135deg, #113A75 0%, #0B2A57 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.countdown-top-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #113A75;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.countdown-units {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.countdown-unit {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.countdown-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #113A75;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.countdown-unit-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* ===== About Section ===== */
.about-section {
    max-width: 680px;
    margin: 2rem auto 3rem;
    text-align: center;
    padding: 0 1.5rem;
}

.about-section::before {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #113A75;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #6C6C6C;
}

.about-section a {
    color: #113A75;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #113A75;
    transition: color 0.2s;
}

.about-section a:hover {
    color: #113A75;
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .logo-compact {
        width: 120px;
    }

    .countdown-number {
        font-size: 1.7rem;
        padding: 0.35rem 0.3rem;
    }

    .countdown-top-label {
        font-size: 1rem;
    }

    .countdown-units {
        gap: 0.35rem;
    }
}
/* ── Post-event landing page ─────────────────────────────────────────────── */
.full-width-photo-section {
    width: 100%;
    overflow: hidden;
}

.full-width-photo {
    display: block;
    width: 100%;
    height: auto;
}

.thank-you-strip {
    background: #113A75;
    text-align: center;
    padding: 22px 20px;
}

.thank-you-strip h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    color: #113A75;
}

.organizer-section {
    margin-top: 16px;
}

.organizer-names-block {
    background: #113A75;
    text-align: center;
    padding: 36px 24px 28px;
}

.organizer-names-block h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    color: #113A75;
    margin: 0 0 16px;
}

.organizer-names {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: #113A75;
    line-height: 2;
    margin: 0;
}

/* ── Post-event main container ───────────────────────────────────────────── */
.post-event-main {
    padding-top: 200px;  /* clear fixed nav, same as placeholder-container */
    padding-bottom: 80px;
}

/* ── Post-event summary sections (wider, no extra top gap) ───────────────── */
.post-event-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 0;
}

/* Target the anonymous wrapper div (image + caption) as the flex item */
.post-event-content .image-with-text > div:not(.text-content) {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Half-line gap between block title and body text */
.post-event-content .image-with-text .text-content h3 {
    margin-bottom: 0.5em;
}

/* Justified text in post-event summary blocks */
.post-event-content .image-with-text .text-content p,
.post-event-content .image-with-text .text-content li {
    text-align: justify;
}

/* Image fills its wrapper; caption then naturally aligns with it */
.post-event-content .image-with-text .content-image {
    width: 100%;
    max-width: 100%;
    flex: none;
}

/* ── Organiser logos row ─────────────────────────────────────────────────── */
.organizer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 28px 20px 36px;
    background: #fff;
    flex-wrap: wrap;
}

.organizer-logo-wrap {
    height: 60px;
    display: flex;
    align-items: center;
}

.organizer-logo-wrap a {
    display: flex;
    align-items: center;
    height: 100%;
}

.organizer-logo-wrap img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .post-event-main {
        padding-top: 160px;
    }

    .post-event-content {
        padding: 24px 16px 0;
    }

    .organizer-section {
        margin-top: 8px;
    }

    /* Override the 50% desktop rule so image wrappers go full-width when stacked */
    .post-event-content .image-with-text > div:not(.text-content) {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }

    /* Always show image before text on mobile, regardless of DOM order */
    .post-event-content .image-with-text .text-content {
        order: 2;
    }

    .organizer-logos {
        gap: 28px;
    }

    .organizer-logo-wrap {
        height: 44px;
    }
}

/* ── Scroll-down indicator ───────────────────────────────────────────────── */
.scroll-indicator {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: 44px;
    height: 44px;
    background: #113A75;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

/* White chevron drawn with CSS borders */
.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2.5px solid #113A75;
    border-bottom: 2.5px solid #113A75;
    transform: translate(-60%, -65%) rotate(45deg);
}

.scroll-indicator--hidden {
    opacity: 0;
}

@keyframes scroll-bounce {
    0%, 100% { bottom: 28px; }
    50%       { bottom: 36px; }
}
