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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* Navigation */
/* ==========================
/* ================= NAVBAR ================= */
.logo{

    display:flex;

    align-items:center;

}

.logo img{

    height:150px;

    width:auto;

    display:block;

}
.navbar{

    background:#0a66c2;

    height:70px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 60px;

}

.logo h2{

    color:white;

    font-size:42px;

    margin:0;

}

.nav-links{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:35px;

    list-style:none;

    margin:0;

    padding:0;

}

.nav-links li{

    list-style:none;

}

.nav-links a{

    color:white;

    text-decoration:none;

    font-size:18px;

    font-weight:600;

}

.nav-links a:hover{

    color:#d6eaff;

}

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:30px;

    cursor:pointer;

}


/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #0a66c2, #004182);
  color: white;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero p {
  opacity: 0.9;
}

/* SEARCH */
.hero input {
  padding: 12px;
  width: 260px;
  border-radius: 8px;
  border: none;
  margin-top: 20px;
}

.hero button {
  padding: 12px 20px;
  background: #c2c2c4;
  border-radius: 8px;
  margin-left: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* SECTION */
section {
  padding: 30px;
}

/* JOB CARDS */
#jobs .job-card,
#featuredJobs .job-card {
    background: white;
    margin: 15px 0;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
    cursor: pointer;
}
#jobs .job-card:hover,
#featuredJobs .job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* JOB TITLE */
#jobs h3, #featuredJobs h3 {
  margin-bottom: 5px;
}

/* COMPANY TEXT */
#jobs p, #featuredJobs p {
  color: #666;
  font-size: 14px;
}

/* APPLY BUTTON */
.apply-btn {
  margin-top: 10px;
  padding: 8px 15px;
  background: #0a66c2;
  border-radius: 6px;
  cursor: pointer;
}



.categories {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  padding: 40px;

}

.category-card {

  background: white;

  padding: 30px;

  text-align: center;

  border-radius: 12px;

  cursor: pointer;

  box-shadow:
    0 5px 15px rgba(0,0,0,0.1);

  transition: 0.3s;

}

.category-card:hover {

  transform: translateY(-5px);

}

.job-container{

    width:85%;

    max-width:1100px;

    margin:40px auto;

}

.job-header{

    background:white;

    border-radius:12px;

    padding:30px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.company-logo{

    width:120px;

    height:120px;

    object-fit:contain;

    margin-bottom:20px;

}

.badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background: #f4f6f8;
    border-radius: 8px;
}

.badge-row h4 {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.badge {
    display: inline-block;
    padding: 7px 14px;
    background: #0a66c2;
    color: white;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
}

.overview{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin:30px 0;

}

.info-card{

    background:white;

    padding:20px;

    border-radius:10px;

    text-align:center;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

.section{

    background:white;

    padding:30px;

    margin-bottom:25px;

    border-radius:10px;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

.section h2{

    color:#0a66c2;

    margin-bottom:15px;

}

.apply-btn{

    width:100%;

    padding:18px;

    background:#0a66c2;

    color:white;

    border:none;

    border-radius:8px;

    font-size:18px;

    cursor:pointer;

    margin-top:20px;

}

.apply-btn:hover{

    background:#004182;

}

@media(max-width:768px){

    .navbar{

        padding:0 25px;
        z-index:1000;
        position:relative;

    }

    .menu-toggle{

        display:block;

    }

    .nav-links{

        display:none;

        position:absolute;

        top:70px;

        left:0;

        width:100%;

        background:#0a66c2;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        padding:20px 0;

        gap:20px;

    }

    .nav-links.active{

        display:flex;

    }

}

#description{

    white-space: pre-line;

    line-height: 1.8;

}

#qualification{

    white-space: pre-line;

    line-height: 1.8;

}

/* ==============================
   JOBS + JOB DETAILS RESPONSIVE
   ============================== */

@media (max-width: 768px) {

    /* ------------------------------
       JOBS PAGE
       ------------------------------ */

    section {
        padding: 20px 15px;
    }

    #pageTitle {
        font-size: 26px;
        margin-bottom: 20px;
        text-align: center;
    }

    #jobs {
        width: 100%;
    }

    #jobs .job-card {
        width: 100%;
        margin: 15px 0;
        padding: 20px;
        border-radius: 12px;
        overflow: hidden;
    }

    #jobs .job-card .company-logo {
        width: 90px;
        height: 90px;
        object-fit: contain;
        display: block;
        margin: 0 auto 15px;
    }

    #jobs .job-card h3 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 12px;
        overflow-wrap: anywhere;
    }

    #jobs .job-card p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 6px;
        overflow-wrap: anywhere;
    }

    #jobs .job-card button {
        width: 100%;
        padding: 12px 15px;
        margin-top: 12px;
        font-size: 15px;
        border: none;
        border-radius: 7px;
        background: #0a66c2;
        color: white;
        cursor: pointer;
    }


    /* ------------------------------
       PAGINATION
       ------------------------------ */

    #pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 25px 0;
    }

    #pagination button {
        padding: 9px 13px;
        min-width: 40px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }


    /* ------------------------------
       JOB DETAILS PAGE
       ------------------------------ */

    .job-container {
        width: 100%;
        max-width: none;
        margin: 20px 0;
        padding: 0 15px;
    }

    .job-header {
        padding: 25px 18px;
        border-radius: 10px;
    }

    .job-header .company-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
    }

    .job-header h1 {
        font-size: 26px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .job-header h3 {
        font-size: 18px;
        margin-top: 10px;
    }

    .job-header p {
        font-size: 15px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }


    /* ------------------------------
       BADGES
       ------------------------------ */

    .badges {
    gap: 10px;
}

.badge-row {
    padding: 10px 12px;
    gap: 10px;
}

.badge-row h4 {
    font-size: 14px;
}

.badge {
    font-size: 12px;
    padding: 6px 11px;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
}


    /* ------------------------------
       JOB OVERVIEW
       ------------------------------ */

    .overview {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }

    .info-card {
        padding: 18px;
    }

    .info-card h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .info-card p {
        font-size: 15px;
        overflow-wrap: anywhere;
    }


    /* ------------------------------
       DESCRIPTION + APPLICATION
       ------------------------------ */

    .section {
        padding: 20px 18px;
        margin-bottom: 18px;
    }

    .section h2 {
        font-size: 21px;
        line-height: 1.4;
    }

    .section p {
        font-size: 15px;
        line-height: 1.7;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #description,
    #qualification {
        line-height: 1.7;
        white-space: pre-line;
    }


    /* ------------------------------
       APPLY BUTTON
       ------------------------------ */

    .apply-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

}



