/* =====================================================
   CAREER PAGE - COMPLETE RESPONSIVE CSS
   Desktop + Tablet + Mobile
   Font: Roboto Slab
===================================================== */


/* =====================================================
   1. CAREER PAGE BANNER
===================================================== */

.career-page-banner {
    position: relative;
    background-color: #FFDDBE;
    background-image: url("../images/career.png");
    background-position: right 150px center;
    background-repeat: no-repeat;
    background-size: 45% auto;
    padding: 153px 83px;
    font-family: "Roboto Slab", Georgia, serif;
    overflow: hidden;
    transition: background 0.3s, border-radius 0.3s;
}

.career-page-banner-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.career-page-banner-title {
    color: #23197a;
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
}

.career-page-banner-breadcrumb {
    color: #1a1a2e;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
}

.career-page-banner-breadcrumb a {
    color: #1a1a2e;
    text-decoration: none;
}

.career-page-banner-breadcrumb a:hover {
    text-decoration: underline;
}


/* =====================================================
   2. CAREER INTRODUCTION SECTION
===================================================== */

.career-intro-block {
    font-family: "Roboto Slab", Georgia, serif;
    background: #ffffff;
    padding: 50px 40px;
}

.career-intro-block-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.career-intro-text {
    flex: 1;
    min-width: 0;
}

.career-intro-heading {
    color: #23197a;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px;
}

.career-intro-subheading {
    color: #1a1a2e;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    font-family: "Roboto Slab", Georgia, serif;
}

.career-intro-body {
    color: #2b2b33;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    font-family: "Roboto Slab", Georgia, serif;
}

.career-intro-media {
    flex: 0 0 460px;
    min-width: 0;
}

.career-intro-img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}


/* =====================================================
   3. CAREER EXPECTATIONS SECTION
===================================================== */

.career-expect-block {
    font-family: "Roboto Slab", Georgia, serif;
    background: #ffffff;
    padding: 50px 40px;
}

.career-expect-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.career-expect-heading {
    color: #23197a;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 24px;
}

.career-expect-text {
    color: #2b2b33;
    font-size: 16px;
    line-height: 1.75;
    font-family: "Roboto Slab", Georgia, serif;
}

.career-expect-text:last-child {
    margin-bottom: 0;
}



/* =====================================================
   8. CAREER SLIDER  (prev / next buttons fixed)
===================================================== */
.career-slider-section {
  background: #ffffff;
  padding: 40px 150px;
  font-family:"Roboto Slab", Georgia, serif;
}

.career-slider-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.career-slider-viewport { overflow: hidden; }

.career-slider-track {
  display: flex;
  transition: transform 0.55s ease;
}

.career-slide {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  margin-right: 20px;
  background: #ffffff;
  border: 1px solid #e2e2e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(16px);
  animation: slideFadeIn 0.6s ease forwards;
}

.career-slide:nth-child(1) { animation-delay: 0.05s; }
.career-slide:nth-child(2) { animation-delay: 0.15s; }
.career-slide:nth-child(3) { animation-delay: 0.25s; }
.career-slide:nth-child(4) { animation-delay: 0.05s; }
.career-slide:nth-child(5) { animation-delay: 0.15s; }
.career-slide:nth-child(6) { animation-delay: 0.25s; }

@keyframes slideFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.career-slide-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Round prev / next buttons ---- */
.career-arrow {
  position: absolute;
  top: calc(50% - 16px);          /* centred on the images, ignoring the dots row below */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d8d8de;
  color: #1a1a2e;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, color 0.2s ease;
}

.career-arrow:hover {
  background: #1a1a2e;
  border-color: #1a1a2e;
  color: #ffffff;
}

.career-arrow--prev { left: -20px; }
.career-arrow--next { right: -20px; }

.career-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.career-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3d3da;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.career-dots .dot.active {
  background: #1a1a2e;
  transform: scale(1.25);
}

