/* colors */
/* colors */
:root {
    /* only unique colors  */
    --black: #000000;
    --dark: #181818;
    --secondary: #F4F4F4;
    --primary: #4071F6;
    --warning: #F6E40;
}

* {
    margin: 0;
    padding: 0;
    line-height: normal;
    letter-spacing: normal;
    word-break: break-word; /* Changed from break-all for better performance */
}

/* Performance optimizations */
img {
    content-visibility: auto;
    contain-intrinsic-size: 0 200px;
}

.carousel-item {
    will-change: transform;
}




/* Reduce layout thrashing */
.img-fluid {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

p {
    margin-bottom: 0;
}

/* Card styles */
.card-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.11;
}

.card-image {
    max-width: 100%;
}

.bottom-section {
    background-color: #ffe0e0;
    position: relative;
}

.badge-image {
    max-width: 80px;
    position: relative;
    top: -40px;
}

@media (max-width: 768px) {
    .card-custom {
        margin-bottom: 20px;
    }
}


@media (min-width: 301px) {
    * {
        word-break: normal;
    }
}

.landing-image-fluid{
    width: 100%;         
    max-width: 400px;   
    height: auto;       
    object-fit: contain; 
}
      
.section-offset-l1{
    margin-left:8.33333%;
}

body {
    font-family: 'DM Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    text-decoration: none;
    color: var(--bs-danger);
    font-weight: 500;
    user-select: none;
}

label {
    user-select: none;
    margin-bottom: 5px;
}

input[type="checkbox"] {
    border-color: var(--bs-danger);
}

input[type="checkbox"]:checked {
    background-color: var(--bs-danger);
}

nav {
    border: 2px solid var(--secondary);
}

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.btn {
    border-radius: 10px !important;
}


.hero-image {
    max-height: 300px;
    width: auto;
}

