/* Custom CSS for XR Salento 2025 Landing Page */

:root {
    --primary-color: #0066cc;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0066cc, #004499);
    --gradient-secondary: linear-gradient(135deg, #28a745, #1e7e34);
    --gradient-hero: linear-gradient(135deg, #0066cc, #28a745, #ffc107);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin-top: 80px; /* Отступ для фиксированного navbar */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(0, 102, 204, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(0, 102, 204, 1) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hero Graphic */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-headset-icon {
    animation: float 3s ease-in-out infinite;
    position: relative;
}

/* SVG VR Headset Icon */
.vr-headset-svg {
    width: 120px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 102, 204, 0.3));
    transition: transform 0.3s ease;
}

.vr-headset-svg:hover {
    transform: scale(1.1);
}

/* Hide emoji fallback */
.vr-headset-icon::before {
    display: none;
}

.vr-headset-icon i {
    display: none;
}

/* Alternative VR Headset with CSS */
.vr-headset-custom {
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #004499);
    border-radius: 30px;
    position: relative;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.vr-headset-custom::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    opacity: 0.8;
}

.vr-headset-custom::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: orbit 8s linear infinite;
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-duration: 6s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-duration: 8s;
    animation-direction: reverse;
}

.element-3 {
    bottom: 20%;
    left: 50%;
    animation-duration: 10s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Section Styles */
section {
    padding-top: 100px; /* Отступ для фиксированного navbar */
}

section.hero-section {
    padding-top: 0; /* Hero секция на весь экран */
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Title styles for dark backgrounds */
.bg-primary .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cycle Triangle Container */
.cycle-triangle-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 4rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cycle-step {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cycle-step:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    /* Убираем transform: scale(1.1) чтобы не конфликтовать с позиционированием */
}

.step-content {
    text-align: center;
    padding: 1rem;
}

.step-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #333;
}

.step-content p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
    margin: 0;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.3rem;
    color: white;
    transition: transform 0.3s ease;
}

.step-icon:hover {
    /* Убираем transform: scale(1.1) чтобы не конфликтовать с позиционированием кружков */
}

/* Плавное движение кружков по треугольнику */
.cycle-step-1 {
    /* Начальная позиция: верх */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-step-2 {
    /* Начальная позиция: низ-лево */
    bottom: 0;
    left: 0;
}

.cycle-step-3 {
    /* Начальная позиция: низ-право */
    bottom: 0;
    right: 0;
}

.pathway-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 1rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pathway-card:hover {
    transform: translateY(-5px);
}

/* На PC браузерах - одинаковая высота для pathway-card */
@media (min-width: 768px) {
    .pathway-card {
        min-height: 140px;
    }
}

/* На мобильных - адаптивная высота для pathway-card */
@media (max-width: 767px) {
    .pathway-card {
        height: auto;
        min-height: auto;
    }
}

/* Cycle Explanation */
.cycle-explanation {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 68, 153, 0.05));
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.cycle-detail {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cycle-detail:hover {
    transform: translateY(-3px);
}

.cycle-detail h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cycle-detail p {
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
    flex: 1;
}

/* На PC браузерах - одинаковая высота */
@media (min-width: 768px) {
    .cycle-detail {
        min-height: 160px;
    }
}

/* На мобильных - адаптивная высота */
@media (max-width: 767px) {
    .cycle-detail {
        height: auto;
        min-height: auto;
    }
}

/* Evolution Cards */
.evolution-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.evolution-card:hover {
    transform: translateY(-10px);
}

.evolution-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.evolution-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Theory Progression */
.theory-progression {
    margin: 2rem 0;
}

.theory-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.foundation-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theory-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    animation: pulse 3s ease-in-out infinite;
}

.theory-circle.primary {
    background: var(--gradient-primary);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.theory-circle.success {
    background: var(--gradient-secondary);
    bottom: 0;
    left: 20%;
}

.theory-circle.warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    bottom: 0;
    right: 20%;
}

/* Implementation */
.implementation-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.implementation-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Video Comparison Cards */
.video-comparison-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.video-comparison-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.implementation-features {
    list-style: none;
    padding: 0;
}

