/* 프리텐다드 폰트 import */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@media (max-width: 750px) {
  /* 750px 기준 루트 폰트 사이즈 설정 */
  html {
    font-size: calc(20 / 750 * 100vw);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    scroll-behavior: smooth;
  }

  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 calc(40 / 750 * 100vw);
  }

  /* Navigation */
  .navbar {
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(160 / 750 * 100vw);
  }

  .logo {
    width: calc(264 / 750 * 100vw);
    height: calc(92 / 750 * 100vw);
  }

  .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: calc(8 / 750 * 100vw);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    width: calc(35 / 750 * 100vw);
    height: calc(5 / 750 * 100vw);
    background: #2f4858;
    border-radius: 2px;
    transition: all 0.3s;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg)
      translate(calc(8 / 750 * 100vw), calc(8 / 750 * 100vw));
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg)
      translate(calc(7 / 750 * 100vw), calc(-7 / 750 * 100vw));
  }

  .nav-menu {
    position: fixed;
    top: calc(160 / 750 * 100vw);
    left: 0;
    width: 100%;
    background: #fff;
    list-style: none;
    flex-direction: column;
    padding: calc(40 / 750 * 100vw) 0;
    gap: calc(30 / 750 * 100vw);
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    text-decoration: none;
    color: #2f4858;
    font-size: calc(32 / 750 * 100vw);
    font-weight: bold;
    padding: calc(20 / 750 * 100vw) calc(30 / 750 * 100vw);
    display: block;
    transition: color 0.3s;
  }

  .nav-menu a:hover {
    color: #0e2a47;
  }

  /* Sections */
  .section {
    padding: calc(120 / 750 * 100vw) 0;
  }

  .section-title {
    font-size: calc(72 / 750 * 100vw);
    margin-bottom: calc(80 / 750 * 100vw);
    color: #3d3d3d;
  }

  /* Main Section */
  .main-section {
    padding: calc(40 / 750 * 100vw) 0 calc(40 / 750 * 100vw);
    padding-top: calc(200 / 750 * 100vw);
  }

  .main-section .container {
    padding: 0 calc(40 / 750 * 100vw);
  }

  .main-section img {
    width: 100%;
    height: calc(656 / 750 * 100vw);
    border-radius: calc(60 / 750 * 100vw);
    object-fit: cover;
  }

  /* info Section */
  .info-section {
    background: #f9f9f9;
    text-align: center;
  }

  .info-text {
    display: block;
    width: calc(640 / 750 * 100vw);
    font-size: calc(44 / 750 * 100vw);
    font-weight: bold;
    color: #3d3d3d;
    line-height: 1.4;
    padding: 0 calc(40 / 750 * 100vw);
  }

  /* about Section */
  .about-section {
    background: #0e2a47;
  }

  .about-section .container {
    max-width: 100%;
    padding: 0 calc(40 / 750 * 100vw);
  }

  .about-section .section-title {
    color: #fff;
  }

  .about-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(40 / 750 * 100vw);
  }

  .about-card {
    width: 100%;
    max-width: calc(650 / 750 * 100vw);
    min-height: auto;
    background: transparent;
    padding: calc(80 / 750 * 100vw) calc(40 / 750 * 100vw);
    border-radius: calc(60 / 750 * 100vw);
    border: 1px solid #eeeeee;
    transition: transform 0.3s;
  }

  .about-card:hover {
    transform: translateY(-5px);
  }

  .about-icon {
    width: calc(140 / 750 * 100vw);
    height: calc(140 / 750 * 100vw);
    margin-bottom: calc(40 / 750 * 100vw);
  }

  .about-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .about-card h3 {
    font-size: calc(48 / 750 * 100vw);
    margin-top: calc(16 / 750 * 100vw);
    margin-bottom: calc(40 / 750 * 100vw);
    line-height: 1.2;
    color: #fff;
  }

  .about-subtitle {
    font-size: calc(36 / 750 * 100vw);
    font-weight: 300;
    color: #299696;
  }

  .about-card p {
    font-size: calc(28 / 750 * 100vw);
    font-weight: 400;
    color: #eeeeee;
    line-height: 1.5;
  }

  /* Services Section */
  .services-section {
    background: url(images/service_bg_m.png) no-repeat;
    background-size: cover;
    max-width: 100%;
    margin: 0 auto;
  }

  .services-section .container {
    max-width: 100%;
    padding: 0 calc(40 / 750 * 100vw);
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(40 / 750 * 100vw);
  }

  .service-card {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    background: #ffffff80;
    padding: calc(80 / 750 * 100vw) calc(40 / 750 * 100vw);
    border-radius: calc(60 / 750 * 100vw);
    box-shadow: 0px 0px 40px 30px #0f282412;
    backdrop-filter: blur(20px);
    transition: transform 0.3s;
  }

  .service-card:hover {
    transform: translateY(-5px);
  }

  .service-card-content {
    width: 100%;
    order: 2;
  }

  .service-card-content img {
    width: calc(144 / 750 * 100vw);
    object-fit: contain;
    margin-bottom: calc(60 / 750 * 100vw);
  }

  .service-card h3 {
    font-size: calc(44 / 750 * 100vw);
    line-height: 1.2;
    font-weight: bold;
    color: #34495e;
    margin-bottom: calc(16 / 750 * 100vw);
  }

  .service-card p {
    font-size: calc(36 / 750 * 100vw);
    font-weight: 500;
    line-height: 1.2;
    color: #34495e;
  }

  .service-card .line {
    width: 100%;
    height: 1px;
    background: #0000001a;
    margin: calc(40 / 750 * 100vw) auto;
  }

  .service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: calc(40 / 750 * 100vw);
  }

  .service-card ul li {
    display: flex;
    line-height: 1.4;
    font-size: calc(32 / 750 * 100vw);
    font-weight: 400;
    color: #34495e;
    margin-bottom: calc(16 / 750 * 100vw);
    text-align: left;
  }

  .service-card ul li br {
    display: none;
  }

  .service-card li::before {
    content: " ";
    background: url(./images/check.svg) no-repeat center center;
    background-size: contain;
    display: inline-block;
    width: calc(32 / 750 * 100vw);
    height: calc(32 / 750 * 100vw);
    margin-top: calc(4 / 750 * 100vw);
    margin-right: calc(16 / 750 * 100vw);
    flex-shrink: 0;
  }

  .service-card-image {
    width: 100%;
    max-width: calc(630 / 750 * 100vw);
    height: auto;
    order: 1;
  }

  .service-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* company Section */
  .company-section {
    width: 100%;
    min-height: auto;
    box-shadow: 0px 0px 80px 0px #00000014;
  }

  .company-section .center-container {
    max-width: 100%;
    min-height: auto;
    margin: 0 auto;
  }

  .company-section .container {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: calc(40 / 750 * 100vw) 0;
  }

  .company-card-line {
    width: 100%;
    border: 1px dashed #dddddd;
  }

  .company-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: calc(640 / 750 * 100vw);
    min-height: auto;
    margin: 0 auto;
    padding: calc(80 / 750 * 100vw) 0;
    /* border-bottom: 1px dashed #dddddd; */
  }

  .company-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(72 / 750 * 100vw);
    height: calc(72 / 750 * 100vw);
    font-size: calc(36 / 750 * 100vw);
    font-weight: 500;
    color: #fff;
    background: #299696;
    border-radius: 50%;
    margin-bottom: calc(40 / 750 * 100vw);
  }

  .company-card h3 {
    font-size: calc(48 / 750 * 100vw);
    line-height: 1.2;
    font-weight: bold;
    color: #34495e;
    margin-bottom: calc(32 / 750 * 100vw);
    text-align: center;
  }

  .company-card p {
    font-size: calc(32 / 750 * 100vw);
    font-weight: 400;
    color: #34495e;
    text-align: center;
    line-height: 1.5;
  }

  .company-card p br {
    display: none;
  }

  .center-logo-bg {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Contact Section */
  .contact-section {
    background: #000;
  }

  .contact-section .container {
    max-width: 100%;
    padding: 0 calc(40 / 750 * 100vw);
  }

  .contact-section .section-title {
    color: #fff;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
  }

  .contact-info h3 {
    font-size: calc(72 / 750 * 100vw);
    font-weight: bold;
    color: #fff;
    margin-bottom: calc(80 / 750 * 100vw);
  }

  .contact-details {
    width: 100%;
  }

  .contact-details > div:first-child {
    margin-bottom: calc(30 / 750 * 100vw);
  }

  .contact-details .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin-top: calc(30 / 750 * 100vw);
    gap: calc(20 / 750 * 100vw);
  }

  .contact-details p {
    font-size: calc(48 / 750 * 100vw);
    line-height: 1.4;
    font-weight: bold;
    color: #fff;
    margin-bottom: calc(40 / 750 * 100vw);
  }

  .contact-details p.item-title {
    font-size: calc(36 / 750 * 100vw);
    font-weight: 500;
    line-height: 1;
    color: #888888;
    margin-bottom: calc(16 / 750 * 100vw);
  }

  .map-container {
    width: 100%;
    height: calc(400 / 750 * 100vw);
    margin-top: calc(40 / 750 * 100vw);
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: calc(30 / 750 * 100vw);
    object-fit: contain;
  }

  /* Footer */
  .footer {
    background: #000;
    border-top: 1px solid #ffffff33;
  }

  .footer .container {
    max-width: 100%;
    min-height: auto;

    justify-content: center;
    padding: calc(80 / 750 * 100vw) calc(40 / 750 * 100vw);
  }

  .footer img {
    width: calc(264 / 750 * 100vw);
    height: calc(92 / 750 * 100vw);
    object-fit: contain;
    margin-right: 0;
    margin-bottom: calc(40 / 750 * 100vw);
  }

  .footer p {
    font-size: calc(28 / 750 * 100vw);
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
  }

  .footer p:first-child {
    margin-bottom: calc(16 / 750 * 100vw);
  }

  /* Scroll Animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Main image fade only (no transform) */
  .main-image.fade-in {
    transform: none;
    transition: opacity 0.8s ease-out;
  }

  .main-image.fade-in.visible {
    transform: none;
  }

  /* Stagger animation for cards */
  .about-card.fade-in:nth-child(1) {
    transition-delay: 0.1s;
  }

  .about-card.fade-in:nth-child(2) {
    transition-delay: 0.2s;
  }

  .about-card.fade-in:nth-child(3) {
    transition-delay: 0.3s;
  }

  .service-card.fade-in:nth-child(1) {
    transition-delay: 0.1s;
  }

  .service-card.fade-in:nth-child(2) {
    transition-delay: 0.2s;
  }

  .service-card.fade-in:nth-child(3) {
    transition-delay: 0.3s;
  }
}
