/* Hero Section */
.about {
    background-color: #00132C;
}

.about-hero-container {
    padding: 8.3125rem 0;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: visible;
}

.about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6.365rem;
}

.about-bg-text {
    position: absolute;
    bottom: 40rem;
    right: 4.5rem;
    transform: rotate(-90deg) translateY(50%);
    transform-origin: bottom right;
    -webkit-text-stroke-width: 1.44px;
    -webkit-text-stroke-color: rgba(7, 109, 242, 0.20);
    font-size: 9rem;
    font-style: normal;
    font-weight: 700;
    line-height: 129.703px;
    letter-spacing: -1.572px;
    color: transparent;
    white-space: nowrap;
    z-index: -1;
}

/* Overlap Section */
.about-overlap-container {
    position: relative;
    width: 38rem;
    height: auto;
    padding-bottom: 0px;
}

/* Big Image Styling */
.about-big-image-container {
    width: 100%;
    height: 100%;
    padding-bottom: 0px;
}

.about-big-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-overlap-card {
    position: absolute;
    bottom: 0px;
    left: 0rem;
    z-index: 2;
}

.about-profile-images {
    width: 100%;
    height: 100%;
}

.team-container {
    padding: 4em 0;
    text-align: center;
    color: white;
}

.team-container .second  {
    margin-top: 4em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0rem 9.44rem;
}

.team-member {
    position: relative;
    cursor: pointer;
    
}

.team-image {
    width: 200px;
    height: 400px;
    object-fit: cover;
    transition: width 0.3s ease;
    border-radius: 1em;

}

.team-name {
    position: absolute;
    left: 5%;
    top: 0%;
    transform: translateY(0%) rotate(90deg);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
    color: white;
    font-size: 2em;
    transform-origin: left;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
  
}

.team-member.active .team-image {
    width: 400px;
}

.team-member.active .team-name {
    opacity: 1;
}

.lets-talk {
    position: relative;
}

.lets-talk .dis-md {
    padding-bottom: 1rem;
}

.lets-talk-bg-text {
    position: absolute;
    top: -0.1em;
    -webkit-text-stroke-width: 1.44px;
    -webkit-text-stroke-color: rgba(7, 109, 242, 0.20);
    font-size: 9rem;
    font-style: normal;
    font-weight: 700;
    line-height: 129.703px;
    letter-spacing: -1.572px;
    color: transparent;
    white-space: nowrap;
    z-index: -1;
    text-align: center;
}

.lets-talk-card {
    padding: 4em 3.26rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 1rem;
    margin-bottom: 80px;
    height: 35rem;
}

/* Overlap Section */
.lets-talk-overlap-container {
    position: relative;
    width: 483px;
    height: 343px;
    padding-bottom: 0px;
}


/* Big Image Styling */
.lets-talk-big-image-container {
    width: 483px;
    height: 343px;
    padding-bottom: 0px;
}

.lets-talk-big-image {
    width: 483px;
    height: 343px;
    object-fit: cover;
}

.about-overlap-card {
    position: absolute;
    bottom: 0px;
    left: 0rem;
    z-index: 2;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.overlap-card-content {
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.lets-talk-profile-images {
    width: auto;
    height: 91px;
    margin-bottom: 0px;
    display: flex;
    justify-content: start;
}



/* Step Navigation */
.step-container {
    border-radius: 8px;
    position: relative;
    height: 30rem;
    width: 35rem;
}

.date-selection {
    flex: 1;
    background: white;
    padding: 53px 135px;
    color: #333;
}

.step-container h2 {
    font-size: 24px;
    margin-bottom: 1rem;
}

.nav-btn-style {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; 
}

.navigation-buttons {
    margin-top: 0;
    gap: 2rem;
}
.step-container .btn {
    background-color: #076DF2;
    color: white;
}

.step-container .btn:hover {
    background-color: #B9D7FF;
}



/* Calendar Styles */
.calendar {
    width: 100%;
    margin-bottom: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    font-size: 12px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    background-color: #00132C;
    color: white;
    font-size: 12px;
}

.calendar-day:hover {
    background-color: #B9D7FF;
}

.calendar-day.selected {
    background-color: #076DF2;
    color: white;
}

/* Timezone Select */

#timezone-selection {
    padding: 1rem 4rem;
}

.timezone-select {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    font-size: 12px;
    padding: 1rem 1rem; 
}

/* Time selection */

#time-selection {
    padding: 1rem 4rem;
}

