/* academics.css - College Adventiste de Gitwe */

/* ===== ACADEMICS SPECIFIC STYLES ===== */
/* academics.css - College Adventiste de Gitwe */

/* ===== SIMPLE LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Dot loader only - no text */
.dot-loader {
    display: flex;
    gap: 12px;
    margin-bottom: 0; /* Remove margin since no text below */
}

.dot {
    width: 14px;
    height: 14px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes dotPulse {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Remove text classes */
.loading-text,
.loading-subtext {
    display: none !important;
}

/* Remove water drop animation */
.water-drop {
    display: none;
}

/* ===== REST OF ACADEMICS CSS STAYS THE SAME ===== */

/* Academic Swiper */
.swiper {
    width: 100%;
    height: 65vh;
    min-height: 400px;
    position: relative;
    margin-top: 70px;
}

/* ... rest of your academics.css code remains the same ... */
.ripple {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rippleEffect 1.5s infinite ease-in-out;
}

@keyframes dropFall {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 0) scale(0.8);
        opacity: 0.7;
    }
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

.slide-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: var(--pure-white);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 60%;
    animation: slideTextFade 0.8s ease;
}

@keyframes slideTextFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intellectual Hub Section */
.intellectual-hub {
    padding: 60px 5%;
    background: var(--off-white);
}

.hub-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-text h1 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.hub-text p {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.hub-side {
    background: var(--pure-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hub-side h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.hub-side h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
}

.hub-side p {
    color: var(--medium-gray);
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hub-side p:last-child {
    border-bottom: none;
}

.hub-side .dynamic-docs {
    margin-top: 15px;
}

.hub-side .dynamic-docs div {
    margin-bottom: 10px;
}

.hub-side .dynamic-docs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(25, 118, 210, 0.1);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.hub-side .dynamic-docs a:hover {
    background: var(--accent-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.hub-side .dynamic-docs a::before {
    content: '📥';
    font-size: 0.9rem;
}

/* Combinations Section */
section > h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin: 40px 0;
    font-weight: 800;
    position: relative;
}

section > h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.combinations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.combo-card {
    position: relative;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.combo-card:hover {
    transform: rotateY(180deg);
}

.combo-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.combo-front {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--pure-white);
}

.combo-front h2 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.combo-back {
    background-size: cover !important;
    background-position: center !important;
    transform: rotateY(180deg);
    position: relative;
    color: var(--pure-white);
}

.combo-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 21, 48, 0.8), rgba(26, 35, 126, 0.8));
    z-index: 1;
}

.combo-back h2,
.combo-back p {
    position: relative;
    z-index: 2;
    text-align: center;
}

.combo-back h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.combo-back p {
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Specific combo colors */
.combo-card.mce .combo-front { background: linear-gradient(135deg, #2196f3, #1976d2); }
.combo-card.mpc .combo-front { background: linear-gradient(135deg, #4caf50, #388e3c); }
.combo-card.pcb .combo-front { background: linear-gradient(135deg, #f44336, #d32f2f); }
.combo-card.mcb .combo-front { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.combo-card.hgl .combo-front { background: linear-gradient(135deg, #ff9800, #f57c00); }
.combo-card.meg .combo-front { background: linear-gradient(135deg, #00bcd4, #0097a7); }
.combo-card.anp .combo-front { background: linear-gradient(135deg, #795548, #5d4037); }
.combo-card.mpg .combo-front { background: linear-gradient(135deg, #607d8b, #455a64); }

/* Amenities Section */
.amenities-section {
    padding: 60px 5%;
    background: var(--off-white);
}

.amenities-content {
    max-width: 1200px;
    margin: 0 auto;
}

.amenities-content h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.amenities-content .description {
    text-align: center;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.card:hover::before {
    transform: scaleY(1);
}

.card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 992px) {
    .swiper {
        height: 55vh;
        min-height: 350px;
    }
    
    .slide-text {
        font-size: 1.8rem;
        bottom: 30px;
        left: 30px;
        max-width: 70%;
    }
    
    .hub-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hub-text h1 {
        font-size: 2rem;
    }
    
    .combinations {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .combo-card {
        height: 280px;
    }
    
    section > h1,
    .amenities-content h1 {
        font-size: 2rem;
    }
}

/* Small Tablets */
@media (max-width: 768px) {
    .swiper {
        height: 45vh;
        min-height: 300px;
    }
    
    .slide-text {
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
        max-width: 80%;
    }
    
    .hub-text h1 {
        font-size: 1.8rem;
    }
    
    .combinations {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
        padding: 0 4% 40px;
    }
    
    .combo-card {
        height: 250px;
    }
    
    .combo-front h2 {
        font-size: 2.5rem;
    }
    
    .combo-back h2 {
        font-size: 2rem;
    }
    
    .combo-back p {
        font-size: 1rem;
    }
    
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .swiper {
        height: 40vh;
        min-height: 250px;
    }
    
    .slide-text {
        font-size: 1.2rem;
        bottom: 15px;
        left: 15px;
        max-width: 85%;
    }
    
    .intellectual-hub {
        padding: 40px 4%;
    }
    
    .hub-text h1 {
        font-size: 1.6rem;
    }
    
    .hub-text p {
        font-size: 1rem;
    }
    
    .hub-side {
        padding: 20px;
    }
    
    .combinations {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .combo-card {
        height: 200px;
    }
    
    section > h1,
    .amenities-content h1 {
        font-size: 1.8rem;
        margin: 30px 0;
    }
    
    .amenities-content .description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        padding: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .swiper {
        height: 35vh;
        min-height: 200px;
    }
    
    .slide-text {
        font-size: 1rem;
        bottom: 10px;
        left: 10px;
    }
    
    .hub-text h1 {
        font-size: 1.4rem;
    }
    
    .combo-card {
        height: 180px;
    }
    
    .combo-front h2 {
        font-size: 2rem;
    }
    
    .combo-back h2 {
        font-size: 1.8rem;
    }
    
    .combo-back p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    section > h1,
    .amenities-content h1 {
        font-size: 1.6rem;
    }
}