* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: #222;
    line-height: 1.6;
    user-select:none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.section-title p {
    color: #555;
}

/* Navbar */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15,23,42,0.75), rgba(37,99,235,0.75)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* About */
.about-grid,
.course-grid,
.service-grid,
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.about-card,
.course-card,
.service-card,
.stat-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.about-card:hover,
.course-card:hover,
.service-card:hover {
    transform: translateY(-8px);
}

.about-card i,
.service-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.about-card h3,
.course-card h3,
.service-card h3 {
    margin-bottom: 15px;
}

/* Courses */
.courses {
    background: #eef4ff;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: white;
    padding: 70px 8%;
}

.stat-box {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.stat-box h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Contact */
.contact-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.3rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #60a5fa;
}

/* Responsive */
@media(max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
    }

   .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    flex-direction: column;
    background: white;
    padding-top: 100px;
    gap: 30px;
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-links li {
    text-align: center;
}

.nav-links a {
    font-size: 1.1rem;
}

.nav-links.active {
    right: 0;
}

.menu-btn {
    display: block;
    z-index: 1001;
}
}
