/* ===== ACM RAJKOT PROFESSIONAL CHAPTER ===== */
/* Clean, modern styles without legacy calendar code */

:root {
    --acm-blue: #0066cc;
    --acm-accent: #ff6b3d;
    --acm-dark: #003366;
    --acm-light: #e8f0fe;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,102,204,0.2);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text-dark); background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
section { padding: 80px 0; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--acm-dark);
    color: #cdd9e5;
    padding: 6px 0;
    font-size: 0.8rem;
}

/* ===== NAVBAR ===== */
#mainNav {
    background: var(--acm-dark);
    padding: 12px 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
#mainNav.scrolled {
    background: rgba(0,30,70,0.97);
    padding: 8px 0;
    backdrop-filter: blur(10px);
}
.brand-title { font-size: 1rem; font-weight: 700; color: #fff; }
.brand-sub { font-size: 0.7rem; color: #aac4e8; }
.navbar-nav .nav-link {
    color: #cdd9e5 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}
.btn-acm-primary {
    background: var(--acm-blue);
    color: #fff !important;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.btn-acm-primary:hover {
    background: var(--acm-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,102,0,0.4);
}

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; }
.hero-slider .carousel-item { height: 90vh; min-height: 500px; }
.hero-slider .carousel-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}
.hero-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
}
.hero-slider .carousel-caption h2 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 12px;
}
.hero-slider .carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
}
.hero-overlay-content {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
}
.hero-overlay-content h1 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
}
.hero-overlay-content p { color: #cdd9e5; font-size: 1rem; }
.hero-btns .btn { margin: 5px; border-radius: 25px; padding: 10px 28px; font-weight: 600; }
.btn-outline-light:hover { background: var(--acm-blue); border-color: var(--acm-blue); }

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--acm-dark);
    margin-bottom: 8px;
}
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; }
.title-line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--acm-blue), var(--acm-accent));
    border-radius: 2px;
    margin: 10px auto 20px;
}

/* ===== VISION MISSION ===== */
.vm-section { background: var(--bg-light); }
.vm-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 35px;
    height: 100%;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--acm-blue);
    transition: var(--transition);
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.vm-card.mission { border-top-color: var(--acm-accent); }
.vm-icon {
    width: 60px; height: 60px;
    background: var(--acm-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--acm-blue);
    margin-bottom: 20px;
}
.vm-icon img {
    width: 28px; height: 28px;
    /* tint to acm-blue: hue-rotate trick for currentColor SVGs */
    filter: invert(27%) sepia(90%) saturate(1200%) hue-rotate(196deg) brightness(95%) contrast(105%);
}
.vm-card.mission .vm-icon { background: #fff3e8; color: var(--acm-accent); }
.vm-card.mission .vm-icon img {
    filter: invert(48%) sepia(80%) saturate(900%) hue-rotate(345deg) brightness(105%) contrast(100%);
}
.vm-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--acm-dark); margin-bottom: 15px; }
.vm-card p { color: #555; line-height: 1.8; font-size: 0.95rem; }

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--acm-dark) 0%, var(--acm-blue) 100%);
    padding: 60px 0;
}
.stat-item { text-align: center; padding: 20px; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { color: #aac4e8; font-size: 0.9rem; margin-top: 5px; }
.stat-icon { font-size: 2rem; color: rgba(255,255,255,0.3); margin-bottom: 10px; }

/* ===== EVENTS ===== */
.event-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.event-card img { 
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    min-height: 160px;
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 2px 12px rgba(0,102,204,0.08);
    border: 1.5px solid #e6eaf3;
    background: #f6f8fa;
    transition: box-shadow 0.2s;
}
.event-card:hover img { box-shadow: 0 6px 24px rgba(0,102,204,0.18); }
.event-card-body { padding: 20px; }
.event-date-badge {
    display: inline-block;
    background: var(--acm-light);
    color: var(--acm-blue);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.event-card h5 { font-weight: 700; color: var(--acm-dark); font-size: 1rem; margin-bottom: 8px; }
.event-card p { color: #666; font-size: 0.88rem; line-height: 1.6; }
.event-venue { color: var(--text-muted); font-size: 0.82rem; }
.event-venue i { color: var(--acm-blue); }

/* ===== EVENT DATE SIDEBAR ===== */
.event-dates-sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius);
    border: 2px solid rgba(0, 102, 204, 0.12);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--acm-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--acm-blue);
    display: flex;
    align-items: center;
}

.dates-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 6px;
}

.dates-list::-webkit-scrollbar {
    width: 6px;
}

.dates-list::-webkit-scrollbar-track {
    background: transparent;
}

.dates-list::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.3);
    border-radius: 3px;
}

.dates-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 204, 0.6);
}

.date-indicator {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e8f0fe;
    transition: var(--transition);
    cursor: pointer;
}

