@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,100;1,300;1,400;1,500&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    transition: all .2s linear;
    text-decoration: none;
}

html{
    font-size: 62.5%;
}

body{
    overflow-x: hidden;
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.6rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(58, 58, 59, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s ease;
}

.header.header-scrolled{
    background: rgba(58, 58, 59, 0.96) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    border-bottom-color: rgba(58, 58, 59, 0.15);
}

.header .logo.text-logo {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.header .logo.text-logo:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.header .logo-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(58, 58, 59, 0.15), rgba(58, 58, 59, 0.6));
    border: 1px solid rgba(58, 58, 59, 0.25);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(58, 58, 59, 0.1);
    overflow: hidden;
}

.brand-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.header .logo.text-logo:hover .brand-logo-img {
    transform: scale(1.12);
}

.header .logo-icon-wrap i {
    color: #4fb4be;
    font-size: 2.2rem;
}

.header .logo .brand-accent {
    color: #4fb4be;
}

.header .navbar ul{
    list-style-type: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.header .navbar ul li{
    margin: 0 0.5rem;
}

.header .navbar ul li a{
    position: relative;
    display: inline-block;
    padding: 0.6rem 0.6rem;
    font-size: 1.55rem;
    font-weight: 500;
    color: #f0f4f9;
    letter-spacing: 0.4px;
    text-transform: capitalize;
    transition: color 0.3s ease;
    text-decoration: none;
}

.header .navbar ul li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: #4fb4be;
    border-radius: 4px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .navbar ul li a:hover{
    color: #4fb4be;
    text-decoration: none;
}

.header .navbar ul li a:hover::after{
    width: 80%;
}

.header .navbar ul li a.active{
    color: #4fb4be !important;
    font-weight: 600;
    text-decoration: none;
}

.header .navbar ul li a.active::after{
    width: 85%;
    background: #4fb4be;
    box-shadow: 0 0 10px rgba(79, 180, 190, 0.65);
}

.header .navbar ul li a.nav-cta-btn{
    background: linear-gradient(135deg, #4fb4be, #3fa8b0);
    color: #ffffff !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(79, 180, 190, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    margin-left: 0.8rem;
}

.header .navbar ul li a.nav-cta-btn::after{
    display: none;
}

.header .navbar ul li a.nav-cta-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 180, 190, 0.55);
    background: linear-gradient(135deg, #00d2ff, #2d8f97);
    color: #ffffff !important;
}

.header .fa-bars{
    color: #fff;
    cursor: pointer;
    font-size: 2.8rem;
    display: none;
}

.home{
    min-height: 70vh;
    width: 100vw;
    background-image: url(../images/img3.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden !important;
}

.home h2{
    color: #fff;
    font-size: 5.5rem;
}

.career-heading{
    text-align: center;
    padding: 3rem 1.5rem 0 1.5rem;
}

.heading{
    padding-top: 6rem;
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #002e5f;
    position: relative;
    letter-spacing: .15rem;
    margin: -2rem auto 1.5rem auto;
}

.career-heading p{
    font-size: 1.65rem;
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.heading::before, .heading::after{
    content: '';
    position: absolute;
    height: 2.2rem;
    width: 2.2rem;
    border-top: .35rem solid #4fb4be;
    border-left: .35rem solid #4fb4be;
}

.heading::before{
    top: 5.8rem;
    left: -2rem;
}

.heading::after{
    bottom: -.5rem;
    right: -2rem;
    transform: rotate(180deg);
}

/* ========================================================
   Career Application Form
   ======================================================== */
.career {
    max-width: 820px;
    width: 92%;
    margin: 3.5rem auto 6rem auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 42px 48px;
    box-shadow: 0 12px 35px rgba(0, 46, 95, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    box-sizing: border-box;
}

.career-form {
    width: 100%;
    text-align: left;
}

.form-row {
    margin-bottom: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 1.45rem;
    font-weight: 600;
    color: #002e5f;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.career-form-txt, 
.career-form-phone, 
.career-form-email, 
.career-form-experience,
.career-form-select {
    width: 100%;
    height: 48px;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    padding: 0 16px;
    font-size: 1.5rem;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s ease;
    box-sizing: border-box;
    margin: 0;
}

.career-form-txt:focus, 
.career-form-phone:focus, 
.career-form-email:focus, 
.career-form-experience:focus,
.career-form-select:focus,
.career-form-txtarea:focus {
    border-color: #002e5f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 46, 95, 0.12);
}

/* Custom Dropdown select styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.career-form-select {
    cursor: pointer;
    padding-right: 42px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.career-form-select option {
    background: #ffffff;
    color: #1e293b;
    padding: 10px;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #002e5f;
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.select-wrapper:hover .select-arrow {
    color: #4fb4be;
}

.career-form-txt::placeholder, 
.career-form-phone::placeholder, 
.career-form-email::placeholder, 
.career-form-experience::placeholder {
    color: #94a3b8;
    font-size: 1.45rem;
}

.career-form-txtarea {
    width: 100%;
    min-height: 125px;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    background: #f8fafc;
    resize: vertical;
    transition: all 0.25s ease;
    box-sizing: border-box;
    margin: 0;
}

.career-form-txtarea::placeholder {
    color: #94a3b8;
    font-size: 1.45rem;
}

/* Position selection group */
.radio-class {
    margin: 10px 0 24px 0;
    padding: 0;
    width: 100%;
}

.radio-class h2.name,
.file h2.name {
    font-size: 1.55rem;
    font-weight: 600;
    color: #002e5f;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}

.radio-class h2.name i,
.file h2.name i {
    color: #4fb4be;
    font-size: 1.6rem;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.radio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.45rem;
    font-weight: 500;
    color: #334155;
    margin: 0;
    transition: all 0.2s ease;
    user-select: none;
}

.radio:hover {
    border-color: #4fb4be;
    background: #f0fdfa;
    color: #002e5f;
}

.radio input[type="radio"] {
    accent-color: #002e5f;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.radio:has(input[type="radio"]:checked) {
    border-color: #002e5f;
    background: #f0f7ff;
    color: #002e5f;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 46, 95, 0.08);
}

.radio .radio-text {
    line-height: 1.3;
}

/* Resume upload group */
.file {
    margin: 10px 0 30px 0;
    padding: 0;
    width: 100%;
}

.file-upload-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.25s ease;
}

.file-upload-box:hover {
    border-color: #4fb4be;
    background: #f0fdfa;
}

.upload {
    font-size: 1.45rem;
    color: #334155;
    cursor: pointer;
    max-width: 100%;
    margin-bottom: 8px;
}

.file-help-text {
    font-size: 1.3rem;
    color: #64748b;
    margin-top: 6px;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.file-help-text i {
    color: #e02424;
    font-size: 1.4rem;
}

/* Submit button */
.career-btn-wrap {
    text-align: center;
    margin-top: 15px;
}

.career-form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 260px;
    height: 52px;
    background: #002e5f;
    color: #ffffff;
    border: 2px solid #002e5f;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 46, 95, 0.25);
    transition: all 0.3s ease;
    text-transform: capitalize;
    padding: 0 36px;
    outline: none;
}

.career-form-btn:hover {
    background: #4fb4be;
    border-color: #4fb4be;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 180, 190, 0.4);
}

.career-form-btn i {
    font-size: 1.4rem;
    transition: transform 0.25s ease;
}

.career-form-btn:hover i {
    transform: translateX(4px);
}

.footer {
    position: relative;
    padding: 0 0 30px 0;
    background: #333;
}

.footer .footer-top {
    background: #3a3a3b;
    padding: 60px 0 30px 0;
}

.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}

.footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #ffffff;
    color: #3a3a3b;
    line-height: 1;
    padding: 9px 0;
    margin-right: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

.footer .footer-top .social-links a:hover {
    background: #3a3a3b;
    color: #ffffff;
}

.footer .footer-top h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 50px;
    border-bottom: 2px solid #ffffff;
}

.footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ffffff;
    font-size: 16px;
}

.footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #ffffff;
    padding: 7px 0;
}

.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul a {
    font-size: 14px;
    color: #ffffff;
}

.footer .footer-top .footer-links ul a:hover {
    color: #3a3a3b;
}

.footer .footer-top .footer-contact p {
    color: #ffffff;
    line-height: 26px;
}

.footer .footer-top .footer-newsletter input[type="email"] {
    padding: 6px 8px;
    width: 60%;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
}

.footer .footer-top .footer-newsletter input[type="submit"] {
    border: 0;
    width: 40%;
    padding: 6px 0;
    text-align: center;
    color: black;
    border: 1px solid #ffffff;
    background: #ffffff;
    transition: 0.3s;
    cursor: pointer;
}

.footer .footer-top .footer-newsletter input[type="submit"]:hover {
    color: #ffffff;
    background: #3a3a3b;
    border: 1px solid #3a3a3b;
    letter-spacing: .2rem;
}

.footer .footer-top .footer-newsletter p {
    color: #ffffff;
    font-size: 14px;
}

.footer .credit,
.footer .copyright {
    text-align: center;
    padding-top: 30px;
}

.back-to-top {
    position: fixed;
    display: none;
    background-color: #3a3a3b;
    color: #ffffff;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 1;
    font-size: 44px;
    right: 15px;
    bottom: 15px;
    transition: background 0.3s;
    z-index: 9;
}

.back-to-top i {
    color: #ffffff;
}

.back-to-top i:hover {
    color: black;
}

@media (min-width: 768px) {
    .footer .credit {
        text-align: right;
    }
    
    .footer .copyright {
        text-align: left;
    }
}

@media (max-width: 1000px){
    html{
        font-size: 50%;
    }

    .header .logo img{
        width: 20%;
        height: 3rem;
        top: 0;
        left: 0;
        background-size: cover;
    }

    .header .fa-bars{
        display: block;
        color: white;
        margin-right: 1rem;
        transition: color 0.3s ease;
    }

    .header .fa-bars:hover{
        color: #3a3a3b;
    }

    .header .navbar{
        position: fixed;
        top: -150%;
        left: 0;
        height: auto;
        width: 100%;
        background: rgba(58, 58, 59, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 2px solid #3a3a3b;
        box-shadow: 0 10px 30px rgba(0,0,0,.4);
        padding: 2.5rem 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header .navbar ul{
        height: 100%;
        width: 100%;
        flex-flow: column;
        gap: 1.5rem;
    }

    .header .navbar ul li{
        margin: 0.5rem 0;
        text-align: center;
    }

    .header .navbar ul li a{
        color: #e2eaf5;
        font-size: 1.9rem;
    }

    .header .navbar ul li a:hover{
        color: #3a3a3b;
    }

    .header .navbar ul li a.nav-cta-btn{
        margin-left: 0;
        display: inline-block;
        margin-top: 0.8rem;
    }

    .header .fa-times{
        transform: rotate(90deg);
        color: #3a3a3b;
    }

    .header .nav-toggle{
        top: 6.2rem;
    }

    .home{
        min-height: 60vh;
    }

    .home h2{
        color: #fff;
        font-size: 4rem;
    }

    .back-to-top {
        width: 30px;
        height: 30px;
        font-size: 30px;
    }
}

@media (max-width: 768px){
    .career {
        width: 94%;
        padding: 30px 20px;
        margin: 2.5rem auto 4rem auto;
        border-radius: 12px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .career-form-btn {
        width: 100%;
        min-width: 0;
    }

    .heading {
        font-size: 2.8rem;
    }

    .career-heading p {
        font-size: 1.5rem;
    }
}

/* Social links in footer */
.footer-contact .social-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.footer-contact .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3a3a3b;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.footer-contact .social-links a:hover {
    background: #3a3a3b;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(58, 58, 59, 0.25);
}

.whatsapp-float {
    position: fixed;
    width: 52px;
    height: 52px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 2.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #1ebd56;
    color: #ffffff;
    transform: scale(1.08);
}

.footer-links ul li a,
.footer-contact p,
.footer-newsletter p,
.copyright {
    text-transform: none;
}
