:root {
    --text-color: #ffffff;
    /* White text for dark theme */
    --separator-color: #55b7a7;
    /* Lighter teal for separator line */
}

body {
    background-color: #051024; /* Deep dark background fallback */
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
}

/* Professional Glassmorphism Container */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Top Logo */
.top-logo {
    max-width: 300px;
    height: auto;
}

/* Quote Section */
.quote-section {
    font-size: 1.3rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.quote-text {
    font-style: italic;
}

.quote-author {
    font-style: italic;
    font-size: 1.2rem;
}

/* Separator */
.separator {
    width: 120px;
    border: 0;
    border-top: 2px solid var(--separator-color);
    opacity: 1;
    margin-top: 1.5rem;
}

/* Logos Section */
.logos-section {
    margin-top: 3rem;
}

.logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-logo {
    max-width: 180px;
    height: auto;
}

/* School Titles */
.school-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-color);
}

/* Other Details */
.other-details {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Link hover effects */
.logo-link-hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link-hover:hover {
    transform: translateY(-5px);
}

.other-details-link {
    color: inherit;
    transition: opacity 0.3s ease;
}

.other-details-link:hover {
    opacity: 0.7;
    color: inherit;
}

/* Realistic Deep Space Background */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3; /* Behind particles */
    background-color: #051024; /* Dark navy */
    background-image: radial-gradient(ellipse at bottom left, #0a1f42 0%, #051024 80%); /* Rich navy gradient */
    overflow: hidden;
}

/* Subtle distant space dust (No Purple/Pink) */
.space-bg::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 40% 60%, rgba(20, 40, 70, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 70% 30%, rgba(10, 50, 80, 0.15) 0%, transparent 50%);
    animation: driftDust 120s infinite linear alternate;
}

@keyframes driftDust {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Entrance Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}

.delay-4 {
    animation-delay: 0.7s;
}

.delay-5 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15%, -15%) scale(1.1);
    }

    100% {
        transform: translate(-15%, 15%) scale(0.9);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-logo {
        max-width: 200px;
    }

    .side-logo {
        max-width: 140px;
    }

    .quote-section {
        font-size: 1.1rem;
    }

    .school-title {
        font-size: 0.95rem;
    }
}