/* ================= FOOTER ================= */

.footer{

    background:#0a66c2;

    color:white;

    margin-top:60px;

}

.footer-container{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:40px;

    padding:50px 0;

}

.footer-column h2,
.footer-column h3{

    margin-bottom:18px;

    font-size:22px;

}

.footer-column p{

    line-height:1.8;

    color:#f5f5f5;

}

.footer-column ul{

    list-style:none;

    padding:0;

}

.footer-column ul li{

    margin-bottom:12px;

}

.footer-column a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

.footer-column a:hover{

    color:#d6eaff;

    padding-left:5px;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.2);

    text-align:center;

    padding:20px;

    font-size:15px;

}

/* ================= PAGINATION ================= */

#pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin:50px 0;

    flex-wrap:wrap;

}

#pagination button{

    background:#0a66c2;

    color:white;

    border:none;

    padding:10px 18px;

    border-radius:6px;

    cursor:pointer;

    transition:.3s;

}

#pagination button:hover{

    background:#004182;

}

#pagination button.active{

    background:#002f6c;

    font-weight:bold;

}

/* SOCIAL ICONS */

.social-icons{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:15px;

}

.social-icons a{

    color:white;

    text-decoration:none;

    transition:.3s;

    font-size:16px;

}

.social-icons a:hover{

    color:#0a66c2;

    transform:translateX(5px);

}

/* ================= Cookies ================= */

.cookie-banner{

    position:fixed;

    bottom:0;

    left:0;

    width:100%;

    background:#222;

    color:white;

    padding:18px 30px;

    display:none;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    z-index:9999;

    box-shadow:0 -3px 12px rgba(0,0,0,.3);

}

.cookie-banner p{

    margin:0;

    line-height:1.6;

    flex:1;

}

.cookie-banner a{

    color:#4da3ff;

    text-decoration:none;

}

.cookie-banner button{

    background:#0a66c2;

    color:white;

    border:none;

    padding:12px 22px;

    border-radius:6px;

    cursor:pointer;

    font-weight:bold;

    transition:.3s;

}

.cookie-banner button:hover{

    background:#084b91;

}

@media(max-width:768px){

    .cookie-banner{

        flex-direction:column;

        text-align:center;

        padding:20px;

    }

    .cookie-banner button{

        width:100%;



    }

    

    
}

/* =========================
   CAREER ADVICE
========================= */

.career-page {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
}


/* Hero */

.career-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(
        to right,
        #0a66c2,
        #004182
    );
    color: white;
}

.career-hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.career-hero p {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    font-size: 17px;
}


/* Categories */

.career-categories {
    padding: 45px 30px;
}

.career-categories h2,
.career-articles h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0a66c2;
}


.career-category-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;
}


.career-category-card {
    background: white;

    padding: 30px 20px;

    border-radius: 12px;

    text-align: center;

    text-decoration: none;

    color: #333;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.08);

    transition: 0.3s;
}


.career-category-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.12);
}


.career-category-card i {
    font-size: 35px;

    color: #0a66c2;

    margin-bottom: 15px;
}


.career-category-card h3 {
    margin-bottom: 10px;
}


.career-category-card p {
    color: #666;

    line-height: 1.6;

    font-size: 14px;
}


/* Articles */

.career-articles {
    padding: 20px 30px 50px;
}


.article-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}


.article-card {
    background: white;

    padding: 25px;

    border-radius: 12px;

    display: flex;

    gap: 20px;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.08);
}


.article-icon i {
    font-size: 28px;

    color: #0a66c2;
}


.article-card h3 {
    margin-bottom: 10px;

    line-height: 1.4;
}


.article-card p {
    color: #666;

    line-height: 1.6;

    font-size: 14px;
}


.article-card a {
    display: inline-block;

    margin-top: 10px;

    color: #0a66c2;

    font-weight: 600;

    text-decoration: none;
}


.article-card a:hover {
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 768px) {

    .career-hero {
        padding: 45px 20px;
    }

    .career-hero h1 {
        font-size: 30px;
    }

    .career-categories,
    .career-articles {
        padding-left: 20px;
        padding-right: 20px;
    }

    .article-card {
        flex-direction: column;

        text-align: center;
    }

}

/* how to prepare for an interview page styling*/

.article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.article-content ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}