/* Core Styles (Reused from previous pages) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Academy Specific Styles */
.academy-section {
    padding: 120px 0;
    background: #f8fafc;
}

.academy-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

/* Parallax Hero */
.parallax-hero {
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.parallax-float {
    animation: parallaxFloat 5s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #22c55e; }
    to { text-shadow: 0 0 20px #22c55e; }
}

/* Timeline */
.timeline-section .timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 60px;
    text-align: left;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 40px;
    text-align: right;
}
.w60 {
    width: 60%;
}
.w85 {
    width: 85%;
}
.w95 {
    width: 95%;
}
.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.2);
}

.timeline-content {
    background: white;
    border-radius: 16px;
    padding: 20px;
    width: 45%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: #6b7280;
    font-size: 14px;
}

/* Accordion with Icons */
.accordion-section .accordion-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-header i {
    font-size: 24px;
}

.accordion-icon {
    margin-left: auto;
}

/* Tabs with Progress Bars */
.tabs-section .tab-content {
    text-align: center;
}

.progress-bar {
    background: #e5e7eb;
    border-radius: 50px;
    height: 20px;
    margin-top: 20px;
    position: relative;
}

.progress {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    height: 100%;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
}

/* Flip Cards */
.flip-card-section .flip-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 300px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flip-card-front {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.flip-card-front i {
    font-size: 48px;
    margin-bottom: 16px;
}

.flip-card-back {
    background: white;
    color: #333;
    transform: rotateY(180deg);
}

/* Carousel */
.carousel-section .carousel-item img {
    height: 550px;
}

.carousel-content {
    text-align: center;
    color: white;
}

/* Virtual Tour Modals */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.tour-card {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tour-card:hover {
    transform: scale(1.05);
}

.tour-card i {
    font-size: 48px;
    margin-bottom: 16px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 16px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

/* Interactive Gallery */
.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(5deg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Testimonial Slider */
.slider-section .testimonial-slider {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Wizard Steps */
.wizard-section .wizard {
    max-width: 800px;
    margin: 0 auto;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.wizard-step {
    background: #e5e7eb;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-step.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.wizard-content {
    display: none;
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wizard-content.active {
    display: block;
}

/* FAQ Search */
.faq-section .faq-search {
    display: block;
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
}

.faq-section .accordion-item.hidden {
    display: none;
}

/* Confetti CTA */
.cta-section .confetti-trigger {
    position: relative;
}

canvas.confetti {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .flip-card-grid, .tour-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 60px;
        text-align: left;
    }

    .wizard-steps {
        flex-direction: column;
        gap: 16px;
    }
     .timeline-icon {
        left: 7%;
    }
}