/* Dropdown wrapper */
.nav-links .dropdown {
    position: relative;
}

/* Hidden dropdown menu */
.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* below the parent */
    left: 0;
    background: rgba(20, 20, 40, 0.95);
    padding: 0.8rem 1rem;
    list-style: none;
    border-radius: 6px;
    min-width: 180px;
    z-index: 1000;
    flex-direction: column;
    gap: 0.8rem;
    width: 250px;
}

/* Dropdown links */
.nav-links .dropdown-menu a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: none;
    text-shadow: none;
}

.nav-links .dropdown-menu a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 6px var(--primary-cyan);
}

/* Show on hover */
.nav-links .dropdown:hover .dropdown-menu {
    display: flex;
}


/* Hero Section */
.cyber-hero {
    position: relative;
    min-height: auto;
    /* remove fixed 120vh height */
    padding-bottom: 40px;
    /* control bottom spacing */
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
    margin-top: 0px;
}

.cyber-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 0, 20, 0.6);
    z-index: 1;
    height: auto;
}


.cyber-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 50px auto 40px auto;
    /* top 50px, bottom 40px */
    padding: 2rem;
}

.cyber-announcement {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 2rem;
}

.cyber-title {
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #0ff;
}

.cyber-subtitle {
    font-size: 1.6rem;
    color: #ff00ff;
    margin-bottom: 1rem;
}

