/* about.css - 병원소개 페이지 */

/* --------------------- about header */

#about_header {
  position: relative;
  width: 100%;
  height: 920px;
  overflow: hidden;
  margin-top: -90px;
}

#about_header .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#about_header .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#about_header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

#about_header .container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#about_header .wrapper {
  text-align: center;
}

#about_header .hero-content {
  color: #fff;
}

#about_header .hero-content h1 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin: 0;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}


/* --------------------- about header */
#about_header {
}
#about_header .container {
}
#about_header .container .wrapper {
}
#about_header .container .wrapper .main-banner {
}
#about_header .container .wrapper .main-banner img {
  position: relative;
}
#about_header .container .wrapper .main-banner .txt {
  position: absolute;
  width: 100%;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 5px 0 #0000002c;
  /*  */
}

#about_header .container .wrapper .main-banner .txt h1 {
  font-size: var(--text-xl);
  font-family: var(--font-heading);
}
#about_header .container .wrapper .main-banner .txt h1 span {
  color: #00d8b5;
}
#about_header .container .wrapper .main-banner .txt h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  opacity: 0.8;
  padding: 40px;
  line-height: 1.5;
}

/* --------------------- about section 01 */

#about_1 {
  background: #e6fffb;
  background: linear-gradient(
    149deg,
    rgba(230, 255, 251, 1) 0%,
    rgba(236, 246, 242, 1) 100%
  );
}

#dentures_main section#about_1 .container .wrapper .content {
  padding-top: 80px;
}

#about_1 .container .wrapper .content .point {
  display: flex;
  justify-content: space-evenly;
  gap: 50px;
  padding-bottom: 60px;
  /* justify-content: center;
  gap: 60px; */
}

#about_1 .container .wrapper .content .point.second,
#about_1 .container .wrapper .content .point.forth {
  gap: 60px;
  justify-content: flex-start;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

#about_1 .container .wrapper .content .point .txt {
  align-self: center;
  display: flex;
  flex-direction: column;
  font-size: var(--text-md);
}

#about_1 .container .wrapper .content .point .txt span.number {
  padding-bottom: 15px;
  font-size: var(--text-lg);
  color: #0e9380;
}
#about_1 .container .wrapper .content .point .txt span.color {
  font-weight: var(--font-bold);
  padding-bottom: 15px;
}
#about_1 .container .wrapper .content .point .txt span.color .green {
  color: #0e9380;
}
#about_1 .container .wrapper .content .point .txt p {
  font-size: var(--text-sm);
  padding-top: 15px;
  position: relative;
}

#about_1 .container .wrapper .content .point .txt p:before {
  content: "";
  position: absolute;
  width: 130%;
  height: 2px;
  background-color: #0e9380;
  top: -2px;
}

#about_1 .container .wrapper .content .point img {
  border-radius: 20px;
}

/* --------------------- about section 02 */

#about_2 {
  background: #f7f7f7;
}

#about_main #about_2 .container .wrapper .content {
  padding: 90px 0 150px;
}

#about_2 .container .wrapper .content .about_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#about_2 .container .wrapper .content .about_cards li.card {
  flex: 1 1 20%;
  max-width: 338px;
  min-height: 453px;
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px 15px;
}

#about_2 .container .wrapper .content .about_cards li.card:nth-child(2),
.about_cards li.card:nth-child(4) {
  position: relative;
  top: 70px;
}

#about_2 .container .wrapper .content .about_cards li.card:nth-child(1) {
  background-image: url("/gangnamafter/assets/images/about/card01.png");
  background-size: contain;
}
#about_2 .container .wrapper .content .about_cards li.card:nth-child(2) {
  background-image: url("/gangnamafter/assets/images/about/card02.png");
  background-size: contain;
}
#about_2 .container .wrapper .content .about_cards li.card:nth-child(3) {
  background-image: url("/gangnamafter/assets/images/about/card03.png");
  background-size: contain;
}
#about_2 .container .wrapper .content .about_cards li.card:nth-child(4) {
  background-image: url("/gangnamafter/assets/images/about/card04.png");
  background-size: contain;
}

#about_2 .container .wrapper .content .about_cards li.card .card-content {
  position: relative;
}
#about_2 .container .wrapper .content .about_cards li.card .card-content .txt {
  font-size: var(--text-md);
  padding: 10px;
}

#about_2
  .container
  .wrapper
  .content
  .about_cards
  li.card
  .card-content
  .txt
  .title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  padding: 10px 0;
}

/* --------------------- about section 03 */

#about_3 {
  background: #eef4f2;
}
/* #about_main #about_3 .container .wrapper .content {padding: 0;} */

#about_3 .container .wrapper p {
  text-align: center;
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  padding: 55px 0 25px 0;
}
#about_3 .container .wrapper p span {
  font-weight: 600;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

.video-list li {
  flex: 1;
  background-color: white;
  border-radius: 42px;
}

