
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    line-height: 1.6;
}
a { text-decoration: none; color: #4f46e5; }
a:hover { color: #4338ca; }

/* --- Navbar --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}
.nav-brand span { color: #4f46e5; }
.nav-logo {
    width: 500px;
    height: 50px;
    background-image: url('logo.jpeg');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: left center;
    animation: changeLogo 4s infinite;
}

@keyframes changeLogo {
    0% , 49.9%{
        background-image: url('logo.jpeg');
    }
    50% , 100%{
        background-image: url('logo2.jpeg');
    }
    
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #4f46e5#fff;
    transition: color 0.2s;
}
.nav-links a:hover { 
    color: #4f46e5;
    text-decoration: underline;
 }
.nav-btn {
    padding: 8px 20px;
    background: #4f46e5;
    color:#fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}


/* --- Hero --- */
.hero {
    text-align: center;
    padding: 200px 20px 60px;
    background: url('///clg.jpeg');
    border-bottom: 1px solid #e2e8f0;
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;
    backdrop-filter: blur (20px);
}
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #121212;
    line-height: 1.35;
    margin-bottom: 16px;
    overflow: visible;
    
}
.hero h1 span {
     background:hsl(189, 98%, 33%) 0%;
   -webkit-text-fill-color: transparent;
    display: inline-block;
   -webkit-background-clip: text;
   font-weight: bold;
 }
.hero p {
    font-size: 18px;
    color: #100606;
    
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.4;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.hero-highlight {
    background: oklab(62.247% -0.09285 -0.04968) 0%;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: bold;
    min-width: 1px;
    padding-top: 0.1em;
    line-height: 1.5;
}

.lang-en {
    font-family: 'Caveat', cursive;
    font-size: 1.15em;
}
.lang-hi {
    font-family: 'Noto Sans Devanagari', sans-serif;
    padding-top: 0.12em;
 }
.lang-bn { 
    font-family: 'Noto Sans Bengali', sans-serif;
    padding-top: 0.12em; 
}
.lang-ta { font-family: 'Noto Sans Tamil', sans-serif; }
.lang-te { font-family: 'Noto Sans Telugu', sans-serif; }
.lang-mr {
     font-family: 'Noto Sans Devanagari', sans-serif;
     padding-top: 0.12em;
}
.lang-gu { font-family: 'Noto Sans Gujarati', sans-serif; }
.lang-kn { font-family: 'Noto Sans Kannada', sans-serif; }
.lang-ml { font-family: 'Noto Sans Malayalam', sans-serif; }
.lang-pa { font-family: 'Noto Sans Gurmukhi', sans-serif; }

.hero-highlight.fade-in {
    opacity: 1;
    transform: scale(1);
}

.hero-highlight.fade-out {
    opacity: 0;
    transform: scale(0.92);

}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.btn-primary {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79,70,229,0.25);
}
.btn-primary:hover {
    background: #4338ca;
    color: #fff;
    box-shadow: 0 4px 14px rgba(79,70,229,0.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: #ffffff;
    color: #4f46e5;
    border: 2px solid #e2e8f0;
}
.btn-outline:hover {
    border-color: #4f46e5;
    background: #f8fafc;
}

/* --- Role Cards --- */
.roles-section {
    padding: 150px 20px;
    text-align: center;
    height: 750px;
}
.roles-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.roles-section p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 48px;
}
.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.role-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 4px 16px rgba(79,70,229,0.1);
    transform: translateY(-2px);
}
.role-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.role-card.teacher .role-icon { background: #eef2ff; }
.role-card.student .role-icon { background: #f0fdf4; }
.role-card.admin .role-icon { background: #fee2e2; color: #ef4444; }
.role-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.role-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}
.role-card .btn { width: 100%; }

/* --- Features --- */
.features-section {
    padding: 60px 20px 80px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 48px auto 0;
}
.feature-card {
    padding: 28px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
}
.feature-card .icon {
    width: 44px;
    height: 44px;
    background: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 14px;
}
.feature-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}
.feature-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

/* --- Footer --- */
.footer {
    padding: 24px 40px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 14px;
    color: #94a3b8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .navbar { padding: 12px 20px; }
    .nav-links a:not(.nav-btn) { display: none; }
    .hero { padding: 60px 20px 40px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .roles-grid { grid-template-columns: 1fr; max-width: 400px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
}
