
        :root {
            --primary: #0f1f3d;
            --primary-dark: #0f1f3d;
            --accent: #ff7e5f;
            --bg: #ffffff;
            --text: #1a1a1a;
            --text-muted: #666;
            --border: #e5e5e5;
            --card-bg: #f9f9f9;
        }
        .logo-section {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: #1a1a1a;
        }
        .section p{
            text-align: justify;
            font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: transparent;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .logo-icon img.logo-img {
            width: 90%; 
            height: 90%;
            object-fit: cover;
            display: block;
            border-radius: 8px;
        }

        .logo-text h1 {
            font-family: 'Syne', sans-serif;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .logo-text p {
            font-size: 11px;
            color: #999;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-top: 2px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 16px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text);
        }
        .logo-box {
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
            font-family: 'Syne', sans-serif;
        }

        .logo-text h1 {
            font-family: 'Syne', sans-serif;
            font-size: 18px;
            font-weight: 700;
        }

        nav {
            display: flex;
            gap: 24px;
        }

        nav a {
            text-decoration: none;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s;
        }

        nav a:hover {
            color: var(--primary);
        }

        .nav-btns {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 8px 18px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            cursor: pointer;
        }

        .btn-outline {
            border: 1px solid var(--border);
            color: var(--text);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .hero {
            padding: 160px 40px 100px;
            background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.1), transparent),
                        radial-gradient(circle at bottom left, rgba(118, 75, 162, 0.05), transparent);
            text-align: center;
        }

        .hero-inner {
            max-width: 900px;
            margin: 0 auto;
        }

        .badge {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(102, 126, 234, 0.1);
            color: var(--primary);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 24px;
            font-family: 'Arial', 'Helvetica', sans-serif;
        }

        .hero h2 {
            font-family: 'Syne', sans-serif !important;
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -2px;
        }

        .hero p {
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
        }

        .section {
            padding: 100px 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .section-tag {
            color: var(--primary);
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            margin-bottom: 12px;
            display: block;
        }

        .section h3 {
            font-family: 'Syne', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 24px;
            line-height: 1.2;
        }

        .content-text p {
            margin-bottom: 20px;
            color: var(--text-muted);
            font-size: 16px;
        }

        .pisa-points {
            list-style: none;
            margin-top: 30px;
            padding: 0;
        }

        .pisa-points li {
            display: grid;
            grid-template-columns: 25px 180px 1fr;
            align-items: start;
            gap: 10px;
            margin-bottom: 16px;
        }

        .pisa-points li::before {
            content: "✓";
            color: var(--primary);
            font-weight: 900;
            font-size: 16px;
            margin-top: 2px;
        }

        .point-title {
            font-weight: 700;
        }

        .point-desc {
            color: var(--text-muted);
        }

        /* ─────── TRENDS SECTION ───────── */
        .trends-bg {
            background: var(--card-bg);
            border-radius: 24px;
            padding: 60px;
            margin: 0 40px;
        }

        .trends-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .trend-card {
            background: white;
            padding: 30px;
            border-radius: 16px;
            border: 1px solid var(--border);
            text-align: center;
            transition: transform 0.3s;
        }

        .trend-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
        }

        .trend-subject {
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 20px;
            display: block;
        }

        .stat-comparison {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 20px;
            margin-bottom: 15px;
        }

        .stat-box {
            flex: 1;
        }

        .stat-year {
            font-size: 12px;
            color: #999;
            margin-bottom: 5px;
        }

        .stat-value {
            font-family: 'Syne', sans-serif;
            font-size: 24px;
            font-weight: 700;
        }

        .stat-value.v-2018 { color: #999; }
        .stat-value.v-2022 { color: var(--primary); }

        .trend-indicator {
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 12px;
        }

        .up { background: #e6f7ed; color: #28a745; }
        .down { background: #fff5f5; color: #dc3545; }
        .stable { background: #f0f0f0; color: #666; }

.hots-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 32px;
    padding: 80px 60px;
    margin: 100px auto; 
    position: relative;
    overflow: hidden;
    width: 85%;
    max-width: 1200px;
    box-sizing: border-box;
}
        .hots-section h3 {
            color: white;
        }

        .hots-section p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 18px;
            max-width: 700px;
        }

        .hots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            margin-top: 50px;
        }

        .hots-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
            padding: 24px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .hots-item h4 {
            font-family: 'Syne', sans-serif;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .hots-item p {
            font-size: 14px;
            line-height: 1.5;
        }

        /* ─────── TARGET USERS ───────── */
        .users-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .user-card {
            padding: 40px;
            border-radius: 24px;
            border: 1px solid var(--border);
            height: 100%;
        }

        .user-card.student { background-color: #f0f4ff; }
        .user-card.teacher { background-color: #fff9f0; }

        .user-card h4 {
            font-family: 'Syne', sans-serif;
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        /* ─────── RESOURCES ───────── */
        .resource-nav {
            text-align: center;
            padding: 80px 40px;
        }

        .resource-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }
        .resource-card {
            padding: 24px;
            border: 1px solid #eee;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 180px;
            transition: all 0.3s;
        }

        .resource-card:hover {
            border-color: #667eea;
        }

        .resource-category {
            font-size: 11px;
            color: var(--primary);
            font-weight: 700;
            text-transform: uppercase;
        }

        .resource-title {
            margin: 10px 0;
            font-family: 'Syne', sans-serif;
            font-size: 16px;
        }

        .resource-link {
            font-size: 13px;
            color: #999;
            text-decoration: none;
        }
        .resource-card:nth-child(1) { transition-delay: 0.1s; }
        .resource-card:nth-child(2) { transition-delay: 0.2s; }
        .resource-card:nth-child(3) { transition-delay: 0.3s; }
        .resource-card:nth-child(4) { transition-delay: 0.4s; }
        .resource-card:nth-child(5) { transition-delay: 0.5s; }
        .resource-card:nth-child(6) { transition-delay: 0.6s; }
        .r-btn {
            padding: 20px 40px;
            border-radius: 16px;
            text-decoration: none;
            color: var(--text);
            font-weight: 700;
            font-family: 'Syne', sans-serif;
            border: 1px solid var(--border);
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 200px;
        }

        .r-btn:hover {
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }

        .r-btn span {
            font-size: 32px;
        }

        /* ─────── FOOTER ───────── */
        footer {
            background: #1a1a1a;
            color: white;
            padding: 80px 40px 40px;
            margin-top: 100px;
        }

        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
        }

        .footer-brand h2 {
            font-family: 'Syne', sans-serif;
            margin-bottom: 20px;
        }

        .footer-links h5 {
            font-family: 'Syne', sans-serif;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 14px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #999;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 60px auto 0;
            padding-top: 30px;
            border-top: 1px solid #333;
            text-align: center;
            color: #666;
            font-size: 13px;
        }
                 #scrollBtn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #0f1f3d, #0f1f3d);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            transition: transform 0.3s, background 0.3s;
            z-index: 1000;
        }

        #scrollBtn:hover {
            transform: scale(1.1);
            background: linear-gradient(135deg, #0f1f3d, #0f1f3d);
        }

        #scrollBtn i {
            font-size: 15px;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 25px;
            height: 20px;
            cursor: pointer;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--text);
            border-radius: 2px;
            transition: all 0.3s;
        }

        /* Optional: transform hamburger to X */
        .hamburger.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        /* ─────── PRIVACY MODAL ───────── */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Overlay */
    padding: 40px 20px;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto; /* Scrollable content */
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0f1f3d;
}

