body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, sans-serif;
}
header {
    background-color: #1d2b40;
    padding: 20px;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
  }
  
  .logo {
    font-family: 'Playfair Display', serif;
    color: #d4a259;
    font-size: 24px;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
  }
  
  .nav-links li {
    position: relative;
    margin-left: 50px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
  }
  
  .nav-links li a:hover {
    color: #d4a259;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #1d2b40;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }

    .logo {
    font-family: 'Playfair Display', serif;
    color: #d4a259;
    font-size: 20px;
    font-weight: bold;
}
  
    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      position: absolute;
      top: 53px; /* Adjust this value based on the height of your header */
      background-color: #1d2b40;
    }
  
    .nav-links li {
      text-align: center;
      margin: 0;
    }
  
    .nav-links li a {
      padding: 5px;
      width: 100%;
      display: block;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .dropdown-content {
      position: static;
      background-color: #1d2b40;
    }
  }
.hero {
    background: url('career.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
}

.overlay h1, .overlay h2 {
    color: white;
    margin: 0;
}

.overlay h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.overlay h2 {
    font-size: 24px;
}

.why-choose-us {
    text-align: center;
    padding: 50px 20px;
}

.why-choose-us p {
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.5;
}

.why-choose-us h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.icon {
    text-align: center;
    width: 300px;
    margin-bottom: 20px;
}

.icon img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #1E2A38;
    padding: 30px;
}

.icon p {
    margin-top: 10px;
    font-size: 16px;
    color: #000;
}


