* {
  box-sizing: border-box;
}

body {
  font-family: "futura-pt", 'Futura', 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #EEFFF9;
}

/* Prevent accidental horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }

/* Prevent anchor content from hiding under fixed header */
section { scroll-margin-top: 90px; }


/* Contact Page */
body.contact-page {
  background: #F3F4F6; /* light gray similar to screenshot */
  font-family: 'Crimson Text', serif;
  color: #111827;
}

.back-link {
  position: fixed;
  top: 20px;
  left: 40px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: transparent;
}

.contact-section {
  padding: 130px 24px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
}

/* vertical dotted divider */
.contact-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 2px dotted #9CA3AF;
  opacity: 0.7;
}

.contact-left {
  padding-right: 48px;
}

.contact-right {
  padding-left: 48px;
}

.contact-heading {
  font-family: "futura-pt", 'Futura', 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: clamp(22px, 3vw, 24px);
  letter-spacing: 0.5px;
  color: #111827;
  margin-bottom: 28px;
  line-height: 1.4;
}

.contact-subtext {
  font-style: italic;
  color: #6B7280;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  margin-bottom: 60px;
}

.contact-emblem img {
  width: 99px; /* 90% of 110px */
  height: auto;
  opacity: 0.8;
  margin: 20px 0 36px 0;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #374151;
  font-size: clamp(15px, 1.8vw, 18px);
}

/* Reduce individual contact icons to ~90% of original inline sizes */
.contact-details li:nth-child(1) svg { width: 14px; height: auto; }  /* 16px -> ~14px */
.contact-details li:nth-child(2) svg { width: 18px; height: auto; }  /* 20px -> ~18px */
.contact-details li:nth-child(3) svg { width: 18px; height: auto; }  /* 20px -> ~18px */

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.form-group label {
  display: block;
  color: #374151;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #D1D5DB;
  padding: 10px 6px;
  font-size: 16px;
  color: #111827;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #9CA3AF;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-actions {
  margin-top: 8px;
}

.send-btn {
  display: inline-block;
  background: #374151;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "futura-pt", 'Futura', 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.send-btn:hover { background: #111827; }

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-container::after { display: none; }
  .contact-left { padding-right: 0; }
  .contact-right { padding-left: 0; }
}



/* Main Hero Section */
.main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #EEFFF9;
  padding: 130px 40px 60px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 11px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.navigation {
  margin-left: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.nav-menu li a {
  text-decoration: none;
  color: #888;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #333;
}

/* Main Hero Section */
.main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #EEFFF9;
  padding: 120px 40px 20px;
}

.hero-section {
  position: relative;
  width: 100%;
  max-width: 1440px;
}

.hero-content {
  position: relative;
  width: 100%;
  /* Create a new stacking context so mix-blend-mode blends with
    the hero content (title lines, dotted line) rather than the page
    background. This makes the effect visible where elements overlap. */
  isolation: isolate;
}

.hero-title {
  font-family: "futura-pt", 'Futura', 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: clamp(140px, 18vw, 280px);
  font-weight: 500;
  color: rgb(75, 85, 99);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  position: relative;
  /* Subtle text grain effect */
  filter: contrast(1.02) brightness(0.98);
  text-shadow: 
    0.5px 0.5px 0px rgba(255, 255, 255, 0.08),
    -0.5px -0.5px 0px rgba(0, 0, 0, 0.05),
    1px 0px 0px rgba(255, 255, 255, 0.03),
    0px 1px 0px rgba(0, 0, 0, 0.03);
}

.title-line {
  display: block;
  position: relative;
  text-align: left;
  margin-bottom: 35px;
  z-index: 2;
}

.title-line.a-piece {
  text-indent: 0.1em;
}

.title-line.korea {
  margin-top: 40px;
  margin-bottom: 0;
  text-align: right;
  z-index: 4;
}

.premier-dmc {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  top: 60px;
  right: 0;
  text-align: center;
  color: #c4c4c4;
  font-size: 1.3rem;
  letter-spacing: 1.2px;
  padding: 10px 20px;
}

.premier-dmc .formerly {
  font-size: 0.55em;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  margin-top: 0.3rem;
  letter-spacing: -0.05px;
}