.modal-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #0f1f3d;
}

.modal-content p,
.modal-content li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.modal-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.modal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.close {
    color: #999;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary);
}
/* Scroll Reveal Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.scale-up.show {
    opacity: 1;
    transform: scale(1);
}
.slide-up {
    opacity: 0;
    transform: translateY(50px); /* start below */
    transition: all 0.6s ease-out;
}

.slide-up.show {
    opacity: 1;
    transform: translateY(0); /* slide to normal */
}


@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
    .modal-content h3 {
        font-size: 1rem;
    }
}
@media (max-width: 968px) {
    .grid-2, .trends-grid, .users-section {
        grid-template-columns: 1fr;
    }
    .hero h2 { font-size: 3rem; font-family: 'Syne', sans-serif !important; }
    .trends-bg, .hots-section { padding: 40px 20px; margin: 40px 20px; }
    header nav { 
        display: none; /* hide default nav */ 
    }
    
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin-top: 10px;
    }
    nav a {
        font-size: 16px;
        color: var(--text);
    }

    nav.active {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
    }
        #nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 12px;
    }
    #nav-links a {
        font-size: 14px;
        color: var(--text);
        text-align: left;
        padding: 8px 0;
    }
    #nav-links.active {
        display: flex;
    }
}
@media (max-width:768px){

/* prevent horizontal scroll */
html,body{
width:100% !important;
max-width:100% !important;
overflow-x:hidden !important;
}
.hots-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 32px;
    padding: 80px 60px;
    margin: 100px auto; 
    position: relative;
    overflow: hidden;
    width: 85%;
    max-width: 1200px;
    box-sizing: border-box;
}
header nav { 
        display: none; /* hide default nav */ 
    }
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin-top: 10px;
    }
    nav a {
        font-size: 16px;
        color: var(--text);
    }

    nav.active {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
    }
        #nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 12px;
    }
    #nav-links a {
        font-size: 14px;
        color: var(--text);
        text-align: left;
        padding: 8px 0;
    }
    #nav-links.active {
        display: flex;
    }
