/* ================================================
   IDSPS 2026 — Custom Styles
   Loaded AFTER Bootstrap 5, so all rules here take priority.
   Bootstrap utility classes remain available for use.
   ================================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Semiconductor Theme */
    --primary-color: #00d4ff;
    --secondary-color: #6366f1;
    --accent-color: #f59e0b;
    --bg-dark: #0a0e27;
    --bg-darker: #050816;
    --bg-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tech: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #9333ea 100%);
    
    /* Typography */
    --font-primary: 'Exo 2', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    cursor: pointer;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6)); }
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-year {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-tech);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.register-btn {
    padding: 10px 25px;
    background: var(--gradient-tech);
    border-radius: 25px;
    color: var(--text-primary) !important;
    font-weight: 600;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.register-btn::after {
    display: none;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.vizag-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    animation: bgZoom 20s ease-in-out infinite alternate;
}

@keyframes bgZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0, 212, 255, 0.03) 50px, rgba(0, 212, 255, 0.03) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(0, 212, 255, 0.03) 50px, rgba(0, 212, 255, 0.03) 51px);
    opacity: 0.5;
    animation: patternMove 10s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(102, 126, 234, 0.15), transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(147, 51, 234, 0.15), transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translate(100vw, -100vh) rotate(360deg); opacity: 0; }
}

.floating-chips {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-chip {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    animation: chipFloat 15s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.floating-chip:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-chip:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-chip:nth-child(3) {
    bottom: 30%;
    left: 70%;
    animation-delay: 10s;
}

@keyframes chipFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(30px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease, labelGlow 2s ease-in-out infinite;
}

@keyframes labelGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    50% { 
        transform: scale(1.3); 
        opacity: 0.7;
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.highlight {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease backwards, textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6)); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-details {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.detail-item i {
    font-size: 24px;
    color: var(--primary-color);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.detail-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    /* margin-bottom: 60px; */
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    color: white;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-tech);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.hero-stats {
    display: flex;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
    animation: bounceIn 1s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6)); }
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    box-shadow: 0 0 5px var(--primary-color);
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Tech Scroller */
.tech-scroller {
    background: var(--bg-card);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.tech-scroller::before,
.tech-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.tech-scroller::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-card), transparent);
}

.tech-scroller::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-card), transparent);
}

.scroller-track {
    display: flex;
}

.scroller-content {
    display: flex;
    gap: 60px;
    animation: scroll-horizontal 30s linear infinite;
    white-space: nowrap;
}

.scroller-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.scroller-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

.scroller-item:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.scroller-item:hover .scroller-icon {
    opacity: 1;
    filter: brightness(1) invert(0);
    animation: iconSpin 1s ease;
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll-horizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    /* margin-bottom: 60px; */
    animation: fadeInUp 0.8s ease;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: labelFloat 3s ease-in-out infinite;
}

@keyframes labelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.section-title .highlight {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease backwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-tech);
    border-radius: 12px;
    flex-shrink: 0;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Chip Animation */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.chip-animation {
    position: relative;
    width: 400px;
    height: 400px;
}

.tech-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.15;
    animation: bgPulse 4s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.05); }
}

.chip-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    animation: chipPulse 3s ease-in-out infinite;
}

@keyframes chipPulse {
    0%, 100% { 
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
        border-color: var(--primary-color);
    }
    50% { 
        box-shadow: 0 0 80px rgba(0, 212, 255, 0.6), 0 0 100px rgba(147, 51, 234, 0.4);
        border-color: var(--secondary-color);
    }
}

.chip-core {
    width: 120px;
    height: 120px;
    background: var(--gradient-tech);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 10s linear infinite;
}

