/* Call for Papers Page Specific Styles */
/* Author: Custom improvements for IndabaX Nigeria 2026 CFP */

/* ========================================== */
/* HERO SECTION - IMPROVED                    */
/* ========================================== */

.cfp-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cfp-hero .mbr-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 136, 204, 0.95) 0%,
        rgba(0, 119, 187, 0.92) 50%,
        rgba(0, 102, 170, 0.95) 100%
    ) !important;
    opacity: 1 !important;
}

/* Hide or fade the background text */
.cfp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 136, 204, 0.3);
    z-index: 1;
}

.cfp-hero .container {
    position: relative;
    z-index: 2;
}

.cfp-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -1px;
}

.cfp-hero p {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.cfp-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: both;
}

.badge-item {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Improved arrow indicator */
.cfp-hero .mbr-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.cfp-hero .mbr-arrow a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.cfp-hero .mbr-arrow a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cfp-hero .mbr-arrow .mbr-iconfont {
    color: #ffffff;
    font-size: 32px;
    animation: bounce 2s infinite;
}

/* ========================================== */
/* THEME SECTION - IMPROVED                   */
/* ========================================== */

.cfp-theme {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
    padding: 5rem 0;
}

.theme-box {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #00BFFF;
}

.theme-box h2 {
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 2rem;
}

.theme-title {
    color: #0077BB !important;
    font-weight: 700 !important;
    line-height: 1.5;
    font-size: 1.8rem !important;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f5ff 0%, #f0f9ff 100%);
    border-radius: 12px;
    border-left: 5px solid #00BFFF;
    margin-bottom: 2.5rem;
}

.theme-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 191, 255, 0.15);
    border-color: #00BFFF;
}

.detail-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f5ff 0%, #f0f9ff 100%);
    border-radius: 12px;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    color: #0077BB;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-item p {
    margin: 0;
    color: #555555;
    font-size: 1.05rem;
    font-weight: 500;
}

/* ========================================== */
/* CONTENT SECTIONS                           */
/* ========================================== */

.cfp-content {
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

/* ========================================== */
/* CONTACT INFO - SIMPLE VERSION             */
/* ========================================== */

.content-section p strong {
    color: #0077BB;
    font-weight: 600;
}

.content-section p a {
    color: #0088CC;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-section p a:hover {
    color: #00BFFF;
    text-decoration: underline;
}

.section-title {
    color: #0077BB;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #00BFFF;
}

.subsection-title {
    color: #0088CC;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ========================================== */
/* TRACK CARDS                                */
/* ========================================== */

.track-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #00BFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.track-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 191, 255, 0.2);
}

.track-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00BFFF 0%, #0088CC 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.track-content h4 {
    color: #222222;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.track-content p {
    color: #555555;
    margin: 0;
}

/* ========================================== */
/* PAPER CATEGORIES                           */
/* ========================================== */

.paper-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #00BFFF;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 191, 255, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h5 {
    color: #0077BB;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-count {
    color: #00BFFF;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-card p {
    color: #555555;
    margin: 0;
}

/* ========================================== */
/* ALERT BOXES                                */
/* ========================================== */

.alert-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.alert-box.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.alert-box.info {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
}

.alert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alert-content strong {
    color: #222222;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.alert-content p {
    margin: 0;
    color: #555555;
}

/* ========================================== */
/* TIMELINE                                   */
/* ========================================== */

.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #00BFFF;
    z-index: 1;
}

.timeline-item.highlight .timeline-marker {
    width: 24px;
    height: 24px;
    left: calc(-2rem - 2px);
    background: #00BFFF;
    box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.2);
}

.timeline-content {
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.2);
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, #e3f5ff 0%, #f0f9ff 100%);
    border-left: 4px solid #00BFFF;
}

.timeline-content h5 {
    color: #0077BB;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: #555555;
    margin: 0;
    font-weight: 500;
}

/* ========================================== */
/* CONTACT INFO                               */
/* ========================================== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00BFFF;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item strong {
    display: block;
    color: #0077BB;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: #0088CC;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #00BFFF;
    text-decoration: underline;
}

/* ========================================== */
/* LINKS AND BUTTONS                          */
/* ========================================== */

.template-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00BFFF 0%, #0088CC 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.template-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.4);
    text-decoration: none;
}

.cfp-content a {
    color: #0088CC;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cfp-content a:hover {
    color: #00BFFF;
}

/* ========================================== */
/* CTA SECTION                                */
/* ========================================== */

.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.submission-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.submission-btn:not(:disabled) {
    background: linear-gradient(135deg, #00BFFF 0%, #0088CC 100%) !important;
    cursor: pointer;
    animation: pulse-cta 2s infinite;
}

.submission-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
    animation: none;
}

.btn-icon {
    font-size: 1.5rem;
}

.cta-note {
    color: #666666;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ========================================== */
/* RESPONSIVE DESIGN                          */
/* ========================================== */

@media (max-width: 768px) {
    .cfp-hero h1 {
        font-size: 2.8rem;
    }
    
    .cfp-hero p {
        font-size: 1.6rem;
    }
    
    .cfp-badges {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .badge-item {
        width: 100%;
        text-align: center;
    }
    
    .theme-box {
        padding: 2rem 1.5rem;
    }
    
    .theme-title {
        font-size: 1.4rem !important;
        padding: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .track-card {
        flex-direction: column;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .cfp-hero h1 {
        font-size: 2.2rem;
    }
    
    .cfp-hero p {
        font-size: 1.3rem;
    }
    
    .theme-title {
        font-size: 1.2rem !important;
    }
    
    .submission-btn {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }
}