@media screen and (min-width: 1920px) {
}

@media screen and (max-width: 1480px) and (min-width: 1200px) {
}

@media screen and (max-width: 1260px) and (min-width: 1200px) {
  /*===Header===*/
  .navbar-light .navbar-nav .nav-link {
    display: inline-block;
    /*width: 85px;*/
    padding: 15px 0;
    text-align: left;
  }

  .navbar ul.navbar-nav > li.nav-item {
    padding-right: 0;
  }

  .navbar ul.navbar-nav > li.dropdown {
    padding-right: 10px;
  }

  /*===Header===*/
}

@media screen and (max-width: 1200px) {
  /*===Header===*/
  .header-fixed {
    position: relative;
  }

  .claBoxSingleT {
    min-height: unset;
    max-height: unset;
  }

  /*===Header===*/
}

@media screen and (min-width: 1200px) {
    header .container {
        width: 100%;
        max-width: 1400px;
    }
  .rcc-testimonials .carousel {
    padding: 30px 80px;
  }
  .v-success-stories .carousel-control-next,
  .rcc-testimonials .carousel-control-next {
    right: -30px;
  }
  .v-success-stories .carousel-control-prev,
  .rcc-testimonials .carousel-control-prev {
    left: -20px;
  }
  header {
    position: fixed !important;
    width: 100% !important;
    z-index: 99999 !important;
    top: 0;
  }

  .app {
    position: relative;
    margin-top: 130px;
  }
.rcc-robotics-highlight {
    top: 122px;
    position: sticky;
    transition: top 0.3s ease-in-out; /* smooth animation */
}

.rcc-robotics-highlight.active {
    top: 117px;
}
.app.home-page {
  margin-top: 10px;
}
  .navbar-brand img {
    max-height: 55px;
  }

  .header-fixed nav,
  .header-fixed {
    position: absolute !important;
    width: 100%;
  }

  .rcc-inner-banner {
    position: relative;
  }

  section.rcc-content {
    padding: 35px 0 120px 0;
  }

  .navbar-light .navbar-nav .nav-link {
    padding: 15px 15px 15px 5px;
  }

  .claArrow:after {
    font-family: ETmodules;
    content: "3";
    font-size: 13px;
    position: absolute;
    right: 0;
    top: 14px;
    font-weight: 800;
    border: none;
  }

  .claArrowRight:after {
    font-family: ETmodules;
    content: "3";
    font-size: 13px;
    position: absolute;
    top: 8px;
    font-weight: 800;
    border: none;
  }

  .header-fixed {
    position: fixed !important;
    top: 0;
  }

  .header-fixed .navbar-brand img {
    max-height: 50px !important;
  }

  .navbar ul.navbar-nav > li.dropdown,
  .navbar ul.navbar-nav > li.nav-item {
    padding-right: 5px;
  }
}

