.career-banner {
    position: relative;
    background-image: url('https://techsevin.com/wp-content/uploads/2025/01/career_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    max-width: 93%;
    margin: 0 auto;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.career-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 50px;
}

.career-banner h3,
.career-banner button {
    position: relative;
    z-index: 1;
    display: none;
}

.career-banner h3 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    letter-spacing: normal;
}

.career-banner button {
    padding: 8px 16px;
    font-size: 22px;
    background-color: #40C6D6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
    /* Remove default focus outline */
}

/* Hover Effect */
.career-banner button:hover {
    background: #414a56;
    color: white;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */
.career-banner button::before,
.career-banner button::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

.career-banner button::before {
    right: 0;
    top: 0;
}

.career-banner button::after {
    left: 0;
    bottom: 0;
}

/* Horizontal Lines */
.career-banner button span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.career-banner button span::before,
.career-banner button span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

.career-banner button span::before {
    left: 0;
    top: 0;
}

.career-banner button span::after {
    right: 0;
    bottom: 0;
}

.career-banner button:hover span::before,
.career-banner button:hover span::after {
    width: 100%;
}

/* Remove focus outline */
.career-banner button:focus-visible {
    outline: none;
}

@media (max-width: 767px) {
    .career-banner {
        text-align: center;
        max-width: 90%;
    }

    .career-banner h3 {
        font-size: 24px;
    }

    .career-banner button {
        font-size: 14px;
        padding: 6px 12px;
    }
}

.employee-experience-section-MG {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.employee-experience-section-MG h2 {
    font-size: 36px;
    margin-bottom: 50px !important;
    color: #333;
    position: relative;
}

.employee-experience-section-MG h2::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 2px;
    background-color: #40C6D6;
}

.employee-grid-MG {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
}

.employee-box-MG {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-box-MG img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.employee-box-MG p {
    font-size: 16px;
    color: #555;
    margin: 0;
    letter-spacing: normal;
}

.employee-box-MG:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hidden-MG {
    display: none;
}

.employee-experience-section-MG h2 {
    font-size: 28px;
    letter-spacing: normal;
    color: #333;
}

.toggle-button-MG {
    margin-top: 3%;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #40C6D6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 20px !important;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Hover Effect */
.toggle-button-MG:hover {
    background: #414a56;
    color: white;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */
.toggle-button-MG::before,
.toggle-button-MG::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

.toggle-button-MG::before {
    right: 0;
    top: 0;
}

.toggle-button-MG::after {
    left: 0;
    bottom: 0;
}

/* Horizontal Lines */
.toggle-button-MG span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.toggle-button-MG span::before,
.toggle-button-MG span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

.toggle-button-MG span::before {
    left: 0;
    top: 0;
}

.toggle-button-MG span::after {
    right: 0;
    bottom: 0;
}

.toggle-button-MG:hover span::before,
.toggle-button-MG:hover span::after {
    width: 100%;
}

/* Remove focus outline */
.toggle-button-MG:focus-visible {
    outline: none;
}

.company-benefits-section-MG h2 {
    font-size: 26px !important;
    letter-spacing: normal !important;
    color: #333;
    position: relative;
    margin-bottom: 50px !important;
}

.company-benefits-section-MG h2::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50.5%;
    transform: translateX(-50%);
    width: 16%;
    height: 2px;
    background-color: #40C6D6;
}

.benefit-box-MG h3 {
    margin: 10px 0 !important;
    font-size: large !important;
    letter-spacing: normal !important;
}

.benefit-box-MG p {
    font-size: medium !important;
    letter-spacing: normal !important;
}

@media (max-width: 767px) {
    .employee-grid-MG {
        grid-template-columns: 1fr;
    }

    .employee-experience-section-MG h2 {
        font-size: 24px;
    }

    .employee-box-MG p {
        font-size: 14px !important;
    }

    .toggle-button-MG {
        margin-top: 34px !important;
        font-size: 18px !important;
        word-spacing: 7px !important;
    }

    .company-benefits-section-MG {
        margin-bottom: 10px !important;
    }
}

.company-benefits-section-MG {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 65px;
    padding-top: 0;
}

.company-benefits-section-MG h2 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #333;
}

.benefits-grid-MG {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1320px;
    margin: 0 auto;
}

.benefit-box-MG {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #40C6D6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-box-MG:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.10) 0px 10px 20px, rgba(0, 0, 0, 0.15) 0px 6px 6px;

}

.icon-MG {
    font-size: 2rem;
    color: #40C6D6;
    margin-bottom: 10px;
}

.icon-MG img {
    width: 65px;
}

.benefit-box-MG h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.benefit-box-MG p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    text-align: center;
}

@media (max-width: 767px) {
    .benefits-grid-MG {
        grid-template-columns: 1fr;
    }

    .company-benefits-section-MG h2 {
        font-size: 24px !important;
    }
}

.benefit-box-MG {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    /* border: 1px solid #ddd; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box-MG:hover {
    transform: translateY(-5px);
}

.icon-MG {
    font-size: 2rem;
    color: #40C6D6;
    margin-bottom: 10px;
}

.benefit-box-MG h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.benefit-box-MG p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

@media (max-width: 767px) {
    .benefit-box-MG p {
        text-align: center;
    }

    .benefits-grid-MG {
        grid-template-columns: 1fr;
    }

    .employee-experience-section-MG h2::after {
        width: 78%;
    }

    .company-benefits-section-MG h2::after {
        width: 65%;
    }

    .opportunity-MG h2::after {
        width: 59% !important;
    }
}

.about-us-section-MG {
    width: 100%;
    background-image: url(https://techsevin.com/wp-content/uploads/2025/02/white-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 93%;
    padding: 40px 50px;
    background-color: #f9f9f9;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 25px;
}

.about-us-content-MG {
    margin-bottom: 40px;
}

.about-us-para-1-MG {
    font-size: 22px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.about-us-para-2-MG {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
    color: #40C6D6;
    margin-bottom: 10px;
    letter-spacing: normal;
}

.about-us-para-3-MG {
    font-size: 22px;
    line-height: 1.8;
    color: #333;
}

.contact-us-section-MG {
    width: 100%;
    max-width: 93%;
    padding: 40px 50px;
    background-color: #313945;
    color: white;
    text-align: center;
    margin: 0 auto 5%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-us-title-MG {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: normal;
}

.contact-us-content-MG {
    font-size: 22px;
    line-height: 1.8;
    letter-spacing: normal;
}

.contact-us-content-MG a {
    color: #40C6D6;
    text-decoration: none;
    font-weight: bold;
}

.contact-us-content-MG a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {

    .about-us-para-1-MG,
    .about-us-para-3-MG,
    .contact-us-content-MG {
        font-size: 14px;
    }

    .about-us-para-2-MG {
        font-size: 16px;
    }

    .contact-us-title-MG {
        font-size: 24px;
    }

    .about-us-section-MG,
    .contact-us-section-MG {
        padding: 20px;
    }
}

.opportunity-MG {
    padding: 20px;
    font-family: 'latoregular';
    display: none;
}

.opportunity-MG h2 {
    text-align: center;
    margin-bottom: 50px !important;
    font-size: 36px;
    letter-spacing: normal;
    position: relative;
}

.opportunity-MG h2::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50.5%;
    transform: translateX(-50%);
    width: 27%;
    height: 2px;
    background-color: #40C6D6;
}

.job-tab-MG {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.job-tab-MG:hover {
    border: 1px solid #40C6D6;
}

.job-info-MG {
    font-size: 22px;
    margin-bottom: 10px;
    white-space: nowrap;
    margin: 0;
    width: 20%;
}

.job-details-container-MG {
    display: flex;
    justify-content: flex-start;
    width: 45%;
}

.job-details-MG {
    display: flex;
    justify-content: space-between;
    width: auto;
    margin: 0;
    gap: 20px;
    font-size: 22px !important;
}

.job-details-MG p:nth-child(1),
.job-details-MG p:nth-child(2) {
    border-right: 2px solid #ddd;
    padding-right: 20px;
}

.job-details-MG p {
    white-space: nowrap;
    margin: 0;
}

.apply-btn-MG {
    background-color: transparent;
    white-space: nowrap;
    text-decoration: none !important;
    color: #40C6D6;
    padding: 3px 20px;
    border: 2px solid #40C6D6;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-family: 'latoregular';
    position: relative;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Hover Effect */
.apply-btn-MG:hover {
    background: #40C6D6;
    color: white;
    border-color: #40C6D6;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */
.apply-btn-MG::before,
.apply-btn-MG::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

.apply-btn-MG::before {
    right: 0;
    top: 0;
}

.apply-btn-MG::after {
    left: 0;
    bottom: 0;
}

/* Horizontal Lines */
.apply-btn-MG span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.apply-btn-MG span::before,
.apply-btn-MG span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

.apply-btn-MG span::before {
    left: 0;
    top: 0;
}

.apply-btn-MG span::after {
    right: 0;
    bottom: 0;
}

.apply-btn-MG:hover span::before,
.apply-btn-MG:hover span::after {
    width: 100%;
}

/* Remove focus outline */
.apply-btn-MG:focus-visible {
    outline: none;
}

@media (max-width: 768px) {
    .job-tab-MG {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .opportunity-MG h2 {
        font-size: 24px;
    }

    .job-info-MG {
        text-align: center;
        margin-bottom: 10px;
        width: 100%;
    }

    .job-details-container-MG {
        flex-direction: column;
        align-items: center;
    }

    .job-details-MG {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 0;
        gap: 0;
        font-size: 16px !important;
    }

    .job-details-MG p {
        margin-right: 0;
        margin-bottom: 0;
    }

    .apply-btn-MG {
        width: 35% !important;
        padding: 5px 0;
        margin-top: 15px;
        text-align: center;
    }

    .job-details-MG p:nth-child(1),
    .job-details-MG p:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
}

/* CSS to create a backdrop overlay */
#background-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: none;
}

/* When popup is visible, allow background overlay to block interaction */
#background-overlay.active {
    display: block;
    pointer-events: all;
}

/* Additional styles for the popup */
#job-apply-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.job-apply-sub {
    margin-top: 10px;
    display: flex;
    justify-content: end;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #dcd7ca;
    padding: 9px 15px;
    border-radius: 8px;
    min-height: 40px;
    cursor: text;
    position: relative;
    height: 50px;
    max-height: 50px;
}

.skills-container:hover {
    border: 1px solid black;
}

.skills-container:focus-within {
    border: 1px solid #40C6D6;
}

.skill {
    background: #40C6D6;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    margin: 4px;
    display: flex;
    align-items: center;
}

.skill .remove {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.skill .remove:hover {
    color: #ff4d4d;
}

#skill-input {
    border: none;
    outline: none;
    padding: 5px;
    flex-grow: 1;
    width: fit-content;
}

.skill-error {
    position: absolute;
    bottom: -20px;
    left: 0;
}
@media screen and (min-width: 1537px) and (max-width: 1920px) {
    .employee-experience-section-MG h2::after{
        left: 50%;
        width: 21%;
    }
    .company-benefits-section-MG h2::after{
        left: 50.2%;
        width: 12%;
    }
    .opportunity-MG h2::after{
        left: 50%;
        width: 21%;
    }
}
@media screen and (min-width: 1441x) and (max-width: 1536px) {
    .employee-experience-section-MG h2::after{
        width: 26%;
    }
    .company-benefits-section-MG h2::after{
        width: 14%;
    }
    .opportunity-MG h2::after{
        left: 50.2%;
        width: 25%;
    }
}
@media screen and (min-width: 1367x) and (max-width: 1440px) {
    .employee-experience-section-MG h2::after{
        width: 29%;
    }
    .company-benefits-section-MG h2::after{
        width: 15%;
    }
    .opportunity-MG h2::after{
        width: 26%;
    }
}
@media screen and (min-width: 1281x) and (max-width: 1366px) {
    .employee-experience-section-MG h2::after{
        width: 30%;
    }
    .company-benefits-section-MG h2::after{
        width: 16%;
    }
    .opportunity-MG h2::after{
        width: 29%;
    }
}
@media screen and (min-width: 1025x) and (max-width: 1280px) {
    .employee-experience-section-MG h2::after{
        width: 33%;
    }
    .company-benefits-section-MG h2::after{
        width: 18%;
    }
    .opportunity-MG h2::after{
        width: 31%;
    }
}
@media only screen and (max-width: 1024px) {
    .apply-btn-MG {
        font-size: 16px;
    }

    .job-details-MG {
        font-size: 16px !important;
        gap: 24px !important;
    }

    .job-details-container-MG {
        width: 55%;
    }

    .job-info-MG {
        font-size: 18px !important;
        white-space: normal;
    }
}

/* blog inner page css  */
.blogs_details,
section.blog_slide {
    padding: 0;
    width: 90%;
}
section.blog_video{
    padding: 0;
    width: 70%;
}
section.blog_slide{
    margin-bottom: 8%;
}
.blog-title,
.blogslidetitle,
.blog-content-heading {
    font-size: clamp(24px, 34px, 38px);
    font-weight: bold;
    color: #121111;
    margin-bottom: 10px;
    font-family: 'latoregular' !important;
    letter-spacing: normal;

}

h3.blogslidetitle {
    text-align: center;
    position: relative;
    margin: 6rem auto 6rem !important;
    font-family: 'latoregular' !important;
    letter-spacing: normal;
}

.blog-description ,
.blog-content-text{
    font-size: clamp(16px, 22px, 24px);
    color: #525252;
    line-height: 1.6;
    font-family: 'latoregular' !important;
    letter-spacing: normal;
}

section.blogs-insight-section.blogpagesection {
    margin-bottom: 0;
    background-color: white;
    padding: 2% 3% 5%;
}

h3.blogslidetitle::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50.1%;
    transform: translateX(-50%);
    width: 20%;
    height: 2px;
    background-color: #40C6D6;
    margin-top: 5%;
}

