/* Page Specific Styles - Classrooms Theme (Amber/Orange) */
.classrooms-hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.classrooms-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.classrooms-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #fffbeb;
    /* Amber 50 */
}

.classrooms-text span.highlight {
    color: #fbbf24;
    /* Amber 400 */
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #fef3c7;
    /* Amber 100 */
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.subtitle strong {
    color: #fff;
}

.classrooms-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Abstract Classrooms Interface */
.classrooms-interface {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    position: relative;
}

.classrooms-interface:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: rgba(251, 191, 36, 0.4);
}

/* Schedule Mockup */
.mock-schedule {
    display: grid;
    grid-template-columns: 50px repeat(4, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
}

.mock-time {
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    display: flex;
    align-items: center;
}

.mock-slot {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 4px;
    height: 80px;
    grid-row: span 2;
}

.mock-slot.occupied {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.5);
}

/* Button Styling - Amber Theme */
.btn-neon {
    background: linear-gradient(90deg, #d97706, #f59e0b);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* Standardized Shape */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-neon:hover {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    /* Brighter Amber */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.6);
    border-color: rgba(251, 191, 36, 0.5);
}

.btn-secondary-neon {
    background: transparent;
    color: white;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.5);
    box-shadow: none;
}

.btn-secondary-neon:hover {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.6);
}

/* Feature Cards - Amber Overlay */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #fffbeb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(217, 119, 6, 0.15);
    border-color: #fde68a;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #fffbeb;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #78350f;
}

.feature-desc {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modules Dark Section (Amber Variant) */
.modules-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #451a03 0%, #78350f 100%);
    position: relative;
    overflow: hidden;
}

.modules-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #f59e0b;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #fbbf24;
    bottom: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #d97706;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .classrooms-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .classrooms-text h1 {
        font-size: 3rem;
    }

    .subtitle {
        margin: 0 auto 2rem;
    }

    .classrooms-visual {
        width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .classrooms-hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .classrooms-text h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .modules-section {
        padding: 4rem 0;
    }
}

/* Responsive Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.comparison-card {
    padding: 3rem;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .comparison-card {
        padding: 2rem !important;
    }

    .comparison-card[style*="scale"] {
        transform: scale(1) !important;
        margin-top: 1.5rem;
    }

    /* Responsive Interface */
    .classrooms-interface {
        max-width: 100% !important;
        transform: none !important;
        width: 100% !important;
    }

    .classrooms-interface:hover {
        transform: none !important;
    }
}

/* New Responsive Classes replacing inline styles */
.float-card-conflict {
    position: absolute;
    bottom: -20px;
    right: -30px;
    background: #451a03;
    border: 1px solid #d97706;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: float 5s ease-in-out infinite;
    z-index: 10;
}

.classrooms-sync-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .classrooms-sync-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .float-card-conflict {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        animation: none;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .classrooms-sync-grid {
        gap: 2rem;
    }

    .mock-schedule {
        overflow-x: auto;
        padding-bottom: 5px;
        /* Scrollbar space */
    }
}