/* Global Styles */
:root {
  --primary-color: #5ac3e1;
  --secondary-color: #ee86a8;
  --text-color: #595757;
  --light-gray: #a0a0a0;
  --light-blue: #83daf4;
  --light-bg: #fcfaf8;
  --border-color: #e8e1d9;
  --error-color: #e82727;
  --pink-bg: #f8dfe5;
  --beige-bg: #f8f2ec;
  --light-blue-dark: #3d9cd8;
  --off-white: #f8f2ec;
  --white: #ffffff;
  --dark-blue: #2f9bba;
}

.page-title {
  font-size: 42px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 36px; /* Mobile */
  }
}

/* mypage css */

.bg-beige{
  background-color: #F8F2EC !important;
}

.mypage-container{
  padding-top: 88px;
  padding-bottom: 88px;
}

.left-border-box{
  border-left: 6px solid #5AC3E1;
  padding-left: 1.1rem;
  height: 100%;
}
.left-border-box h4{
  font-size: 1.2rem;
  font-weight: bold;
}
.left-border-box p{
  line-height: 1.5;
  margin: 0;
}

.beige-box{
  background-color: #F8F2EC;
  border-radius: 24px;;
}

.beige-box h4{
  line-height: 1.6;
  font-weight: bold;
}

.white-card{
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.white-card h4{
  line-height: 1.6;
  font-weight: bold;
}

.mypage-register-link{
  line-height: 1.5;
  text-underline-offset: 4px;
}
.mypage-register-link:hover{
  opacity: 0.8;
}

/* Video Column Styles */
.media-video-column {
    position: relative;
}

.media-video-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.media-video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #000;
    transition: all 0.3s ease;
}

.media-video-container:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.media-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.media-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 15px); /* Adjust for margin-bottom of wrapper */
    background-color: rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden, will be shown by JavaScript */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.media-video-container:hover + .media-video-overlay,
.media-video-overlay:hover {
    display: flex;
}

.media-play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-play-button i {
    color: #FF0000;
    font-size: 40px;
    margin-left: 5px; /* Adjust for the play icon's visual center */
}

.media-play-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.media-video-caption {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.caption-date {
    font-size: 14px;
    color: #5AC3E1;
    margin-bottom: 5px;
}

.caption-title {
    font-size: 16px;
    font-weight: 400;
    color: #565E67;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .media-text-content {
        max-width: 100%;
    }


    .media-play-button {
        width: 70px;
        height: 70px;
    }

    .media-play-button i {
        font-size: 35px;
    }
}

@media (max-width: 991.98px) {
    .media-section {
        padding: 60px 0;
    }

    .media-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .media-text-column {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 40px;
    }

    .media-description p {
        font-size: 15px;
    }

    .media-video-wrapper {
        max-width: 100%;
    }

    .media-play-button {
        width: 60px;
        height: 60px;
    }

    .media-play-button i {
        font-size: 30px;
    }

    .btn-media-primary,
    .btn-media-secondary {
        min-width: auto;
    }

    .media-content-row {
        flex-direction: column;
    }

    .media-video-column {
        order: 2;
    }

    .media-text-column {
        order: 1;
    }

    .media-header {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .media-section {
        padding: 50px 0;
    }

    .media-header {
        text-align: left;
    }

    .media-text-column {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 30px;
    }

    .media-text-content {
        text-align: left;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .media-title {
        font-size: 28px;
    }

    .media-divider {
        margin-right: auto;
    }

    .media-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-media-primary,
    .btn-media-secondary {
        width: 100%;
        justify-content: center;
    }

    .media-play-button {
        width: 50px;
        height: 50px;
    }

    .media-play-button i {
        font-size: 25px;
    }

    .media-video-overlay {
        display: none !important;
        background-color: rgba(0, 0, 0, 0.2);
        opacity: 0.7;
    }

    .media-video-container:hover + .media-video-overlay,
    .media-video-overlay:hover {
        opacity: 1;
    }
}

@media (max-width: 575.98px) {
    .media-section {
        padding: 40px 0;
    }

    .media-title {
        font-size: 24px;
    }

    .media-subtitle {
        font-size: 14px;
    }

    .media-description p {
        font-size: 14px;
        line-height: 1.6;
    }

    .media-buttons {
        margin-top: 20px;
    }

    .btn-media-primary,
    .btn-media-secondary {
        font-size: 14px;
        padding: 8px 20px;
    }

    .caption-date {
        font-size: 12px;
    }

    .caption-title {
        font-size: 14px;
    }

    .media-text-column {
        margin-bottom: 25px;
    }

    .media-header {
        margin-bottom: 15px;
    }

    .media-text-content {
        margin-bottom: 15px;
    }

    .pt-89 {
        padding-top: 40px;
    }
}

@media (min-width: 992px) {
    .media-content-row {
        align-items: center;
    }

    .media-video-wrapper {
        margin-top: 15px;
    }
}

@media (hover: none) {
    /* For touch devices that don't support hover */
    .media-video-overlay {
        display: none !important;
        background-color: rgba(0, 0, 0, 0.2);
        opacity: 0.7;
    }

    .media-video-overlay:active {
        opacity: 1;
    }
}

/* Process Section */
.process-section {
  background-color: var(--light-bg);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--dark-blue);
  font-size: 26px;
  line-height: 1.76;
}

.step-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.75;
  color: var(--white);
}

.cursor-pointer {
  cursor: pointer;
}

.step-content {
  background-color: var(--off-white);
  border-radius: 0 0 24px 24px;
  /* padding: 30px;
  position: relative; */
}

.step-header {
  background-color: var(--primary-color);
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: end;
}
