/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Cambria, Calibri, serif;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    overflow-x: hidden;
}
h1 {
    font-family: Cambria, Calibri, serif;
}
h4 {
    font-family: Cambria, Calibri, serif;
}
.pt-5 {
    padding-bottom: 2rem !important;
}
.w-100 {
    height: 100%;
}
.w-25 {
    width: 30% !important;
}
.container-fluid {
    padding-right: calc(var(--bs-gutter-x) * 0);
    padding-left: calc(var(--bs-gutter-x) * 0);
}
.container {
    padding: 0 15px;
    position: relative;
    z-index: 1;
}
.titlehead {
    text-align: -webkit-center;
}
.divider {
    border-bottom: 1px solid black;
}
.divider2 {
    border-top: 1px solid #415093;
    border-bottom: 1px solid #415093;
}
.table {
    color: white;
}

/* ===== Header & Navbar (Unchanged) ===== */
.upperheader {
    height: 20px;
    background-color: #415093;
}
.navbar-nav {
    font-size: 20px;
}
.navlogo {
    width: 60%;
}
.navbar-brand {
    margin: 4px 30px;
}
.navbar-brand {
    width: 20%;
}
.nav-item {
    margin-right: 20px;
}
.nav-item:hover {
    background-color: #415093;
    color: white;
}
.nav-link:hover {
    color: white;
}
.nav-link.active:hover {
    color: white;
}
.nav-link2:hover {
    color: black;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border: none !important;
    background-color: #415093;
}
.nav {
    font-size: 17px;
    font-family: Cambria, Calibri, serif;
    --bs-nav-link-color: black;
    --bs-nav-link-hover-color: black;
    place-content: center;
}
.nav-tabs .nav-link.active {
    color: white;
}
.nav-link {
    color: black;
}
.nav-link.active {
    font-size: 19px;
}
.nav-tabs {
    border-bottom: 4px solid #415093;
    width: 63%;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-item:hover {
    background-color: #415093;
    color: white;
}
.dropdown-menu {
    font-family: Cambria, Calibri, serif;
    font-size: 18px;
}
.dropdown:hover .nav-link {
    color: white;
}
.collapse {
    margin: 10px 10px;
    width: auto;
}
.navbar-toggler {
    margin-left: 10px;
    margin-right: 10px;
    padding: 8px;
    position: relative;
}

/* ===== Career Page Redesign ===== */
.career-hero {
    background: linear-gradient(135deg, rgba(65, 80, 147, 0.9), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80') no-repeat center center;
    background-size: cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.career-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.career-hero-content {
    position: relative;
    z-index: 1;
}

.career-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease;
}

.career-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.career-cta {
    display: inline-block;
    background: #415093;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease 0.6s both;
    border: 2px solid #415093;
}

.career-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.career-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #415093;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #415093;
}

.career-tabs {
    margin-bottom: 50px;
}

.career-tabs .nav {
    justify-content: center;
    border-bottom: 3px solid #e9ecef;
}

.career-tabs .nav-link {
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    border: none;
    border-radius: 0;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

.career-tabs .nav-link.active {
    color: #415093;
    background: transparent;
}

.career-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #415093;
}

.career-tabs .nav-link:hover {
    color: #415093;
    background-color: rgba(65, 80, 147, 0.1);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.career-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.career-card-header {
    background: #415093;
    color: white;
    padding: 20px;
}

.career-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.career-card-header .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.career-card-body {
    padding: 25px;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.career-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.career-meta-item i {
    margin-right: 8px;
    color: #415093;
}

.career-card-footer {
    padding: 0 25px 25px;
}

.apply-btn {
    display: inline-block;
    background: #415093;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #415093;
}

.apply-btn:hover {
    background: transparent;
    color: #415093;
}

.application-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #415093;
    box-shadow: 0 0 0 0.25rem rgba(65, 80, 147, 0.25);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-col {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
}

.submit-btn {
    background: #415093;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 30px auto 0;
}

.submit-btn:hover {
    background: #34406a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Improved Benefits Section ===== */
.benefits-section {
    background: linear-gradient(135deg, rgba(65, 80, 147, 0.9), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.benefits-section .section-title {
    position: relative;
    z-index: 1;
}

.benefits-section .section-title h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.benefits-section .section-title h2::after {
    background: #FFD700;
    height: 4px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 25px;
    border-radius: 10px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(65, 80, 147, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #FFD700;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(180deg);
    color: white;
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #FFD700;
    transition: all 0.3s ease;
}

.benefit-card:hover h3::after {
    width: 80px;
    background: white;
}

.benefit-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Footer (Unchanged) ===== */
.upperfooter {
    background-color: #415093;
    padding: 1.5rem 0;
}
.quicklink {
    text-decoration: none;
    color: white;
}
.quicklink2 {
    text-decoration: none;
    color: white;
}
.quicklink {
    transition: 0.3s;
}
.quicklink:hover {
    transform: scale(1.1);
}
.linksec:hover {
    color: red;
}
.horiline {
    width: 30%;
    color: white;
}
.icon {
    font-size: 35px;
    display: flex;
    gap: 15px;
}
.icon a {
    display: inline-block;
    transition: transform 0.3s ease;
}
.icon a:hover {
    transform: scale(1.2);
}
.icon svg {
    width: 35px;
    height: 35px;
}
.fa-facebook:hover {
    color: blue;
}
.fa-instagram:hover {
    color: palevioletred;
}
.fa-linkedin:hover {
    color: dodgerblue;
}
.fa-youtube:hover {
    color: red;
}
.fa-whatsapp:hover {
    color: green;
}
.copyfooter {
    font-family: Cambria, Calibri, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #202849;
    width: 100%;
    padding: 5px 0;
    margin: 0;
}
.copyfooter p {
    font-family: Cambria, Calibri, serif;
    margin: 0;
    text-align: center;
    font-size: 14px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .career-hero h1 {
        font-size: 2.8rem;
    }
    
    .career-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .career-hero {
        padding: 100px 0 60px;
    }
    
    .career-hero h1 {
        font-size: 2.2rem;
    }
    
    .career-hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .career-tabs .nav-link {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .benefits-section .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .career-hero h1 {
        font-size: 1.8rem;
    }
    
    .career-cta {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
    }
    
    .application-form {
        padding: 25px;
    }
    
    .form-col {
        flex: 100%;
    }
    
    .benefits-section .section-title h2 {
        font-size: 1.8rem;
    }
}