/* ---- Tablet: 2 slides ---- */
@media (max-width: 1024px) {
  .career-slider-section { padding: 32px 40px; }

  .career-slide {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    margin-right: 15px;
  }

  .career-arrow--prev { left: -16px; }
  .career-arrow--next { right: -16px; }
}

/* ---- Mobile: 1 slide ---- */
@media (max-width: 640px) {
  .career-slider-section { padding: 24px 28px; }

  .career-slide {
    flex: 0 0 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .career-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    top: calc(50% - 13px);
  }

  .career-arrow--prev { left: -22px; }
  .career-arrow--next { right: -22px; }

  .career-dots { margin-top: 18px; }
}

/* =====================================================
   5. LARGE TABLET RESPONSIVE
   901px - 1024px
===================================================== */

@media (min-width: 901px) and (max-width: 1024px) {

    /* Banner */

    .career-page-banner {
        padding: 80px 35px;
        background-position: right 25px center;
        background-size: 45% auto;
    }

    .career-page-banner-title {
        max-width: 55%;
        font-size: 2.1rem;
    }

    .career-page-banner-breadcrumb {
        font-size: 0.95rem;
    }


    /* Introduction */

    .career-intro-block {
        padding: 40px 28px;
    }

    .career-intro-block-inner {
        gap: 28px;
    }

    .career-intro-heading {
        font-size: 1.5rem;
    }

    .career-intro-subheading {
        font-size: 1rem;
    }

    .career-intro-body {
        font-size: 0.95rem;
    }

    .career-intro-media {
        flex: 0 0 35%;
    }

    .career-intro-img {
        max-width: 100%;
    }


    /* Expectations */

    .career-expect-block {
        padding: 40px 28px;
    }

    .career-expect-heading {
        font-size: 1.5rem;
    }

    .career-expect-text {
        font-size: 0.95rem;
    }


    /* Slider */

    .career-slider-section {
        padding: 35px 42px;
    }

    .career-slider-track {
        gap: 15px;
    }

    .career-slide {
        flex: 0 0 calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
    }

    .career-arrow {
        width: 36px;
        height: 36px;
    }

    .career-arrow--prev {
        left: -18px;
    }

    .career-arrow--next {
        right: -18px;
    }
}


/* =====================================================
   6. TABLET RESPONSIVE
   641px - 900px
===================================================== */

@media (min-width: 641px) and (max-width: 900px) {

    /* Banner */

    .career-page-banner {
        padding: 65px 28px;
        background-position: right 15px center;
        background-size: 43% auto;
    }

    .career-page-banner-title {
        font-size: 2rem;
        max-width: 55%;
    }

    .career-page-banner-breadcrumb {
        font-size: 0.95rem;
    }


    /* Introduction */

    .career-intro-block {
        padding: 38px 25px;
    }

    .career-intro-block-inner {
        gap: 25px;
    }

    .career-intro-text {
        flex: 1;
    }

    .career-intro-heading {
        font-size: 1.45rem;
        line-height: 1.4;
    }

    .career-intro-subheading {
        font-size: 0.98rem;
    }

    .career-intro-body {
        font-size: 0.93rem;
        line-height: 1.75;
    }

    .career-intro-media {
        flex: 0 0 34%;
    }

    .career-intro-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* Expectations */

    .career-expect-block {
        padding: 38px 25px;
    }

    .career-expect-heading {
        font-size: 1.45rem;
        margin-bottom: 20px;
    }

    .career-expect-text {
        font-size: 0.93rem;
        line-height: 1.75;
    }


    /* Slider */

    .career-slider-section {
        padding: 32px 38px;
    }

    .career-slider-wrap {
        max-width: 100%;
    }

    .career-slider-track {
        gap: 15px;
    }

    .career-slide {
        flex: 0 0 calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
        margin-right: 0;
    }

    .career-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .career-arrow--prev {
        left: -16px;
    }

    .career-arrow--next {
        right: -16px;
    }

    .career-dots {
        margin-top: 20px;
    }
}


