/* Visionary.css - Revolutionary Digital Experience Styles */

/* Core Philosophy Styles */
:root {
    --philosophy-primary: #003366;
    --philosophy-secondary: #E8B657;
    --philosophy-accent: #1a5ba5;
    --philosophy-light: #f0f4f8;
    --philosophy-dark: #001a33;
    --philosophy-success: #28a745;
    --philosophy-info: #17a2b8;
    --philosophy-warning: #ffc107;
    --philosophy-danger: #dc3545;
    
    /* Educational Philosophy Colors */
    --knowledge-color: #4a90e2;
    --wisdom-color: #9b59b6;
    --virtue-color: #3fa16a;
    --community-color: #e67e22;
    --innovation-color: #e74c3c;
}

/* Visionary Background Effects */
body {
    overflow-x: hidden;
}

/* Innovative Cursor */
.cursor-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.3);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-effect.active {
    width: 50px;
    height: 50px;
    background: rgba(232, 182, 87, 0.2);
}

/* Inspirational Quote Display */
.inspiration-container {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(232, 182, 87, 0.05) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 51, 102, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.inspiration-container::before {
    content: "\201C";
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 150px;
    color: rgba(0, 51, 102, 0.05);
    line-height: 1;
    font-family: serif;
}

.quote-text {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--philosophy-primary);
    transition: opacity 0.5s;
}

.quote-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--philosophy-accent);
    transition: opacity 0.5s;
}

/* Values Section */
.values {
    padding: 100px 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 51, 102, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.value-pillar {
    flex: 1 1 200px;
    max-width: 280px;
    min-width: 200px;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.value-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 60px;
    background: var(--philosophy-primary);
    border-radius: 0 0 10px 0;
}

.value-pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 30px;
    height: 2px;
    background: var(--philosophy-primary);
    transform: translateX(-50%);
}

.value-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--philosophy-primary);
}

.value-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interactive 3D Campus Explorer */
.campus-3d-container {
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background-color: #f0f4f8;
}

.explorer-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--philosophy-primary);
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    transition: opacity 0.5s, visibility 0.5s;
}

.three-canvas + .explorer-loading {
    opacity: 0;
    visibility: hidden;
}

.loading-icon {
    font-size: 2rem;
    animation: spin 2s infinite linear;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.explorer-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 10px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.control-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--philosophy-primary);
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 51, 102, 0.1);
}

.control-btn.active {
    background: var(--philosophy-primary);
    color: white;
}

/* Achievements Visualization */
.achievements-visualization {
    margin: 50px 0 20px;
}

.vis-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Immersive Journey Experience */
.immersive-journey {
    padding: 100px 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa);
}

.journey-container {
    margin-top: 50px;
}

.journey-time-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.journey-timeline {
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 700px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    position: relative;
    margin: 0 auto;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--philosophy-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-marker::before {
    content: attr(data-time);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--philosophy-primary);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.timeline-marker:hover, .timeline-marker.active {
    background: var(--philosophy-primary);
    transform: translateY(-50%) scale(1.2);
}

.timeline-marker:hover::after, .timeline-marker.active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.timeline-marker:nth-child(1) { left: 0%; }
.timeline-marker:nth-child(2) { left: 25%; }
.timeline-marker:nth-child(3) { left: 50%; }
.timeline-marker:nth-child(4) { left: 75%; }
.timeline-marker:nth-child(5) { left: 100%; }

.journey-content {
    position: relative;
    padding: 20px;
    min-height: 300px;
}

.journey-moment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
    transform: translateY(30px);
}

.journey-moment.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.moment-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.journey-moment h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--philosophy-primary);
}

.journey-moment p {
    max-width: 600px;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}

/* Enhanced Testimonial Cards */
.testimonial-card {
    transition: transform 0.5s, box-shadow 0.5s;
}

.testimonial-card.hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Ensure our styles work on mobile */
@media (max-width: 768px) {
    .values-container {
        flex-direction: column;
        align-items: center;
    }
    
    .value-pillar {
        max-width: 100%;
    }
    
    .journey-timeline {
        width: 95%;
    }
    
    .timeline-marker::before {
        display: none;
    }
    
    .timeline-marker.active::before {
        display: block;
    }
    
    .quote-text {
        font-size: 1.4rem;
    }
}