.time-selection h2 {
    color: white;
}

.time-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
}

.time-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
}

.wheel-container {
    position: relative;
    width: 60px;
    height: 120px;
    overflow: hidden;
}

.wheel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0) 70%,
        rgba(255,255,255,0.9) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.scroll-container {
    height: 100%;
    overflow-y: scroll;
    text-align: center;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #B9D7FF;
    scroll-snap-align: center;
    transition: all 0.3s;
}

.scroll-item.selected {
    font-size: 1.5rem;
    color: #076DF2;
}

.colon {
    font-size: 2rem;
    font-weight: bold;
    color: #5C755E;
}

.period .scroll-container {
    width: 50px;
}

.selected-time {
    font-size: 2rem;
    font-weight: bold;
    color: #076DF2;
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
}

.navigation-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}



.wheel-container {
    position: relative;
    width: 60px;
    height: 120px;
    overflow: hidden;
    cursor: ns-resize; /* Add cursor indication for scrolling */
}

.wheel-container::before,
.wheel-container::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 2;
}

/* Add subtle arrows to indicate scrollability */
.wheel-container::before {
    top: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0) 100%
    );
}

.wheel-container::after {
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0) 100%
    );
}

/* Add a highlight for the selected item */
.wheel-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 40px;
    transform: translateY(-50%);
    background: rgba(7, 109, 242, 0.1);
    pointer-events: none;
    z-index: 1;
}

.scroll-container {
    height: 100%;
    overflow-y: scroll;
    text-align: center;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    padding: 40px 0; /* Add padding to ensure first and last items are reachable */
}

.scroll-item {
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #B9D7FF;
    scroll-snap-align: center;
    transition: all 0.3s;
}

.scroll-item.selected {
    font-size: 1.8rem;
    font-weight: bold;
    color: #076DF2;
}

/* Specific styling for period (AM/PM) container */
.period.wheel-container {
    width: 70px; /* Make AM/PM container slightly wider */
}

.period .scroll-item {
    font-size: 1rem;
}

.period .scroll-item.selected {
    font-size: 1.4rem;
}

/* Add hover effect to indicate interactivity */
.wheel-container:hover {
    background-color: rgba(7, 109, 242, 0.05);
}





/* Form Styles */

.schedule-form {
    color: white;
    border-radius: 8px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 4rem;
}

.schedule-form .help {
    margin-bottom: 1em;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#scheduleForm .navigation-buttons {
    display: flex;
    justify-content: start;
    margin-top: 2rem;
    gap: 1rem;
}

/* Welcome Onboard */
.success-message {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: start;
    justify-content: center;


    padding: 2rem 3rem;
    color: white;
}

  .contact-info {
    margin-top: 2rem;
    font-size: 1rem;
  }
  .contact-info div {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 1rem;
  }
  .contact-info div svg {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    fill: #FFFFFF; /* White color for the icons */
  }
  .contact-info div span {
    font-size: 1rem;
  }


/* Hide inactive steps */
.step-container[data-step]:not([data-step="1"]) {
    display: none;
}

@media (max-width: 1300px) {

    .overlap-card-content {
        width: 93%;
        height: auto;
    }

}

@media (max-width: 1200px) {
    
    .about-hero .overlap-card-content {
        width: 87%;
        height: auto;
        margin-bottom: 6px;
    }

    .team-grid {
        padding: 0rem 0rem;
        gap: 10px;
    }

    .date-selection {
        padding: 19px 45px;
        width: 25rem;
    }

    .lets-talk-overlap-container .about-overlap-card {
        left: 0.5rem;
    }

}

@media (max-width: 1130px) {
    
}

