/* Root Theme Variables */
:root {
    --theme-primary: #5DBFD2;
    --theme-primary-darker: #4aa8ba;
    --theme-accent: #000000;
    --theme-accent-hover: #b0b0b0;
    --theme-bg-light: #e1f6fa;
    --theme-text: #212529;
    --theme-white: #ffffff;
    --theme-light-gray: #adb5bd;
    --theme-surface: #f9f9fb;
    --theme-border: #e0e0e0;
    --theme-radius: 12px;
    --theme-header-black: #000000;
}

/* Base Layout */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--theme-white);
    color: var(--theme-text);
    line-height: 1.8;
    flex: 1;
}

main {
    flex: 1;
    background-color: #fdfdfd;
}

/* Navbar */
.navbar {
    background: linear-gradient(to right, #AACF97, #6EBFD1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    /* font-weight: 700;
    color: #00832F !important; */
    font-size: .75rem !important;
    margin-bottom: -1.5rem;
}
.navbar-brand img {margin-bottom: 1.5rem;}

    .navbar-brand:hover {
        color: var(--theme-bg-light);
    }

.nav-link {
    font-weight: 500;
    color: var(--theme-header-black) !important;
}

    .nav-link.active,
    .nav-link:hover {
        color: var(--theme-header-black) !important;
        font-weight: 600;
    }

.navbar-nav .nav-item {
    margin-right: 1.5rem;
}

    .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }

@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin-right: 1.5rem;
    }
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 1.1rem;
    }
}

/* Hero Banner - Mobile Optimized */
/* .hero-banner {
    position: relative;
    height: 100vh;
    min-height: 500px;
    color: var(--theme-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

    .hero-banner .container {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .hero-banner img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
    } */

/* Mobile-specific hero banner adjustments */
@media (max-width: 768px) {
    .hero-banner {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-banner img {
        object-position: center 20%;
        object-fit: cover;
    }
    
    .hero-banner .container {
        padding: 1rem;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 100vh;
        min-height: 450px;
    }
    
    .hero-banner img {
        object-position: center 15%;
    }
    
    .hero-banner h1 {
        font-size: 1.75rem;
    }
    
    .hero-banner p {
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn-register {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: var(--theme-primary);
    border: none;
    color: var(--theme-white);
}

    .btn-register:hover {
        background-color: var(--theme-primary-darker);
        box-shadow: 0 0 12px rgba(93, 191, 210, 0.4);
        transform: translateY(-2px);
    }

/* Text Effects - Updated for Black Headers */
.glow-text {
    color: var(--theme-header-black) !important;
    font-weight: 700;
    text-shadow: none;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headings - All Black */
h1, h2, h3, h4, h5, h6 {
    color: var(--theme-header-black) !important;
    font-weight: 600;
}

h1 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 600;
}

h6 {
    font-weight: 600;
}

/* Info Box Note */
.alert-note,
.card.venue-card .alert {
    /* background-color: rgba(255, 255, 255, 0.75);
    border-left: 4px solid var(--theme-accent); */
    backdrop-filter: blur(5px);
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Venue Card */
.card.venue-card {
    display: flex;
    /* flex-wrap: wrap; */
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    min-height: 45vh;
    height: auto;
    align-items: stretch;
}

    .card.venue-card:hover {
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
    }

    .card.venue-card .card-body,
    .card.venue-card .ratio {
        height: 100%;
        flex: 1 1 50%;
    }

    .card.venue-card .card-body {
        padding: 2rem;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(4px);
    }

        .card.venue-card .card-body h3 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--theme-header-black);
            margin-bottom: 1rem;
        }

        .card.venue-card .card-body p {
            font-size: 1rem;
            margin-bottom: 0.75rem;
        }

    .card.venue-card .ratio {
        flex: 1 1 50%;
        min-height: 280px;
        border-left: 1px solid var(--theme-border);
    }

    .card.venue-card iframe {
        border: none;
        border-left: 1px solid var(--theme-border);
    }

/* Default: max 500px for desktop */
.venue-image {
    max-width: 500px;
    height: auto;
}

/* Mobile: auto-scale and center the image */
@media (max-width: 576px) {
    .venue-image {
        max-width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Hotel Cards */
.card.hotel-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card.hotel-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 45px rgba(0, 0, 0, 0.06);
    }

    .card.hotel-card .card-body {
        padding: 1.5rem;
    }

    .card.hotel-card .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--theme-header-black);
        margin-bottom: 0.5rem;
    }

    .card.hotel-card ul {
        font-size: 0.95rem;
        color: var(--theme-text);
        padding-left: 1.2rem;
        margin-bottom: 0;
    }

/* Responsive Venue Card */
@media (max-width: 768px) {
    .card.venue-card {
        flex-direction: column;
    }

        .card.venue-card .ratio {
            border-left: none;
            border-top: 1px solid var(--theme-border);
        }
}

/* Footer */
.footer {
    background-color: #343a40;
    color: #f8f9fa;
}

    .footer a {
        color: var(--theme-light-gray);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--theme-white);
        }

    .footer .footer-brand {
        color: var(--theme-bg-light);
    }

    .footer .social-icons a {
        font-size: 1.5rem;
        margin: 0 10px;
    }