.date-indicator:hover {
    background: #f0f8ff;
    border-color: var(--acm-blue);
    box-shadow: 0 3px 8px rgba(0, 102, 204, 0.15);
    transform: translateX(4px);
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--acm-blue), #0055a8);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
}

.date-day {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.date-events {
    flex: 1;
}

.date-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--acm-dark);
    margin-bottom: 4px;
}

.event-name {
    font-size: 0.8rem;
    color: #555;
    margin: 2px 0;
    word-break: break-word;
}

.event-name i {
    font-size: 0.6rem;
    color: var(--acm-accent);
}

/* ===== MEMBERS ===== */
.member-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 16px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    /* hard contain — nothing escapes */
    min-width: 0;
    overflow: hidden;
}
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* Email — truncate with ellipsis, full address in title tooltip */
.member-card a[href^="mailto"],
.member-card .member-email {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 0.72rem;
    color: var(--acm-blue);
    margin-top: 8px;
    padding: 4px 6px;
    background: var(--acm-light);
    border-radius: 20px;
    /* truncate */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    box-sizing: border-box;
}
.member-card a[href^="mailto"]:hover,
.member-card .member-email:hover {
    background: var(--acm-blue);
    color: #fff;
}
.member-photo {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--acm-light);
    margin-bottom: 15px;
}
.member-photo-placeholder {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--acm-blue), var(--acm-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
    margin: 0 auto 15px;
    border: 4px solid var(--acm-light);
}
.member-card h5 { font-weight: 700; color: var(--acm-dark); font-size: 1rem; margin-bottom: 4px; }
.member-role { color: var(--acm-blue); font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.member-designation { color: var(--text-muted); font-size: 0.8rem; }

/* ===== GALLERY ===== */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== JOIN SECTION ===== */
.join-section {
    background: linear-gradient(135deg, var(--acm-dark), var(--acm-blue));
    color: #fff;
    padding: 80px 0;
}
.join-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.join-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-5px); }
.join-card-icon { font-size: 3rem; margin-bottom: 15px; }
.join-card h4 { font-weight: 700; margin-bottom: 10px; }
.join-card p { opacity: 0.85; font-size: 0.9rem; }
.btn-join { background: #fff; color: var(--acm-blue); border-radius: 25px; padding: 10px 28px; font-weight: 700; transition: var(--transition); }
.btn-join:hover { background: var(--acm-accent); color: #fff; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--acm-dark) 0%, var(--acm-blue) 100%);
    padding: 80px 0 60px;
    color: #fff;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }
.breadcrumb-item a { color: #aac4e8; }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ===== FOOTER ===== */
.footer {
    background: #0a1628;
    padding: 60px 0 30px;
}
.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; color: #8899aa; font-size: 0.88rem; }
.footer-links a { color: #8899aa; transition: var(--transition); }
.footer-links a:hover { color: var(--acm-blue); padding-left: 5px; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 30px 0 20px; }
.social-links { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0);
    border-radius: 50%;
    color: #ffffff00;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    text-decoration: none;
}
.social-links a svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    flex-shrink: 0;
    display: block;
} 
.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    color: #ffffff;
    border-color: transparent;
}
/* Brand hover colours */
.social-links a.sl-facebook:hover  { background: #1877f2; }
.social-links a.sl-twitter:hover   { background: #000000; }
.social-links a.sl-linkedin:hover  { background: #0a66c2; }
.social-links a.sl-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-links a.sl-youtube:hover   { background: #ff0000; }
.social-links a.sl-github:hover    { background: #333333; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: #999; }
.text-white { color: #fff; }
.text-acm { color: var(--acm-blue) !important; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.d-flex { display: flex; }
.d-block { display: block; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1.5rem; }
.h-100 { height: 100%; }

/* ===== ALERT ===== */
.alert { border-radius: var(--radius); border: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .event-dates-sidebar {
        max-width: 100%;
        margin-top: 20px;
        position: static;
        top: auto;
    }

    .dates-list {
        max-height: none;
    }
}

@media (max-width: 768px) {
    section { padding: 50px 0; }
    .hero-slider .carousel-item { height: 60vh; }
    .hero-overlay-content { bottom: 30px; }
    .stat-number { font-size: 2rem; }
    
    .event-dates-sidebar {
        padding: 16px;
    }

    .sidebar-title {
        font-size: 1rem;
    }

    .date-badge {
        width: 45px;
        height: 45px;
    }

    .date-day {
        font-size: 1.1rem;
    }

    .date-month {
        font-size: 0.65rem;
    }

    .date-events {
        font-size: 0.75rem;
    }
}

/* ===== PERFORMANCE & RESPONSIVE FIXES (optimization pass) ===== */

/* Navbar toggler icon fix (was empty) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 6px 10px;
}

/* Fix footer logo path for admin pages */
.footer img { max-height: 50px; }

/* Lazy-load fade-in */
img[loading="lazy"] { opacity: 0; transition: opacity 0.4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ── Mobile fixes ─────────────────────────────────────────── */
@media (max-width: 576px) {
    /* Prevent text overflow on small screens */
    .event-card h5, .member-card h5, .initiative-body h5 {
        font-size: 0.92rem;
        word-break: break-word;
    }
    .hero-overlay-content h1 { font-size: 1.2rem; }
    .hero-overlay-content p  { font-size: 0.82rem; }
    .hero-btns .btn { padding: 7px 14px; font-size: 0.8rem; margin: 3px; }
    .stat-number { font-size: 1.8rem; }
    .stat-label  { font-size: 0.75rem; }
    .section-title { font-size: 1.4rem; }
    .vm-card { padding: 24px 18px; }
    .join-card { padding: 28px 18px; }
    /* Member email responsive */
    .member-card .member-email,
    .member-card a[href^="mailto"] {
        font-size: 0.65rem;
        white-space: normal;
        word-break: break-word;
    }
    /* Footer columns stack cleanly */
    .footer .col-lg-2, .footer .col-lg-3 { margin-bottom: 8px; }
    .social-links { gap: 8px; }
    .social-links a { width: 36px; height: 36px; }
    .social-links a svg { width: 16px; height: 16px; }
    /* Page hero */
    .page-hero { padding: 50px 0 36px; }
    .page-hero h1 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    /* Navbar collapse spacing */
    #navMenu { padding: 12px 0; }
    .navbar-nav .nav-link { padding: 10px 16px !important; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .dropdown-menu { background: rgba(0,20,50,0.97); border: none; }
    .dropdown-item { color: #cdd9e5; }
    .dropdown-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
    /* Event card image height on mobile */
    .event-card img { min-height: 140px; max-height: 180px; }
    /* Member cards 2-col on mobile */
    .member-photo { width: 80px; height: 80px; }
    /* Table horizontal scroll */
    .table-responsive { -webkit-overflow-scrolling: touch; }
    /* Initiative cards full width on small */
    .initiative-img-wrap { aspect-ratio: 16/9; }
}

@media (max-width: 992px) {
    /* Hero carousel height */
    .hero-slider .carousel-item { height: 65vh; min-height: 380px; }
    /* Stats section */
    .stats-section { padding: 40px 0; }
}

/* ── Print styles ─────────────────────────────────────────── */
@media print {
    .navbar, .footer, .join-section, .hero-slider { display: none !important; }
    body { font-size: 12pt; color: #000; }
}

/* ===== WHY JOIN ACM – BENEFITS LIST ===== */
.acm-benefits-list { display: flex; flex-direction: column; gap: 10px; }

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ecf4;
    transition: var(--transition);
}
.benefit-item:hover {
    border-color: var(--acm-blue);
    box-shadow: 0 4px 14px rgba(0,102,204,0.1);
    transform: translateX(4px);
}
.benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-icon svg {
    width: 15px;
    height: 15px;
}
.benefit-item h6 {
    font-size: .82rem;
    font-weight: 700;
    color: var(--acm-dark);
    margin: 0 0 3px;
}
.benefit-item p {
    font-size: .76rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 576px) {
    .benefit-item { padding: 10px 12px; gap: 10px; }
    .benefit-icon { width: 26px; height: 26px; }
    .benefit-icon svg { width: 13px; height: 13px; }
}



/* ==============================================
   GUWIC 2026 - SHARED ICON UTILITY
   ============================================== */

/* Downloaded SVG icons used as <img> - force correct size, no distortion */
.guwic-meta-icon,
.guwic-pill-icon,
.guwic-icon-sm,
.gic-check {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    object-fit: contain;
    /* Tint white for dark backgrounds */
}
.gic-check {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.guwic-icon-sm {
    width: 14px;
    height: 14px;
}

/* ==============================================
   GUWIC 2026 - INDEX.PHP HIGHLIGHT SECTION
   ============================================== */

.guwic-hl-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef3fb 100%);
    position: relative;
    overflow: hidden;
}
.guwic-hl-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0066cc, #7b2d8b, #ff6b3d);
}

/* Label pill */
.guwic-label-pill {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff6b3d;
    border: 1.5px solid #ff6b3d;
    padding: 4px 14px;
    border-radius: 20px;
}

/* Main card */
.guwic-hl-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,51,102,.12);
    overflow: hidden;
    border: 1px solid rgba(0,102,204,.1);
}

/* Left visual panel */
.guwic-hl-left {
    background: linear-gradient(160deg, #003366 0%, #0055a8 55%, #7b2d8b 100%);
    position: relative;
    overflow: hidden;
}
.guwic-hl-left-inner {
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    text-align: center;
    height: 100%;
}
.guwic-hl-datebox {
    background: #ff6b3d;
    color: #fff;
    border-radius: 12px;
    padding: 10px 20px;
    margin-bottom: 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(255,107,61,.4);
}
.ghl-day   { font-size: 2rem; font-weight: 900; line-height: 1; }
.ghl-month { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.ghl-year  { font-size: .72rem; font-weight: 700; opacity: .85; }

.guwic-hl-logo {
    height: 52px;
    object-fit: contain;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    opacity: .9;
}
.guwic-hl-name h3 { color: #fff; font-weight: 900; font-size: 1.4rem; margin-bottom: 4px; }
.guwic-hl-name p  { color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.5; margin: 0; }
.guwic-hl-host {
    margin-top: 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Right content panel */
.guwic-hl-right { background: #fff; }
.guwic-hl-right-inner { padding: 36px 36px; }

/* Meta pills */
.guwic-hl-metas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.guwic-hl-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e8f0fe;
    color: #0066cc;
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Description */
.guwic-hl-desc {
    color: #444;
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Theme tags */
.guwic-hl-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}
.guwic-theme-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid #e0e7f3;
    color: #003366;
    font-size: .82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 10px;
    transition: all .3s ease;
}
.guwic-theme-tag:hover {
    background: #e8f0fe;
    border-color: #0066cc;
    color: #0066cc;
}

/* Buttons */
.guwic-hl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.guwic-btn-solid {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease;
    text-decoration: none;
}
.guwic-btn-solid:hover {
    background: #ff6b3d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,61,.4);
}
.guwic-btn-border {
    display: inline-block;
    background: transparent;
    color: #003366;
    border: 2px solid #003366;
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease;
    text-decoration: none;
}
.guwic-btn-border:hover {
    background: #003366;
    color: #fff;
    transform: translateY(-2px);
}

/* Stats row */
.guwic-stat-box {
    background: #fff;
    border-radius: 12px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-top: 3px solid #0066cc;
    transition: all .3s ease;
}
.guwic-stat-box:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,204,.2); }
.gsb-num {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #003366, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}
.gsb-lbl { font-size: .78rem; color: #6c757d; font-weight: 600; }

/* Responsive - index highlight */
@media (max-width: 992px) {
    .guwic-hl-left-inner { min-height: 200px; padding: 28px 20px; }
    .guwic-hl-right-inner { padding: 28px 24px; }
}
@media (max-width: 768px) {
    .guwic-hl-left-inner { min-height: auto; padding: 30px 20px; }
    .guwic-hl-right-inner { padding: 24px 20px; }
    .guwic-hl-btns { flex-direction: column; }
    .guwic-btn-solid, .guwic-btn-border { text-align: center; }
}
@media (max-width: 576px) {
    .guwic-hl-section { padding: 50px 0; }
    .guwic-hl-right-inner { padding: 20px 16px; }
    .guwic-hl-desc { font-size: .88rem; }
    .gsb-num { font-size: 1.5rem; }
}


/* ==============================================
   GUWIC 2026 - guwic2026.php PAGE STYLES
   ============================================== */

/* ── Hero ── */
.guwic-hero {
    position: relative;
    background: linear-gradient(135deg, #003366 0%, #0055a8 55%, #7b2d8b 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    width: 100%;
}
.guwic-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255,107,61,.18) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 80%, rgba(0,102,204,.25) 0%, transparent 50%);
    pointer-events: none;
}
.guwic-hero-container { width: 100%; position: relative; z-index: 2; }
.guwic-hero-row { min-height: 60vh; }

/* Badge row */
.guwic-badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.guwic-badge-acmw {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.guwic-badge-yr {
    background: #ff6b3d;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Hero heading */
.guwic-h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
}
.guwic-h1-accent {
    background: linear-gradient(90deg, #ff6b3d, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.guwic-hero-tagline {
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 12px;
}
.guwic-hero-desc {
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 0;
}

/* Pills row */
.guwic-pills-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.guwic-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
}
.guwic-pill-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

/* Hero buttons */
.guwic-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.guwic-btn-primary {
    display: inline-block;
    background: #ff6b3d;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .95rem;
    transition: all .3s ease;
    text-decoration: none;
}
.guwic-btn-primary:hover {
    background: #e55a2b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,61,.45);
}
.guwic-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .95rem;
    transition: all .3s ease;
    text-decoration: none;
}
.guwic-btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
}

/* Floating card */
.guwic-float-card {
    background: rgba(255,255,255,.97);
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    width: 290px;
    text-align: center;
    position: relative;
}
.guwic-float-date {
    position: absolute;
    top: -18px; right: -18px;
    background: #ff6b3d;
    color: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(255,107,61,.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gfc-month { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.gfc-day   { font-size: 1.7rem; font-weight: 900; line-height: 1; }
.gfc-year  { font-size: .65rem; font-weight: 700; opacity: .85; }

.guwic-float-logo { height: 55px; object-fit: contain; margin-bottom: 12px; }
.guwic-acmw-pill {
    display: inline-block;
    background: linear-gradient(135deg, #7b2d8b, #0055a8);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.guwic-float-title { color: #003366; font-weight: 900; font-size: 1.3rem; margin-bottom: 4px; }
.guwic-float-sub   { color: #6c757d; font-size: .85rem; line-height: 1.5; margin-bottom: 12px; }
.guwic-float-host {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: #0066cc;
    font-size: .75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Wave */
.guwic-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }

/* ── Info Bar ── */
.guwic-infobar {
    background: #fff;
    padding: 28px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    position: relative;
    z-index: 5;
}
.gib-item { padding: 8px; }
.gib-emoji { font-size: 1.5rem; margin-bottom: 5px; }
.gib-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #6c757d; margin-bottom: 2px; }
.gib-value { font-size: .9rem; font-weight: 700; color: #003366; }

/* ── Sections ── */
.guwic-sec { padding: 80px 0; }
.guwic-sec-alt { background: #f8f9fa; }

.guwic-sec-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff6b3d;
    border: 1.5px solid #ff6b3d;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.guwic-sec-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #003366;
    margin-bottom: 8px;
    margin-top: 8px;
}
.guwic-sec-sub { color: #6c757d; font-size: 1rem; margin-bottom: 0; }
.guwic-title-line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #0066cc, #ff6b3d);
    border-radius: 2px;
    margin: 10px 0 20px;
}
.guwic-title-line.mx-auto { margin-left: auto; margin-right: auto; }
.guwic-body-text { color: #555; line-height: 1.85; font-size: .97rem; margin-bottom: 14px; }

/* Theme grid */
.guwic-theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guwic-theme-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-left: 4px solid #0066cc;
    transition: all .3s ease;
}
.guwic-theme-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,204,.2); }
.gtc-icon { font-size: 1.5rem; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.guwic-theme-card h6 { font-weight: 700; color: #003366; font-size: .88rem; margin-bottom: 5px; }
.guwic-theme-card p  { color: #666; font-size: .8rem; line-height: 1.6; margin: 0; }

/* Objectives list card */
.guwic-list-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    height: 100%;
}
.glc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid #e8f0fe; }
.glc-emoji { font-size: 1.8rem; }
.glc-head h4 { font-weight: 800; color: #003366; margin: 0; font-size: 1.15rem; }
.guwic-dotlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.guwic-dotlist li { display: flex; align-items: flex-start; gap: 11px; color: #444; font-size: .92rem; line-height: 1.6; }
.gdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.gdot-blue   { background: #0066cc; }
.gdot-orange { background: #ff6b3d; }


/* ── Speakers ── */
.guwic-speaker-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: all .3s ease;
    height: 100%;
    position: relative;
}
.guwic-speaker-card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,102,204,.2); }
.gsc-photo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255,255,255,.65);
    letter-spacing: 2px;
}
.gsc-tag {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.gsc-info { padding: 16px 14px; }
.gsc-info h5 { font-weight: 800; color: #003366; font-size: .95rem; margin-bottom: 3px; }
.gsc-role  { color: #0066cc; font-size: .78rem; font-weight: 600; margin-bottom: 5px; }
.gsc-topic { color: #555; font-size: .78rem; line-height: 1.5; margin-bottom: 8px; }
.gsc-tags  { display: flex; flex-wrap: wrap; gap: 5px; }
.gsc-tags span {
    background: #e8f0fe;
    color: #0066cc;
    font-size: .68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 10px;
}

/* ── Event Details Card ── */
.guwic-details-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    overflow: hidden;
    border: 1px solid #e8f0fe;
}
.guwic-details-card .col-md-6:first-child { border-right: 1px solid #f0f4fb; }
@media (max-width: 767px) { .guwic-details-card .col-md-6:first-child { border-right: none; } }
.gdc-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid #f0f4fb;
    transition: background .2s;
}
.gdc-row:last-child { border-bottom: none; }
.gdc-row:hover { background: #f8fbff; }
.gdc-emoji { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.gdc-lbl { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #6c757d; margin-bottom: 2px; }
.gdc-val { font-size: .93rem; font-weight: 700; color: #003366; }

/* ── Schedule Table ── */
.guwic-schedule {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    overflow: hidden;
    border: 1px solid #e8f0fe;
}
.gs-header {
    display: grid;
    grid-template-columns: 190px 1fr 1.6fr;
    background: linear-gradient(135deg, #003366 0%, #0055a8 100%);
    padding: 13px 20px;
    gap: 16px;
}
.gs-col-time, .gs-col-session, .gs-col-detail {
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gs-row {
    display: grid;
    grid-template-columns: 190px 1fr 1.6fr;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f4fb;
    align-items: center;
    transition: background .2s;
}
.gs-row:last-child { border-bottom: none; }
.gs-row:hover { background: #f8fbff; }
.gs-row-hl {
    background: linear-gradient(90deg, rgba(0,51,102,.04), rgba(0,102,204,.02));
    border-left: 3px solid #0066cc;
}
.gs-row-hl:hover { background: linear-gradient(90deg, rgba(0,51,102,.07), rgba(0,102,204,.04)); }
.gs-row-break { background: #fffbf5; border-left: 3px solid #ff6b3d; }
.gs-row-break:hover { background: #fff5e8; }
.gs-badge {
    display: inline-block;
    background: #e8f0fe;
    color: #0066cc;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    white-space: nowrap;
}
.gs-badge-break { background: #fff3e8; color: #c05a00; }
.gs-row-hl .gs-badge { background: rgba(0,51,102,.08); color: #003366; }
.gs-session {
    font-weight: 700;
    color: #003366;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gs-emoji { font-size: 1.1rem; flex-shrink: 0; }
.gs-detail { color: #555; font-size: .86rem; line-height: 1.6; }
.gs-detail strong { color: #003366; }

@media (max-width: 768px) {
    .gs-header { display: none; }
    .gs-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px 14px;
        border-left: 3px solid transparent;
    }
    .gs-row-hl { border-left-color: #0066cc; }
    .gs-row-break { border-left-color: #ff6b3d; }
    .gs-detail { padding-left: 0; font-size: .82rem; }
}

/* ── Impact Cards ── */
.guwic-impact-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    height: 100%;
    transition: all .3s ease;
    border-top: 4px solid var(--ic-color, #0066cc);
}
.guwic-impact-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,102,204,.15); }
.gic-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #f0f4fb; }
.gic-icon-box { font-size: 1.7rem; width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gic-top h4 { font-weight: 800; color: #003366; font-size: 1rem; margin: 0; }
.gic-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.gic-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #444;
    font-size: .9rem;
    line-height: 1.6;
}
/* The check icon img */
.gic-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
    /* Tint to match card color using CSS filter */
    filter: invert(27%) sepia(90%) saturate(1200%) hue-rotate(196deg) brightness(95%);
}

/* ── Collaborator Cards ── */
.guwic-collab-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    transition: all .3s ease;
    border: 1px solid #eef2fb;
}
.guwic-collab-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,102,204,.15); border-color: rgba(0,102,204,.15); }
.gcc-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.gcc-body { flex: 1; min-width: 0; }
.gcc-cat { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #0066cc; margin-bottom: 5px; }
.gcc-names { color: #444; font-size: .87rem; line-height: 1.65; margin: 0; }
.gcc-names em { color: #6c757d; }

/* ── Sponsors ── */
.guwic-sponsor-tier { text-align: center; }
.gst-lbl {
    display: inline-block;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 20px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 2px solid;
}
.gst-platinum { color: #5b7fa6; border-color: #b0c4de; }
.gst-gold     { color: #b8860b; border-color: #c9a227; }
.gst-silver   { color: #607d8b; border-color: #9e9e9e; }
.gst-partner  { color: #0066cc; border-color: #0066cc; }
.guwic-sponsor-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all .3s ease;
    border: 2px solid #e8f0fe;
}
.guwic-sponsor-box:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,102,204,.15); }
.guwic-sponsor-box span { font-size: .85rem; font-weight: 700; color: #6c757d; }
.gsp-platinum { border-color: #b0c4de; }
.gsp-gold     { border-color: #c9a227; }
.gsp-silver   { border-color: #9e9e9e; }
.gsp-partner  { border-color: #e8f0fe; }

/* ── CTA Section ── */
.guwic-cta-sec { padding: 60px 0; background: #f8f9fa; }
.guwic-cta-box {
    background: linear-gradient(135deg, #003366 0%, #7b2d8b 100%);
    border-radius: 20px;
    padding: 48px 44px;
    box-shadow: 0 20px 60px rgba(0,51,102,.25);
    position: relative;
    overflow: hidden;
}
.guwic-cta-box::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    pointer-events: none;
}
.guwic-cta-title { color: #fff; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); margin: 8px 0 10px; }
.guwic-cta-desc  { color: rgba(255,255,255,.85); font-size: .97rem; margin: 0; }
.guwic-btn-white {
    display: inline-block;
    background: #fff;
    color: #003366;
    border: none;
    padding: 11px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease;
    text-decoration: none;
}
.guwic-btn-white:hover { background: #ff6b3d; color: #fff; transform: translateY(-2px); }
.guwic-btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease;
    text-decoration: none;
}
.guwic-btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ── guwic2026.php Responsive ── */
@media (max-width: 992px) {
    .guwic-hero { min-height: auto; padding: 80px 0 60px; }
    .guwic-hero-row { min-height: auto; }
    .guwic-sec { padding: 60px 0; }
    .guwic-cta-box { padding: 36px 28px; }
}
@media (max-width: 768px) {
    .guwic-h1 { font-size: 2rem; }
    .guwic-theme-grid { grid-template-columns: 1fr; }
    .guwic-hero-desc { max-width: 100%; }
    .guwic-hero-btns { flex-direction: column; }
    .guwic-btn-primary, .guwic-btn-outline { text-align: center; }
    .guwic-cta-box { padding: 28px 20px; }
}
@media (max-width: 576px) {
    .guwic-hero { padding: 70px 0 40px; }
    .guwic-h1 { font-size: 1.7rem; }
    .guwic-pill { font-size: .75rem; padding: 5px 10px; }
    .guwic-sec { padding: 50px 0; }
    .guwic-list-card { padding: 22px 16px; }
    .gdc-row { padding: 13px 14px; }
    .guwic-infobar { padding: 20px 0; }
}


/* ==============================================
   GUWIC 2026 - SUB-NAVIGATION BAR (FIXED)
   ============================================== */

.guwic-subnav {
    position: fixed;
    /* default: hidden above viewport, slides in after hero */
    top: -60px;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(0, 30, 70, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: top 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Slides into view once user scrolls past hero */
.guwic-subnav.subnav-visible {
    top: 70px; /* sits just below the main sticky navbar */
}

/* Becomes fully opaque when scrolled deep */
.guwic-subnav.scrolled {
    background: rgba(0, 25, 60, 0.96);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.35);
}

.guwic-subnav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.guwic-subnav-link {
    display: inline-block;
    padding: 13px 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.guwic-subnav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #ff6b3d;
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.guwic-subnav-link:hover,
.guwic-subnav-link.active-subnav {
    color: #fff;
    text-decoration: none;
}

/* Active link gets a glowing pill highlight */
.guwic-subnav-link.active-subnav {
    background: rgba(255, 107, 61, 0.18);
    border-radius: 4px;
}

.guwic-subnav-link:hover::after,
.guwic-subnav-link.active-subnav::after {
    width: 65%;
}

/* Mobile: allow horizontal scroll */
@media (max-width: 768px) {
    .guwic-subnav .container {
        padding: 0 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .guwic-subnav .container::-webkit-scrollbar { display: none; }
    .guwic-subnav-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }
    .guwic-subnav-link {
        padding: 11px 14px;
        font-size: 0.75rem;
    }
}


/* ══════════════════════════════════════════════
   SELFIE POINT MODULE
   ══════════════════════════════════════════════ */

/* Hero */
.sp-hero {
    position: relative;
    background: linear-gradient(135deg, #003366 0%, #0055a8 55%, #7b2d8b 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}
.sp-hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(255,107,61,.2) 0%, transparent 60%);
    pointer-events: none;
}
.sp-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.sp-hero-title {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.sp-hero-sub {
    color: rgba(255,255,255,.8);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* Step indicator */
.sp-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.sp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: .4;
    transition: opacity .3s;
}
.sp-step.active { opacity: 1; }
.sp-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    font-weight: 700;
    font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s, color .3s;
}
.sp-step.active .sp-step-num {
    background: var(--acm-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,102,204,.2);
}
.sp-step.done .sp-step-num { background: #28a745; color: #fff; }
.sp-step-lbl { font-size: .75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.sp-step.active .sp-step-lbl { color: var(--acm-blue); }
.sp-step-line { flex: 1; height: 2px; background: #dee2e6; min-width: 30px; max-width: 80px; margin-bottom: 18px; }

/* Cards */
.sp-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 32px;
    margin-bottom: 24px;
}
.sp-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--acm-dark);
    margin-bottom: 24px;
}

/* Input boxes */
.sp-input-box {
    border: 2px dashed #dee2e6;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color .25s;
    height: 100%;
}
.sp-input-box:hover { border-color: var(--acm-blue); }
.sp-input-icon { font-size: 2.5rem; margin-bottom: 10px; }
.sp-or-divider {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f0f4ff;
    color: var(--acm-blue);
    font-weight: 700;
    font-size: .8rem;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #dee2e6;
}

/* Webcam */
.sp-video-preview {
    width: 100%;
    border-radius: 10px;
    background: #000;
    max-height: 240px;
    object-fit: cover;
}

/* Preview canvas */
.sp-preview-canvas {
    max-width: 280px;
    max-height: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    display: block;
    margin: 0 auto;
}

/* Frame thumbnails */
.sp-frame-thumb {
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
    background: #f8f9fa;
}
.sp-frame-thumb:hover { border-color: var(--acm-blue); transform: translateY(-3px); }
.sp-frame-thumb.selected { border-color: var(--acm-accent); box-shadow: 0 0 0 3px rgba(255,107,61,.25); }
.sp-frame-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.sp-frame-name {
    padding: 6px 8px;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    background: #fff;
}

/* Editor */
.sp-canvas-wrap {
    position: relative;
    background: #1a1a2e;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.sp-editor-canvas {
    display: block;
    cursor: grab;
    max-width: 100%;
    border-radius: 10px;
}
.sp-editor-canvas:active { cursor: grabbing; }
.sp-canvas-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.55);
    color: rgba(255,255,255,.8);
    font-size: .72rem;
    padding: 4px 12px;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
}

/* Controls panel */
.sp-controls-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}
.sp-ctrl-heading { font-size: .85rem; font-weight: 700; color: var(--acm-dark); margin-bottom: 10px; }
.sp-ctrl-label   { font-size: .8rem; font-weight: 600; color: var(--text-muted); display: block; margin-top: 12px; margin-bottom: 4px; }
.sp-range { accent-color: var(--acm-blue); }
.sp-input { border-radius: 8px; font-size: .88rem; }

/* Buttons */
.sp-btn-primary {
    background: var(--acm-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: .9rem;
    transition: background .25s, transform .2s;
    text-decoration: none;
    display: inline-block;
}
.sp-btn-primary:hover { background: #0052a3; color: #fff; transform: translateY(-1px); }

/* Result */
.sp-result-img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

/* Share buttons */
.sp-share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .88rem;
    padding: 11px 18px;
    transition: opacity .2s, transform .2s;
    color: #fff !important;
    text-decoration: none;
}
.sp-share-btn:hover { opacity: .88; transform: translateX(3px); }
.sp-share-linkedin  { background: #0077b5; }
.sp-share-facebook  { background: #1877f2; }
.sp-share-whatsapp  { background: #25d366; }
.sp-share-twitter   { background: #1da1f2; }
.sp-share-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sp-share-download  { background: var(--acm-dark); }

/* Gallery wall */
.sp-gallery-wall { background: #f8f9fa; }
.sp-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    transition: transform .25s;
}
.sp-gallery-item:hover { transform: scale(1.04); }
.sp-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.sp-gallery-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 16px 8px 6px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-card { padding: 20px 16px; }
    .sp-hero-title { font-size: 1.7rem; }
    .sp-steps { gap: 0; }
    .sp-step-line { min-width: 16px; }
}

/* ==============================================
   GUWIC 2026 – COMMITTEE SECTION
   ============================================== */

/* ── Tab bar ── */
.guwic-committee-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}
.guwic-ctab {
    background: #fff;
    border: 2px solid #e0e7f3;
    color: #003366;
    font-size: .82rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}
.guwic-ctab:hover {
    border-color: #0066cc;
    color: #0066cc;
    background: #f0f6ff;
}
.guwic-ctab.active {
    background: linear-gradient(135deg, #003366, #0066cc);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,102,204,.35);
}

/* ── Tab panels ── */
.guwic-ctab-panel          { display: none; }
.guwic-ctab-panel.active   { display: block; animation: guwicFadeIn .3s ease; }
@keyframes guwicFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Member card overrides for GUWIC context ── */
.guwic-member-card {
    border-top: 3px solid #0066cc;
    transition: transform .25s ease, box-shadow .25s ease;
}
.guwic-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,102,204,.18);
}

/* ── Speaker topic badge ── */
.guwic-member-topic {
    display: inline-block;
    margin-top: 10px;
    background: #fff3e8;
    color: #c05a00;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #ffd4b0;
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .guwic-ctab { font-size: .75rem; padding: 8px 14px; }
}

/* ==============================================
   GUWIC 2026 – ORGANIZING COMMITTEE LAYOUT
   5-in-a-row on XL, 3+2 centered on LG/MD
   ============================================== */

/* Compact card variant for 5-in-a-row */
.guwic-org-card {
    border-top: 3px solid #0066cc;
    padding: 22px 12px 18px;   /* tighter padding than default member-card */
}
.guwic-org-card .member-photo,
.guwic-org-card .member-photo-placeholder {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
}
.guwic-org-card h5 {
    font-size: .88rem;
    margin-bottom: 2px;
}
.guwic-org-card .member-role        { font-size: .78rem; }
.guwic-org-card .member-designation { font-size: .72rem; }

/* On XL screens: 5 equal columns, no wrapping */
@media (min-width: 1200px) {
    .guwic-org-card .member-photo,
    .guwic-org-card .member-photo-placeholder {
        width: 72px;
        height: 72px;
    }
}

/* On screens below XL: restore normal card padding for 3-col layout */
@media (max-width: 1199px) {
    .guwic-org-card {
        padding: 26px 16px 20px;
    }
    .guwic-org-card .member-photo,
    .guwic-org-card .member-photo-placeholder {
        width: 88px;
        height: 88px;
    }
    .guwic-org-card h5 { font-size: .95rem; }
}