@media (max-width: 1100px) {


    .team-grid {
        gap: 0px;
        row-gap: 4em;
    }

    .team-image {
        width: 200px;
        height: 400px;
    }

    .team-name {
        left: 10%;
        width: 145%;
    }

    .team-member.active .team-image {
        width: 250px;
    }
    
    .lets-talk-card {
        padding: 4em 2rem;
        display: flex;
        justify-content: space-around;
    }

    .lets-talk-overlap-container {
        width: 400px;
    }

    .lets-talk-big-image {
        border-radius: 1rem;
        width: 374px;
        height: 343px;
    }

    .lets-talk-big-image-container {
        width: auto;
    }

    .lets-talk-profile-images {
        width: 210px;
        height: 89px;
    }

    .lets-talk-overlap-container .about-overlap-card {
        left: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .about-hero .overlap-card-content {
        width: 80%;
        height: auto;
        margin-bottom: 6px;
    }

    .lets-talk-card {
        height: 50rem;
    }

    .team-image {
        width: 180px;
        height: 400px;
    }

    .team-name {
        left: 10%;
        width: 190%;
    }

    .team-member.active .team-image {
        width: 200px;
    }

    .step-container {
    width: 25rem;
    }

    .nav-btn-style {
        bottom: 2%;
    }

}

@media (max-width: 950px) {

    

    .about-hero .overlap-card-content {
        width: 81%;
        margin-bottom: 6px;
    }
    
}

@media (max-width: 900px) {

    .about-hero .overlap-card-content {
        width: 75%;
        margin-bottom: 6px;
    }

    .team-image {
        width: 150px;
    }

    .team-member.active .team-image {
        width: 200px;
    }
    
}

@media (max-width: 800px) {
    .lets-talk-card {
        padding: 4em 2rem;
        flex-direction: column;
        justify-content: center;
        row-gap: 4rem;
        height: auto; 
    }

    .date-selection {
        padding: 19px 20px;
    }

    .lets-talk .dis-md {
        padding-bottom: 0rem;
        margin: 0px;
    }

    .schedule-form {
        padding: 1rem 1rem;
    }
}
@media (max-width: 768px) {

    .about-hero .overlap-card-content {
        width: 69%;
        margin-bottom: 6px;
    }
    
}

@media (max-width: 720px) {

    .about-hero {
        flex-direction: column-reverse;
        margin-top: 78px;
    }

    .team-image {
        width: 120px;
        height: 200px;
    }

    .team-member.active .team-image {
        width: 200px;
    }

    .team-name {
        font-size: 1.5em;
        width: 90%;
    }
}
@media (max-width: 625px) {

    .team-image {
        width: 100px;
        height: 200px;
    }

    .team-member.active .team-image {
        width: 180px;
    }

    .team-name {
        font-size: 1.5em;
        width: 100%;
    }
    
}

@media (max-width: 540px) {

    .about-overlap-container {
        width: 90%;
        margin: 0 auto;
    }

    .about-overlap-card {
        width: 80%;
    }

    .about-bg-text {
        display: none;
    }
    .team-image {
        width: 90px;
        height: 200px;
    }

    .team-member.active .team-image {
        width: 110px;
    }
    .team-name {
        font-size: 1.5em;
        width: 152%;
        left: 15%;
    }

    .lets-talk-overlap-container .about-overlap-card {
        left: -3.0rem;
    }
}

@media (max-width: 480px) {

    .about-hero-container {
        padding-bottom: 10px;
    }

    .about-overlap-card {
        left: -1.0rem;
       bottom: 0rem; 
       
    }

    .about-hero .overlap-card-content {
        width: 80%;
    }

    .about-profile-images {
        width: 80%;
        height: 100%;
    }

    .team-image {
        width: 57px;
        height: 150px;
    }

    .team-member.active .team-image {
        width: 100px;
    }

    .team-name {
        font-size: 1.0em;
        width: 139%;
    }


    .lets-talk-bg-text {
        display: none;
    }

    .lets-talk-card {
        flex-direction: column;
        padding: 1em 1rem;
        height: auto;
    }

    .lets-talk-overlap-container,
    .lets-talk-big-image-container {
        width: 100%;
        height: auto;
    }

    .lets-talk .dis-md {
        padding-bottom: 0rem;
    }

    .step-container {
        position: relative;
        height: 34rem;
    }

    .lets-talk-big-image {
        border-radius: 1rem;
        width: 250px;
        height: 233px;
    }

    

    .lets-talk-overlap-container .about-overlap-card {
        left: -3rem;
        bottom: 1rem;
    }

    .overlap-card-content {
        width: 100%;
        height: auto;
    }

    .lets-talk-profile-images {
        flex-direction: column;
        width: 137px;
        height: 47px;
    }
    
    /* .lets-talk-profile-images {
        width: 134px;
        height: 69px;
    } */

    .step-container {
        width: 26rem;
        height: 33rem;
    }

    .schedule-form {
        padding: 1rem 1rem;
    }

    
}


