.custom-navbar {
    background-color:  #F3EED4; /* Same as section background for cohesion */
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 70px; /* height of your fixed header */
    z-index: 1500; /* lower than header */
    padding: 10px 20px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #003366; /* Dark Blue text */
    padding: 8px 12px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item a:hover,
.nav-item.active a {
    color: #003366;
    border-bottom: 2px solid #003366;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .nav-item a {
        display: block;
    }
}
/* Main section background */
#new-about {
    background-color:  #F3EED4 !important; /* Updated to match image 2 */
}

/* History section container */
.history-section {
    padding: 60px 0;
}

/* Container settings */
.container {
    width: 85%;
    margin: 0 auto;
}

/* Section header and line effect */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-family: 'Arial', sans-serif;
    color: #003366; /* Deep Blue */
    font-weight: bold;
    position: relative;
    padding: 0 20px;
    display: inline-block;
}

.section-title span::before,
.section-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: #003366;
    transform: translateY(-50%);
}

.section-title span::before {
    right: 100%;
    margin-right: 15px;
}

.section-title span::after {
    left: 100%;
    margin-left: 15px;
}

/* Descriptive text */
.section-description {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
}

/* Vision + Mission layout */
.vision-mission {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.vision, .mission {
    width: 48%;
    background-color:  #F3EED4; /* optional card look */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.vision-title, .mission-title {
    font-size: 36px;
    color: #003366;
    font-weight: bold;
    margin-bottom: 15px;
}

.vision-text, .mission-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive layout */
@media (max-width: 768px) {
    .vision-mission {
        flex-direction: column;
        align-items: center;
    }

    .vision, .mission {
        width: 100%;
        margin-bottom: 30px;
    }
}

.section-margin {
    margin-top: 9vh;
    scroll-margin-top: 100px;
}
/* Extra spacing between sections */
.section-spacing {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Team section */

.team-section {
    background-color:  #F3EED4;
    padding: 60px 0;
}

.team-member .image-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-member .member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.team-member .image-wrapper:hover .member-img {
    transform: scale(1.05);
}

.team-member .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
}

.team-member .image-wrapper:hover .overlay {
    opacity: 1;
}

.team-margin{
    margin-top: 4vh !important;
}


.work-withus-card {
    background-color: #fef3dc; /* Same as current */
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-footer.text-white {
    background-color: #40537d;
    padding: 18px;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    overflow: hidden;
}