@media screen and (max-width: 1199px) {
  /*.v-success-stories .carousel-control-next, .rcc-testimonials .carousel-control-next{
        right: -60px;
    }*/
    .home-page .rcc-home-banner{
    top:-100px
    }
  .v-success-stories .carousel-control-prev,
  .rcc-testimonials .carousel-control-prev {
    left: -5px;
  }
  .rcc-testimonials .carousel {
    padding: 10px 20px;
  }
  .claNewsletter h2 {
    font-size: 20px;
    text-align: center;
  }

  .rcc-inner-banner {
    position: relative;
    margin-top: 0;
  }

  section.rcc-content {
    padding: 50px 0 180px 0;
  }

  .careers-job-openings-page {
    margin-bottom: 28px;
    padding-bottom: 120px;
  }

  /*===Header===*/
  .claCtaLink {
    display: block;
  }

  .claArrow:after,
  .claArrowRight:after {
    top: 10px;
  }

  header.header-fixed .navbar-nav a {
    font-size: 13px !important;
  }

  header .navbar ul.navbar-nav > li.dropdown {
    padding-right: 0;
  }

  .claArrow:after,
  .claArrowRight:after {
    right: 20px;
  }

  .claArrowRight:after {
    transform: rotate(0deg);
  }

  .navbar-light .navbar-toggler {
    background: #2ea3f2;
    border: 1px solid #2ea3f2;
    padding: 5px 8px;
  }

  .navbar-light .navbar-toggler-icon {
    background-image: none;
  }

  .navbar > .container {
    align-items: center;
  }

  header button:focus {
    outline: none !important;
  }

  .navbar-toggler-icon i {
    color: #fff;
    margin-top: 4px;
  }

  /*===Header===*/
  .fixedRightDetails {
    top: 230px;
  }

  .newslettersDetails {
    top: 175px;
  }

  .blockNewsletters {
    max-width: 300px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  /* Prevent content wider than viewport from causing horizontal scroll */
  body, .container-fluid {
    overflow-x: hidden;
  }

  .navbar > .container {
    align-items: center;
  }

  .navbar-brand {
    width: auto;
    max-width: calc(100% - 72px);
    margin-right: 0;
  }

  .navbar-brand img {
    display: block;
    max-height: 56px;
    max-width: 100%;
    width: auto;
  }

  .navbar-light .navbar-toggler {
    margin-left: auto;
  }

  .navbar-light .navbar-collapse {
    width: 100%;
    padding-top: 12px;
  }

  .navbar-light .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .rcc-testimonials .carousel {
    border: none;
    padding: 10px 25px;
  }
  .rcc-home-banner .rcc-btn {
    padding: 12px 25px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-brand {
    width: auto;
    max-width: calc(100% - 80px);
    margin-right: 0;
  }

  .navbar-brand img {
    display: block;
    max-height: 64px;
    max-width: 100%;
    width: auto;
  }

  .navbar-light .navbar-toggler {
    margin-left: auto;
  }

  .navbar-light .navbar-collapse {
    width: 100%;
    padding-top: 12px;
  }

  .navbar-light .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Shrink the awards badge on tablet */
  .awards-sticky {
    max-width: 100px;
    bottom: 80px;
    left: 10px;
  }

  /* Hide "Contact Us" in the top utility bar to prevent two-row wrapping */
  .rcc-top-bar .col-md-4 .nav .nav-item:last-child {
    display: none;
  }
}

@media screen and (max-width: 767px) {
.rcc-banner-content {
padding-top:50px
}
/* Ensure the header always paints above the fixed awards ribbon.
   On desktop (≥1200px) the header already has z-index:99999 via a separate
   rule; below that breakpoint the header has no z-index, so the ribbon
   (z-index:9999) overlaps the hamburger icon. */
header {
  position: relative;
  z-index: 10000;
}
/* Phones: 64px covers less of the hero cards and keeps "Consumer Choice Award" readable. */
.awards-sticky{
    bottom: 80px;
    left: 8px;
    max-width: 64px;
    top: auto;
    right: auto;
}
  /* Prevent horizontal scroll on small screens */
  body {
    overflow-x: hidden;
  }

  /* Top bar: hide "Register / Login / Contact Us" row; keep phone/email */
  .rcc-top-bar .col-md-4.col-lg-4.col-xl-6 {
    display: none !important;
  }

  .rcc-top-bar {
    padding: 4px 0;
  }
  .rcc-home-banner {
    padding-bottom: 0;
  }
  .contactus-popup,
  .event-registration-popup {
    position: fixed;
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    max-height: 85vh;
  }
  /*===Header===*/
  .rcc-top-bar ul li .nav-link {
    padding: 5px;
  }

  /*===Header===*/
  /*===Marketing events===*/
  .rcc-carousel-mevent .carousel-inner {
    background: #333;
  }

  .rcc-carousel-mevent .carousel-caption {
    top: 50px;
  }

  /*===Marketing events===*/
  /*===Upcoming events===*/
  .mec-events-timeline-wrap:before {
    left: 15px;
  }

  .mec-events-timeline-wrap {
    padding-left: 15px;
  }

  .mec-color-hover {
    font-size: 20px;
  }

  .mec-timeline-main-content {
    padding: 10px 0;
  }

  .mec-timeline-event-date {
    width: 100%;
    margin-top: 0;
    padding-bottom: 18px;
  }

  .mec-timeline-event-content {
    width: 100%;
  }

  /*===Upcoming events===*/
  /*===employee testimonial===*/
  .claFBox .d-flex {
    display: block !important;
    text-align: justify;
  }

  .rcc-pic {
    margin-right: 0;
    text-align: center;
    margin-bottom: 25px;
  }

  .claRCCTeacher .modal-content {
    top: 50px;
    margin: 0 15px 50px;
  }

  /*===employee testimonial===*/
  /*===Promotional Pop Up===*/
  .closeWelcome i {
    right: -8px;
    top: -23px;
  }

  /*.welcomeModal.welDisplay {
        border: 10px solid rgba(16, 16, 16, .70);;
    }*/
  .welcomeModal.welDisplay {
    padding: 0;
  }

  .promotionalMessage img {
    max-width: 95%;
  }

  /*===Promotional Pop Up===*/
  /*===newsletter===*/
  .newsletterModal.newsletterDisplay {
    position: absolute;
  }

  /*===newsletter===*/
}

@media screen and (max-width: 480px) {
  .welcomeModal.welDisplay {
    max-width: 300px;
    top: 25px;
  }
}

@media screen and (max-width: 400px) {
  .navbar-brand {
    max-width: calc(100% - 64px);
  }

  .navbar-brand img {
    max-height: 48px;
  }

  .navbar-light .navbar-toggler {
    padding: 4px 7px;
  }

  /*===Header===*/
  .rcc-add-content {
    font-size: 12px;
  }

  .rcc-top-bar .nav {
    padding: 10px 0 !important;
  }

  /*===Header===*/
  /*===Footer===*/
  .rcc-address a {
    color: #666;
    font-size: 12px;
  }

  /*===Footer===*/
}

@media screen and (max-width: 320px) {
  /*===Header===*/
  .rcc-top-bar ul li .nav-link {
    padding: 3px 0;
  }
  .rcc-testimonials .carousel {
    border: none;
    padding: 10px 25px;
  }
  /*===Header===*/
}

@media (max-device-width: 42mm) and (min-device-width: 38mm) {
}

@media (max-width: 576px) {
  .rcc-robotics-text {
    font-size: 14px;
    line-height: 1.4;
  }
  .rcc-robotics-content{
  padding:15px;
  }
  /*.rcc-robotics-btn {
    width: 100%;
    max-width: 220px;
  }*/
}

/* ==========================================================================
   MOBILE RESPONSIVENESS — May 2026
   Covers: banner height, careers layout, scroll-padding, touch targets,
           homepage UI components.
   ========================================================================== */

/* ── 1. Banner: scale down the fixed 700 px heights ─────────────────────────
   The hero carousel, its absolutely-positioned wrapper, and the content
   overlay container are all pinned at 700 px.  On small screens that forces
   the visitor to scroll through nearly two viewport-heights just to leave the
   hero section.  Reduce progressively: tablet → phone → small phone.
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Tablet: bring banner height down from 700 px */
  .banner-slide-image,
  #banner-carousel {
    height: 500px;
  }
  .rcc-home-banner .container {
    height: 500px;
    top: 0; /* remove the +50px desktop offset */
  }
  .rcc-banner-content {
    padding-top: 50px; /* 120 px desktop → 50 px tablet */
  }
}

