/* Page Specific Styles - Moodle Theme (Cyan) */
.moodle-hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.moodle-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.moodle-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ecfeff;
    /* Cyan 50 */
}

.moodle-text span.highlight {
    color: #22d3ee;
    /* Cyan 400 */
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #cffafe;
    /* Cyan 100 */
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.subtitle strong {
    color: #fff;
}

.moodle-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Abstract Learning Platform Interface */
.lms-platform {
    background: rgba(8, 51, 68, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    padding: 0;
    width: 500px;
    height: 350px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transform: rotateX(5deg) rotateY(-5deg);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.lms-platform:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
    border-color: rgba(34, 211, 238, 0.6);
}

.lms-header {
    height: 50px;
    background: rgba(34, 211, 238, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
}

.lms-body {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 20px;
}

.lms-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.lms-content-area {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 15px;
}

/* Floating elements */
.float-card {
    position: absolute;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 40px;
    right: -30px;
    width: 180px;
    border-left: 4px solid #06b6d4;
}

.float-2 {
    bottom: -20px;
    left: 20px;
    width: 200px;
    animation-delay: 2s;
    border-left: 4px solid #22d3ee;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Button Styling - Cyan Theme */
.btn-primary-neon {
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    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;
    padding: 1rem 2rem;
    /* Ensure padding is sufficient */
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(8, 145, 178, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-neon:hover {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    /* Brighter Cyan */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(34, 211, 238, 0.6);
    border-color: rgba(165, 243, 252, 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(34, 211, 238, 0.5);
    box-shadow: none;
}

.btn-secondary-neon:hover {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(34, 211, 238, 0.6);
}

/* Feature Cards - Cyan 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 #cffafe;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.15);
    border-color: #67e8f9;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #ecfeff;
    color: #0891b2;
    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: #0e7490;
}

.feature-desc {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Modules Dark Section (Cyan Variant) */
.modules-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #083344 0%, #155e75 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: #06b6d4;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #22d3ee;
    bottom: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

/* Timeline Styles - Professional & Dynamic */
.timeline-section {
    position: relative;
    background-color: #f0fdff;
    /* Light Cyan Background */
    margin-top: 0;
    width: 100%;
}

.timeline-header {
    text-align: center;
    margin-bottom: 5rem;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
    z-index: 2;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    background: transparent;
    /* Changed from opacity: 0 to ensure visibility */
    z-index: 5;
    float: left;
    clear: both;
}

.timeline-item:nth-child(even) {
    float: right;
    clear: both;
    margin-top: 50px;
    /* Offset for better flow */
}

.timeline-item:nth-child(odd) {
    float: left;
    margin-top: 50px;
}

.timeline-item:first-child {
    margin-top: 0;
}

/* Marker/Circle */
.timeline-marker {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: #fff;
    border: 4px solid #22d3ee;
    top: 20px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0891b2;
    font-size: 1.4rem;
    box-shadow: 0 0 0 4px #e0f2fe;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -25px;
    right: auto;
}

/* Content Box */
.timeline-content {
    padding: 2rem;
    background-color: white;
    position: relative;
    border-radius: 16px;
    border: 1px solid #cffafe;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(8, 145, 178, 0.1);
    border-color: #22d3ee;
}

.timeline-title {
    font-size: 1.25rem;
    color: #083344;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.timeline-desc {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Clearfix for wrapper */
.timeline-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        float: none;
    }

    .timeline-item:nth-child(even) {
        float: none;
        margin-top: 0;
    }

    .timeline-item:nth-child(odd) {
        margin-top: 0;
    }

    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0891b2;
    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 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;
    }

    /* Accreditation Responsive */
    .accreditation-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    /* Timeline Line Responsive */
    .timeline-line {
        left: 35px !important;
        margin-left: 0 !important;
    }

    /* Hero Platform Responsive */
    .lms-platform {
        width: 100% !important;
        height: auto !important;
        min-height: 300px;
    }

    .lms-body {
        grid-template-columns: 1fr;
    }

    .lms-sidebar {
        display: none;
    }

    .moodle-hero-content {
        flex-direction: column;
    }
}

/* Accreditation Grid Utils */
.accreditation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Timeline Line Utils */
.timeline-line {
    position: absolute;
    width: 4px;
    background: #a5f3fc;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}