.implementation-features li {
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-steps {
    background: rgba(0, 102, 204, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.implementation-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Demo Section */
.demo-video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    background: var(--gradient-primary);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.gallery-item {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-placeholder {
    background: var(--light-color);
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.gallery-placeholder:hover {
    background: rgba(0, 102, 204, 0.1);
}

/* Impact Cards */
.impact-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

/* Section-specific subtitle styles */
.bg-primary .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Achievement Items */
.achievement-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.achievement-item:hover {
    transform: translateY(-3px);
}

.achievement-item i {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.achievement-item h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.achievement-item small {
    color: rgba(255, 255, 255, 0.8);
}

/* Partners */
.partner-logo {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0, 102, 204, 0.05);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Experience Section */
.experience-video-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-content {
    padding-left: 2rem;
}

.feature-item {
    margin-bottom: 1rem;
}

.feature-item h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    margin-bottom: 1rem;
}

.feature-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* Responsive for Experience Section */
@media (max-width: 768px) {
    .experience-content {
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .experience-video-container {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Медленное вращение иконки цикличности */
.bi-arrow-repeat {
    animation: rotate 4s linear infinite;
    display: inline-block;
}

/* Более специфичный селектор для иконки в заголовке */
h4 .bi-arrow-repeat {
    animation: rotate 4s linear infinite;
    display: inline-block;
}

/* Специальный класс для вращающейся иконки */
.rotating-icon {
    animation: rotate 4s linear infinite;
    display: inline-block;
    transform-origin: center;
}

/* Concept Video Cards */
.concept-video-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.concept-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.concept-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: white;
}

.concept-video-card h6 {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Video Thumbnail Overlay System */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail-overlay:hover {
    transform: scale(1.02);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.play-button {
    position: absolute;
    z-index: 2;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.video-thumbnail-overlay:hover .play-button {
    transform: scale(1.1);
    color: #ff6b35;
}

.video-info {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail-overlay:hover .video-info {
    opacity: 1;
}

/* Video thumbnail overlay only appears when custom thumbnail exists */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cycle-triangle-container {
        height: auto;
        padding: 2rem 0;
        position: relative;
        flex-direction: column;
    }
    
    .cycle-step {
        position: relative;
        margin: 2rem auto;
        width: 250px;
        height: 250px;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .cycle-step-1,
    .cycle-step-2,
    .cycle-step-3 {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    .step-content h5 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .foundation-visual {
        flex-direction: column;
        height: auto;
        padding: 2rem 0;
    }
    
    .theory-circle {
        position: relative;
        margin: 1rem;
    }
    
    .implementation-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .video-comparison-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .evolution-card,
    .pathway-card,
    .implementation-card {
        margin-bottom: 2rem;
    }
}

/* Project Representation Section */
.titan-logo {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 2px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.titan-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.titan-logo h2 {
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

/* TITAN Logo Styles */
.titan-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 164px;
}

.titan-logo-img {
    max-height: 164px;
    max-width: 600px;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.titan-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.titan-logo-fallback {
    position: relative;
    z-index: 2;
}

.titan-logo-fallback h2 {
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Responsive TITAN Logo */
@media (max-width: 768px) {
    .titan-logo-container {
        min-height: 120px;
    }
    
    .titan-logo-img {
        max-height: 120px;
        max-width: 450px;
    }
    
    /* Mobile presentation layout adjustments */
    #presentation .row.align-items-center {
        flex-direction: column;
    }
    
    #presentation .col-lg-4 {
        margin-bottom: 2rem;
        order: 2;
    }
    
    #presentation .col-lg-8 {
        order: 1;
    }
}

@media (max-width: 576px) {
    .titan-logo-container {
        min-height: 80px;
    }
    
    .titan-logo-img {
        max-height: 80px;
        max-width: 300px;
    }
    
    /* Ensure TITAN section is visible on mobile */
    #presentation {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .titan-logo {
        display: block !important;
        margin: 1rem 0 !important;
        padding: 1rem !important;
    }
    
    .stat-item {
        min-height: 90px;
        padding: 0.8rem 0.3rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
        min-height: 45px;
    }
    
    .stat-item:nth-child(2) h3 {
        font-size: 2.2rem !important;
    }
    
    .stat-item small {
        font-size: 0.8rem;
    }
}

.presenter-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.presenter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #17a2b8);
}

.presenter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.presenter-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.presenter-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
}

.presenter-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #007bff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.presenter-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.2rem;
}

.presentation-content {
    padding: 2rem;
}

.presentation-highlights .highlight-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.presentation-highlights .highlight-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.presentation-highlights .highlight-item:nth-child(1) { border-left-color: #ffc107; }
.presentation-highlights .highlight-item:nth-child(2) { border-left-color: #17a2b8; }
.presentation-highlights .highlight-item:nth-child(3) { border-left-color: #28a745; }
.presentation-highlights .highlight-item:nth-child(4) { border-left-color: #007bff; }

.blockquote {
    position: relative;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #007bff;
}

.blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #007bff;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

/* Team Section */
.team-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #17a2b8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-avatar i {
    font-size: 4rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar i {
    transform: scale(1.1);
}

.team-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #dee2e6;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.team-card:hover .team-photo {
    transform: scale(1.1);
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.team-name {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-role {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-skills {
    margin-top: 1rem;
}

.skill-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.team-card:hover .skill-tag {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.team-collaboration {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.team-collaboration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(40, 167, 69, 0.05), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

.collaboration-stats {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #007bff, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special styling for infinity symbol */
.stat-item h3:contains("∞"),
.text-success:contains("∞") {
    font-size: 3rem;
    line-height: 0.8;
}

/* Target infinity symbol directly */
.stat-item:nth-child(2) h3 {
    font-size: 3rem !important;
    line-height: 0.8 !important;
    transform: translateY(-2px);
}

.stat-item small {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .presenter-card {
        margin-bottom: 2rem;
    }
    
    .presentation-content {
        padding: 1rem;
    }
    
    .presentation-highlights .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
    
    .collaboration-stats .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .stat-item {
        min-height: 100px;
        padding: 1rem 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
        min-height: 50px;
    }
    
    .stat-item:nth-child(2) h3 {
        font-size: 2.5rem !important;
    }
    
    .titan-logo {
        padding: 1.5rem;
        display: block !important;
        visibility: visible !important;
    }
    
    #presentation {
        display: block !important;
        padding: 2rem 0 !important;
    }
    
    .team-collaboration {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .presenter-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .presenter-card {
        padding: 1.5rem;
    }
    
    .blockquote {
        padding: 1.5rem;
    }
    
    .blockquote::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
}

/* Footer Social Links */
footer a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.25rem;
    border-radius: 50%;
}

footer a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

footer a[href*="linkedin"]:hover {
    color: #0077b5 !important;
    background-color: rgba(0, 119, 181, 0.1);
}

footer a[href*="youtube"]:hover {
    color: #ff0000 !important;
    background-color: rgba(255, 0, 0, 0.1);
}

footer a[href*="mailto"]:hover {
    color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1);
}

/* QR Code & Back to Top Section */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

#qr-section {
    border-top: 1px solid #dee2e6;
    position: relative;
}

.qr-container {
    position: relative;
    display: inline-block;
}

.qr-code-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-code-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.qr-code-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 15px;
}

.qr-code-placeholder {
    text-align: center;
    padding: 20px;
}

.qr-code-placeholder i {
    opacity: 0.6;
    margin-bottom: 10px;
}

.qr-code-placeholder p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.back-to-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-to-top-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.3);
    background: var(--gradient-primary);
}

.back-to-top-btn i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

.back-to-top-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.back-to-top-btn:hover::before {
    left: 100%;
}

/* Responsive adjustments for QR section */
@media (max-width: 768px) {
    #qr-section .row {
        text-align: center;
    }
    
    #qr-section .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    .qr-code-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .qr-code-image {
        width: 130px;
        height: 130px;
    }
    
    .back-to-top-btn {
        width: 60px;
        height: 60px;
    }
    
    .back-to-top-btn i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .qr-code-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .qr-code-image {
        width: 100px;
        height: 100px;
    }
    
    .qr-code-placeholder i {
        font-size: 3rem;
    }
    
    .back-to-top-btn {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top-btn i {
        font-size: 1.2rem;
    }
} 