.chip-core img {
    width: 70px;
    height: 70px;
    filter: brightness(0) invert(1);
    animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chip-pins {
    position: absolute;
    display: flex;
    gap: 8px;
}

.chip-pins::before {
    content: '';
    width: 20px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pinPulse 1.5s ease-in-out infinite;
}

@keyframes pinPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chip-pins-top {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.chip-pins-right {
    right: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.chip-pins-bottom {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.chip-pins-left {
    left: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.chip-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(0, 212, 255, 0.1) 10px, rgba(0, 212, 255, 0.1) 11px),
        repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(0, 212, 255, 0.1) 10px, rgba(0, 212, 255, 0.1) 11px);
    animation: circuitFlow 2s linear infinite;
}

@keyframes circuitFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.data-flow {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
}

.data-flow-1 {
    top: 0;
    left: 50%;
    animation: flow-vertical 2s ease-in-out infinite;
}

.data-flow-2 {
    right: 0;
    top: 50%;
    animation: flow-horizontal 2s ease-in-out infinite 0.5s;
}

.data-flow-3 {
    bottom: 0;
    left: 50%;
    animation: flow-vertical 2s ease-in-out infinite 1s;
}

.data-flow-4 {
    left: 0;
    top: 50%;
    animation: flow-horizontal 2s ease-in-out infinite 1.5s;
}

@keyframes flow-vertical {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(400px); opacity: 0; }
}

@keyframes flow-horizontal {
    0%, 100% { transform: translateX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(400px); opacity: 0; }
}

/* Speakers Section */
.speakers-section {
    background: var(--bg-dark);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.speaker-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.6s ease backwards;
}

.speaker-card:nth-child(1) { animation-delay: 0.1s; }
.speaker-card:nth-child(2) { animation-delay: 0.2s; }
.speaker-card:nth-child(3) { animation-delay: 0.3s; }
.speaker-card:nth-child(4) { animation-delay: 0.4s; }

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.speaker-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.speaker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 212 255 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.linkedin-link {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0077b5;
    font-size: 30px;
    transition: var(--transition);
    animation: linkedinPulse 1.5s ease-in-out infinite;
}

@keyframes linkedinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.linkedin-link:hover {
    transform: scale(1.2) rotate(360deg);
}

.speaker-info {
    padding: 25px;
}

.speaker-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.speaker-title {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.speaker-company {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.speaker-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-tag {
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    font-size: 11px;
    color: var(--primary-color);
    transition: var(--transition);
}

.topic-tag:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.section-cta {
    text-align: center;
}

.btn-outline-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* Sponsors Section */
.sponsors-section {
    background: var(--bg-darker);
}

.sponsor-tier {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease backwards;
}

.sponsor-tier:nth-child(2) { animation-delay: 0.1s; }
.sponsor-tier:nth-child(3) { animation-delay: 0.2s; }
.sponsor-tier:nth-child(4) { animation-delay: 0.3s; }
.sponsor-tier:nth-child(5) { animation-delay: 0.4s; }
.sponsor-tier:nth-child(6) { animation-delay: 0.5s; }

.tier-title {
    font-family: var(--font-display);
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
    50% { text-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

.tier-title i {
    color: var(--accent-color);
    animation: iconRotate 4s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sponsors-grid {
    display: grid;
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.elite-grid {
    grid-template-columns: 1fr;
}

.platinum-grid {
    grid-template-columns: repeat(2, 1fr);
}

.diamond-grid {
    grid-template-columns: repeat(3, 1fr);
}

.gold-grid {
    grid-template-columns: repeat(4, 1fr);
}

.silver-grid {
    grid-template-columns: repeat(5, 1fr);
}

.sponsor-card {
    background: white;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: sponsorGlow 4s ease-in-out infinite;
    opacity: 0;
}

.sponsor-card:hover::before {
    opacity: 1;
}

@keyframes sponsorGlow {
    0%, 100% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sponsor-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.sponsor-card img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
    filter: brightness(1);
}

.sponsor-card:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.elite-sponsor {
    position: relative;
}

.sponsor-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(180deg); }
}

.elite-sponsor img {
    max-height: 120px;
}

.platinum-sponsor img {
    max-height: 90px;
}

.diamond-sponsor img {
    max-height: 70px;
}

.gold-sponsor img {
    max-height: 55px;
}

.silver-sponsor img {
    max-height: 45px;
}

/* Partners Section */
.partners-section {
    background: var(--bg-dark);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.partner-card {
    background: white;
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease backwards;
}

.partner-card:nth-child(1) { animation-delay: 0.1s; }
.partner-card:nth-child(2) { animation-delay: 0.2s; }
.partner-card:nth-child(3) { animation-delay: 0.3s; }
.partner-card:nth-child(4) { animation-delay: 0.4s; }
.partner-card:nth-child(5) { animation-delay: 0.5s; }
.partner-card:nth-child(6) { animation-delay: 0.6s; }

.partner-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05);
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    transition: var(--transition);
}

.partner-card:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

/* Contact Section */
.contact-section {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
    animation: fadeInLeft 0.6s ease backwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-tech);
    border-radius: 12px;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.info-icon i {
    font-size: 22px;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.info-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-tech);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom-content i {
    color: #e74c3c;
    margin: 0 5px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    margin: 5% auto;
    padding: 50px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 30px;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gold-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .silver-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        padding: 30px;
        gap: 20px;
        transition: var(--transition);
        border-top: 1px solid rgba(0, 212, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .event-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .platinum-grid,
    .diamond-grid,
    .gold-grid,
    .silver-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .chip-animation {
        width: 300px;
        height: 300px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 10% auto;
    }
    .navbar {
        position: absolute;
    }

    img.Main_logo {
    width: 50% !important;
}
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}



img.Main_logo {
    width: 20%;
        animation: fadeInUp 0.8s ease, labelGlow 2s ease-in-out infinite;
}

.Fotter_logo {

    width: 60%;
        animation: fadeInUp 0.8s ease, labelGlow 2s ease-in-out infinite;
}










/* Agenda Page */

.agenda-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: var(--bg-dark);
}

.agenda-hero h1 {
    font-family: var(--font-display);
    font-size: 48px;
}

.agenda-page {
    background: #002840 !important;
    /* padding: 80px 0; */
}

.agenda-filters {
    text-align: center;
    margin-bottom: 50px;
}

.agenda-filter {
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.agenda-filter.active,
.agenda-filter:hover {
    background: var(--gradient-tech);
    color: #fff;
}

.agenda-day { display: none; }
.agenda-day.active { display: block; }

.agenda-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,212,255,0.2);
    overflow: hidden;
    transition: var(--transition);
}

.agenda-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,212,255,0.3);
}

.agenda-time {
    min-width: 150px;
    background: var(--gradient-tech);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.agenda-content {
    padding: 5px;
    flex: 1;
}

.agenda-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.hall {
    font-size: 13px;
    color: var(--text-secondary);
}

.session-type {
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 20px;
    color: #fff;
}

.keynote { background: #6366f1; }
.panel { background: #9333ea; }
.fireside { background: #f59e0b; }
.awards { background: #10b981; }

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.speaker-box {
    display: flex;
    gap: 15px;
    align-items: center;
}

.speaker-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}


/* __________________ New ____________________ */

.multi-speakers {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.multi-speakers .speaker-box {
    width: 180px;
}

.break-card {
    background: linear-gradient(135deg, #111933, #1a1f3a);
    border: 1px dashed var(--primary-color);
}

.session-type.break {
    background: #f59e0b;
}

.session-type.workshop {
    background: #00d4ff;
}




/* ===== Back to Top Button ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #6366f1 60%, #9333ea 100%);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
    transform: translateY(-3px);
}

#backToTop:active {
    transform: scale(0.93);
}

/* Mobile adjustments for back-to-top */
@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

/* ===== Mobile scroll fix ===== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
}

/* Disable parallax on hero for mobile to prevent scroll conflicts */
@media (max-width: 768px) {
    .hero-content,
    .hero-background {
        transform: none !important;
    }
}


/* ============================================================
   BACK TO TOP BUTTON
   Uses only opacity/visibility — NO transform transitions.
   Transform on fixed elements causes repaint jank on mobile
   and is the root cause of the button appearing/disappearing.
   ============================================================ */
#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #6366f1 55%, #9333ea 100%);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.45);
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    /* Transition ONLY opacity + visibility — avoids layout thrash on mobile */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* No transform here — transform transitions on fixed elements cause flicker */
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.65);
}

#backToTop:active {
    opacity: 0.8;
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 18px;
        right: 18px;
        width: 46px;
        height: 46px;
        font-size: 16px;
        /* Ensure it never overlaps nav or other fixed elements */
        z-index: 8999;
    }
}

/* ============================================================
   MOBILE SCROLL FIX
   The section entrance animation (translateY + opacity) was 
   causing mobile browsers to miscalculate page scroll height,
   making the page snap back upward. That code is now removed
   from JS. These CSS rules add a safety net.
   ============================================================ */
body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
}

/* Safety: ensure NO section has forced opacity:0 or transform applied at start — for HOME PAGE only */
body.home-page section {
    opacity: 1 !important;
    transform: none !important;
}

/* Keep only hero content parallax on desktop */
@media (max-width: 900px) {
    .hero-content,
    .hero-background {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Speaker page hidden filter class */
.speaker-card-full.hidden {
    display: none !important;
}

/* Notification toast */
.idsps-notification {
    position: fixed;
    bottom: 90px;
    right: 28px;
    background: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #9333ea 100%);
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,212,255,0.3);
    z-index: 10000;
    max-width: 300px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.idsps-notification.show {
    opacity: 1;
}

/* ============================================================
   FOOTER PAGE TEMPLATES — shared inner-page styles
   ============================================================ */
.inner-page-hero {
    background: linear-gradient(135deg, #050816 0%, #0a0e27 60%, #0d1340 100%);
    padding: 140px 0 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,212,255,0.15);
}
.inner-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(99,102,241,0.12) 0%, transparent 70%);
}
.inner-page-hero .container { position: relative; z-index: 1; }
.inner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(160,174,192,0.7);
    margin-bottom: 18px;
}
.inner-breadcrumb a { color: #00d4ff; text-decoration: none; }
.inner-breadcrumb i { font-size: 0.65rem; }
.inner-page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.inner-page-title .highlight {
    background: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.inner-page-subtitle {
    color: rgba(160,174,192,0.85);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
}
.inner-page-body {
    padding: 80px 0;
    background: #050816;
}
.inner-page-body .container { max-width: 1000px; }
.inner-card {
    background: #1a1f3a;
    border: 1px solid rgba(0,212,255,0.12);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 28px;
    transition: border-color 0.3s ease;
}
.inner-card:hover { border-color: rgba(0,212,255,0.3); }
.inner-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #00d4ff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.inner-card h3 i { font-size: 1rem; }
.inner-card p, .inner-card li {
    color: rgba(160,174,192,0.85);
    line-height: 1.8;
    font-size: 0.95rem;
}
.inner-card ul { padding-left: 20px; }
.inner-card ul li { margin-bottom: 8px; }
.inner-cta-bar {
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(99,102,241,0.12), rgba(147,51,234,0.08));
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 50px;
}
.inner-cta-bar h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
}
.inner-cta-bar p { color: rgba(160,174,192,0.85); margin-bottom: 24px; font-size: 0.95rem; }
.inner-cta-bar .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 768px) {
    .inner-page-body { padding: 50px 0; }
    .inner-card { padding: 24px; }
    .inner-cta-bar { padding: 36px 24px; }
}