.cyber-subtitle-lg {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cyber-venue {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cyber-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-cyber-primary,
.btn-cyber-secondary {
    padding: 1rem 2rem;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cyber-primary {
    background: linear-gradient(135deg, #00ffff, #8000ff);
    color: #111;
    border-radius: 6px;
}

.btn-cyber-primary:hover {
    box-shadow: 0 0 20px #00ffff;
}

.btn-cyber-secondary {
    background: transparent;
    color: #0ff;
    border: 2px solid #0ff;
    border-radius: 6px;
}

.btn-cyber-secondary:hover {
    background: #0ff;
    color: #111;
}

.countdown {
    display: flex;
    gap: 40px;
    text-align: center;
    justify-content: flex-end;
    /* 👈 Aligns to the right */
    align-items: center;
    color: #fff;
    width: 100%;
    /* take full width so it can move to the end */
    padding-right: 40px;
    /* optional: some spacing from the edge */
}

.countdown div {
    font-size: 2.5rem;
    font-weight: bold;
}

.countdown span {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    margin-top: 5px;
}

/* Gain the latest insights
 */

.cyber-stats-section {
    position: relative;
    padding: 80px 0;
    background: url('your-animated-bg.gif') no-repeat center center/cover;
    color: #fff;
}

.cyber-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 0, 30, 0.6);
    z-index: 1;
}

.cyber-stats-section .container {
    position: relative;
    z-index: 2;
}

.cyber-stats-box {
    background: linear-gradient(90deg, #001133, #00bfff);
    border-radius: 12px;
    padding: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.cyber-stats-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0 0;
    color: #fff;
}

.cyber-stats-box span {
    font-size: 1rem;
    color: #ddd;
    display: block;
    margin-top: 5px;
}

/* Sessions */

.about-accordion {
    margin: 20px auto;
    /* keeps it centered */
    padding: 0 20px;
    /* spacing on left & right */
    max-width: 800px;
    /* optional: controls max width */
}

.about-item {
    border: none;
    margin-bottom: 8px;
}

.about-button {
    background-color: #001f60;
    color: #fff;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.about-button:hover {
    background-color: #003080;
}

.about-content {
    display: none;
    padding: 15px;
    background: transparent;
    border-radius: 0 0 6px 6px;
    color: #333;
}

.about-item.active .about-content {
    display: block;
}

.about-item.active .arrow {
    transform: rotate(180deg);
}

.arrow {
    float: right;
    transition: transform 0.3s;
}

/* Chair person */

.conference-chair {
    padding: 80px 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Title */
.chair-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(-30px);
    animation: slideDownFade 1s ease forwards;
    color: #fff;
}

/* Layout */
.chair-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Image */
.chair-image img {
    width: 280px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    background: #fff;
    padding: 5px;
}

.animate-image {
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 1s ease forwards 0.5s;
}

/* Details */
.chair-details {
    max-width: 500px;
    text-align: left;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards 1s;
}

.chair-details h3 {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 400;
    color: #fff;
}

.chair-details .highlights {
    color: black;
    /* text color */
    font-weight: bold;

}

/* Button */
.btn-biography {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    border-radius: 30px;
    background: linear-gradient(90deg, #001133, #007bff);
    text-decoration: none;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards 1.5s;
}

.btn-biography:hover {
    background: linear-gradient(90deg, #007bff, #001133);
}

/* Animations */
@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plenary  */
.plenary-section {
    padding: 60px 20px;
    color: #fff;
}

.plenary-container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.plenary-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.plenary-card {
    flex: 1 1 250px;
    max-width: 260px;
    background: #001f60;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.plenary-card:hover {
    transform: translateY(-5px);
}

/* 🔹 Force all images same size */
.plenary-img {
    width: 220px;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    /* keeps proportions but crops evenly */
    margin-bottom: 12px;
}

/* 🔹 Align names & affiliations across all cards */
.plenary-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: auto;
    /* pushes text consistently */
    margin-bottom: 5px;
    color: #fff;
    min-height: 28px;
    /* ensures equal height row for names */
}

.plenary-affiliation {
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
    min-height: 40px;
    /* ensures all text lines align */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Speakers */

/* Grid */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    /* reduced gap between cards */
    justify-content: center;
    /* center the grid */
    padding: 0 40px;
    /* left & right spacing */
    max-width: 1200px;
    /* keeps content centered */
    margin: 0 auto;
    /* centers the whole grid */
}


.speaker-card {
    background: #001f60;
    border-radius: 15px;
    padding: 20px;
    width: 260px;
    /* fixed card width */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-8px);
}

/* Image */
.speaker-img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Name */
.speaker-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

/* Affiliation */
.speaker-affiliation {
    font-size: 0.95rem;
    color: #e0e0e0;
    text-align: center;
}

/* Abstract Guidelines */

.tabs {
    display: flex;
    flex-wrap: wrap;
    /* allow wrapping */
    gap: 10px;
    /* spacing between buttons */
    justify-content: center;
}

.tab-button {
    padding: 10px 16px;
    border: none;
    background: #001f60;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s;
}

.tab-button:hover {
    background: #0040a0;
}

.tab-button.active {
    background: #007bff;
}

/* 🔹 On mobile-L and smaller: stack vertically */
@media (max-width: 426px) {
    .tabs {
        flex-direction: column;
        /* stack buttons */
        align-items: stretch;
        padding: 0 10px;
        /* full width */
    }

    .tab-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tab-button {
        width: 100%;
        /* take full row */
        text-align: center;
        /* center text */
    }
}


.tab-button.active {
    background: #052c65;
}

.tab-content {
    max-width: 1100px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-box {
    background-color: #4a90e2;
    /* blue background */
    color: white;
    /* white text */
    padding: 10px 15px;
    border-radius: 5px;
    /* rounded corners */
    margin-bottom: 10px;
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #0d1b2a, #000814);

}

.site-footer .navbar-brand {
    color: var(--primary-color);
}

.site-footer .social-icon-link {
    font-size: var(--h6-font-size);
    width: 50px;
    height: 50px;
    line-height: 50px;
}

.site-footer .copyright-text {
    font-size: var(--copyright-text-font-size);
}

.footer-menu {
    margin: 0;
    padding: 0;
}

.footer-menu-item {
    list-style: none;
}

.footer-menu-link {
    font-size: var(--copyright-text-font-size);
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon li {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--white-color);
    border-radius: 100px;
    font-size: var(--p-font-size);
    color: var(--dark-color);
    display: inline-block;
    vertical-align: top;
    margin: 2px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.social-icon-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Footer */
.custom-footer {
    background-color: #0e1736;
    /* dark blue */
}

.custom-footer .footer-about,
.custom-footer .footer-contact,
.custom-footer .footer-subscribe {
    font-size: 14px;
    line-height: 1.6;
}

.custom-footer h5,
.custom-footer h6 {
    color: #fff;
    margin-bottom: 15px;
}

.custom-footer a {
    color: #ccc;
    text-decoration: none;
}

.custom-footer a:hover {
    color: #fff;
}

/* Early bird Registration */

/* Animated Gradient Background */
.pricing-section {
    background: linear-gradient(-45deg, #0f3443, #34e89e, #0f2027, #2c5364);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    color: #000;
    padding: 60px 20px;
}

/* @keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
} */

/* Title and deadline */
.pricing-section h2 {
    color: #fff;
    font-weight: 700;
}

.deadline {
    background: #0b0436;
    color: #fff;
    display: inline-block;
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: 600;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card .price {
    font-size: 28px;
    font-weight: bold;
    color: #00c0ff;
}

.pricing-card ul {
    text-align: left;
    margin: 20px 0;
    padding: 0;
}

.pricing-card ul li {
    margin-bottom: 8px;
    color: #444;
}

/* Highlighted (Industry) */
.pricing-card.featured {
    border: 2px solid #00c0ff;
    transform: scale(1.05);
}

/* Default style */
.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Hide dropdown icon on mobile */
@media (max-width: 768px) {
    .dropdown-icon {
        display: none;
    }
}

/* Prevent background scroll when popup is open */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Popup container (overlay) */
/* Navbar (lower priority) */
nav {
    position: relative;
    /* or fixed if you want it sticky */
    z-index: 1000;
    /* keep navbar on top of normal content */
}

/* Popup (always above everything) */
#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* ✅ way above navbar */
}


/* Popup content scrollable */
#popupContent {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    /* Prevent exceeding viewport */
    overflow-y: auto;
    /* Enable internal scrolling */
    width: 90%;
    max-width: 650px;
}

.spinner {
    margin: 10px auto;
    width: 40px;
    height: 40px;
    border: 5px solid #cce5ff;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.Matsue {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Wrapper for hover effect */
.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Overlay */
.img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #061f00;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px;
}

.img-wrapper:hover::after {

    background: #001f60;


}