.blank-section {
    min-height: calc(80vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* FAQ Accordion Wrapper */
.accordion-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    border-radius: var(--theme-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-button {
    background: transparent;
    font-weight: 600;
    color: var(--theme-header-black);
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

    .accordion-button:not(.collapsed) {
        background-color: #cfe2ff;
        color: var(--theme-header-black);
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
    }

.accordion-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.975rem;
    color: var(--theme-text);
}

    .accordion-body ul {
        padding-left: 1.25rem;
        margin-bottom: 1rem;
    }

    .accordion-body li {
        margin-bottom: 0.25rem;
    }

    .accordion-body .fw-semibold {
        color: var(--theme-header-black);
    }

@media (max-width: 576px) {
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }
}

/* Registration Page Styling */
.form-check-label {
    line-height: 1.6;
}

.form-check-input:checked {
    background-color: #00aaff;
    border-color: #00aaff;
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
}

.form-check-input:focus {
    box-shadow: none;
}

.form-check-input:checked:focus {
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
}

#agreeTerms.form-check-input:not(:checked) {
    border-color: #888888;
    border-width: 2px;
}

#agreeTerms2.form-check-input:not(:checked) {
    border-color: #888888;
    border-width: 2px;
}

/* Add some space between each chip */
.programme-box .form-check {
    margin-bottom: 8px;
}

/* Hide the original checkbox circle */
.programme-box .form-check-input {
    display: none;
}

/* Style the label to look like a clickable tag */
.programme-box .form-check-label {
    display: block;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 100%;
    text-align: center;
}

/* Add a hover effect for unselected items */
.programme-box .form-check-input:not(:checked) + .form-check-label:hover {
    background-color: #f2f2f2;
    border-color: #a0a0a0;
}

/* Style for the CHECKED state */
.programme-box .form-check-input:checked + .form-check-label {
    background-color: #28a745;
    color: #ffffff;
    border-color: #28a745;
    font-weight: 500;
}

/* --- Styling for the Immersion Programme Box --- */
.programme-box {
    background: linear-gradient(135deg, rgba(110, 191, 209, 0.1), rgba(170, 207, 151, 0.05));
}

/* --- Styling for the Header --- */
.programme-box-header {
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    border-left: 4px solid #00aaff;
    padding-left: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--theme-header-black);
}

#sortable-programmes .list-group-item {
    cursor: grab;
    border-radius: 30px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

    #sortable-programmes .list-group-item:hover {
        background-color: #f8f9fa;
    }

/* Timeline layout */
ul.list-unstyled.timeline {
    padding-left: 0;
    margin: 0;
}

