/* Header layout */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #a5cdfc;
    position: relative;
}

/* Logo */
.logo img {
    width: 160px;   /* thoda chhota kar diya mobile ke liye */
    height: 160px;
    border-radius: 50%;
}

/* Navbar */
.navbar {
    display: flex;
}

/* Navbar links */
.navbar a {
    color: rgb(81, 12, 243);
    text-decoration: none;
    margin: 0 15px;
    font-size: 20px;
    transition: 0.3s;
    padding: 8px 12px;
    border-radius: 5px;
}

/* Hover effect */
.navbar a:hover {
    background-color: white;
    color: black;
}

/* Hamburger button */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("images/bg.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: cente;
    color: rgb(255, 255, 255);
}

/* Heading */
.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    background-color: #a5cdfc;
    background: #e68900;
}

/* List */
.hero-list { 
    padding: 0;
    margin: 15px 0;
}

.hero-list li {
    font-size: 18px;
    margin: 8px 0;
    line-height: 1.5;
}

/* Button */
.join-button {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 22px;
    border: none;
    background: #05ee7a;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.join-button:hover {
    background: #7b06e9;
}

/* Popup background */
.form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Form box */
.form-box {
    background: white;
    padding: 25px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Inputs */
.form-box input,
.form-box select {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
}

/* Submit button */
.form-box button {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
}


.teachers {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
}
.teachers h2{
    font-size: 32px;
    margin-bottom: 30px;
}
.teacher-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

.card {
    background-color: white;
    width: 250px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.card h3 {
    margin: 10px 0;
    font-size: 20px;
}

.card p {
    font-size: 16px;
    color: gray;
}

/* Job Course Section */
.job-course {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

/* Content box */
.job-content {
    max-width: 600px;
    margin: auto;
}

/* Heading */
.job-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.job-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffd700;
}

/* List */
.job-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.job-list li {
    font-size: 18px;
    margin: 8px 0;
}

/* Salary */
.salary {
    font-size: 20px;
    margin: 20px 0;
    font-weight: bold;
}
.job-cat {
    font-size: 16px;
    margin: 10px;
    font-weight: bold;
}
span {
    font-size: 20px;
    font-weight: bold;
}

/* Button */
.apply-btn {
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    background: #ff9800;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.apply-btn:hover {
    background: #e68900;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {

    .hero {
        min-height: 80vh;
        padding: 15px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-list li {
        font-size: 15px;
    }

    .join-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}


/* 📱 Mobile Responsive */
@media (max-width: 768px) {

    /* Logo small */
    .logo img {
        width: 70px;
        height: 70px;
    }

    /* Navbar hidden */
    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 0;
        width: 100%;
        background-color: #a5cdfc;
        text-align: center;
    }

    .navbar a {
        display: block;
        margin: 10px 0;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
    }

    /* Active class */
    .navbar.active {
        display: flex;
    }
}
 