@media (max-width: 767px) {
  /* Phone: carousel keeps a fixed height for the background image;
     the overlay container uses min-height + auto so content never
     overflows into the section below. */
  .banner-slide-image,
  #banner-carousel {
    height: 520px;
  }
  .rcc-home-banner .container {
    min-height: 520px;
    height: auto;   /* grow with content — prevents overflow into testimonials */
    top: 0;
  }
  .rcc-banner-content {
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  /* Small phones (SE, older Androids, Galaxy A-series) */
  .banner-slide-image,
  #banner-carousel {
    height: 520px;  /* keep same as 767px — 310px was too small for content */
  }
  .rcc-home-banner .container {
    min-height: 520px;
    height: auto;
  }
}

/* ── 1b. Testimonials — student name h3 too large on mobile ────────────────
   responsive.css already overrides .rcc-testimonials .carousel-item h1 to
   20px but misses h3 (student names), which stays at 35px.  Reduce it so the
   name doesn't dominate the card on small screens.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rcc-testimonials .carousel-item h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .v-success-stories.rcc-testimonials .carousel-item h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .v-success-stories.rcc-testimonials .carousel-item span {
    font-size: 16px;
  }
}

/* ── 2. scroll-padding-top: correct value when header is NOT fixed ───────────
   On ≥ 1200 px the header is fixed (position: fixed) so scroll-padding-top
   of 150 px is needed.  On smaller viewports the header scrolls with the page,
   so a much smaller value is correct; otherwise anchor links jump too far.
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  html {
    scroll-padding-top: 70px;
  }
}

/* ── 3. Careers page — mobile layout ─────────────────────────────────────────
   The hero panel, filter panel, stat grid and meta grid all use desktop-sized
   padding / multi-column CSS grid.  Collapse them to single-column on mobile.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Hero panel */
  .careers-hero-panel {
    border-radius: 16px;
    padding: 28px 20px;
  }
  .careers-hero-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  /* Stat cards: 1 column instead of 2 */
  .careers-hero-stats {
    grid-template-columns: 1fr;
  }
  .careers-stat-card-accent {
    grid-column: auto; /* reset the 'span full row' on mobile */
  }
  /* Filter panel */
  .careers-filter-panel {
    border-radius: 16px;
    padding: 24px 18px;
  }
  /* Job-opening meta grid: 1 column instead of 2 */
  .careers-opening-meta-grid {
    grid-template-columns: 1fr;
  }
  /* Results header: stack pill below the title */
  .careers-results-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* ── 4. Events page — mobile branch filter ───────────────────────────────── */