.auth-container{
max-width: 90% !important;
width: 90%;
padding: 20px !important;
border-radius: 12px !important;
}

/* Title */
.auth-container h1{
font-size: 22px;
text-align: center;
}

/* Subtitle */
.auth-container p{
font-size: 13px;
text-align: center;
}

/* Inputs */
.form-group input{
padding: 10px;
font-size: 14px;
}

/* Buttons */
.btn{
font-size: 14px;
padding: 10px;
}

/* Eye icon spacing */
.toggle-password{
right:10px;
}

/* Remember me section */
.remember-me{
font-size:13px;
}

/* Modal vertical spacing */
.form-group{
margin-bottom:12px;
}

/* Close button */
#closeAuth{
font-size:20px;
right:15px;
top:10px;
}

/* navigation */
.nav-container{
padding:12px 16px !important;
}
.nav-btns{
    display: none;
}
.nav-btns.active{
display:flex;
flex-direction:column;
gap:10px;
margin-top:10px;
}
nav{
width:100% !important;
}
.badge{
    font-size: .7rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
}
.hero h2{
    font-size: 2.3rem;
    font-family: 'Syne', sans-serif !important;
}
/* hero */
.hero{
padding:120px 20px 60px !important;
}

.hero p{
font-size: .9rem !important;
font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
}
.hero-btns .btn{
padding:10px 20px !important;
font-size:14px !important;
font-family: 'Arial', 'Helvetica', sans-serif;
}
/* sections */
.section{
padding:60px 20px !important;
}
.section-tag{
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 10px;
    font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
}
.section h3{
    font-size: 1.8rem;
    text-align: center;
    font-family: 'Arial', 'Helvetica', sans-serif;
}
.section p{
    text-align: justify;
    font-size: .9rem;
    font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
}
.pisa-points li .point-title{
    font-size: 1rem;
    font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
}
.pisa-points li .point-desc{
    font-size: .8rem;
    text-align: justify;
    font-family: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
}
/* grids */
.grid-2{
grid-template-columns:1fr !important;
gap:30px !important;
}

.trends-grid{
grid-template-columns:1fr !important;
}

/* cards spacing */
.trends-bg{
margin:20px 10px !important;
padding:30px 20px !important;
}

.hots-section{
margin:40px 10px !important;
padding:40px 20px !important;

}

.users-section{
grid-template-columns:1fr !important;
}

/* resources */
.resource-nav{
padding:60px 20px !important;
}

.resource-btns{
gap:14px !important;
}

.r-btn{
width:100% !important;
max-width:260px !important;
}

/* featured resources grid */
.section div[style*="grid-template-columns"]{
grid-template-columns:1fr !important;
}

/* footer */
.footer-grid{
grid-template-columns:1fr !important;
gap:30px !important;
}

/* stats section fix */
div[style*="inline-flex"]{
flex-direction:column !important;
gap:20px !important;
}

}