/* -------------------------------------------------- 
   GLOBAL RESET
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* --------------------------------------------------
   NAVIGATION MENU
-------------------------------------------------- */
nav {
    background: #003366;
}

.nav-menu-class {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 10px 0;
    margin: 0;
    align-items: center;
}

.nav-menu-class li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 12px;
    display: block;
    transition: 0.2s ease;
}

.nav-menu-class li a:hover {
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    background: #f7f9fc;
    gap: 40px;
}

.hero-left h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: #ff6600;
}

.hero-left p {
    font-size: 18px;
    margin: 20px 0;
    color: #333;
}

.hero-buttons a {
    display: inline-block;
    margin-right: 15px;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-orange {
    background: #ff6600;
    color: white;
}

.btn-orange:hover {
    opacity: 0.85;
}

.btn-blue {
    background: #003366;
    color: white;
}

.btn-blue:hover {
    opacity: 0.85;
}

.hero-right img {
    width: 380px;
    max-width: 100%;
}

/* --------------------------------------------------
   JOBS SECTION
-------------------------------------------------- */
.jobs-section {
    padding: 40px;
    background: #ffffff;
}

.jobs-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.job-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.job-card h3 {
    font-size: 20px;
    font-weight: 600;
}

.job-card p {
    margin-top: 10px;
    font-size: 15px;
    color: #555;
}

/* --------------------------------------------------
   COURSE SECTION
-------------------------------------------------- */
.course-section {
    padding: 40px;
    background: #f5f7fb;
}

.course-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e5e5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.course-card img {
    width: 90px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 20px;
    font-weight: 600;
}

.course-card p {
    color: #555;
    margin-top: 10px;
}

/* --------------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------------- */
@media (max-width: 900px) {
    .hero {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {

    /* NAV MENU */
    .nav-menu-class {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        text-align: center;
    }

    /* HERO */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right img {
        width: 260px;
        margin-top: 20px;
    }

    /* GRID → 1 Column */
    .jobs-grid,
    .course-grid {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    footer div {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
/* --------------------------------------------------
   NEW PROFESSIONAL HEADER (ADD ONLY)
-------------------------------------------------- */

.d-header{
    background:#003366;
    padding:12px 0;
    position:sticky;
    top:0;
    z-index:999;
    width:100%;
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo a{
    color:#fff;
    font-size:28px;
    font-weight:700;
    text-decoration:none;
}

/* Desktop Menu UL */
.menu-ul{
    list-style:none;
    display:flex;
    gap:30px;
}

.menu-ul li a{
    color:white;
    text-decoration:none;
    font-size:17px;
    padding:8px 12px;
    font-weight:600;
    transition:0.2s;
}

.menu-ul li a:hover{
    background:#ff6600;
    border-radius:5px;
}

/* Mobile Menu Icon */
.mobile-btn{
    color:white;
    font-size:32px;
    display:none;
    cursor:pointer;
}

/* Mobile Menu Panel */
.mobile-menu{
    display:none;
    background:#022244;
    padding:20px;
}

.mobile-ul{
    list-style:none;
}

.mobile-ul li{
    padding:10px 0;
}

.mobile-ul li a{
    color:white;
    font-size:20px;
    text-decoration:none;
}

/* Responsive for Mobile */
@media (max-width:768px){

    .main-nav{
        display:none;
    }

    .mobile-btn{
        display:block;
    }

    .menu-ul{
        display:none;
    }
}
/* LATEST POSTS */
.latest-posts {
    padding: 40px;
}

.latest-posts h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.post-card {
    padding: 20px;
    background:#ffffff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    box-shadow:0 3px 8px rgba(0,0,0,0.05);
    transition:0.2s;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card a {
    text-decoration:none;
    color:#003366;
    font-weight:700;
}