.video-list li .video-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.video-list li .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* border-radius:24px; */
  user-select: none;
}
.video-list li .img {
  width: 40%;
}

.video-list li .txt {
  font-size: 2.3em;
  padding-left: 40px;
  width: 60%;
}

.video-list li .txt span {
  font-weight: 600;
}

/********************************************* DOCTORS ************************************
*/

#doctors_main section .container {
  padding: 90px 20px;
}

#doctors_main section .container .wrapper h2 {
  font-size: var(--text-lg);
  padding-bottom: 20px;
}

#doctors_main section .container .wrapper p {
  line-height: 1.3;
}

#doctors_main section .container .wrapper .content {
  padding-top: 35px;
}


/* ============================================
   About Page Styles
   ============================================ */

.about-page {
    padding-top: 90px;
    min-height: 100vh;
}

/* Hero Section */
.about-hero {
    width: 100%;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Introduction Section */
.about-intro {
    padding: 90px 0;
    text-align: center;
}

.about-intro .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-intro .intro-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: #333;
    margin-bottom: 40px;
}

.about-intro .intro-content p {
    font-size: var(--text-sm);
    line-height: 2;
    color: #000000;
    margin-bottom: 30px;
}

.about-intro .intro-content strong {
    color: #000000;
    font-weight: var(--font-bold);
}

.about-intro .intro-sub {
    font-size: var(--text-xs);
    color: #000000;
}

/* Promise Section */
.about-promise {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 90px 75px;
    background: linear-gradient(135deg, #0C898D 0%, #0a7a7d 100%);
}

.about-promise .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.about-promise .promise-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 21px 0 75px;
    font-family: var(--font-body);
    font-weight: var(--font-normal);
    font-size: var(--text-lg);
    line-height: 59px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.about-promise .promise-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    width: 100%;
}

.about-promise .promise-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0 auto;
    flex: 1;
    min-width: 0;
    height: 100%;
    min-height: 650px;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.35));
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
}

.about-promise .promise-card:nth-child(1) .card-header,
.about-promise .promise-card:nth-child(3) .card-header {
    background: #DCF3ED;
}

.about-promise .promise-card:nth-child(2) .card-header {
    background: #FFFFFF;
}

.about-promise .card-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px 20px 0;
    gap: 20px;
    width: 100%;
    height: 190px;
    box-sizing: border-box;
}

.about-promise .card-number {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #019982;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: var(--font-bold);
    font-size: var(--text-md);
    line-height: 29px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.about-promise .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    height: 160px;
}

.about-promise .card-title {
    font-family: var(--font-body);
    font-weight: var(--font-bold);
    font-size: var(--text-md);
    line-height: 1.4;
    color: #393838;
    margin: 0;
}

.about-promise .card-desc {
    font-family: var(--font-body);
    font-weight: var(--font-normal);
    font-size: var(--text-sm);
    line-height: 27px;
    color: #393838;
    margin: 0;
    padding: 5px 0;
}

.about-promise .card-image {
    width: 100%;
    height: 477px;
    overflow: hidden;
}

.about-promise .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Facility Section */
.about-facility {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 0;
}

.about-facility .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1414px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-facility .facility-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 0 15px;
    font-family: var(--font-body);
    font-weight: var(--font-normal);
    font-size: var(--text-lg);
    line-height: 59px;
    text-align: center;
    color: #000000;
    margin: 0;
}

.about-facility .facility-subtitle {
    width: 100%;
    font-family: var(--font-body);
    font-weight: var(--font-light);
    font-size: var(--text-lg);
    line-height: 45px;
    text-align: center;
    color: #666666;
    margin: 0 0 50px;
}

.about-facility .facility-subtitle strong {
    font-weight: 600;
    color: #666666;
}

.about-facility .facility-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px;
}

.about-facility .facility-main {
    width: 100% !important;
    border-radius: 8px;
    overflow: hidden;
}

.about-facility .facility-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-facility .facility-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: white;
    padding: 8px 16px;
    font-size: var(--text-xs);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.about-facility .facility-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.about-facility .facility-item {
    border-radius: 8px;
    overflow: hidden;
}

.about-facility .facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   ABOUT PAGE RESPONSIVE STYLES
   ===================================================== */

/* --------------------- Tablet (max-width: 1024px) --------------------- */
@media screen and (max-width: 1024px) {
    #about_header {
        height: 600px;
    }

    #about_header .hero-content h1 {
        font-size: 45px;
    }

    .about-intro {
        padding: 60px 0;
    }

    .about-intro .intro-content p {
        font-size: 15px;
        line-height: 1.9;
    }

    .about-promise {
        padding: 0 40px 60px;
    }

    .about-promise .promise-title {
        font-size: 36px;
        line-height: 1.4;
        padding: 20px 0 50px;
    }

    .about-promise .promise-cards {
        gap: 20px;
    }

    .about-promise .promise-card {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .about-promise .card-header {
        height: auto;
        padding: 25px 20px;
    }

    .about-promise .card-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .about-promise .card-image {
        height: 350px;
    }

    .about-facility .facility-title {
        font-size: 36px;
        line-height: 1.4;
        padding: 80px 0 15px;
    }

    .about-facility .facility-subtitle {
        font-size: 24px;
        line-height: 1.5;
    }
}