.coordinates-main {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  bottom: 80px;
  left: 20px;
  text-align: center;
  color: #c4c4c4;
  font-size: 1.3rem;
  letter-spacing: 1.2px;
}

.dotted-line {
  position: absolute;
  left: 50%;
  width: 100vw;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 1px;
  background-image: linear-gradient(to right, rgb(75, 85, 99) 50%, transparent 50%);
  background-size: 8px 1px;
  border: none;
  z-index: -1;
  padding-right: 45px; /* Adjust to end line before the dot */
  box-sizing: border-box; /* Include padding in width calculation */
  background-clip: content-box; /* Stop background from rendering in padding area */
}

.dotted-line::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 40px; /* Nudge the dot inward from the edge of the viewport */
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: rgb(75, 85, 99);
  border-radius: 50%;
}

/* Star Container */
.star-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: clamp(30vw, 10em, 700px);
  height: clamp(30vw, 10em, 700px);
}

.star {
  width: 200px;
  height: 200px;
  position: relative;
}



/* SVG Star styling */
.star-container svg {
  width: clamp(30vw, 10em, 700px);
  height: clamp(30vw, 10em, 700px);
  animation: rotate 25s linear infinite;
  mix-blend-mode: overlay;
}

/* Localized blur/warp effect behind the star (soft radial falloff) */
.star-container::before {
  content: '';
  position: absolute;
  inset: -6px; /* extend slightly so edges are smooth */
  pointer-events: none;
  /* Blur and slight contrast to create a distorted crossing look */
  backdrop-filter: blur(1.6px) contrast(1.05);
  -webkit-backdrop-filter: blur(1.6px) contrast(1.05);
  mix-blend-mode: overlay;
  /* Fade out to edges so distortion feels focused near the rays' center */
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0) 80%);
}
/* Optional: stronger alternative blend modes (toggle by body class) */
body.blend-screen .star-container svg { mix-blend-mode: screen; }
body.blend-overlay .star-container svg { mix-blend-mode: overlay; }
body.blend-exclusion .star-container svg { mix-blend-mode: exclusion; }

