/* =============================================
   ARCSCU 2026 — Custom CSS (Tailwind supplement)
   ============================================= */

:root {
    --brand-navy: #000366;
    --brand-blue: #0047CC;
    --brand-mid:  #1a56db;
    --brand-light: #E8F0FE;
}

/* ---- Global ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    color: #1e293b;
    background: #fff;
    overflow-x: hidden;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--brand-blue); border-radius: 3px; }

/* ---- Global keyframes (used by inline style animations on hero) ---- */
@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Section ---- */
.hero-section {
    background-image: linear-gradient(rgba(0,3,102,0.78), rgba(0,0,80,0.82)),
                      url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* ---- Animated underline on section headings ---- */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
    border-radius: 2px;
}

/* ---- Timeline ---- */
.timeline-line-v {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-navy), var(--brand-blue));
}
.timeline-dot {
    position: absolute;
    left: 10px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--brand-navy);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--brand-blue);
    z-index: 2;
}
.timeline-dot-active {
    background: var(--brand-blue);
    box-shadow: 0 0 0 3px var(--brand-navy);
}

/* ---- Cards hover lift ---- */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 3, 102, 0.12);
}

/* ---- Track cards ---- */
.track-card-it {
    background: linear-gradient(135deg, rgba(0,71,204,0.85), rgba(0,3,102,0.9)),
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=400&q=60') center/cover;
}
.track-card-biz {
    background: linear-gradient(135deg, rgba(5,100,60,0.85), rgba(0,60,40,0.9)),
                url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=400&q=60') center/cover;
}
.track-card-eee {
    background: linear-gradient(135deg, rgba(120,20,180,0.85), rgba(60,0,100,0.9)),
                url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=400&q=60') center/cover;
}
.track-card-hss {
    background: linear-gradient(135deg, rgba(180,80,0,0.85), rgba(100,40,0,0.9)),
                url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=400&q=60') center/cover;
}

/* ---- Flyer image ---- */
.flyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ---- Speaker image circle ---- */
.speaker-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--brand-blue);
    transition: border-color 0.3s;
}
.speaker-card:hover .speaker-avatar {
    border-color: var(--brand-navy);
}

/* ---- Navbar glass ---- */
.nav-glass {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 3, 102, 0.1);
}
.nav-glass.scrolled {
    box-shadow: 0 4px 24px rgba(0, 3, 102, 0.12);
}

/* ---- Dropdown menu ---- */
.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,3,102,0.15);
    border: 1px solid rgba(0,3,102,0.08);
    padding: 6px 0;
    z-index: 50;
}
.dropdown-parent:hover .dropdown-menu-custom,
.dropdown-parent:focus-within .dropdown-menu-custom {
    display: block;
}

/* ---- Page header banner ---- */
.page-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    padding: 70px 24px 60px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

/* ---- Table styling ---- */
.info-table th {
    background: var(--brand-light);
    color: var(--brand-navy);
    font-weight: 600;
    padding: 12px 16px;
}
.info-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.info-table tr:last-child td { border-bottom: none; }

/* ---- Badge / pill ---- */
.badge-blue {
    background: var(--brand-light);
    color: var(--brand-blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

/* ---- CTA button ---- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 71, 204, 0.4);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-custom:hover {
    background: var(--brand-blue);
    color: white;
}

/* ---- Stats counter bar ---- */
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

/* ---- Countdown ---- */
.countdown-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 12px 18px;
    text-align: center;
    min-width: 72px;
    backdrop-filter: blur(4px);
}

/* ---- Mobile nav ---- */
#mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 12px 0;
}
#mobile-menu.open {
    display: flex;
}
#mobile-menu a {
    padding: 10px 24px;
    color: var(--brand-navy);
    font-weight: 500;
    font-size: 0.95rem;
}
#mobile-menu a:hover { background: var(--brand-light); }

/* ---- Footer ---- */
.footer-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 8px;
}
.footer-link:hover { color: white; }
