



/* Golden Sketch Background Artwork */
        .bg-sesatha-art {
            position: fixed;
            bottom: -15%;      /* Tucks it partially off the bottom edge */
            right: -10%;       /* Tucks it partially off the right edge */
            width: 700px;      /* Makes it large and imposing */
            height: auto;
            z-index: -1;       /* Keeps it behind all your text and buttons */
            pointer-events: none; /* Ensures students can click links right through it */
            border-radius: 50%;
            
            /* The Golden Filter Magic */
            filter: sepia(100%) saturate(300%) hue-rotate(10deg) brightness(0.9) contrast(1.2);
            opacity: 0.15;     /* Keeps it faint and professional */
            mix-blend-mode: screen; /* Blends the image seamlessly into the dark background */
        }

        /* Adjust for mobile screens so it doesn't take up the whole screen */
        @media (max-width: 768px) {
            .bg-sesatha-art {
                width: 400px;
                bottom: -10%;
                right: -20%;
                opacity: 0.1; /* Make it even fainter on small screens to keep text readable */
            }
        }










/* --- Reset and Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*:root {
    --bg-dark: #06231a;   
    --bg-light: #0d4f3b;  
    --gold: #f2e3c6;      
    --gold-hover: #d8c6a3;
    --text-white: #ffffff;
    --text-muted: #b8d4cb;
}*/
:root {
    --bg-dark: #0b0512;       /* Deepest midnight purple */
    --bg-light: #241238;      /* Matches the dashboard card background */
    --gold: #E5B80B;          /* Your original bright gold */
    --gold-hover: #d4af37;    /* Slightly darker gold for hover states */
    --text-white: #ffffff;
    --text-muted: #c4b5fd;    /* Soft purple-tinted gray */
}

/* --- Base Layout --- */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-white);
    min-height: 100vh;
    margin: 0; 
    background: radial-gradient(circle at top left, var(--bg-light) 0%, var(--bg-dark) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

.glass-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; 
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Animated Brand Text --- */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.8s cubic-bezier(0.25, 1, 0.5, 1);  /*var(--gold)*/
}

.brand-text .subject {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold); /* Switched to your new bright gold */
    line-height: 1.1;
    animation: goldGlow 3s infinite alternate;
}

.brand-text .teacher {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-white);
    margin-top: 4px;
    opacity: 0.9;
}

/* --- Auth Buttons --- */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-buttons button {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary { 
    background: var(--gold); 
    color: #000; 
    border: none; 
    animation: softPulse 3s infinite;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--text-white); }

/* --- Main Content --- */
main { text-align: center; }

.main-heading {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--text-white);
    
}

body {
    font-family: 'Poppins', 'Anek Sinhala', sans-serif;
}

h1, h2, h3, .brand-title {
    font-family: 'Gemunu Libre', sans-serif;
    letter-spacing: 1px; /* Looks amazing with a little extra space */
}




/* --- Paper Links --- */
.button-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.paper-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.paper-link:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
}

/* --- Text & About Section --- */
.text-content { margin-bottom: 35px; }
.highlight { font-size: 1.1rem; font-weight: 500; color: var(--gold); margin-bottom: 10px; }
.sub-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* --- The Spotlight Card Effect --- */
.about-us {
    position: relative;
    /* The light gradient: bright gold at the top, fading into dark purple at the bottom */
    background: linear-gradient(180deg, rgba(229, 184, 11, 0.15) 0%, rgba(36, 18, 56, 0.5) 100%);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    
    /* The Light Source */
    border: 1px solid rgba(229, 184, 11, 0.1);
    border-top: 2px solid rgba(229, 184, 11, 0.7); /* Bright edge at the top */
    
    /* The Glow inside the card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 20px 40px rgba(229, 184, 11, 0.08);
    backdrop-filter: blur(12px); /* Glass effect */
}

/* Glowing heading text */
.about-us h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(229, 184, 11, 0.6); /* Text catches the light */
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 15px auto 0;
    gap: 30px;
    text-align: left;
    color: #FFFFFF;
}

/* Making the paragraph text readable under the light */
.about-content p { 
    font-size: 1rem; 
    color: #f8fafc; 
    line-height: 1.8; 
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8); /* Dark shadow to separate text from the glowing light */
}

.namedd{
    align-items: right;
}

.picture-box {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.picture-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-content p { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    line-height: 1.6; 
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.thanks-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 8px;
}
.footer-info { font-size: 0.85rem; color: var(--text-muted); }

/* --- Animations & Effects --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes goldGlow {
    from { text-shadow: 0 0 5px rgba(242, 227, 198, 0.2); }
    to { text-shadow: 0 0 20px rgba(242, 227, 198, 0.6); }
}

@keyframes softPulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 227, 198, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(242, 227, 198, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 227, 198, 0); }
}

/* --- Background Floating Particles --- */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; 
    pointer-events: none;
}

.bg-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: var(--gold);
    opacity: 0.3;
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: floatParticle 15s linear infinite;
}

.bg-particles span:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; width: 5px; height: 5px; }
.bg-particles span:nth-child(2) { left: 30%; animation-duration: 18s; animation-delay: 2s; width: 3px; height: 3px; opacity: 0.2; }
.bg-particles span:nth-child(3) { left: 55%; animation-duration: 14s; animation-delay: 4s; width: 6px; height: 6px; opacity: 0.4; }
.bg-particles span:nth-child(4) { left: 75%; animation-duration: 20s; animation-delay: 1s; width: 4px; height: 4px; }
.bg-particles span:nth-child(5) { left: 90%; animation-duration: 16s; animation-delay: 3s; width: 5px; height: 5px; opacity: 0.25; }

@keyframes floatParticle {
    0% { transform: translateY(105vh) scale(0.8); opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* --- Mobile Adjustments --- */
@media (max-width: 600px) {
    .about-content { flex-direction: column; text-align: center; gap: 15px; }
}

/* --- Desktop Responsive Layout (Scaled Up / Bolder Look) --- */
@media (min-width: 768px) {
    .glass-container {
        max-width: 1400px; 
        padding: 80px 40px;
    }

    .top-header { align-items: center; }
    
    .brand-text .subject { font-size: 3.5rem; }
    .brand-text .teacher { font-size: 1.8rem; margin-top: 8px; }
    
    .auth-buttons { flex-direction: row; gap: 15px; }
    .auth-buttons button { font-size: 1.1rem; padding: 12px 28px; }

    .main-heading {
        font-size: 3.6rem;
        margin-bottom: 60px;
        line-height: 1.3;
    }

    .button-stack {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap; 
    }

    .paper-link {
        width: 250px;
        height: 170px; 
        padding: 25px;
        font-size: 1.45rem;
        white-space: normal;
    }
    
    .highlight { font-size: 1.5rem; margin-bottom: 15px; }
    .sub-text { font-size: 1.25rem; }
    
    .about-us h3 { font-size: 1.6rem; margin-bottom: 20px; }
    .about-content { max-width: 1000px; gap: 40px; margin-top: 35px; }
    .picture-box { width: 160px; height: 160px; border-width: 4px; }
    .about-content p { font-size: 1.2rem; }
}