/* Premium About Us Card styling */
.about-premium-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: box-shadow 0.3s ease;
    margin-bottom: 25px;
}
.about-premium-card:hover {
    box-shadow: 0 8px 30px rgba(11, 76, 104, 0.04);
}

/* Cover Image Box */
.sj-aboutusimg {
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sj-aboutusimg img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e2e8f0;
}

.sj-aboutusimg:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(11, 76, 104, 0.12), 0 8px 20px rgba(11, 76, 104, 0.06);
}

/* Headings */
.about-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #0b4c68;
}

/* Description paragraph */
.about-description-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.25rem;
    text-align: justify;
}

/* Facts Grid */
.journal-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 12px;
    border-radius: 10px;
}
.fact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fact-item i {
    font-size: 18px;
    color: #0b4c68;
    background: rgba(11, 76, 104, 0.08);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fact-item div {
    display: flex;
    flex-direction: column;
}
.fact-item div strong {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.fact-item div span {
    font-size: 12px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}
@media (max-width: 576px) {
    .journal-facts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Journal Profile Grid */
.journal-profile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin: 20px 0 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 20px !important;
    border-radius: 12px !important;
}
.profile-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.profile-label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    font-weight: 700 !important;
}
.profile-value {
    font-size: 13.5px !important;
    color: #1e293b !important;
    font-weight: 500 !important;
}
.profile-item.full-width {
    grid-column: span 2 !important;
}
@media (max-width: 768px) {
    .journal-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 15px !important;
    }
    .profile-item.full-width {
        grid-column: span 1 !important;
    }
}

/* Scope tags */
.scopes-heading {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-top: 25px !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 6px !important;
}

.scopes-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 5px !important;
}

.scope-badge {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}
.scope-badge::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #0b4c68;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.scope-badge:hover {
    background: #f0f7fa !important;
    color: #07374b !important;
    border-color: #008080 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px rgba(11, 76, 104, 0.05) !important;
}
.scope-badge:hover::before {
    background: #0b4c68;
}

/* Cards */
.mission-aim-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mission-aim-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(11, 76, 104, 0.06);
    border-color: #cbd5e1;
}

.mission-aim-card .card-icon {
    font-size: 1.4rem;
    color: #0b4c68;
    background: rgba(11, 76, 104, 0.08);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.mission-aim-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.mission-aim-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Partner Grid styling */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.partner-card:hover {
    border-color: #008080;
    box-shadow: 0 4px 12px rgba(11, 76, 104, 0.08);
    transform: translateY(-2px);
}

.partner-card img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* Call for Papers Table */
.callforpaper-table-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.callforpaper-header {
    background: linear-gradient(135deg, #243245 0%, #192432 100%);
    color: #ffffff;
    padding: 18px 24px;
}

.callforpaper-header h4 {
    margin: 0;
    color: #ffe3a8;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callforpaper-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.callforpaper-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.callforpaper-table tr:last-child {
    border-bottom: 0;
}

.callforpaper-table th, 
.callforpaper-table td {
    border: 0;
    padding: 14px 24px;
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}

.callforpaper-table th {
    font-weight: 700;
    color: #475569;
    width: 35%;
    background: #f8fafc;
}

.callforpaper-table td {
    color: #0f172a;
    font-weight: 600;
}

.callforpaper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #008080 0%, #0b4c68 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(11, 76, 104, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
}

.callforpaper-btn:hover {
    background: linear-gradient(135deg, #0b4c68 0%, #07374b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(11, 76, 104, 0.3);
}

/* Conference Callout Card */
.conference-callout {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 24px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.conference-callout h4 {
    margin: 0;
    color: #0b4c68;
    font-size: 18px;
    font-weight: 800;
    text-transform: none;
}

.conference-callout p {
    margin: 0;
    color: #496785;
    font-size: 14px;
    line-height: 1.6;
}

/* Custom Submit Paper Banner */
.submit-banner {
    position: relative;
    background: linear-gradient(135deg, #0b4c68 0%, #008080 50%, #e7832f 100%);
    border-radius: 12px;
    padding: 30px 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 76, 104, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px;
}
.submit-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.submit-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.submit-banner-icon-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    animation: pulse-slow 3s infinite ease-in-out;
}
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2); }
}
.submit-banner-content {
    flex-grow: 1;
    text-align: left;
}
.submit-banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #ffe3a8;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.submit-banner-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff !important;
    text-transform: none;
}
.submit-banner-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 680px;
}
.submit-banner-btn {
    background: #ffffff;
    color: #0b4c68 !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}
.submit-banner-btn:hover {
    background: #ffe3a8;
    color: #0f172a !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 227, 168, 0.25);
}
.submit-banner-btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}
.submit-banner-btn:hover i {
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .submit-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 25px;
        gap: 20px;
    }
    .submit-banner-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Arched Flow Chart styles */
