/* ════════════════════════════════════════════════════════════
   ICSM-AFCEA 2026 - Custom Theme Styles
   Focus: Glassmorphism, Modern Typography, Vibrant Gradients
════════════════════════════════════════════════════════════ */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--white);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .icsm-badge, .btn-primary, .btn-secondary {
    font-family: 'Outfit', sans-serif;
}

/* ── HERO SECTION ── */
.icsm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    text-align: center;
    overflow: hidden;
}

/* Dynamic Animated Background */
.icsm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -10%, rgba(141, 208, 105, 0.2) 0%, rgba(10, 15, 20, 1) 70%),
                url('https://images.unsplash.com/photo-1509228468518-180dd4864904?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.6;
    z-index: 1;
    filter: blur(4px) contrast(1.1);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.icsm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Badge */
.icsm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(141, 208, 105, 0.1);
    border: 1px solid rgba(141, 208, 105, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(141, 208, 105, 0.15);
    backdrop-filter: blur(10px);
}

.icsm-badge i {
    font-size: 1.1rem;
}

/* Typography */
.icsm-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary) 50%, #60A665 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* Date Display */
.icsm-date-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    padding: 16px 36px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.icsm-date-box i {
    color: var(--primary);
    font-size: 1.6rem;
    filter: drop-shadow(0 0 10px rgba(141, 208, 105, 0.5));
}

/* ── GLASS PANELS ── */
.glass-panel {
    background: rgba(22, 32, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 30px rgba(141, 208, 105, 0.15);
    border-color: rgba(141, 208, 105, 0.3);
}

/* Organizers Card */
.icsm-organizers-card {
    margin-top: 15px;
    width: 100%;
    max-width: 650px;
    text-align: left;
}

.icsm-organizers-card h3 {
    margin: 0 0 25px;
    font-size: 1.4rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.icsm-organizers-card h3 i {
    color: var(--primary);
}

.organizers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.organizers-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.15rem;
    color: var(--gray);
}

.org-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(47, 128, 237, 0.1);
    border-radius: 12px;
    color: var(--blue);
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(47, 128, 237, 0.2);
}

.org-text strong {
    color: var(--white);
    font-weight: 600;
}

/* ── BUTTONS ── */
.icsm-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--background);
    box-shadow: 0 10px 25px rgba(141, 208, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(141, 208, 105, 0.5);
    background: linear-gradient(135deg, #9FEB75, var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ── HIGHLIGHTS SECTION ── */
.icsm-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.highlight-item {
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(160deg, rgba(22, 32, 42, 0.85), rgba(17, 24, 39, 0.95));
}

.highlight-item i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(141, 208, 105, 0.1), rgba(141, 208, 105, 0.05));
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 24px;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(141, 208, 105, 0.2);
}

.highlight-item:hover i {
    transform: scale(1.1) rotate(8deg);
    background: var(--primary);
    color: var(--background);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(141, 208, 105, 0.3);
}

.highlight-item h4 {
    font-size: 1.4rem;
    margin: 0 0 15px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.highlight-item p {
    color: var(--gray);
    margin: 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ── ABOUT SECTION ── */
.icsm-about {
    padding: 40px 5% 100px;
    background: var(--background);
    position: relative;
    z-index: 2;
}

.icsm-container {
    max-width: 1200px;
    margin: 0 auto;
}

.icsm-about-content {
    padding: 60px 50px;
    background: linear-gradient(145deg, rgba(22, 32, 42, 0.4), rgba(17, 24, 39, 0.6));
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-eyebrow {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.about-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0;
    color: var(--white);
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 25px;
    text-align: justify;
}

.about-objectives {
    margin: 40px 0;
    padding: 40px;
    background: rgba(141, 208, 105, 0.05);
    border-radius: 20px;
    border-left: 4px solid var(--primary);
}

.about-objectives h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.objective-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.objective-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.5;
}

.objective-list li i {
    color: var(--primary);
    margin-top: 5px;
    font-size: 1.2rem;
}

/* ── ACCORDION / SCOPE SECTION ── */
.icsm-scope {
    padding: 60px 5% 100px;
    background: var(--background);
    position: relative;
    z-index: 2;
}

.scope-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
}

.icsm-accordion {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.track-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.track-details[open] {
    background: rgba(22, 32, 42, 0.6);
    border-color: rgba(141, 208, 105, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.track-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(10, 15, 20, 0));
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    list-style: none;
    transition: background 0.3s ease;
    border-bottom: 1px solid transparent;
}

.track-summary::-webkit-details-marker {
    display: none;
}

.track-details[open] .track-summary {
    background: rgba(37, 99, 235, 0.15);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.track-summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--gray);
}

.track-details[open] .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.track-content {
    padding: 25px 30px;
}

.track-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-content ul li {
    position: relative;
    padding-left: 25px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.track-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--primary);
    font-size: 1.5rem;
}

/* ── SPEAKERS SECTION ── */
.icsm-speakers {
    padding: 60px 5% 100px;
    background: var(--background);
    position: relative;
    z-index: 2;
}

.speakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.speaker-card {
    width: 300px;
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.speaker-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid rgba(141, 208, 105, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), inset 0 0 20px rgba(141, 208, 105, 0.2);
    overflow: hidden;
    position: relative;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.speaker-card:hover .speaker-image img {
    transform: scale(1.1);
}

.speaker-info h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.speaker-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.speaker-info p i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ── COMMITTEE SECTION EXTENSIONS ── */
.committee-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.mt-50 {
    margin-top: 50px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .icsm-hero {
        padding-top: 120px;
    }
    .icsm-highlights {
        margin-top: -40px;
    }
}

@media (max-width: 768px) {
    .icsm-hero {
        padding: 100px 20px 60px;
    }
    .icsm-title {
        font-size: 2.2rem;
    }
    .icsm-date-box {
        padding: 12px 24px;
        font-size: 1.1rem;
    }
    .icsm-organizers-card {
        padding: 25px 20px;
    }
    .organizers-list li {
        font-size: 1.05rem;
    }
    .icsm-cta-group {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    .icsm-highlights {
        margin-top: 40px;
        padding-bottom: 60px;
    }
    
    /* About section responsive */
    .icsm-about {
        padding: 40px 20px 80px;
    }
    .icsm-about-content {
        padding: 40px 25px;
    }
    .about-objectives {
        padding: 30px 20px;
    }
    .objective-list {
        grid-template-columns: 1fr;
    }
}

/* ── COMPREHENSIVE MOBILE RESPONSIVENESS (< 576px) ── */
@media (max-width: 576px) {
    .icsm-hero {
        padding-top: 80px;
    }
    .icsm-title {
        font-size: 1.8rem;
    }
    .icsm-container {
        padding: 0 15px;
    }
    .contact-grid, .committee-grid, .icsm-features-grid {
        grid-template-columns: 1fr !important;
    }
    /* Make tables swipeable on small screens */
    .icsm-table-container, .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin-bottom: 20px;
        display: block;
    }
    .icsm-table {
        min-width: 600px; /* Forces scroll on very small screens so table doesn't squish */
    }
    .btn-primary, .btn-secondary {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}