/* --------------------- Mobile (max-width: 768px) --------------------- */
@media screen and (max-width: 768px) {
    .about-page {
        padding-top: 70px;
    }

    #about_header {
        height: 450px;
        margin-top: -70px;
    }

    #about_header .hero-content h1 {
        font-size: 32px;
        line-height: 1.4;
    }

    .about-intro {
        padding: 50px 0;
    }

    .about-intro .container {
        padding: 0 20px;
    }

    .about-intro .intro-content p {
        font-size: 13px;
        line-height: 1.7;
        text-align: center;
    }

    .about-intro .intro-content p br {
        display: none;
    }

    .about-intro .intro-sub {
        font-size: 13px;
        text-align: center;
    }

    .about-intro .intro-sub br {
        display: block !important;
    }

    .about-promise {
        padding: 0 20px 50px;
    }

    .about-promise .promise-title {
        font-size: 24px;
        line-height: 1.4;
        padding: 15px 0 30px;
        word-break: keep-all;
    }

    .about-promise .promise-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-promise .promise-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
    }

    .about-promise .card-header {
        height: auto;
        padding: 20px 15px;
        gap: 15px;
    }

    .about-promise .card-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .about-promise .card-content {
        width: auto;
        height: auto;
    }

    .about-promise .card-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .about-promise .card-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .about-promise .card-image {
        height: 250px;
    }

    .about-facility {
        padding: 0 0 50px;
    }

    .about-facility .container {
        padding: 0 15px;
    }

    .about-facility .facility-title {
        font-size: 24px;
        line-height: 1.4;
        padding: 50px 0 10px;
        word-break: keep-all;
    }

    .about-facility .facility-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .about-facility .facility-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* --------------------- Small Mobile (max-width: 480px) --------------------- */
@media screen and (max-width: 480px) {
    #about_header {
        height: 350px;
    }

    #about_header .hero-content h1 {
        font-size: 26px;
    }

    .about-intro .intro-content p {
        font-size: 12px;
        line-height: 1.6;
    }

    .about-intro .intro-sub {
        font-size: 12px;
    }

    .about-promise .promise-title {
        font-size: 20px;
    }

    .about-promise .card-title {
        font-size: 20px;
    }

    .about-promise .card-image {
        height: 200px;
    }

    .about-facility .facility-title {
        font-size: 20px;
    }

    .about-facility .facility-subtitle {
        font-size: 14px;
    }

    .about-facility .facility-bottom {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for About Page */
@media screen and (max-width: 1024px) {
    .about-page .intro-section {
        flex-direction: column;
        gap: 40px;
    }

    .about-page .intro-image {
        flex: 1;
        max-width: 100%;
    }

    .about-page .intro-text {
        padding-left: 0;
    }

    .about-page .cards-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .about-page .promise-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .about-page .container {
        padding: 60px 15px;
    }

    .about-page .main-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-page .intro-section {
        margin-bottom: 60px;
    }

    .about-page .intro-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .about-page .section-subtitle {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .about-page .cards-wrapper {
        gap: 40px;
        margin-top: 40px;
    }

    .about-page .card-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
    }

    .about-page .card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .about-page .card-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Facility Section */
.about-page .facility-section {
    margin-top: 120px;
    padding-top: 80px;
}

.about-page .facility-headline {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-page .facility-subtitle {
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.6;
}

.about-page .facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.about-page .facility-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.about-page .facility-item-wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/6;
}

.about-page .facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.about-page .facility-item:hover img {
    transform: scale(1.05);
}

.about-page .facility-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 20px;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-align: center;
}

/* Responsive Design for Facility Section */
@media screen and (max-width: 1024px) {
    .about-page .facility-section {
        margin-top: 100px;
        padding-top: 60px;
    }

    .about-page .facility-headline {
        font-size: 28px;
    }

    .about-page .facility-subtitle {
        font-size: 18px;
        margin-bottom: 50px;
    }

    .about-page .facility-grid {
        gap: 20px;
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .about-page .facility-section {
        margin-top: 80px;
        padding-top: 40px;
    }

    .about-page .facility-headline {
        font-size: 22px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .about-page .facility-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .about-page .facility-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .about-page .facility-item-wide {
        grid-column: 1;
        aspect-ratio: 16/9;
    }

    .about-page .facility-item {
        aspect-ratio: 16/9;
    }

    .about-page .facility-label {
        padding: 15px;
        font-size: 16px;
    }
}