.arched-flow-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 40px 0 20px;
}
.flow-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.arched-flow-steps {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.flow-step-col {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16.66%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.flow-step-col:nth-child(1) { left: 0%; }
.flow-step-col:nth-child(2) { left: 16.66%; }
.flow-step-col:nth-child(3) { left: 33.33%; }
.flow-step-col:nth-child(4) { left: 50%; }
.flow-step-col:nth-child(5) { left: 66.66%; }
.flow-step-col:nth-child(6) { left: 83.33%; }

.flow-icon-wrapper {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0b4c68;
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.15);
    z-index: 3;
    transition: all 0.3s ease;
}
.step-up .flow-icon-wrapper {
    top: 120px; /* Centered vertically in the UP arch */
}
.step-down .flow-icon-wrapper {
    top: 210px; /* Centered vertically in the DOWN arch */
}

.flow-step-col:hover .flow-icon-wrapper {
    transform: scale(1.08);
    border-color: #0b4c68;
    box-shadow: 0 12px 30px rgba(11, 76, 104, 0.25);
}

.flow-number {
    position: absolute;
    background: #e7832f;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(231, 131, 47, 0.3);
    border: 2px solid #ffffff;
    z-index: 4;
    transition: all 0.3s ease;
}
.flow-step-col:hover .flow-number {
    background: #e7832f;
    transform: translateX(-50%) scale(1.1);
}

.step-up .flow-number {
    top: -22px; /* Center at y=110px (peak of arch) */
    left: 50%;
    transform: translateX(-50%);
}
.step-down .flow-number {
    top: 68px; /* Center at y=290px (trough of arch) */
    left: 50%;
    transform: translateX(-50%);
}
.flow-step-col:hover .step-up .flow-number {
    transform: translateX(-50%) scale(1.1);
}
.flow-step-col:hover .step-down .flow-number {
    transform: translateX(-50%) scale(1.1);
}

.flow-text-wrapper {
    position: absolute;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: color 0.3s ease;
}
.step-up .flow-text-wrapper {
    top: 250px; /* Under the icon */
    height: 130px;
}
.step-down .flow-text-wrapper {
    top: 20px; /* Above the icon */
    height: 130px;
}

.flow-text-wrapper h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    text-transform: none;
    transition: color 0.3s ease;
}
.flow-step-col:hover .flow-text-wrapper h4 {
    color: #0b4c68;
}
.flow-text-wrapper p {
    font-size: 11.5px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* Mobile Responsive Timeline view */
@media (max-width: 991px) {
    .arched-flow-wrapper {
        height: auto !important;
        margin: 20px 0 !important;
    }
    .flow-line-svg {
        display: none !important;
    }
    .arched-flow-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding-left: 25px !important;
        border-left: 3px dashed #cbd5e1 !important;
        margin-left: 15px !important;
        height: auto !important;
        position: relative !important;
    }
    .flow-step-col {
        position: relative !important;
        width: 100% !important;
        left: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
        padding: 15px 20px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        height: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    .flow-step-col:nth-child(n) {
        left: 0 !important;
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
    }
    .flow-step-col:hover {
        background: #ffffff !important;
        border-color: #3a7bd5 !important;
        box-shadow: 0 4px 12px rgba(58, 123, 213, 0.08) !important;
    }
    
    .step-up .flow-icon-wrapper,
    .step-down .flow-icon-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 22px !important;
        border-width: 1px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 1 !important;
        margin: 0 !important;
        transform: none !important;
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
    }
    
    .step-up .flow-text-wrapper,
    .step-down .flow-text-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        display: block !important;
        order: 2 !important;
        flex-grow: 1 !important;
    }
    
    .step-up .flow-text-wrapper h4,
    .step-down .flow-text-wrapper h4 {
        font-size: 14px !important;
        margin: 0 0 4px 0 !important;
        text-align: left !important;
        color: #0f172a !important;
    }
    
    .step-up .flow-text-wrapper p,
    .step-down .flow-text-wrapper p {
        font-size: 11px !important;
        line-height: 1.4 !important;
        text-align: left !important;
        color: #64748b !important;
    }
    
    .step-up .flow-number,
    .step-down .flow-number {
        position: absolute !important;
        top: -6px !important;
        left: -6px !important;
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        transform: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #3a7bd5 !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        border: 2px solid #ffffff !important;
        z-index: 4 !important;
    }
    
    .flow-step-col:hover .step-up .flow-number,
    .flow-step-col:hover .step-down .flow-number,
    .flow-step-col:hover .flow-number {
        transform: none !important;
    }
}

/* FAQ Accordion Styling */
.faq-title-container {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.faq-title-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 8px !important;
}

.faq-title-divider::before,
.faq-title-divider::after {
    content: '' !important;
    height: 1px !important;
    width: 60px !important;
    background: #cbd5e1 !important;
}

.faq-title-divider span {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #3b82f6 !important;
    display: inline-block !important;
}

.faq-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

.faq-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.faq-header {
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.2s ease !important;
}

.faq-header:hover {
    background-color: #f8fafc !important;
}

.faq-question {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    transition: color 0.2s ease !important;
}

.faq-icon {
    font-size: 12px !important;
    color: #64748b !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
}

.faq-content-inner {
    padding: 0 20px 16px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

/* Active State */
.faq-item.active {
    border-color: #bae6fd !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.03) !important;
}

.faq-item.active .faq-header {
    background-color: #ffffff !important;
}

.faq-item.active .faq-question {
    color: #3b82f6 !important;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg) !important;
    color: #3b82f6 !important;
}

.faq-item.active .faq-content {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 12px !important;
}
