:root {
    --primary-red: #E2211C;
    --pearl-gradient: linear-gradient(135deg, #f8f4ff 0%, #f3f0e9 30%, #e2e8f0 60%, #f6f0ff 100%);
    --pearl-glow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 20px rgba(226, 225, 255, 0.3);
}


body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
    background-image: radial-gradient(#eee 1px, transparent 1px);
    background-size: 20px 20px;
    background-attachment: fixed;
    
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.2),
            rgba(240, 230, 255, 0.15),
            rgba(230, 245, 255, 0.15));
    pointer-events: none;
    mix-blend-mode: soft-light;
    z-index: 0;
}


/* All links red underline */
#conference-info a,
#parking a {
    color: #E2211C;
    /* optional base color */
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

/* a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #E2211C;
    transition: width 0.3s ease;
} */

a:hover::after,
a:focus::after {
    width: 100%;
}

a:hover {
    color: #E2211C;
}

section {
    scroll-margin-top: 80px;
    /* adjust based on your navbar height */
}


/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInNavbar 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInNavbar {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand {
    color: #E2211C !important;
    font-weight: 700;
}

.navbar-brand img {
    height: 100px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: #E2211C;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #E2211C !important;
}

/* Buttons */
.btn-register {
    background-color: #E2211C;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: 0.3s;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.2;
}

.btn-register:hover {
    background-color: #c81c18;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(226, 33, 28, 0.3);
}

#delivery-notice .alert {
    border-radius: 6px;
}

/* Banner */
.banner {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Section styles */
section {
    padding: 50px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(even) {
    background-color: #F8F6F0;
}

h2.section-title {
    color: #E2211C;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* Conference Info Cards */

/* Make all info-cards in the same row equal height */
#conference-info .row {
    display: flex;
    flex-wrap: wrap;
}

#conference-info .info-card {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* For medium and larger screens: three cards per row */
@media (min-width: 768px) {
    #conference-info .info-card {
        flex: 1 1 calc(33.333% - 1rem);
        /* three per row with gap */
    }
}

.info-card {
    background: #fff;
    border: 2px solid rgba(226, 225, 255, 0.4);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--pearl-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(226, 225, 255, 0.6), 0 0 40px rgba(248, 244, 255, 0.4);
}

.info-card i {
    font-size: 2rem;
    color: #E2211C;
    margin-bottom: 10px;
}

/* Accordion buttons in info cards */
.info-card .accordion-button {
    background-color: #E2211C;
    /* red theme */
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.info-card .accordion-button:not(.collapsed) {
    background-color: #c81c18;
    /* slightly darker when expanded */
    color: #fff;
}

.info-card .accordion-button:hover {
    transform: translateY(-2px);
    /* subtle lift */
    box-shadow: 0 4px 10px rgba(226, 33, 28, 0.3);
}

.info-card .accordion-button::after {
    filter: invert(1);
    /* makes the default accordion chevron white */
}

/* Countdown */
#countdown {
    font-size: 1.4rem;
    font-weight: 600;
    color: #E2211C;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 20px;
}

.countdown-container {
    text-align: center;
}

.countdown-container i {
    display: block;
}

#countdown {
    font-weight: 700;
}

/* Info buttons styling */
#conference-resources .btn {
    background-color: #E2211C;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

#conference-resources .btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 33, 28, 0.3);
}

#conference-resources a {
    color: white;
    text-decoration: none;
}

/* Registration cards styling */
#registration .card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#registration .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#presenters img {
    border-radius: 50%;
}

/* Add spacing between presenter paragraphs */
#presenters p {
    margin-bottom: 1rem;
    /* adjust as needed */
    text-align: left;
    /* ensure text is left-aligned */
}

.hotel-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hotel-card .text-red {
    color: #E2211C;
}

.hotel-card p {
    margin-bottom: 0.5rem;
}

.hotel-card .btn-outline-danger {
    border-color: #E2211C;
    color: #E2211C;
}

.hotel-card .btn-outline-danger:hover {
    background-color: #E2211C;
    color: #fff;
}

/* Gradient Footer */
footer {
    background: linear-gradient(135deg, #E2211C, #a91a16, #1c1c1c);
    color: #fff;
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
}

footer .fw-bold {
    color: #fff !important;
}

/* Links in footer: white with white underline */
footer a {
    color: #fff !important;
    text-decoration: underline !important;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Paragraph spacing */
footer p {
    margin-bottom: 1rem;
}