/* Optional: blur at intersections */
body.star-blur .star-container svg { filter: blur(1.2px); }
/* Combine glow + blur if both classes exist */
body.star-boost.star-blur .star-container svg { filter: blur(1.2px) drop-shadow(0 0 10px rgba(255, 247, 177, 0.65)); }

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* About Section */
.about-section {
  min-height: 100vh;
  background-image: linear-gradient(rgba(37, 38, 24, 0.3), rgba(10, 31, 30, 0.9)), url('./IMAGE/background\ picture.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

/* Desktop에서만 fixed background 사용 */
@media (min-width: 1025px) {
  .about-section {
    background-attachment: fixed;
  }
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-left {
  position: relative;
}

.about-title {
  font-family: "Crimson Text", serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 60px;
  letter-spacing: 0.5px;
}

.about-right {
  position: relative;
  max-width: 88%;
}

.about-text {
  font-family: "Crimson Text", serif;
  font-size: 1.22rem;
  line-height: 1.4;
  font-weight: 400;
}

.about-text p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.about-text p.highlight {
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 1;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Company Info Section */
.company-info {
  background-color: #F8F8F6;
  padding: 100px 0;
}

.company-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.company-header {
  margin-bottom: 80px;
}

.company-title {
  font-family: "Crimson Text", serif;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 600;
  color: #8B9CAB;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-style: italic;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.company-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.company-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 300px;
  align-items: start;
  padding: 30px 0 20px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

.info-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.info-section:not(:last-child) {
  border-bottom: 2px solid rgba(139, 156, 171, 0.2);
}

.info-title {
  font-family: "Crimson Text", serif;
  font-size: 1.26rem;
  font-weight: 600;
  color: #8B9CAB;
  letter-spacing: 1.5px;
  margin-bottom: 0;
  text-transform: uppercase;
}
.info-title::before {
  content: '◆';
  margin-right: 0.6em;
  font-size: 0.55em;
  color: inherit;
  vertical-align: 0.21rem;
}
.info-text {
  font-family: "Crimson Text", serif;
  font-size: 1.23rem;
  line-height: 1.5;
  color: #4a5568;
  max-width: 600px;
  margin-left: auto;
  text-align: left;
}


.info-text p {
  margin: 0;
}

/* Advisor Dropdown Section */
.advisor-toggle {
  margin-top: 20px;
}

#advisor-toggle-button {
  font-family: "Crimson Text", serif;
  font-style: italic;
  color: #8B9CAB;
  text-decoration: underline;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

#advisor-toggle-button:hover {
    color: #4a5568;
}

.advisors-dropdown-container {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out, padding 0.7s ease-in-out, margin 0.7s ease-in-out;
  padding-top: 0;
  margin-top: 0;
}

.advisors-dropdown-container.open {
    max-height: 2500px; /* Increased for longer content */
    padding-top: 40px;
    margin-top: 40px;
}


.advisors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.advisor-card {
  padding: 0 20px;
  text-align: left;
  border-left: 1px dotted #d1d1d1;
}

.advisor-card:first-child {
    border-left: none;
    padding-left: 0;
}

.advisor-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
}

.advisor-icon svg {
  width: 100%;
  height: 100%;
}

.advisor-icon.pink svg path { stroke: #ffc6d1; }
.advisor-icon.green svg path { stroke: #d4edda; }
.advisor-icon.red svg path { stroke: #ffb3a7; }
.advisor-icon.yellow svg path { stroke: #fff4a3; }
.advisor-icon.blue svg path { stroke: #cde5ff; }


.advisor-card h4 {
  font-family: "Crimson Text", serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #8B9CAB;
}

.advisor-card h5 {
  font-family: "Crimson Text", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.advisor-card p {
  font-family: "Crimson Text", serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #4a5568;
}

.review-section {
  /* Smoothly scale vertical spacing with viewport width */
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 7.5vw, 100px);
  background-color: #EEFFF9;
}

.review-title {
  text-align: center;
  font-style: italic;
  font-weight: 400;
  margin-bottom: clamp(60px, 9vw, 130px); /* was 130px */
  font-size: clamp(1.8rem, 3.5vw, 3rem); /* ~32px to 48px */
  font-weight: 400;
  color: #4a5568;
  font-family: 'Crimson Text', serif;
  line-height: 1.2;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  padding: 0 60px;
}

.review-card:not(:first-child) {
  border-left: 1px solid #ccc;
}

.review-image {
  width: 100%;
  height: 180px;
  margin-bottom: 30px;
  overflow: hidden;
  /* border-radius: 8px; */
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.review-card h3 {
  font-size: 0.9rem;
  font-weight: bold;
  color: #5DC19B;
  margin-bottom: 30px;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

.review-card .quote {
  margin-top: 30px;
  font-style: italic;
  color: #4a5568;  
}

.review-card .quote p {
  margin-bottom: 15px;
}

.review-card .quote span {
  font-style: normal;
  font-size: 0.84rem;
  color: #4a5568;
  
}
.review-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

/* 개별 로고 크기 조정 */
.review-logo[src*="1wharton.png"]{
  max-height: 43px;
  margin-top: 8px;
}

.review-logo[src*="COTE.png"] {
  max-height: 43px;
  /* margin-top: 1px;  */
}

.review-logo[src*="7Google_2015_logo.svg.webp"] {
  max-height: 24px;
  margin-top: 13px; 
}

/* Advisor Dropdown Section */
.advisor-toggle {
  margin-top: 20px;
}

#advisor-toggle-button {
  font-family: "Crimson Text", serif;
  font-style: italic;
  color: #8B9CAB;
  text-decoration: underline;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

#advisor-toggle-button:hover {
    color: #4a5568;
}

.advisors-dropdown-container {
  margin-top: 40px;
  padding-top: 40px;
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.advisor-card {
  padding: 20px;
  text-align: left;
  border-left: 1px dotted #c4c4c4;
}

.advisor-card:first-child {
    border-left: none;
    padding-left: 0;
}


.advisor-icon {
  font-size: 60px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 20px;
}

.advisor-icon.pink { color: #FFC0CB; }
.advisor-icon.green { color: #90EE90; }
.advisor-icon.red { color: #FFA07A; }
.advisor-icon.yellow { color: #FFD700; }
.advisor-icon.blue { color: #ADD8E6; }

.advisor-card h4 {
  font-family: "Crimson Text", serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #4a5568;
}

.advisor-card h5 {
  font-family: "Crimson Text", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.advisor-card p {
  font-family: "Crimson Text", serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a5568;
}

@media (max-width: 1400px) {
  .main {
    min-height: 85vh;
  }
  

}

@media (max-width: 1200px) {
  .main {
    min-height: 75vh;
  }
  
  .star-container svg {
    width: clamp(400px, 28vw, 600px);
    height: clamp(400px, 28vw, 600px);
  }
  
  .star-container {
    width: clamp(400px, 28vw, 600px);
    height: clamp(400px, 28vw, 600px);
  }

  .advisors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-container {
    padding: 0 30px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .review-card {
    padding: 0;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
  }

  .review-card:not(:first-child) {
    border-left: none;
  }

  .review-card:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .gallery-section {
    padding: 100px 30px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-right {
    border-left: none;
    padding-left: 0;
  }
}

/* Client Section */
.client-section {
  padding-top: 30px;
  background: linear-gradient(to bottom, #EEFFF9 35%,#fff7b1 );
  text-align: center;
}

.client-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.client-header {
  margin-bottom: 70px;
}

.client-icon {
  margin-bottom: 20px;
}

.client-title {
  font-family: "Crimson Text", serif;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: #4a5568;
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-align: center;
}

.mobile-break-client {
  display: none;
}

.client-logos-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.client-logos-top img {
  max-height: 65px;
  width: auto;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.client-logos-top img:hover {
  transform: scale(1.1);
}

.client-logos-top img.logo-large-top {
  max-height: 81.25px; /* 65px * 1.25 */
}

.client-logos-top img.logo-small-top {
  max-height: 45.5px; /* 65px * 0.7 */
}

.client-logos-bottom {
  margin-top: 40px;
}

.client-logos-bottom p {
  font-family: "Crimson Text", serif;
  font-size: 1.1rem;
  color: #5a6867;
  margin-bottom: 60px;
  line-height: 1.4;
}

.client-logos-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.client-logos-inner img {
  max-height: 45px;
  width: auto;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.client-logos-inner img:hover {
  transform: scale(1.1);
}

.client-logos-inner img.logo-large {
  max-height: 58.5px; /* 45px * 1.3 */
}

.client-logos-inner img.logo-small {
  max-height: 36px; /* 45px * 0.8 */
}

/* Marquee Animation */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  margin-top: 60px;
}

.marquee-content {
  display: flex;
  width: fit-content;
  animation: marquee 70s linear infinite;
}

.marquee-content span {
  font-family: "futura-pt", 'Futura', 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #8B9CAB;
  white-space: nowrap;
  padding: 0 40px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.footer {
  background-color: #1F2937;
  color: #D1D5DB;
  padding-top: 70px;
  padding-bottom: 40px;
  font-family: "Crimson Text", serif;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  column-gap: 10px;
  row-gap: 0;
  padding-bottom: 60px;
  border-bottom: 1px solid #4B5563;
}

.footer-left {
  max-width: 420px;
}

.footer-logo {
  height: 70px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-left p {
  font-size: 1rem;
  line-height: 1.6;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-left: 60px;
  border-left: 1px dotted #4B5563;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.contact-info svg {
  flex-shrink: 0;
}

/* Footer contact-info icons: scale to ~90% of original inline sizes */
.footer-right .contact-info p:nth-child(1) svg { width: 12px; height: auto; } /* 13 -> ~12 (90%) */
.footer-right .contact-info p:nth-child(2) svg { width: 16px; height: auto; } /* 18 -> ~16 (90%) */
.footer-right .contact-info p:nth-child(3) svg { width: 16px; height: auto; } /* 18 -> ~16 (90%) */

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: #D1D5DB;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.social-icons svg {
  width: 16px; /* further 10% smaller from 18px */
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-icons a:hover svg {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
}

.footer-nav {
  white-space: nowrap;
}

.footer-nav a {
  color: #D1D5DB;
  text-decoration: none;
  margin-right: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  transition: color 0.3s;
}

.footer-nav a:last-child {
  margin-right: 0;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright p {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.copyright a {
  color: #9CA3AF;
  text-decoration: none;
}


@media (max-width: 1200px) {
  .client-logos-top,
  .client-logos-inner {
    gap: 40px;
  }

  /* keep footer in 2 columns at tablet/desktop widths */
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .copyright {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .client-section {
    padding: 30px 30px; /* tighter vertical spacing on mobile */
  }

  .client-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    max-width: 100%;
    padding: 0 10px;
  }
  

  .client-logos-top {
    margin-bottom: 15px; /* 간격 축소 */
  }

  .client-header { margin-bottom: 36px; }
  .client-icon { margin-bottom: 10px; } /* 30px의 90% */
  .client-logos-bottom p { 
    margin-bottom: 32px;
    font-size: 1.15rem;
  }
  .marquee { padding: 36px 0; margin-top: 48px; }
  .br-mobile { display: block; height: 0; }
  
  .client-logos-top,
  .client-logos-inner {
    gap: 5px; /* 로고 간격 축소 */
    justify-content: space-around; /* 로고를 화면에 고르게 분산 */
    flex-wrap: nowrap; /* 한 줄 유지 */
    align-items: center;
  }

  .client-logos-top img,
  .client-logos-inner img {
    width: 18%; /* 유연한 너비 설정 */
    height: auto; /* 비율 유지 */
    object-fit: contain; /* 이미지가 영역에 맞게 조절되도록 함 */
  }

  .client-logos-top img.logo-small-top,
  .client-logos-inner img.logo-small {
    max-height: 28px; /* 35px * 0.8 */
  }

  .marquee-content span {
    font-size: 1.08rem; /* 1.2rem의 90% */
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-right {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .client-logos-top,
  .client-logos-inner {
    flex-wrap: nowrap; /* 한 줄 유지 */
    overflow-x: initial; /* 스크롤 관련 속성 초기화 */
    justify-content: space-around; /* 로고를 화면에 고르게 분산 */
    gap: 5px; /* 로고 간격 축소 */
    align-items: center;
  }

  .client-logos-top::-webkit-scrollbar,
  .client-logos-inner::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }

  .client-logos-top img,
  .client-logos-inner img {
    width: 18%; /* 유연한 너비 설정 */
    height: auto; /* 비율 유지 */
    object-fit: contain; /* 이미지가 영역에 맞게 조절되도록 함 */
  }

  .client-section { padding-top: 10px; }
  .client-header { margin-bottom: 28px; }
  .client-icon { margin-bottom: 15px; }
  .client-title {
    font-size: clamp(1.35rem, 4.8vw, 1.7rem);
  }
  .client-logos-bottom p {
    font-size: 1.05rem;
  }
  .marquee { padding: 28px 0; margin-top: 36px; }
  
  .marquee-content span {
    font-size: 16.2px; /* 18px의 90% */
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-nav a {
    margin-right: 15px;
    font-size: 0.75rem;
  }
  
  .footer-nav a:last-child {
    margin-right: 0;
  }
}

@media (max-width: 1100px) {
  .main {
    min-height: 65vh;
  }
}

@media (max-width: 1024px) {
  .main {
    min-height: 60vh;
  }
  
  .star-container svg {
    width: clamp(350px, 25vw, 500px);
    height: clamp(350px, 25vw, 500px);
  }
  
  .star-container {
    width: clamp(350px, 25vw, 500px);
    height: clamp(350px, 25vw, 500px);
  }
}

@media (max-width: 950px) {
  .main {
    min-height: 55vh;
  }
}

@media (max-width: 900px) {
  .main {
    min-height: 50vh;
  }
}

@media (max-width: 850px) {
  .main {
    min-height: 45vh;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 0;
  }
  
  .header .container {
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .logo img {
    height: 45px; /* 50px의 90% */
  }
  
  .navigation {
    margin: 0;
    margin-left: auto;
  }
  
  .nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .nav-menu li {
    text-align: center;
  }
  
  .nav-menu li a {
    font-size: 11px;
  }
  
  .premier-dmc {
    display: none;
  }
  
  .coordinates-main {
    display: none;
  }
  
  .main {
    min-height: 40vh;
    padding: 130px 20px 80px;
  }
  
  .star-container svg {
    width: 400px;
    height: 400px;
  }
  
  .star-container {
    width: 400px;
    height: 400px;
  }
  
  .about-section {
    padding: 60px 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-container {
    padding: 0 30px;
  }
  
  .about-title {
    font-size: clamp(22px, 4vw, 32px);
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 0;
  }
  
  .header .container {
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .logo img {
    height: 40px; /* 더 작은 화면에서 조금 더 줄임 */
  }
  
  .navigation {
    margin: 0;
    margin-left: auto;
  }
  
  .nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .nav-menu li {
    text-align: center;
    flex: none;
  }
  
  .nav-menu li a {
    font-size: 10px;
  }
  
  .premier-dmc {
    display: none;
  }
  
  .coordinates-main {
    display: none;
  }
  
  .main {
    min-height: 35vh;
    padding: 130px 15px 80px;
  }
  
  .hero-title {
    font-size: clamp(80px, 16vw, 160px);
    line-height: 1.2;
  }
  
  .title-line {
    margin-bottom: 25px;
  }
  
  .title-line.korea {
    margin-top: 30px;
  }
  
  .star-container svg {
    width: 280px;
    height: 280px;
  }
  
  .star-container {
    width: 280px;
    height: 280px;
  }
  
  .about-section {
    padding: 50px 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-container {
    padding: 0 20px;
  }
  
  .about-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 40px;
  }
  
  .about-text {
    font-size: 1.2rem;
  }
}

/* Gallery Section */
.gallery-section {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 120px 0;
    /* Apply the gradient here */
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 247, 177, 0.4) 15%, rgba(255, 246, 162, 0) 70%);
    background-size: 100% 100%;
}

.gallery-header {
    width: 100%;
    max-width: 1440px;
    text-align: left;
    /* Add horizontal padding and auto margin to center it like a container */
    padding: 0 40px;
    margin: 0 auto 80px;
}

.gallery-title {
    font-family: "Crimson Text", serif;
    font-size: clamp(1.1rem, 2.2vw, 1.7rem);
    font-style: italic;
    font-weight: 600;
    color: #5a6867;
    line-height: 1.8;
    letter-spacing: 0.5px;
    padding-bottom: 0.4rem;
}

.mobile-break {
    display: none;
}

.gallery-text{
  font-family: "Crimson Text", serif;
  font-size: clamp(1.0rem, 2.0vw, 1.5rem);
  line-height: 1.4;
  font-weight: 400;
  color: #5a6867;

}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Remove pseudo-element styles */
}

.slider-container::before {
    display: none;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 33.333%; /* Show 3 slides by default */
    padding: 0 15px;
    box-sizing: border-box;
    height: 50vh;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0px;
    transition: transform 0.3s ease;
}

.slide img:hover{
  transform: scale(1.05);
}

.slider-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    pointer-events: all;
    background-color: transparent;
    border: none;
    padding: 15px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin: 0 30px;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn:hover {
    color: rgba(255, 255, 255, 1);
}


@media (max-width: 1200px) {
    .slide {
        min-width: 50%; /* Show 2 slides */
    }
}

@media (max-width: 768px) {
    .gallery-section {
  justify-content: flex-start;
  padding: 40px 30px 40px; /* 80px의 50% */
    }
    .slide {
        min-width: 100%; /* Show 1 slide */
    }
    .gallery-header {
        margin-bottom: 39px; /* 30px의 130% */
        padding: 0;
    }
    .slider-btn {
        margin: 0 15px;
        width: 50px;
        height: 50px;
        font-size: 28px;
        color: rgba(255, 255, 255, 0.8);
    }
    /* mobile rem-based scaling, slightly smaller */
    .mobile-break { display: inline; }
    .gallery-title { font-size: clamp(1.3rem, 5.4vw, 1.8rem); line-height: 1.4; margin-bottom: 20px; }
    .gallery-text  { font-size: clamp(1.15rem, 4.5vw, 1.35rem); line-height: 1.45; }
    
    .review-section {
      padding-top: 28.8px; /* 36px의 80% */
    }
    
    .review-title {
      margin-bottom: 60px; /* 40px의 150% */
    }
}

@media (max-width: 1200px) {
  .info-section {
    grid-template-columns: 180px 1fr;
    gap: 30px;
  }
  
  .info-text {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 900px) {
  .company-container {
    padding: 0 30px;
  }
  
  .company-header {
    margin-bottom: 60px;
  }
  
  .info-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0;
  }
  
  .review-container {
    padding: 0 30px;
  }
  
  .client-container {
    padding: 0 30px;
  }
  
  .footer-container {
    padding: 0 30px;
  }
  
  .gallery-header {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .company-info {
    padding: 60px 0;
  }
  
  .company-container {
    padding: 0 30px;
  }
  
  .company-header {
    margin-bottom: 50px;
  }
  
  .company-title {
    font-size: clamp(32px, 8vw, 60px);
  }
  
  .info-section {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 0 10px 0;
  }
  
  .info-title {
    font-size: clamp(1.15rem, 4.5vw, 1.3rem);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  
  .info-text {
    font-size: clamp(1.15rem, 4.7vw, 1.35rem);
    line-height: 1.7;
  }

  .advisors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    align-items: start;
    grid-auto-rows: auto;
  }

  .advisor-card {
    border-left: none;
    padding: 0;
    border-bottom: none;
    overflow: visible;
    width: 100%;
    align-self: start;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .advisor-card:nth-child(even) {
    border-left: 1px dotted #d1d1d1;
    padding-left: 20px;
  }

  .advisor-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .advisor-card p {
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
    height: auto;
    max-height: none;
  }
  
  .review-container {
    padding: 0 30px;
  }
  
  .gallery-header {
    padding: 0;
  }
  
  .client-container {
    padding: 0 30px;
  }
  
  .footer-container {
    padding: 0 30px;
  }
  
  .gallery-header {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .company-info {
    padding: 40px 0;
  }
  
  .company-container {
    padding: 0 20px;
  }
  
  .company-header {
    margin-bottom: 40px;
  }
  
  .company-content {
    gap: 35px;
  }
  
  .gallery-section {
    padding: 50px 20px; /* 100px의 50% */
  }
  
  .gallery-header {
    padding: 0;
    margin-bottom: 39px; /* 30px의 130% (일관성 유지) */
  }
  
  .review-container {
    padding: 0 20px;
  }
  
  .review-section {
    padding-top: 21.6px; /* 27px의 80% */
  }
  
  .review-title {
    margin-bottom: 45px; /* 30px의 150% */
  }
  
  .client-section {
    padding: 50px 0;
  }
  
  .client-container {
    padding: 0 20px;
  }
  
  .footer-container {
    padding: 0 20px;
  }
  
  .gallery-header {
    padding: 0;
  }
}

/* Ultra-wide refinements to reduce perceived bottom whitespace without changing layout */
@media (min-width: 1600px) {
  .main {
    align-items: center; /* vertical center to balance top/bottom space */
    padding-top: 100px; /* keep header clearance */
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: clamp(120px, 13.6vw, 300px); /* keep previous */
  }
  .star-container,
  .star-container svg {
    width: clamp(31.5vw, 10em, 882px); /* 10% smaller than 35vw/980px */
    height: clamp(31.5vw, 10em, 882px);
  }
}

@media (min-width: 1920px) {
  .hero-title {
    font-size: clamp(120px, 13.6vw, 320px);
  }
  .star-container,
  .star-container svg {
    width: clamp(31.5vw, 10em, 972px); /* 10% smaller than 35vw/1080px */
    height: clamp(31.5vw, 10em, 972px);
  }
}

:root { --page-max: 1440px; }

/* Ensure main wrappers never exceed 1440px on ultra-wide screens */
@media (min-width: 1440px) {
  .hero-section,
  .about-container,
  .company-container,
  .review-container,
  .gallery-header,
  .client-container,
  .footer-container,
  /* guard key grids in case wrapper was bypassed */
  .review-grid,
  .advisors-grid,
  .about-content,
  .footer-main {
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}