ul.timeline li {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    ul.timeline li .time-label {
        flex: 0 0 80px;
        font-weight: 600;
        color: var(--theme-primary);
        display: flex;
        justify-content: flex-end;
        align-items: center;
        text-align: right;
        padding-right: 0.25rem;
    }

    ul.timeline li .glow-box {
        flex: 1;
        margin: 0;
    }

@media (max-width: 576px) {
    ul.timeline li {
        flex-direction: column;
        align-items: stretch;
    }

        ul.timeline li .time-label {
            text-align: left;
            margin-bottom: 0.25rem;
        }
}

.schedule {
    min-width: 60px;
}

/* Glow Content Box - Remove borders */
.glow-box {
    background-color: #fff;
    border: none;
    box-shadow: 0 8px 30px rgba(170, 160, 150, 0.18);
    border-radius: var(--theme-radius);
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.3s ease;
}
.list-unstyled .glow-box {background-color: #cfe2ff;}

    .glow-box:hover {
        box-shadow: 0 12px 45px rgba(93, 191, 210, 0.12);
    }

/* Registration Information Styling - Match FAQ design */
.registration-info {
    margin-bottom: 2rem;
}

.registration-info .btn-info-tab {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    border-radius: var(--theme-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    color: var(--theme-header-black);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.registration-info .btn-info-tab:hover {
    background-color: rgba(93, 191, 210, 0.1);
    color: var(--theme-header-black);
}

.registration-info .btn-info-tab[aria-expanded="true"] {
    background-color: rgba(93, 191, 210, 0.1);
    color: var(--theme-header-black);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    font-weight: 700;
}

.registration-info .alert-note {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: none;
    border-radius: var(--theme-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
    font-size: 0.975rem;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

/* Remove form input borders */
.form-control {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.form-control:focus {
    border: none;
    box-shadow: 0 0 0 0.2rem rgba(93, 191, 210, 0.25);
}

/* Remove borders from glow boxes in forms */
.glow-box.p-3,
.glow-box.p-4,
.glow-box.p-5 {
    border: none;
}

/* Small text styling */
.small-text {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-group.d-flex.flex-column.flex-lg-row {
        flex-direction: column !important;
    }
    
    .btn-info-tab {
        margin-bottom: 0.5rem;
    }
}

/* Theme-specific colors for text */
.text-theme-primary {
    color: #325EA2 !important;
}

/* Override any remaining colored headers */
h1.glow-text,
h2.glow-text,
h3.glow-text,
h4.glow-text,
h5.glow-text,
h6.glow-text {
    color: var(--theme-header-black) !important;
}

/* Ensure all section headers are black */
.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center h5,
.text-center h6 {
    color: var(--theme-header-black) !important;
}

/* Programme section headers */
.fw-semibold {
    color: var(--theme-header-black) !important;
}

/* Social media links styling */
.social-icons a {
    color: var(--theme-light-gray);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--theme-white);
}

/* Responsive font sizes */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
}


/* Enhanced Hero Section */
.hero-banner {
    position: relative;
    height: 85vh;
    min-height: 700px;
    color: var(--theme-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(93, 191, 210, 0.8), rgba(170, 207, 151, 0.6));
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,800 1000,1000"/><polygon fill="rgba(255,255,255,0.05)" points="0,800 1000,600 1000,800 0,1000"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* background: linear-gradient(45deg, #fff, #e1f6fa); */
    color: #fff !important;
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    font-family: 'arial';
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-date {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    padding: 1rem 2rem;
    /* background: rgba(255, 255, 255, 0.15); */
background: #325EA2;
    /* border-radius: 50px; */
    backdrop-filter: blur(10px);
    display: inline-block;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
}

@media (max-width: 768px) {
	.banner-bg {height: 100%;}
}

.navbar {background: #fff;}

        .anti-scam-banner {
            background: linear-gradient(135deg, #4f5d7a 0%, #3e4b63 100%);
            color: white;
            padding: 12px 0;
            font-size: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
padding-bottom: 2rem;
        }

        .anti-scam-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.03) 50%, transparent 51%);
        }

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

        .anti-scam-banner .btn-close {
            filter: invert(1);
            opacity: 0.8;
            font-size: 12px;
            padding: 4px 8px;
        }

        .anti-scam-banner .btn-close:hover {
            opacity: 1;
        }

        .anti-scam-banner .alert-icon {
            color: #ffc107;
            font-size: 16px;
            margin-right: 8px;
        }

        .anti-scam-banner a {
            color: #ffc107;
            text-decoration: none;
            font-weight: 500;
        }

        .anti-scam-banner a:hover {
            color: #ffed4a;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .anti-scam-banner {
                font-size: 13px;
                padding: 10px 0;
            }
            
            .anti-scam-banner .d-flex {
                flex-direction: column;
                gap: 8px;
            }
            
            .anti-scam-banner .btn-close {
                align-self: flex-end;
                margin-top: -8px;
            }
        }

/* Additional CSS for mobile button responsiveness and organised by section */

/* Hero button container for better mobile responsiveness */
.hero-button-container {
    padding: 0 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Ensure button doesn't get cut off on mobile */
.hero-content .btn-register {
    width: 100%;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    padding: 12px 30px;
}

/* Organised by section styling */
.organised-by-section {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo-link img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.hero-title {
max-width: 900px;
margin: auto;
margin-bottom: 1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-button-container {
        padding: 0 15px;
    }
    
    .hero-content .btn-register {
        font-size: 0.9rem;
        padding: 10px 20px;
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .hero-date {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        margin: 0 15px;
    }
    
    .organised-by-section .logo-link img {
        max-height: 50px;
    }
    
    .organised-by-section h5 {
        font-size: 1rem;
    }
}

	.anti-scam-banner {overflow: unset; padding-bottom: 12px;}
	.anti-scam-banner .btn-close {position: absolute; top: .15rem; right: 0;}
	.anti-scam-banner .alert-icon {position: absolute; left: 0;}
	.anti-scam-banner span {padding: 0 2rem;}
	.anti-scam-banner .container {max-width: 1220px;}

@media (max-width: 576px) {
    .hero-content .btn-register {
        font-size: 0.85rem;
        padding: 8px 16px;
        max-width: 260px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-date {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .organised-by-section .logo-link img {
        max-height: 45px;
    }
    
    .organised-by-section .d-flex {
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-content .btn-register {
        font-size: 0.8rem;
        padding: 8px 12px;
        max-width: 240px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .organised-by-section .logo-link img {
        max-height: 40px;
    }
}

/* Ensure proper spacing and prevent overflow */
.hero-banner {
    overflow: hidden;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}