/* ============================================================
   IDSPS 2026 — CUSTOM UPDATES (Feb 2026)
   1. Hide hero-stats, adjust hero height
   2. Sponsor floating button
   3. Mobile-first font/layout fixes
   ============================================================ */

/* ── 1. Hero Stats Visible + Hero Compact ── */
.hero-stats {
    display: flex !important;
    visibility: visible !important;
}
.hero {
    min-height: 75vh !important;
}
@media (max-width: 768px) {
    .hero {
        min-height: 60vh !important;
        padding-bottom: 2rem;
    }
    .hero-content {
        padding-top: 20px;
    }
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
    }
    .hero-label {
        font-size: 0.65rem !important;
    }
    .hero-buttons {
        flex-direction: row;
        gap: 0.6rem;
        align-items: center;
        flex-wrap: wrap;
    }
    .hero-buttons .btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
        gap: 6px;
    }
    .event-details {
        flex-direction: column;
        gap: 0.6rem;
    }
    .detail-value {
        font-size: 0.85rem !important;
    }
    .detail-label {
        font-size: 0.65rem !important;
    }
}

/* ── 2. Become a Sponsor Floating Button ── */
#sponsorFloatBtn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9998;
    background: linear-gradient(135deg, #fa9800 0%, #f97316 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0 18px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(249,115,22,0.5);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
#sponsorFloatBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#sponsorFloatBtn:hover {
    box-shadow: 0 10px 36px rgba(249,115,22,0.65);
    transform: translateY(-3px);
    color: #fff;
    text-decoration: none;
}
#sponsorFloatBtn i {
    font-size: 14px;
}
@media (max-width: 768px) {
    #sponsorFloatBtn {
        bottom: 75px;
        right: 20px;
        height: 44px;
        padding: 0 14px;
        font-size: 12px;
    }
    #sponsorFloatBtn i {
        font-size: 12px;
    }
}