iframe.iframe_video,
iframe.iframe_slide {
    border-radius: 15px;
}

.blog-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

.blog-content-list {
    list-style-type: square;
    padding-left: 20px;
}

.blog-content-list li {
    margin-bottom: 10px;
    font-family: 'latoregular' !important;
    letter-spacing: normal;
}

.blog-content-strong {
    color: #555;
}

.blog-content-sublist {
    margin-top: 10px;
}

button.toggle-button-MG {
    word-spacing: 6px;
}

@media only screen and (min-width:769px) and (max-width: 820px) {
    .career-banner {
        padding: 40px 20px;
    }
    .career-banner button {
        font-size: 18px;
    }
    .about-us-para-1-MG {
        font-size: 20px;
    }
    .about-us-para-2-MG {
        font-size: 22px;
    }
    .about-us-para-3-MG {
        font-size: 20px;
    }
    h3.contact-us-title-MG {
        font-size: 26px;
        margin-top: 20px !important;
    }
    p.contact-us-content-MG {
        font-size: 20px;
    }
    .opportunity-MG h2 {
        font-size: 26px; 
    }
    .job-info-MG {
        font-size: 14px !important;
    }
    .job-details-MG {
        gap: 10px !important;
    }
    .job-details-MG p {
        font-size: 14px !important;
    }
    .apply-btn-MG {
        font-size: 13px !important;
    }
}