.current-opportunities .container {
    width: 100%;
    height: 100%;
    background: #BE7C3D;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.current-opportunities h1 {
    /* text-transform: lowercase; */
    font-size: 30px;
    margin-bottom: 12px;
    margin-top: -10px;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.current-opportunities .job {
    background: #0B06022B;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    
}

.current-opportunities h2 {
    font-size: 26px;
    margin-bottom: 10px;
    margin-top: -15px;
    color: #000;
    text-align: left;
}

.current-opportunities p {
    font-size: 20px;
    margin: 5px 0;
    color: white;
    text-align: left;
}
.how-to-apply .header {
    background-color: #283a4b;  
    color: white;
    padding: 20px;
    border: 2px solid black;
    /* text-align: center;         */
    max-width: 70%;
    box-sizing: border-box;
    margin: 60px auto;  
}

.how-to-apply .header h1 {
    margin: 0;
    font-size: 27px;
    text-align: center;
}

.how-to-apply .header p {
    margin: 10px 0 0;
    font-size: 22px;
    text-align: center;
    line-height: 2;
}

.how-to-apply .header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.how-to-apply .content {
    padding: 20px;
    text-align: justify;
    max-width: 600px;
    margin: 20px auto; 
}

.how-to-apply .content h2 {
    font-size: 38px;
    margin: 0 0 10px;
    margin-top: 0;
    text-align: center;  
    font-family: 'Playfair Display', serif;
}

.how-to-apply .content p {
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
}

.how-to-apply .content a {
    color: #283a4b;
    text-decoration: none;
    font-weight: bold;
}
.footer {
    background-color: #1b2a3c;
    padding: 20px 0;
    text-align: center;
    color: white;
    padding-bottom: 0px;
    font-family: 'Arial', sans-serif;
}
.footer nav {
    margin-bottom: 10px;
    justify-content: center;
}
.footer nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
}
.footer .social-icons {
    margin-bottom: 10px;
}
.footer .social-icons a {
    margin: 0 10px;
    color: white;
    font-size: 20px;
}
.footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* media queries */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .navbar .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: lightblue; /* Ensure the background color matches the navbar */
        padding: 0;
    }

    .navbar .menu.show {
        display: flex;
    }

    .navbar .menu-container {
        align-self: flex-end;
    }

    .navbar .menu-button {
        display: block;
    }
}
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
        overflow: hidden;
    }

    .navbar .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: lightblue; /* Ensure the background color matches the navbar */
        padding: 0;
        overflow: hidden;
    }

    .navbar .menu.show {
        display: flex;
        overflow: hidden;
    }

    .navbar .menu-container {
        align-self: flex-end;
        overflow: hidden;
    }

    .navbar .menu-button {
        display: block;
        overflow: hidden;
    }
    .hero {
        background: url(career.jpg) no-repeat center center / cover;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    .why-choose-us h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #000;
    font-family: 'Playfair Display', serif;
}
    .why-choose-us p {
        font-size: 14px;
        color: #000;
        margin-bottom: 20px;
        line-height: 1.5;
        text-align: center;
        /* margin-left: 32px;
        margin-right: 10px; */
        overflow: hidden;
    }
    .current-opportunities h1 {
    
    font-size: 24px;
    margin-bottom: 12px;
    margin-top: -10px;
    color: #000;
    font-family: 'Playfair Display', serif;
}
.current-opportunities p {
    font-size: 16px;
    margin: 5px 0;
    color: white;
    text-align: left;
}
.current-opportunities h2 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: -15px;
    color: #000;
    text-align: left;
}
    .how-to-apply .header h1 {
        margin: 0;
        font-size: 24px;
        text-align: center;
    }
    .how-to-apply .header p {
        margin: 10px 0 0;
        font-size: 20px;
        text-align: center;
        line-height: 2;
    }
        .how-to-apply .header a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 13px;
        margin-left: -15px;
    }
    .how-to-apply .content p {
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
    }

    .overlay h1 {
    font-size: 32px;
    margin-bottom: 10px;
}
.overlay h2 {
    font-size: 20px;
}
    .icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 20px;
        overflow: hidden;
        /* max-width: 1000px; */
        /* margin: 0 auto; */
    }
    .icon {
        text-align: center;
        width: 200px;
        margin-bottom: 20px;
        overflow-x: hidden;
    }
    .icon img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: #1E2A38;
        padding: 30px;
        overflow-x: hidden;
    }
    .how-to-apply .content h2 {
        font-size: 32px;
        margin: 0 0 10px;
        margin-top: -30px;
        text-align: center;
        font-family: 'Playfair Display', serif;
    }

    .footer {
        flex-direction: row;
        text-align: center;
    }
    .footer .social-icons {
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }
    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }
    
   .footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        overflow-x: hidden;
    }
    .footer nav a {
        margin: 3px 9px;
        text-decoration: none;
        color: white;
        font-size: 12px;
        letter-spacing: 1px;
    }
}
@media (min-width: 600px) and (max-width:767px) {
    header {
        background-color: #1d2b40;
        width: 767px;
        height: 25px;
        padding: 20px;
    }
    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        justify-content:right;
        
    }

    nav ul li {
        margin: 5px 0;
    }
    nav ul li a {
        font-size: 1rem;
    }
    .logo{
        font-size: 1.5em;
        margin: 0 auto;

    }
    .hero {
        background: url(career.jpg) no-repeat center center / cover;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    .overlay h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }
    .overlay h2 {
        font-size: 20px;
    }
    .why-choose-us p {
        font-size: 16px;
        color: #000;
        margin-bottom: 20px;
        line-height: 1.5;
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
        overflow: hidden;}
        .icons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            flex-direction: row;
            gap: 20px;
            overflow: hidden;
            /* max-width: 1000px; */
            /* margin: 0 auto; */
        }
        .icon {
            text-align: center;
            width: 241px;
            margin-bottom: 20px;
        }
        .icon img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #1E2A38;
            padding: 30px;
        }
        .overlay h2 {
            font-size: 20px;
        }
        .footer nav a {
            margin: 0 15px;
            text-decoration: none;
            color: white;
            font-size: 12px;
            letter-spacing: 0px;
        }
        .footer p {
            margin: 5px 0;
            font-size: 11px;
        }
}
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        background: url(career.jpg) no-repeat center center / cover;
        height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .logo {
        font-family: 'Playfair Display', serif;
        color: #d4a259;
        font-size: 15px;
        font-weight: bold;
        margin-left: 15px;
    }
    nav ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 14px;
    }
    .why-choose-us h2 {
        font-size: 36px;
        margin-bottom: 30px;
        color: #000;
        font-family: 'Playfair Display', serif;
    }
    .icon img {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background-color: #1E2A38;
        padding: 30px;
    }
    .footer nav a {
        margin: 0 15px;
        text-decoration: none;
        color: white;
        font-size: 15px;
        letter-spacing: 1px;
    }
}
@media (min-width: 992px) and (max-width:1199px){
    .hero {
        background: url(career.jpg) no-repeat center center / cover;
        height: 450px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
}
@media(min-width: 1200px){

}


@media (min-width: 481px) and (max-width:599px){

    .hero {
        background: url(career.jpg) no-repeat center center / cover;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .overlay h1 {
        font-size: 38px;
        margin-bottom: 10px;
    }
    .overlay h2 {
        font-size: 22px;
    }
    .how-to-apply .content p {
        font-size: 17px;
        line-height: 1.6;
        text-align: center;
    }
    .why-choose-us p {
        font-size: 18px;
        color: #000;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    .icon img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: #1E2A38;
        padding: 30px;
    }
    .current-opportunities p {
        font-size: 18px;
        margin: 5px 0;
        color: white;
        text-align: left;
    }
    .how-to-apply .header p {
        margin: 10px 0 0;
        font-size: 16px;
        text-align: center;
    }
    .how-to-apply .header a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 17px;
    }
    .current-opportunities h2 {
        font-size: 22px;
        margin-bottom: 10px;
        margin-top: -15px;
        color: #000;
        text-align: left;
    }

    .how-to-apply .content h2 {
        font-size: 32px;
        margin: 0 0 10px;
        margin-top: 0;
        text-align: center;
        font-family: 'Playfair Display', serif;
    }

    .footer {
        flex-direction: row;
        text-align: center;
    }
    .footer .social-icons {
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }
    .footer p {
        margin: 5px 0;
        font-size: 14px;
        text-align: center;
    }
    
   .footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        overflow-x: hidden;
    }
    .footer nav a {
        margin: 3px 9px;
        text-decoration: none;
        color: white;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

.link-inheritance {
  text-decoration: none;
  color: inherit;
}