/* ── 3. Global Mobile Font Reductions ── */
@media (max-width: 768px) {
    /* Section titles */
    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem) !important;
    }
    .section-label {
        font-size: 0.65rem !important;
    }

    /* About section */
    .about-intro {
        font-size: 0.88rem !important;
    }
    .feature-text h4 {
        font-size: 0.9rem !important;
    }
    .feature-text p {
        font-size: 0.78rem !important;
    }

    /* Speaker cards */
    .speaker-name {
        font-size: 0.95rem !important;
    }
    .speaker-title, .speaker-company {
        font-size: 0.78rem !important;
    }
    .speaker-card {
        padding: 12px !important;
    }
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Sponsor tiers */
    .tier-title {
        font-size: 0.9rem !important;
    }

    /* Contact */
    .info-text h4 {
        font-size: 0.9rem !important;
    }
    .info-text p {
        font-size: 0.8rem !important;
    }

    /* Footer */
    .footer-desc {
        font-size: 0.8rem !important;
    }
    .footer-links li a {
        font-size: 0.82rem !important;
    }
    footer h4 {
        font-size: 0.9rem !important;
    }

    /* General body text on mobile */
    body {
        font-size: 14px;
    }
    p {
        font-size: 0.88rem;
    }
    h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    h2 { font-size: clamp(1.3rem, 5vw, 1.9rem); }
    h3 { font-size: clamp(1.1rem, 4vw, 1.5rem); }
    h4 { font-size: clamp(0.95rem, 3vw, 1.2rem); }

    /* Inner pages */
    .inner-page-title {
        font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
    }
    .inner-page-subtitle {
        font-size: 0.85rem !important;
    }
    .inner-card h3 {
        font-size: 1rem !important;
    }
    .inner-card p, .inner-card li {
        font-size: 0.84rem !important;
    }

    /* Back to top stays above sponsor btn */
    #backToTop {
        bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.35rem, 7vw, 1.9rem) !important;
    }
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .about-features {
        grid-template-columns: 1fr !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── 4. Register page mobile fixes ── */
@media (max-width: 768px) {
    /* INR/USD converter widget */
    .inr-usd-widget {
        padding: 0.75rem 1rem !important;
        margin-top: 0.75rem;
    }
    .inr-usd-widget .iuw-title {
        font-size: 0.65rem !important;
    }
    .inr-usd-widget .iuw-rate {
        font-size: 0.82rem !important;
    }
    .inr-usd-widget input[type="number"] {
        font-size: 0.9rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    .iuw-result {
        font-size: 1rem !important;
    }

    /* Registration hero */
    .reg-hero {
        padding: 130px 1rem 24px !important;
    }
    .reg-hero h1 {
        font-size: 1.4rem !important;
    }
    .reg-hero p {
        font-size: 0.78rem !important;
    }
    .reg-hero-eyebrow {
        font-size: 0.62rem !important;
    }

    /* Tab nav mobile */
    .main-tab-nav-wrap {
        top: 5px !important;
    }
    .main-tab-btn {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.72rem !important;
    }

    /* Pricing cards - make smaller on mobile */
    .pip-price {
        font-size: 1.15rem !important;
    }
    .pip-cards-row {
        gap: 0.5rem !important;
    }
    .pip-card {
        padding: 0.75rem 0.9rem !important;
    }
    .pip-period {
        font-size: 0.6rem !important;
    }
    .pip-ieee {
        font-size: 0.68rem !important;
    }
    .pip-cta {
        font-size: 0.72rem !important;
    }

    /* Conference pass boxes */
    .cpb-title {
        font-size: 1rem !important;
    }
    .cpb-price-cell .cpc-amount {
        font-size: 1.1rem !important;
    }
    .conf-cat-card .ccc-label {
        font-size: 0.85rem !important;
    }
    .conf-cat-card .ccc-desc {
        font-size: 0.72rem !important;
    }
    .conf-cat-cards {
        gap: 0.5rem !important;
    }

    /* Entitlements */
    .entitlement-item .ent-text {
        font-size: 0.78rem !important;
    }

    /* Form */
    .submit-btn-w {
        font-size: 0.9rem !important;
        padding: 0.9rem !important;
    }

    /* Price summary */
    .psw-total {
        font-size: 1.1rem !important;
    }
}

/* ── 5. Session Schedule mobile – 6th December 2026 ── */
@media (max-width: 768px) {
    /* Transform table into card stack on mobile */
    .hall-schedule-wrap {
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .hall-schedule-table {
        display: block !important;
        min-width: unset !important;
        width: 100% !important;
    }
    .hall-schedule-table thead {
        display: none !important; /* hide table header */
    }
    .hall-schedule-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .hall-schedule-table tbody tr {
        display: block !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .hall-schedule-table tbody tr.break-row {
        background: #fef9ee !important;
        border-color: #fde68a !important;
    }
    .hall-schedule-table tbody tr.break-row td {
        display: block !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        padding: 0.75rem 1rem !important;
    }
    .hall-schedule-table td {
        display: block !important;
        width: 100% !important;
        padding: 0.6rem 1rem !important;
        border-right: none !important;
    }
    .hall-schedule-table td.time-col {
        background: linear-gradient(135deg, #0a1628, #1e3a5f) !important;
        color: #00d4ff !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        border-radius: 0 !important;
        /* display: flex !important; */
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.7rem 1rem !important;
    }
    .hall-schedule-table td.time-col::before {
        content: "🕐";
        font-size: 0.85rem;
    }
    .hall-schedule-table td.time-col .time-range {
        color: rgba(255,255,255,0.7) !important;
        font-size: 0.72rem !important;
        display: inline !important;
        margin-top: 0 !important;
        margin-left: 4px;
    }
    .session-cell {
        margin-bottom: 0 !important;
        border-radius: 0 !important;
        border-left: 3px solid;
        border-top: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }
    .session-cell.hall-a {
        border-left-color: #1d4ed8 !important;
        background: #eff6ff !important;
    }
    .session-cell.hall-b {
        border-left-color: #15803d !important;
        background: #f0fdf4 !important;
    }
    .session-cell.hall-c {
        border-left-color: #7c3aed !important;
        background: #faf5ff !important;
    }
    .session-cell .session-name {
        font-size: 0.8rem !important;
    }
    .session-cell .session-id {
        font-size: 0.62rem !important;
    }
    .hall-schedule-table td:not(.time-col) {
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .hall-schedule-table td:last-child {
        border-bottom: none !important;
    }
}

/* ── 6. Combined PDC + Conference option mobile ── */
@media (max-width: 480px) {
    .combo-option-card {
        padding: 1rem !important;
    }
    .combo-option-card .combo-price {
        font-size: 1.2rem !important;
    }
}

/* ============================================================
   IDSPS 2026 — CUSTOM UPDATES v2
   1. Hero stats – compact inline display
   2. Speaker carousel – mobile only
   ============================================================ */

/* ── Hero Stats: always in a row, compact on mobile ── */
.hero-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px;
    align-items: center;
    margin-top: 10px;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,212,255,0.3);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 0 !important;
        justify-content: flex-start;
        margin-top: 12px;
        padding: 10px 14px;
        background: rgba(0,212,255,0.05);
        border: 1px solid rgba(0,212,255,0.15);
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    .stat-item {
        flex: 1;
        text-align: center;
    }
    .stat-divider {
        height: 30px;
    }
    .stat-number {
        font-size: 20px !important;
    }
    .stat-label {
        font-size: 11px !important;
        margin-top: 2px;
    }
}

/* ── Speaker Carousel: mobile only ── */

/* Desktop: carousel invisible, normal grid */
.speakers-carousel-mobile {
    display: none;
}

/* On desktop all cards show in the grid normally */
.speaker-featured-mobile {
    /* no special styles on desktop */
}

@media (max-width: 768px) {
    /* Hide the normal grid layout, use flex column */
    .speakers-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* First speaker – full width, always visible */
    .speaker-featured-mobile {
        width: 100%;
        margin-bottom: 16px;
    }

    /* Show the carousel container */
    .speakers-carousel-mobile {
        display: block;
        position: relative;
        width: 100%;
    }

    /* Track clips overflow */
    .carousel-track {
        overflow: hidden;
        border-radius: 16px;
    }

    /* Each slide hidden by default; active shown */
    .carousel-slide {
        display: none;
        width: 100%;
        animation: carouselFadeIn 0.4s ease;
    }
    .carousel-slide.active {
        display: block;
    }

    @keyframes carouselFadeIn {
        from { opacity: 0; transform: translateX(20px); }
        to   { opacity: 1; transform: translateX(0); }
    }

    /* Arrows */
    .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,212,255,0.15);
        border: 1px solid rgba(0,212,255,0.4);
        color: var(--primary-color, #00d4ff);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 22px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: background 0.2s, transform 0.2s;
        backdrop-filter: blur(4px);
    }
    .carousel-arrow:hover {
        background: rgba(0,212,255,0.3);
    }
    .carousel-prev {
        left: -16px;
    }
    .carousel-next {
        right: -16px;
    }

    /* Dots */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
    }
    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0,212,255,0.25);
        transition: background 0.3s, transform 0.3s;
        cursor: pointer;
    }
    .carousel-dot.active {
        background: var(--primary-color, #00d4ff);
        transform: scale(1.3);
    }
}