@media (max-width: 767px) {
  .events-branch-filter {
    border-radius: 16px;
    padding: 20px 18px;
  }
}

/* ── 4. Touch targets — minimum 44 × 44 px (WCAG 2.5.5 / Apple HIG) ─────────
   Custom buttons (.rcc-btn) and the navbar hamburger toggler must meet the
   minimum 44 px touch-target guideline on mobile devices.
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .rcc-btn {
    min-height: 44px;
  }
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
  .careers-primary-btn,
  .careers-secondary-btn,
  .careers-apply-btn {
    min-height: 44px;
  }
}

/* ── 5. Homepage notice-badge & program-finder link ─────────────────────────
   The gold notice-badge can overflow or cause horizontal scroll on narrow
   screens; reduce font size and allow text wrapping.
   The pf-hero-finder-link pill needs tighter padding on small phones.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .notice-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 10px;
    white-space: normal; /* allow wrapping */
    word-break: break-word;
  }
  .pf-hero-finder-link {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* ── 6. rcc-offerings image: full-width on mobile ───────────────────────────
   The offerings diagram uses inline style="width:50%".  On phones < 480 px
   the 50% width makes it hard to read; let it grow to full container width.
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .rcc-offerings-img {
    width: 100% !important;
  }
}

/* ── 7. Inner-page top offset when header is not fixed ──────────────────────
   On ≤ 1199 px the sticky header is removed, so the .app top offset and the
   rcc-inner-banner padding can be trimmed.
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .rcc-inner-banner {
    padding-top: 10px;
    margin-top: 0;
  }
}

@media (max-width: 1199px) {
  header .dropdown-menu {
    display: none;
    position: relative !important;
    width: calc(100% - 10px);
    box-shadow: none;
    border: none;
    margin-left: 10px;
  }

  header .dropdown-menu.show {
    display: block !important;
  }

  header .dropdown-menu .dropdown .dropdown-menu,
  #resources-nav .dropdown-menu .dropdown .dropdown-menu,
  header .dropdown-menu .dropdown .dropdown-menu.left {
    left: 0;
    right: auto;
    padding-left: 0;
    margin-left: 10px;
  }

  header .dropdown-item {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: normal;
  }
}

@media (max-width: 991px) {
  .app,
  .main-container,
  .rcc-add-content {
    overflow-wrap: anywhere;
  }

  .rcc-add-content {
    min-width: 0;
  }

  .rcc-content table {
    overflow-wrap: normal;
  }

  .rcc-content .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .rcc-content .badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }
}

@media (max-width: 767px) {
  .rcc-page-testimonial .col-md-3 {
    margin-right: 0;
    padding-right: 12px;
    border-right: 0;
    margin-bottom: 24px;
  }
}