.hero-text {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.fs-100 {
    font-size: 100px;
    line-height: 1;
}

.fs-45 {
    font-size: 30px;
    line-height: 1;
}

.fs-35 {
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.heading {
    font-size: 45px;
    font-weight: 700;
    text-align: center;
}


.fs-30 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.fs-50 {
    font-size: 45px;
    font-weight: 400;
    line-height: 1;
}

.fs-40 {
    font-size: 35px;
    font-weight: 400;
    line-height: 1;
}

.fs-20 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.fs-25 {
    font-size: 25px;
    font-weight: normal;
    line-height: 0.98;
}

.bg-light-orange {
    background-color: #ffeded;
}

.bg-dark-orange {
    background-color: #f5292c;
}

.bg-purple {
    background-color: #4c74da;
}

.bg-lightblue {
    background-color: #83e7e7;
}

.custom-select-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px;
}

.custom-certificates-size {
    max-width: 90%;
}

.position-relative {
    position: relative;
}

.drop-down-arrow {
    width: 10px;
    height: 10px;
    transform: rotate(-180deg);
    background-color: #f5292c;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    top: 72%;
    right: 10px;
    transform: translateY(-50%) rotate(-180deg);
    pointer-events: none;
}

.custom-submit-btn {
    width: 165px;
    height: 42px;
    flex-grow: 0;
    margin: 18px auto 0 auto;
    border-radius: 45px;
    background-color: #f5292c;
    border: none;
    color: white;
    text-align: center;
    border-radius: 25px !important;
}

.btn.create-account-btn {
    width: 210px;
    height: 42px;
    flex-grow: 0;
    margin: 18px auto 0 auto;
    border-radius: 45px!important;
    border: solid 1px #f5292c;
    background-color: #f5292c;
    color: white;
    text-align: center;
}

.btn.create-account-btn.white {
    background-color: white!important;
    color: #f5292c!important;
}

.custom-download-btn {
    width: 208px;
    height: 42px;
    flex-grow: 0;
    margin: 30px auto;
    border-radius: 45px;
    background-color: white;
    border: none;
    color: black;
    text-align: center;
    border-radius: 25px !important;
    display: flex;
    /* Enable flexbox */
    justify-content: center;
    /* Horizontally center */
    align-items: center;
}

.custom-download-btn:hover {
    background-color: white !important;
    color: black !important;
    border: none;
}

.register-button {
    width: 114px;
    height: 30px;
    flex-grow: 0;
    margin: 4px 69px 0;
    padding: 1px 17px 8px;
    border-radius: 45px !important;
    background-color: #000;
}

.number-circle {
    width: 40px;
    height: 40px;
    margin-left: 9px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    background-color: #858585;
}

.step-circle {
    width: 40px;
    height: 40px;
    font-weight: bold;
    font-size: 18px;
}

.square-card {
    aspect-ratio: 1.5;
}

.arrow-mobile {
    display: none;
}

.cs-resp-image {
    max-width: 65%;
    height: auto;
}


.role-btn {
    width: 258px;
    border-radius: 9px;
    border: solid 1px #aeaeae!important;
    background-color: #fff;
}

.role-btn:hover {
    background-color: #fff5f5;
}

.role-btn.active {
  border: solid 2px #f5292c!important;
}


@media (max-width: 767px) {
    .arrow-desktop {
        display: none;
    }

    .arrow-mobile {
        display: inline-block;
    }
}

@media (max-width: 992px) {
    .custom-responsive-image {
        max-width: 70%;
    }
    .content-division{
        margin-bottom: 3rem !important;
        margin-top: 3rem !important;
    }
}

@media (max-width: 768px) {
    .custom-responsive-image {
        max-width: 50%;
    }

    .built-by-section {
        height: 40vh !important;
    }
}

@media (max-width: 576px) {
    .custom-responsive-image {
        max-width: 80%;
    }
}


/* Responsive Adjustments */
@media (min-width: 768px) {
    .custom-submit-btn {
        margin: 18px 177px 0 0px;
    }
}

@media (min-width: 576px) {
    .hero-image {
        max-height: 450px;
    }
}

@media (min-width: 768px) {
    .hero-text {
        font-size: 65px;
    }

    .fs-50 {
        font-size: 50px;
    }

    .fs-40 {
        font-size: 40px;
    }

    .fs-45 {
        font-size: 45px;
    }

    .fs-35 {
        font-size: 35px;
    }

    .heading {
        font-size: 60px;
    }

    .fs-30 {
        font-size: 30px;
    }

    .fs-20 {
        font-size: 20px;
    }
}


@media (min-width: 992px) {
    .hero-image {
        max-height: 600px;
    }
}

@media (min-width: 1200px) {
    .hero-text {
        font-size: 58px;
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .square-card {
        aspect-ratio: 2.5;
    }
}

@media (max-width: 768px) {
    .square-card {
        aspect-ratio: 3.5;
    }
}

@media (min-width: 1439px) {
    .square-card {
        aspect-ratio: 2.0;
    }
}

.text-danger {
    color: var(--bs-danger);
}

.btn {
    border-radius: 45px;
}

.btn-danger {
    background-color: var(--bs-danger);
    color: white;
}

.quote-text {
    font-size: 30px;
    font-style: italic;
    font-weight: 500;
}

.quote-wrapper {
    position: relative;
}

.quote-svg {
    position: absolute;
    left: 0;
    top: -40px;
    content: '\201C';
    width: 40px;
    height: auto;
    /* font-size: 70px; */
    color: var(--bs-danger);
}


.bg-dark {
    background-color: var(--dark) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-black {
    background-color: var(--black);
}

.bg-grey {
    background-color: #636363 !important;
}

.bg-orange {
    background-color: #f5292c !important;
}

.climb-to-success {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.border-danger {
    border-color: var(--bs-danger) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-warning {
    border-color: var(--warning) !important;
}

.ul-danger,
.ul-primary,
.ul-warning {
    list-style-type: none;
}

.ul-danger li::before,
.ul-primary li::before,
.ul-warning li::before {
    content: "\2609";
    font-weight: bold;
    display: inline-block;
    width: 1.5rem;
    margin-left: -1.5em;
}

.ul-danger li::before {
    color: var(--bs-danger);
}

.ul-primary li::before {
    color: var(--primary);
}

.ul-warning li::before {
    color: var(--warning);
}

.app-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
}

@media (min-width: 451px) {
    .app-wrapper {
        height: 670px;
    }
}

@media (min-width: 601px) {
    .app-wrapper {
        height: 800px;
    }
}

.app-wrapper>img {
    position: absolute;
    max-width: 80%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
}

.custom-responsive-image {
    width: 100%;
}

@media (min-width: 992px) {
    .custom-responsive-image {
        width: 80%;
    }
}

.certificates-page .hero-section {
    background: url('/images/college-dev-certifications-confident-professional-student-at-an-office.png') no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
    color: white;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificates-page .hero-text {
    font-size: 45px;
    font-weight: 900;
    line-height: 1.25;
    color: white;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.certificates-page .hero-subtext {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    color: white;
}

/* Buttons */
.certificates-page .btn {
    border-radius: 25px !important;
}

.certificates-page .custom-btn {
    background-color: #FF4B4B;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.certificates-page .custom-btn:hover {
    background-color: #E63946;
}

/* Images */
.certificates-page img {
    max-width: 100%;
    height: auto;
}

.certificates-page .custom-responsive-image {
    width: 100%;
}

@media (max-width: 1200px) {
    .certificates-page .hero-text {
        font-size: 35px;
    }
}

@media (max-width: 992px) {
    .certificates-page .hero-text {
        font-size: 35px;
    }

    .certificates-page .hero-section {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .certificates-page .hero-section {
        background: none !important;
        background-size: cover;
    }

    .certificates-page .hero-text {
        color: #000000;
    }

    .certificates-page .hero-subtext {
        color: #000000;
    }

    .certificates-page .custom-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .certificates-page .custom-responsive-image {
        max-width: 80%;
    }

    .certificates-page .hero-section {
        padding: 30px 10px;
    }
}

.certifications-section .badge-img {
    max-width: 120px;
    margin: 0 auto;
}

.certifications-section .arrow-circle {
    max-width: 40px;
    margin-top: -20px;
}

.certifications-section .line-img {
    width: 100%;
    height: auto;
}

.certifications-section .certification-card {
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.certifications-section .certification-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.0;
}

.certifications-section .position-title {
    font-size: 1rem;
    font-weight: 500;
    color: #f5292c;
}

.certifications-section .position-list {
    font-size: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* Responsive Layouts */
@media (min-width: 992px) {
    .timeline-large {
        display: block;
    }

    .timeline-small {
        display: none;
    }
}

@media (max-width: 991px) {
    .timeline-large {
        display: none;
    }

    .timeline-small {
        display: block;
    }

    .timeline-small .certification-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 600px) {
    .timeline-small .certification-card {
        width: 90%;
        margin: 0 auto;
    }

    .timeline-small .row {
        flex-direction: column;
    }
}






/* *********************************** */

.certifications-section {
    background-color: #ffffff;
    padding: 40px 0;
}

.badge-img {
    max-width: 200px;
    margin: 0 auto;
}

.large-badge-img {
    width: 225px;
    height: 229px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    margin-right: inherit;
    object-fit: contain;
}

.certification-tag-container {
    display: inline-block;
    position: relative;
}

.tag-background {
    max-width: 296px;
    width: 100%;
}

.certification-tag {
    top: 54%;
    left: 50%;
    transform: translate(-45%, -22%);
    font-size: 0.9rem;
    font-weight: bold;
    color: #ffffff;
}

.certification-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
}

.certification-description {
    /* width: 45%; */
    width: 75%;
    font-size: 1.2rem;
    color: #333333;
    margin: 15px 0;
    line-height: 1.11;
    letter-spacing: normal;
}

.btn {
    border-radius: 50px;
    /* padding: 0px 20px; */
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .badge-img {
        max-width: 150px;
    }

    .certification-title {
        font-size: 1.4rem;
    }

    .certification-description {
        width: auto;
        font-size: 1rem;
        padding: 0px !important;
    }

    .certification-tag-container {
        margin-bottom: 20px;
        text-align: center;
    }

    .large-badge-img {
        margin-right: auto !important;
    }
}


.timeline-line-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.essential-skills-label,
.advanced-skills-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.line-wrapper {
    position: relative;
    width: 68%;
    margin: 0 auto;
}

.line-img {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    display: block;
}

.arrows-container {
    top: -10px;
    transform: translateY(-50%);
}

.arrow-circle {
    position: relative;
    width: 20px;
    height: 20px;
}

.arrow-circle img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    .essential-skills-label,
    .advanced-skills-label {
        font-size: 12px;
        white-space: normal;
    }

    .line-wrapper {
        width: 55%;
    }

    .arrow-circle {
        width: 15px;
        height: 15px;
    }
}


/* Overlay menu for small screens */
@media (max-width: 991px) {
    .navbar-collapse.overlay-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        z-index: 1050;
        padding-top: 60px;
        overflow-y: auto;
    }

    .navbar-nav .nav-item {
        margin: 20px 0;
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem;
        transition: background-color 0.3s, color 0.3s;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background-color: #f5292c;
        color: #fff;
        border-radius: 10px;
    }

    /* Ensure the navbar brand and toggler are visible on overlay */
    .navbar {
        position: relative;
        z-index: 1051;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1052;
        border: none;
        outline: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-brand {
        position: relative;
        z-index: 1051;
    }
}


/* **********************Styles for logo slider section************************* */
.trusted-by-colleges-section {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 1rem 0;
  position: relative;
  contain: layout style paint;
  transform: translateZ(0);
}

/* Seamless infinite scroll animation */
@keyframes scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Desktop styles with infinite scroll */
.desktop-track {
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
  will-change: transform; /* Optimize for animation */
}

.trusted-by-colleges-track {
  display: flex;
  width: max-content;       
  animation: scroll-left 20s linear infinite;
  will-change: transform; /* Optimize for animation */
}

/* Hover pause removed - continuous scroll */

.trusted-by-colleges-slide {
  display: flex;
  flex: 0 0 auto;            
  justify-content: flex-start;
  align-items: center;
  gap: 2rem; /* Increased gap for better spacing */
  padding: 0 1rem; /* Increased padding */
}

.trusted-by-colleges-slide img {
  height: clamp(60px, 10vw, 120px);
  width: auto;
}

/* Mobile track - hidden on desktop */
.mobile-track {
  display: none;
}




/* Mobile styles - Two rows with different colleges */
@media (max-width: 768px) {
  /* Hide desktop version */
  .desktop-track,
  .trusted-by-colleges-track {
    display: none;
  }
  
  /* Make the trusted-by-colleges-section square on mobile */
  .trusted-by-colleges-section {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
  }
  
  /* Show mobile version */
  .mobile-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    height: 100%;
    justify-content: center;
  }
  
  .mobile-row {
    overflow: hidden;
    width: 100%;
  }
  
  .mobile-row-1 {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
    will-change: transform; /* Optimize for animation */
  }
  
  .mobile-row-2 {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
    will-change: transform; /* Optimize for animation */
  }
  
  /* Mobile hover pause removed - continuous scroll */
  
  .mobile-slide {
    display: flex;
    flex: 0 0 auto;
    gap: 2rem;
    padding: 0 1.5rem;
    align-items: center;
  }
  
  .mobile-slide img {
    height: clamp(125px, 15vw, 140px); /* Bigger logos for mobile */
    width: auto;
    flex-shrink: 0;
  }
}

/* Very small mobile screens */
@media (max-width: 576px) {
  .mobile-slide {
    gap: 1.8rem;
    padding: 0 1rem;
  }
  
  .mobile-slide img {
    height: clamp(125px, 14vw, 120px); /* Bigger logos for small screens too */
  }
  
  .mobile-track {
    gap: 1.8rem;
  }
  

}








/* *****************************slider section************************* */

  #roleCarousel .carousel-control-prev,
  #roleCarousel .carousel-control-next {
    color: black;
    opacity: 1;
  }

  #roleCarousel .carousel-control-prev-icon,
  #roleCarousel .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }

  #roleCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 4px;
  }
  #roleCarousel .carousel-indicators .active {
    background-color: #f5292c;
  }
  #roleCarousel .carousel-indicators {
    bottom: 1rem;
  }

  @media (max-width: 767px) {
    #roleCarousel .fs-50 {
      font-size: 2rem;
    }
    #roleCarousel .fs-20 {
      font-size: 1rem;
    }
}
.custom-lh-1 {
  line-height: 1.2;
}
.custom-lh-2 {
  line-height: normal;
}

/* Location unavailable section animation */
#isLocationAvailable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

#isLocationAvailable.show {
    max-height: 500px; /* Adjust this value based on your content height */
    opacity: 1;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

#isLocationAvailable.animate-slide-down {
    animation: slideDown 0.5s ease-out forwards;
}