:root {
            --white: #FFFFFF;
            --dark-navy: #213C51;
            --accent: #FAAC68;
            --light-grey: #F6F7F9;
            --text-muted: #5A7184;
            --lato: 'Lato', sans-serif;
            --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            --shadow: 0 10px 30px rgba(33, 60, 81, 0.08);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            font-family: var(--lato); 
            color: var(--dark-navy); 
            background: var(--white);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        button { cursor: pointer; font-family: var(--lato); border: none; transition: var(--transition); }

        /* --- STICKY HEADER --- */
        .main-header { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        
        .top-nav {
            background: var(--white);
            padding: 15px 5%;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
        }

        .nav-links { display: flex; gap: 25px; font-size: 0.95rem; font-weight: 400; }
        .nav-links a:hover { color: var(--accent); }

        .logo { 
            font-weight: 900; font-size: 1.8rem; letter-spacing: -0.5px; 
            cursor: pointer; display: flex; align-items: center; gap: 8px;
        }
        .logo span { color: var(--accent); }

        .header-right { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
        .social-icons { display: flex; gap: 15px; border-right: 1px solid #EEE; padding-right: 20px; }
        .social-icons i:hover { color: var(--accent); transform: translateY(-2px); }

        .announcement-bar {
            background: var(--accent);
            padding: 10px 0;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 700;
        }

        /* --- PAGES --- */
        .page { display: none; min-height: 80vh; animation: fadeIn 0.5s ease-out; }
        .page.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* --- HERO --- */
        .hero {
            height: 85vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            overflow: hidden;
        }
        .hero-video {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: -1;
        }
        .hero-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(rgba(33, 60, 81, 0.7), rgba(33, 60, 81, 0.5));
            z-index: 0;
        }
        .hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }
        .hero h1 { font-size: 4rem; margin-bottom: 20px; font-weight: 900; }
        .hero p { font-size: 1.25rem; margin-bottom: 40px; opacity: 0.9; font-weight: 400; }
        
        .hero-btns { display: flex; gap: 20px; justify-content: center; }
        .btn { 
            padding: 15px 35px; border-radius: 50px; font-weight: 700; font-size: 1rem;
            display: inline-flex; align-items: center; gap: 10px;
        }
        .btn-accent { background: var(--accent); color: var(--dark-navy); }
        .btn-accent:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
        .btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
        .btn-outline:hover { background: var(--white); color: var(--dark-navy); }

        /* --- SECTIONS --- */
        section { padding: 100px 8%; }
        .section-header { text-align: center; margin-bottom: 60px; }
        .section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
        .section-header .divider { width: 60px; height: 4px; background: var(--accent); margin: 0 auto; }

        /* --- TOOL CARDS --- */
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .card { 
            background: var(--white); padding: 40px; border-radius: 15px; 
            box-shadow: var(--shadow); border: 1px solid #F0F2F4; transition: var(--transition);
            position: relative; overflow: hidden;
        }
        .card:hover { transform: translateY(-10px); border-color: var(--accent); }
        .card-icon { 
            width: 60px; height: 60px; background: var(--light-grey); 
            border-radius: 12px; display: flex; align-items: center; justify-content: center;
            color: var(--accent); margin-bottom: 25px; transition: var(--transition);
        }
        .card:hover .card-icon { background: var(--accent); color: var(--white); }
        .card h3 { margin-bottom: 15px; font-size: 1.4rem; }
        .card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }

        /* --- COURSE CARDS --- */
        .course-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
        .course-card:hover { transform: translateY(-10px); }
        .course-img { width: 100%; height: 220px; object-fit: cover; }
        .course-content { padding: 30px; }
        .course-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
        .course-content h3 { margin-bottom: 15px; font-size: 1.3rem; }

        /* --- ABOUT --- */
        .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .about-img { border-radius: 20px; box-shadow: 20px 20px 0 var(--accent); }

        /* --- TESTIMONIALS --- */
        .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .testimonial-item { background: var(--white); padding: 40px; border-radius: 15px; font-style: italic; position: relative; }
        .testimonial-item::before { content: '"'; font-size: 4rem; color: var(--accent); position: absolute; top: 10px; left: 20px; opacity: 0.3; }
        .author { margin-top: 25px; font-style: normal; display: flex; align-items: center; gap: 15px; }
        .author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

        /* --- CTA --- */
        .cta-section { background: var(--dark-navy); color: var(--white); text-align: center; }
        .cta-section h2 { font-size: 3rem; margin-bottom: 30px; }

        /* --- AUTH PAGES --- */
        .auth-container { max-width: 500px; margin: 80px auto; padding: 50px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
        .form-group { margin-bottom: 25px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; }
        .form-group input { width: 100%; padding: 12px 20px; border: 2px solid var(--light-grey); border-radius: 8px; outline: none; font-family: var(--lato); transition: var(--transition); }
        .form-group input:focus { border-color: var(--accent); }
        .auth-btn { width: 100%; background: var(--accent); padding: 15px; color: var(--dark-navy); font-weight: 700; border-radius: 8px; margin-top: 10px; }

        /* --- FOOTER --- */
        footer { background: var(--dark-navy); color: var(--white); padding: 80px 8% 0; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; }
        .footer-col h4 { color: var(--accent); margin-bottom: 25px; font-size: 1.1rem; }
        .footer-col p { opacity: 0.7; font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { opacity: 0.7; font-size: 0.9rem; }
        .footer-links a:hover { opacity: 1; color: var(--accent); padding-left: 5px; }
        
        .newsletter input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 12px; border-radius: 8px; color: white; margin-bottom: 10px; outline: none; }
        .newsletter button { background: var(--accent); color: var(--dark-navy); padding: 12px 25px; border-radius: 8px; font-weight: 700; }
        
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; text-align: center; font-size: 0.85rem; opacity: 0.5; }
        .footer-bottom-links { margin-bottom: 10px; }
        .footer-bottom-links a { margin: 0 15px; }

        /* --- MODAL --- */
        .modal { position: fixed; inset: 0; background: rgba(33, 60, 81, 0.95); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(5px); }
        .modal-content { background: var(--white); width: 100%; max-width: 900px; border-radius: 20px; overflow: hidden; position: relative; animation: modalUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        @keyframes modalUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .close-modal { position: absolute; top: 20px; right: 20px; cursor: pointer; color: var(--dark-navy); z-index: 10; }
        .modal-body { display: grid; grid-template-columns: 1fr 1fr; }

        @media (max-width: 992px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .about-layout { grid-template-columns: 1fr; }
            .testimonial-grid { grid-template-columns: 1fr; }
            .modal-body { grid-template-columns: 1fr; }
            .hero h1 { font-size: 2.8rem; }
            .top-nav { grid-template-columns: 1fr; gap: 20px; text-align: center; }
            .nav-links, .header-right { justify-content: center; }
        }
        .popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

.popup-content{
background:white;
padding:40px;
width:350px;
border-radius:6px;
text-align:center;
}

.popup-content input{
width:100%;
padding:10px;
margin:20px 0;
border:1px solid #ccc;
}

.popup-actions{
display:flex;
justify-content:center;
gap:10px;
}

.btn-cancel{
background:#ddd;
}
