/* --- GLOBAL ALIGNMENT FIXES --- */
body {
    overflow-x: hidden;
}

#homePageSection1 {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background: #fff;
    overflow: hidden;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    max-width: 100%;
    width: max-content;
}

.subhead-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.line-left {
    width: 60px;
    height: 1px;
    background-color: #000;
    margin-right: 15px;
}

#heroSubHead, .sub-heading {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

#heroHead {
    font-size: clamp(3rem, 5vw, 5rem);
    margin: 10px 0;
    line-height: 1.1;
    white-space: nowrap;
}

.purple-text {
    color: #4a54a0;
    font-weight: 400;
}

.gradient-text {
    background: linear-gradient(90deg, #44a5d8, #2cc4a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.black-text {
    color: #000;
    font-weight: 800;
}

.partner-logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

#microsoftPartnerBadge {
    width: 120px;
    margin: 0 !important;
}

.scroll-container {
    position: absolute;
    left: 40px;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: #000;
}

.scrollText {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #000;
    margin: 0;
}

.seor-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 40vw;
    z-index: 1;
}

/* SECTION 2 & 3 Split Layout */
#careerPageSection2, #careerPageSection3 {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 150px;
}

#careerPageSection2 {
    background: #eef2fa; /* Light blue/gray on right side */
    display: flex;
    align-items: center;
    min-height: 80vh;
}

#careerPageSection3 {
    background: #eaf5ee; /* Light green for bottom */
}

.bg-svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-svg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.split-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.split-left, .split-right {
    flex: 1;
    min-width: 300px;
    padding: 0 5%;
}

.section-left-pad {
    padding-left: 10%;
}

.section-right-pad {
    padding-right: 10%;
    max-width: 500px;
}

.huge-heading {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #000;
    margin: 0;
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-top: 20px;
    margin-bottom: 30px;
}

.outline-btn {
    background: transparent;
    border: 1px solid #2cc4a3;
    color: #333;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.outline-btn:hover {
    background: #2cc4a3;
    color: #fff;
}

.avatars-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    margin-bottom: 20px; /* Adjust spacing */
}

#teamAvatars {
    max-width: 600px;
    width: 80%;
    height: auto;
    display: inline-block;
}

/* Animations Grid */
.animation-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 80px auto 40px auto;
    padding: 0 5%;
}

.pbHead {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-cta {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 40px;
}

.ctaType {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Fix Headings */
.hpSectionHeadDiv {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.hpSectionHeadParent {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    max-width: 900px;
    line-height: 1.2;
    color: #000;
}

/* --- NO OPENINGS STYLING --- */
#careerPageSection4 {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-openings-box {
    margin: 50px auto;
    text-align: center;
}

.no-openings-text {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #44a5d8, #2cc4a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    .section-left-pad, .section-right-pad {
        padding: 0;
    }
    .huge-heading {
        margin-bottom: 30px;
    }
    .hero-content-wrapper {
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
    .scroll-container {
        display: none;
    }
    #heroHead {
        white-space: normal;
    }
    .partner-logo-wrapper {
        justify-content: center;
    }
}