/* =====================================================
   7. MOBILE RESPONSIVE
   640px and below
===================================================== */

@media (max-width: 640px) {

    /* Banner */

    .career-page-banner {
        padding: 120px 20px 35px;
        background-position: center top;
        background-size: 190px auto;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .career-page-banner-inner {
        width: 100%;
        max-width: 100%;
    }

    .career-page-banner-title {
        font-size: 1.6rem;
        line-height: 1.35;
        text-align: left;
        margin-bottom: 8px;
        overflow-wrap: anywhere;
    }

    .career-page-banner-breadcrumb {
        font-size: 0.88rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }


    /* Introduction */

    .career-intro-block {
        padding: 32px 20px;
    }

    .career-intro-block-inner {
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 24px;
        width: 100%;
    }

    .career-intro-text {
        width: 100%;
        flex: none;
        min-width: 0;
    }

    .career-intro-heading {
        font-size: 1.35rem;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .career-intro-subheading {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .career-intro-body {
        font-size: 0.92rem;
        line-height: 1.75;
        text-align: left;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .career-intro-media {
        display: flex;
        flex: none;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .career-intro-img {
        display: block;
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 8px;
        object-fit: contain;
    }


    /* Expectations */

    .career-expect-block {
        padding: 32px 20px;
    }

    .career-expect-inner {
        width: 100%;
        max-width: 100%;
    }

    .career-expect-heading {
        font-size: 1.3rem;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .career-expect-text {
        font-size: 0.92rem;
        line-height: 1.75;
        margin-bottom: 14px;
        text-align: left;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .career-expect-text:last-child {
        margin-bottom: 0;
    }


    /* Slider */

    .career-slider-section {
        padding: 28px 20px;
        overflow: hidden;
    }

    .career-slider-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .career-slider-viewport {
        width: 100%;
        overflow: hidden;
    }

    .career-slider-track {
        display: flex;
        gap: 0;
        transition: transform 0.55s ease;
        will-change: transform;
    }

    .career-slide {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-right: 0;
        box-sizing: border-box;
        border-radius: 8px;
    }

    .career-slide-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .career-arrow {
        top: 50%;
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .career-arrow--prev {
        left: 5px;
    }

    .career-arrow--next {
        right: 5px;
    }

    .career-dots {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
    }

    .career-dots .dot {
        width: 8px;
        height: 8px;
    }
}


/* =====================================================
   8. EXTRA SMALL MOBILE
   380px and below
===================================================== */

@media (max-width: 380px) {

    /* Banner */

    .career-page-banner {
        padding: 105px 15px 30px;
        background-size: 165px auto;
        background-position: center top;
    }

    .career-page-banner-title {
        font-size: 1.4rem;
    }

    .career-page-banner-breadcrumb {
        font-size: 0.82rem;
    }


    /* Introduction */

    .career-intro-block {
        padding: 26px 15px;
    }

    .career-intro-block-inner {
        gap: 20px;
    }

    .career-intro-heading {
        font-size: 1.22rem;
    }

    .career-intro-subheading {
        font-size: 0.9rem;
    }

    .career-intro-body {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .career-intro-img {
        max-width: 260px;
    }


    /* Expectations */

    .career-expect-block {
        padding: 26px 15px;
    }

    .career-expect-heading {
        font-size: 1.2rem;
    }

    .career-expect-text {
        font-size: 0.88rem;
        line-height: 1.7;
    }


    /* Slider */

    .career-slider-section {
        padding: 24px 15px;
    }

    .career-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .career-arrow--prev {
        left: 4px;
    }

    .career-arrow--next {
        right: 4px;
    }
}


/* =====================================================
   9. ACCESSIBILITY - REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .career-page-banner,
    .career-slider-track,
    .career-arrow,
    .career-dots .dot {
        transition: none;
    }

    .career-slide {
        animation: none;
        opacity: 1;
        transform: none;
    }
}