:root {
  --color-text: #212121;
  --color-bg: #ffffff;
  --color-primary-start: #005899;
  --color-primary-end: #00C4DF;
  --color-secondary-start: #0B2B75;
  --color-secondary-end: #0063D0;
  --color-accent: #00C4DF;
  --font-base: "Outfit", "Inter", "Noto Sans JP", sans-serif;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

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

.footer-logo-img {
  height: 80px;
  width: auto;
  /* Filter removed to show original logo colors (or use brightness(0) invert(1) if white text is preferred transparently) */
}

.nav {
  display: flex;
  gap: 0;
  /* Reset gap, individual items handle spacing */
  align-items: center;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
}

.nav-link {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

/* Hover line effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  transition: width 0.3s;
}

.nav-item:hover .nav-link::after {
  width: 100%;
}

.nav-item:hover .nav-link {
  color: var(--color-primary-start);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: white;
  min-width: 200px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid white;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* HEART-1 Poster Styles (Kaizen 2) - Updated to fit circles */
.heart-poster-wrapper {
  max-width: 900px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 88, 153, 0.4);
  position: relative;
  background: #000;
  aspect-ratio: 4 / 3; /* Fixed ratio to maintain layout */
}

/* Custom Stylish Header for Kaizen */
.kaizen-custom-header {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: #010a1b;
}

.cosmic-bg {
  background-image: url('../cosmic-stars-bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  filter: brightness(0.8) !important;
  z-index: 0;
}

.header-poster-side {
  position: absolute;
  top: 0;
  left: 0;
  width: min(46%, 520px);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.header-poster-side .responsive-media {
  width: 100%;
  height: 100%;
}

.header-poster-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

@media (max-width: 768px) {
  .kaizen-custom-header {
    height: 190px;
    min-height: 190px;
  }

  .kaizen-custom-header .page-header-content {
    max-width: none;
    width: 100%;
    padding: 0 20px;
  }

  .header-poster-side {
    display: none;
  }

  .cosmic-bg {
    background-image: none !important;
    background: linear-gradient(135deg, #010a1b 0%, #0b2b75 100%) !important;
    filter: none !important;
  }

  .deepblue-header .page-title {
    font-size: 30px;
  }
}

/* Philosophy Section Poster for Kaizen - 1/2 Size */
.full-poster-wrapper {
  width: 100%;
  max-width: 50% !important; /* Exactly half width */
  margin: 0 auto 40px;
  background: transparent;
}

.full-poster-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Video for index2 */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-hero {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding-top: 140px !important;
  padding-left: 60px !important;
}

.video-hero::after {
  background: rgba(0, 0, 0, 0.4) !important; /* Slightly darker for text legibility */
}

.video-text-white .main-copy,
.video-text-white .sub-copy {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  text-shadow: 0 4px 25px rgba(0,0,0,0.9);
}

.hero-title.video-text-white {
  color: #ffffff !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

@media (max-width: 900px) {
  .heart-poster-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }
}

.nav-contact-btn {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(45deg, #005899 0%, #00C4DF 100%);
  color: white !important;
  font-weight: bold;
  font-size: 14px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 88, 153, 0.2);
}

.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 88, 153, 0.35);
  opacity: 0.95;
}

.nav-social-item {
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
}

.nav-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(45deg, #005899 0%, #00C4DF 100%);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 88, 153, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}


.nav-social-link[href*="instagram.com"] {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
  box-shadow: 0 4px 12px rgba(221, 42, 123, 0.22);
}

.nav-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 88, 153, 0.32);
  opacity: 0.95;
}


.nav-social-link[href*="instagram.com"]:hover {
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.34);
}

.nav-social-link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: #555;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #f5f9fc;
  color: var(--color-primary-start);
}

/* Hero */
/* Hero Slider - Ken Burns Effect (Option 2) */
.hero {
  height: 80vh;
  min-height: 600px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  overflow: hidden;
}

.hero .slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  animation: kenburnsAnim 20s infinite;
}

.hero .slide-item:nth-child(1) { animation-delay: 0s; }
.hero .slide-item:nth-child(2) { animation-delay: 5s; }
.hero .slide-item:nth-child(3) { animation-delay: 10s; }
.hero .slide-item:nth-child(4) { animation-delay: 15s; }

/* Award / article layouts */
.cert-item--award {
  align-items: stretch;
}

.cert-item--award .cert-logo-col {
  background: linear-gradient(180deg, #f7fbff 0%, #eef7fc 100%);
}

.cert-item--award .cert-logo-col .cert-logo,
.cert-item--award .cert-logo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  min-height: 320px;
}

.cert-award-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(45deg, rgba(0, 88, 153, 0.08), rgba(0, 196, 223, 0.14));
  color: var(--color-primary-start);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cert-award-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.cert-award-point {
  background: #f8fbfe;
  border: 1px solid #e2edf7;
  border-radius: 14px;
  padding: 16px 18px;
}

.cert-award-point strong {
  display: block;
  margin-bottom: 6px;
  color: #005899;
  font-size: 15px;
}

.cert-award-point p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.cert-award-figure {
  margin-top: 18px;
}

.cert-award-figure img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 88, 153, 0.12);
}

.cert-award-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #77808a;
}

.cert-award-quote {
  margin-top: 12px;
  padding: 18px 20px;
  border-left: 4px solid #00c4df;
  background: linear-gradient(90deg, #f3fbff 0%, #ffffff 100%);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #123;
}

.cert-award-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.news-article {
  padding: 80px 20px 120px;
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 18%);
}

.news-article__container {
  max-width: 1040px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e3edf6;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 88, 153, 0.12);
}

.news-article__hero {
  position: relative;
  overflow: hidden;
  padding: 56px 56px 44px;
  color: #fff;
  background: linear-gradient(45deg, #005899 0%, #00C4DF 100%);
}

.news-article__hero::before,
.news-article__hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.news-article__hero::before {
  top: -30px;
  right: -20px;
  width: 220px;
  height: 220px;
}

.news-article__hero::after {
  left: -60px;
  bottom: -80px;
  width: 280px;
  height: 280px;
}

.news-article__meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.news-article__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-article__title {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0;
}

.news-article__body {
  padding: 44px 56px 56px;
  color: #334155;
  font-size: 16px;
  line-height: 1.95;
}

.news-article__lead {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 28px;
}

.news-article__section-title {
  margin: 40px 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: #005899;
}

.news-article__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  margin: 28px 0;
  align-items: stretch;
}

.news-article__photo-card {
  background: #f8fbfe;
  border: 1px solid #e2edf7;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-article__photo {
  flex: 1;
  min-height: 360px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 88, 153, 0.12);
  background: #fff;
}

.news-article__photo .responsive-media {
  height: 100%;
}

/* 2枚の写真が同じ縦横比の場合、幅を揃えるだけで高さも自動的に揃い、
   切り抜き・余白なしで横並びにできる（display: gridのまま2等分カラムにする） */
.news-article__grid.news-article__grid--equal-photos {
  grid-template-columns: 1fr 1fr;
}

.news-article__grid--equal-photos .news-article__photo {
  height: auto;
  min-height: 0;
}

.news-article__grid--equal-photos .news-article__photo .responsive-media {
  height: auto;
}

.news-article__grid--equal-photos .news-article__photo img,
.news-article__grid--equal-photos .news-article__photo .responsive-media > img {
  height: auto;
  object-fit: initial;
}

@media (max-width: 900px) {
  .news-article__grid.news-article__grid--equal-photos {
    grid-template-columns: 1fr;
  }
}

.news-article__photo img,
.news-article__photo .responsive-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}

.news-article__point {
  background: #fff;
  border: 1px solid #e2edf7;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 28px rgba(0, 88, 153, 0.06);
}

.news-article__point h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #005899;
}

.news-article__point p {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
}

.news-article__quote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 5px solid #00c4df;
  background: linear-gradient(90deg, #f0fbff 0%, #ffffff 100%);
  border-radius: 18px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.news-article__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.news-article__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(45deg, #005899 0%, #00C4DF 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 88, 153, 0.18);
}

@media (max-width: 900px) {
  .cert-item--award {
    flex-direction: column;
  }

  .cert-item--award .cert-logo-col .cert-logo,
  .cert-item--award .cert-logo-col img {
    min-height: 240px;
  }

  .cert-award-points,
  .news-article__grid,
  .news-article__points {
    grid-template-columns: 1fr;
  }

  .news-article {
    padding: 56px 16px 80px;
  }

  .news-article__hero,
  .news-article__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-article__hero {
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .news-article__title {
    font-size: 28px;
  }

  .news-article__photo {
    min-height: 260px;
  }
}

@keyframes kenburnsAnim {
  0% { opacity: 0; transform: scale(1); }
  2.5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.15); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  color: white;
}

.hero-title {
  font-size: 64px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  display: none;
  /* Removed from HTML but keeping CSS clean */
}

/* Philosophy Section */
.philosophy-section {
  padding: 120px 40px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--color-primary-start), transparent);
  transform: translateX(-50%);
}

.philosophy-inner {
  max-width: 800px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.philosophy-text-vertical {
  writing-mode: vertical-rl;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.4em;
  color: #333;
  line-height: 1.8;
  position: relative;
  padding-right: 20px;
}

.philosophy-text-vertical span {
  display: block;
}

.philosophy-text-vertical span:first-child {
  background: linear-gradient(to bottom, var(--color-primary-start), var(--color-primary-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.philosophy-text-vertical span:last-child {
  margin-right: 30px;
  /* Space between vertical lines */
}

.philosophy-text-vertical::after {
  content: 'PHILOSOPHY';
  position: absolute;
  top: -60px;
  right: -50px;
  writing-mode: horizontal-tb;
  font-size: 14px;
  color: var(--color-primary-start);
  letter-spacing: 0.5em;
  opacity: 0.4;
  font-weight: normal;
}

@media (max-width: 768px) {
  .philosophy-section {
    padding: 80px 20px;
  }

  .philosophy-text-vertical {
    font-size: 24px;
    letter-spacing: 0.2em;
  }

  .philosophy-text-vertical::after {
    right: -40px;
    font-size: 10px;
  }
}

/* Sections */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  margin: 20px auto 0;
}

.news-list {
  list-style: none;
}

.news-item {
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.news-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  color: inherit;
  text-decoration: none;
}

.news-item:hover {
  background-color: #fafafa;
}

.news-date {
  font-family: 'Roboto', sans-serif;
  color: #888;
  width: 120px;
  font-weight: 500;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;
  background-color: #f0f0f0;
  color: #555;
  font-size: 12px;
  border-radius: 20px;
  margin-right: 30px;
  width: 100px;
  text-align: center;
  font-weight: bold;
}

.news-title {
  flex: 1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-date {
    width: auto;
  }

  .news-category {
    margin-right: 0;
  }
}

/* Page Headers */
.page-container {
  padding-top: var(--header-height);
  min-height: 100vh;
}

.page-header {
  background-color: #f5f5f5;
  padding: 60px 40px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.page-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.breadcrumbs {
  font-size: 14px;
  color: #888;
  display: none !important; /* パンくずリストを全ページで非表示 */
}

.breadcrumbs a {
  color: #555;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Greeting Section */
.greeting-section {
  padding: 80px 40px;
  background-color: white;
}

.greeting-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.greeting-image {
  flex: 0 0 350px;
  position: sticky;
  top: 100px;
  /* offset for sticky header */
}

.greeting-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.greeting-content {
  flex: 1;
}

.greeting-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
  color: #444;
  text-align: justify;
}

.vision-list {
  background-color: #f9f9f9;
  padding: 30px 40px;
  border-left: 4px solid var(--color-primary-start);
  margin: 30px 0;
  list-style: none;
}

.vision-list li {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

.vision-list li:last-child {
  margin-bottom: 0;
}

.greeting-signature {
  margin-top: 60px;
  text-align: right;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.signature-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.signature-name {
  font-size: 24px;
  font-weight: bold;
  font-family: serif;
  /* mimic signature style slightly */
}

.greeting-text strong {
  background: linear-gradient(transparent 60%, rgba(0, 196, 223, 0.2) 60%);
  padding-bottom: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .greeting-container {
    flex-direction: column;
    align-items: center;
  }

  .greeting-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin-bottom: 40px;
    position: static;
  }
}

.news-date {
  font-size: 14px;
  color: #888;
  width: 120px;
}

.news-category {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background-color: #eee;
  margin-right: 20px;
  color: #555;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
}

/* Company LP Unified Styles */
.company-lp-section {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}

.company-lp-section:nth-child(even) {
  background-color: #f8fbfc;
}

.section-label-vertical {
  position: absolute;
  left: 40px;
  top: 120px;
  writing-mode: vertical-rl;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5em;
  color: var(--color-primary-start);
  opacity: 0.2;
  text-transform: uppercase;
  z-index: 1;
}

.company-lp-title {
  font-size: 32px;
  color: var(--color-primary-start);
  margin: 80px 0 40px;
  text-align: left;
  position: relative;
  font-weight: 800;
  padding-left: 20px;
  border-left: 4px solid var(--color-primary-start);
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.company-lp-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Deepblue Header shared */
.deepblue-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  background: #000;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  transform: scale(1.05);
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-header-content .page-title {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .company-lp-section {
    padding: 80px 20px;
  }
  .section-label-vertical {
    display: none;
  }
  .company-lp-title {
    font-size: 32px;
  }
  .page-header-content .page-title {
    font-size: 32px;
  }
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 40px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 60px;
  gap: 60px;
}

.footer-left {
  flex: 0 0 300px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}



.footer-address {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
}

.footer-right {
  flex: 1;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  font-size: 15px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
}

.footer-link {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 12px;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
  opacity: 1;
}

.copyright {
  text-align: center;
  color: #555;
  font-size: 12px;
  border-top: 1px solid #333;
  padding-top: 30px;
}

@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-left {
    flex: 0 0 auto;
    text-align: center;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-nav-title::after {
    left: 0;
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Styles */

/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  padding: 0;
  z-index: 1002;
  /* Ensure visibility and positioning */
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary-start);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Open state for menu button */
.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 48px;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Nav for mobile */
  .nav {
    display: flex;
    /* Override display:none locally if it was set */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    /* Slide out */
    width: 80%;
    /* Width of drawer */
    height: 100vh;
    background-color: white;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    align-items: flex-start;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .nav-social-item {
    width: 100%;
    justify-content: center;
    padding: 14px 30px;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-social-links {
    width: 100%;
    justify-content: center;
  }

  .nav-social-link {
    width: 48px;
    height: 48px;
  }

  .nav-social-link svg {
    width: 24px;
    height: 24px;
  }

  .nav-link {
    width: 100%;
    padding: 15px 30px;
    height: auto;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
  }

  /* Mobile Dropdown - Always visible for simplicity */
  .dropdown-menu {
    display: block;
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    width: 100%;
    background-color: #fafafa;
    border-left: 4px solid var(--color-primary-start);
  }

  .dropdown-item {
    padding: 12px 40px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
  }

  .dropdown-menu::before {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  /* About Table Responsive */
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    background-color: #eee;
  }

  .officer-list li {
    flex-direction: column;
  }

  .officer-list li span {
    width: 100%;
    margin-bottom: 4px;
    font-weight: bold;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-box {
    grid-template-columns: 1fr;
  }

  .greeting-container {
    flex-direction: column;
  }

  .greeting-image {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }

  /* Footer responsive */
  .footer-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Reset hover effects that might get stuck on mobile */
  .nav-item:hover .nav-link::after {
    width: 0;
  }
}

/* About Page Styles */
.about-section {
  padding: 80px 40px;
  background-color: white;
}

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

.section-title-small {
  font-size: 24px;
  font-weight: bold;
  border-left: 6px solid var(--color-primary-start);
  padding-left: 15px;
  margin-bottom: 30px;
  color: #333;
}

/* Company Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}

.company-table th,
.company-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.company-table th {
  width: 200px;
  background-color: #f9f9f9;
  font-weight: bold;
  color: #444;
  vertical-align: top;
}

.company-table td {
  color: #555;
  line-height: 1.8;
}

.officer-list {
  list-style: none;
}

.officer-list li {
  margin-bottom: 8px;
  display: flex;
}

.officer-list li span {
  display: inline-block;
  width: 140px;
  color: #888;
  font-size: 14px;
}

.note {
  font-size: 13px;
  color: #888;
  display: block;
  margin-top: 5px;
}

/* Philosophy */
.philosophy-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.philosophy-item {
  background: #fdfdfd;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-top: 3px solid var(--color-secondary-end);
  text-align: center;
}

.philosophy-item h3 {
  font-size: 16px;
  color: #888;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.philosophy-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary-start);
}

.motto-detail {
  display: block;
  font-size: 14px;
  color: #555;
  font-weight: normal;
  margin-top: 5px;
}

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.location-card {
  background: white;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 8px;
}

.location-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color-primary-start);
  padding-bottom: 10px;
  display: inline-block;
}

.access-info {
  margin-top: 20px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
  font-size: 14px;
}

.access-info ul {
  list-style: disc;
  margin-left: 20px;
  margin-top: 5px;
  color: #666;
}

.map-placeholder {
  width: 100%;
  height: 200px;
  background-color: #eee;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  border-radius: 4px;
}

/* Certifications Page Styles */
.cert-intro-section {
  padding: 60px 40px;
  background-color: white;
  text-align: center;
}

.cert-intro-text {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 2;
  color: #555;
}

.cert-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cert-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 180px;
  transition: transform 0.3s;
}

.cert-nav-item:hover {
  transform: translateY(-5px);
  opacity: 1;
  /* override default a:hover opacity */
}

.cert-nav-img {
  width: 170px;
  height: 170px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 1px solid #eee;
  padding: 25px;
}

.cert-nav-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-nav-label {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-primary-start);
  text-align: center;
  line-height: 1.4;
}

.cert-list-section {
  padding: 80px 40px 120px;
  background-color: #fafafa;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Vertical decoration line */
.cert-list-section::before {
  content: "CERTIFICATIONS";
  position: absolute;
  top: 100px;
  left: -20px;
  writing-mode: vertical-rl;
  font-size: 60px;
  font-weight: bold;
  color: rgba(0, 88, 153, 0.03);
  letter-spacing: 0.2em;
  pointer-events: none;
  white-space: nowrap;
}

.cert-item {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px;
  /* Offset for sticky header */
  display: flex;
  gap: 40px;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 88, 153, 0.1);
}

@media (min-width: 768px) {
  .cert-item {
    flex-direction: row;
    align-items: flex-start;
  }
}

.cert-year-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 24px;
  border-bottom-left-radius: 12px;
  z-index: 10;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
}

.cert-logo-col {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  padding-top: 0;
}

.cert-content-col {
  flex: 1;
}

.cert-logo {
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: contain;
}

.cert-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary-start);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-primary-start);
  padding-left: 15px;
  display: block;
  width: 100%;
}

.cert-content-col p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
  text-align: justify;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--color-primary-start);
  font-weight: bold;
  border: 1px solid var(--color-primary-start);
  padding: 10px 24px;
  border-radius: 30px;
  transition: all 0.3s;
  background: white;
}

.cert-link:hover {
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 196, 223, 0.3);
}

.cert-link .arrow {
  margin-left: 8px;
}

/* History Page Styles */
.history-section {
  padding: 80px 40px;
  background-color: white;
}

.history-container {
  max-width: 900px;
  margin: 0 auto;
}

.history-timeline {
  position: relative;
  padding: 40px 0;
}

/* Vertical line */
.history-timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-start), var(--color-primary-end));
  top: 0;
  bottom: 0;
  left: 120px;
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.timeline-date {
  flex: 0 0 100px;
  text-align: right;
  padding-right: 20px;
  font-weight: bold;
  color: var(--color-primary-start);
  font-size: 18px;
  padding-top: 5px;
}

.timeline-content {
  flex: 1;
  padding-left: 60px;
}

.timeline-content p {
  background: #f9f9f9;
  padding: 24px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  line-height: 1.8;
  color: #444;
}

/* Bullet point on the line */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid var(--color-primary-start);
  border-radius: 50%;
  left: 113px;
  top: 10px;
  z-index: 2;
}

@media (max-width: 768px) {
  .history-timeline::after {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-date {
    text-align: left;
    padding-left: 50px;
    margin-bottom: 12px;
    flex: 0 0 auto;
  }

  .timeline-content {
    padding-left: 50px;
  }

  .timeline-item::after {
    left: 13px;
  }
}

/* Product Page Styles */
.product-intro-section {
  padding: 60px 40px;
  text-align: center;
  background: white;
}

.product-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: #555;
}

.product-list-section {
  padding: 40px 40px 100px;
  background-color: #fafafa;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 88, 153, 0.1);
}

.product-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 88, 153, 0.2), transparent);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

.product-info {
  padding: 30px;
  flex: 1;
}

.product-name {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary-start);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.product-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
}

.product-description {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-img-wrapper {
    height: 200px;
  }
}

/* Medical Product Specific Details */
.product-no {
  font-size: 13px;
  color: #888;
  margin-top: -10px;
  margin-bottom: 15px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 10px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 5px rgba(0, 88, 153, 0.2);
}

.badge-icon {
  font-size: 12px;
}

@media (max-width: 600px) {
  .product-badge {
    margin-left: 0;
    margin-top: 8px;
    display: inline-flex;
  }
}

.product-details {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px dashed #ddd;
}

.details-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.details-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.details-list li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.details-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--color-primary-start);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #f0f4f8;
  color: #005899;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid #e0e6ed;
}

.action-btn:hover {
  background: #005899;
  color: white;
  border-color: #005899;
  transform: translateY(-2px);
}

.video-btn {
  background: #fdf2f2;
  color: #d32f2f;
  border-color: #f5e1e1;
}

.video-btn:hover {
  background: #d32f2f;
  border-color: #d32f2f;
}

.btn-icon {
  margin-right: 8px;
  font-size: 16px;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.video-container {
  display: none;
  position: relative;
  width: 80vw;
  height: 45vw;
  /* 16:9 Aspect Ratio */
  max-width: 1000px;
  max-height: 562.5px;
}

#lightbox-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #00c4df;
}

@media (max-width: 768px) {
  .video-container {
    width: 95vw;
    height: 53.4vw;
  }
}

/* Technology Page Styles */
.tech-intro-section {
  padding: 60px 40px;
  text-align: center;
  background: white;
}

.tech-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: #555;
}

/* Video Section */
.video-section {
  padding: 80px 40px;
  background-color: #fcfcfc;
  text-align: center;
}

.video-wrapper {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 88, 153, 0.15);
}

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

.responsive-media {
  display: block;
  width: 100%;
  max-width: 100%;
}

.responsive-media > img {
  display: block;
  width: 100%;
  height: auto;
}

.responsive-media > img.meas-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.responsive-media > img.activity-original-img,
.responsive-media > img.hero-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsive-media > img.header-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.content-picture {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-picture img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.content-picture:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .video-section {
    padding: 60px 20px;
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 196, 223, 0.1);
}

.tech-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.tech-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 196, 223, 0.1), transparent);
}

.tech-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tech-card:hover .tech-img-wrapper img {
  transform: scale(1.1);
}

.tech-info {
  padding: 25px;
  flex: 1;
}

.tech-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary-start);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.tech-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
}

.tech-description {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

.tech-blog-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-top: 18px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(45deg, #005899 0%, #00C4DF 100%);
  box-shadow: 0 12px 28px rgba(0, 88, 153, 0.24);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.tech-blog-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}

.tech-blog-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 88, 153, 0.34);
  filter: saturate(1.06);
}

.tech-blog-btn-text,
.tech-blog-btn-arrow {
  position: relative;
  z-index: 1;
}

.tech-blog-btn-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tech-blog-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 15px;
  line-height: 1;
}

.tech-blog-btn:hover .tech-blog-btn-arrow {
  background: rgba(255, 255, 255, 0.26);
}

/* Tech Blog CTA */
.tech-blog-cta {
  padding: 100px 40px;
  background: linear-gradient(135deg, #005899 0%, #002244 100%);
  color: white;
  text-align: center;
}

.blog-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.blog-cta-title {
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.blog-cta-text {
  font-size: 16px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.blog-btn {
  display: inline-block;
  padding: 15px 50px;
  background: white;
  color: #005899;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: #00C4DF;
  color: white;
}

@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-blog-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Plant Page Styles */
.plant-intro-section {
  padding: 60px 40px;
  text-align: center;
  background: white;
}

.plant-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: #555;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-primary-start);
  letter-spacing: 0.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-main-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
}

.plant-list-section {
  padding: 80px 40px;
  background-color: #fafafa;
}

.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.plant-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.plant-card:hover {
  transform: translateY(-8px);
}

.plant-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.plant-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.plant-card:hover .plant-img-wrapper img {
  transform: scale(1.1);
}

.plant-info {
  padding: 25px;
  flex: 1;
}

.plant-name {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
}

.plant-description {
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/* Quality / Measurement Grid */
.quality-section {
  padding: 100px 40px;
  background: white;
}

.measurement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.measurement-card {
  background: #fcfcfc;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  text-align: center;
}

.measurement-card:hover {
  border-color: var(--color-primary-start);
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.meas-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  mix-blend-mode: multiply;
}

.meas-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.meas-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

/* Equipment List Section */
.equipment-list-section {
  padding: 100px 40px;
  background-color: #f0f4f8;
}

.tab-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.category-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--color-primary-start);
}

.equipment-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.equipment-table th,
.equipment-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.equipment-table th {
  background: #005899;
  color: white;
  font-weight: 600;
}

.equipment-table tr:last-child td {
  border-bottom: none;
}

.equipment-table tr:hover td {
  background-color: #f9fbff;
}

@media (max-width: 1000px) {
  .tab-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .plant-grid {
    grid-template-columns: 1fr;
  }

  .measurement-grid {
    grid-template-columns: 1fr;
  }
}

/* Tech 2 Page Styles */
.tech2-section {
  padding: 100px 40px;
  background-color: white;
}

.tech2-section:nth-child(even) {
  background-color: #fcfdfe;
}

.tech2-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.tech2-section:nth-child(even) .tech2-container {
  flex-direction: row-reverse;
}

.tech2-image-group {
  flex: 1.2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tech2-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 5;
}

.tech2-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tech2-img-wrapper:hover img {
  transform: scale(1.1);
}

.tech2-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px;
  background: linear-gradient(transparent, rgba(0, 88, 153, 0.9));
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.tech2-img-wrapper:hover .tech2-img-caption {
  transform: translateY(0);
}

.tech2-content {
  flex: 1;
}

.tech2-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-start);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.tech2-title {
  font-size: 36px;
  font-weight: 800;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.3;
}

.tech2-text {
  font-size: 16px;
  line-height: 2;
  color: #555;
  text-align: justify;
}

@media (max-width: 1000px) {
  .tech2-container {
    gap: 40px;
  }

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

@media (max-width: 800px) {
  .tech2-section {
    padding: 80px 20px;
  }

  .tech2-container,
  .tech2-section:nth-child(even) .tech2-container {
    flex-direction: column;
    text-align: center;
  }

  .tech2-image-group {
    width: 100%;
  }

  .tech2-img-caption {
    transform: translateY(0);
  }
}

.kaizen-hero {
  padding: 100px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  overflow: hidden;
}

.kaizen-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.kaizen-hero-text {
  flex: 1.2;
}

.kaizen-hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #005899;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.kaizen-hero-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.kaizen-hero-visual {
  flex: 1;
}

.hero-real-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 88, 153, 0.15);
}

/* HEART-1 Philosophy */
.heart-project-section {
  padding: 100px 40px;
  background-color: white;
}

.heart-philosophy {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.heart-logo-area {
  width: 100%;
  max-width: 800px;
}

.heart-logo-extract-wrapper {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 88, 153, 0.2);
  border: 8px solid white;
  background-color: white;
}

.heart-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.heart-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
}

.premium-acronym-card {
  background: #fbfcfe;
  border: 1px solid #eef2f8;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  gap: 20px;
  transition: all 0.4s ease;
}

.premium-acronym-card:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 88, 153, 0.05);
  border-color: #00c4df;
}

.letter-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #005899;
  color: white;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.badge-gold {
  background: linear-gradient(45deg, #ffd700, #ffa500);
}

.acronym-label {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.acronym-detail {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Initiative Rows */
.activity-premium-section {
  padding: 100px 40px;
  background-color: #f8fafc;
}

.premium-activity-list {
  max-width: 1100px;
  margin: 0 auto;
}

.activity-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.activity-row.row-reverse {
  flex-direction: row-reverse;
}

.activity-image-wrapper {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  height: 350px;
}

.activity-original-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-image-wrapper:hover .activity-original-img {
  transform: scale(1.05);
}

.image-overlay-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 88, 153, 0.8));
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.activity-text-box {
  flex: 1.2;
}

.activity-point-title {
  font-size: 24px;
  font-weight: bold;
  color: #005899;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.activity-point-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #00c4df;
}

.activity-point-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.activity-tags {
  display: flex;
  gap: 15px;
}

.tag {
  padding: 8px 20px;
  background: white;
  border: 1px solid #e0e6ed;
  color: #005899;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1000px) {

  .kaizen-hero-content,
  .activity-row {
    flex-direction: column;
    text-align: center;
  }

  .activity-row.row-reverse {
    flex-direction: column;
  }

  .activity-image-wrapper {
    width: 100%;
    height: 300px;
  }

  .kaizen-hero-title {
    font-size: 36px;
  }

  .activity-point-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .activity-tags {
    justify-content: center;
  }
}

/* Inquiry (Contact) Page Styles - Premium Design */
.contact-intro {
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.contact-intro-title {
  font-size: 36px;
  font-weight: 800;
  color: #005899;
  margin-bottom: 25px;
}

.contact-intro-text {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

.contact-form-section {
  padding: 60px 40px 100px;
  background-color: white;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 88, 153, 0.08);
  border: 1px solid #f0f4f8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spam-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.spam-honeypot label,
.spam-honeypot input {
  position: absolute;
  left: -9999px;
}

.form-turnstile {
  display: flex;
  justify-content: center;
  min-height: 65px;
}

.form-status {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #e0a3a3;
  border-radius: 6px;
  background: #fdf2f2;
  color: #b42318;
  line-height: 1.7;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.flex-1 {
  flex: 1;
}

.form-label {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.required-badge {
  font-size: 11px;
  background: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  padding: 15px 20px;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  font-size: 16px;
  color: #333;
  background-color: #fcfdfe;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #00c4df;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(0, 196, 223, 0.1);
}

.form-textarea {
  height: 180px;
  resize: vertical;
}

.form-dynamic-section {
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #00c4df;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.form-disclaimer {
  font-size: 14px;
  color: #005899;
  background: #e6f4ff;
  border-left: 4px solid #005899;
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.form-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #005899;
  margin-bottom: 10px;
}

.form-section-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #005899;
  margin-bottom: 16px;
}

.form-section {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e0e6ed;
  background: #f6fbff;
  margin-bottom: 20px;
}

.confirm-note {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
}

.question-label {
  font-size: 13px;
  font-weight: 700;
  color: #005899;
  letter-spacing: 0.05em;
}

.form-privacy {
  margin-top: 20px;
  padding: 30px;
  background: #fdfdfd;
  border: 1px dashed #e0e6ed;
  border-radius: 12px;
  text-align: center;
}

.privacy-text {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.6;
}

.privacy-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.privacy-check input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-submit-area {
  margin-top: 20px;
  text-align: center;
}

.submit-btn {
  padding: 20px 80px;
  background: linear-gradient(135deg, #005899 0%, #00c4df 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 30px rgba(0, 88, 153, 0.2);
}

.submit-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 88, 153, 0.3);
}

/* Direct Contact Info */
.contact-info-direct {
  padding: 100px 40px;
  background-color: #f8fafc;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.direct-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.card-dept {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.card-tel {
  font-size: 32px;
  font-weight: 900;
  color: #005899;
  margin-bottom: 15px;
}

.card-info {
  font-weight: 700;
  margin-bottom: 10px;
}

.card-addr {
  font-size: 14px;
  color: #999;
}

@media (max-width: 800px) {
  .form-container {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-intro-title {
    font-size: 28px;
  }

  .submit-btn {
    width: 100%;
    padding: 20px;
  }
}

/* Tech 3 - Modern Minimal Grid */
.tech3-section {
  padding: 100px 40px;
  background-color: #fff;
}

.tech3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.tech3-card {
  position: relative;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 40px;
  transition: all 0.5s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.tech3-card:hover {
  background: #fff;
  border-color: var(--color-primary-start);
  box-shadow: 0 30px 60px rgba(0, 88, 153, 0.1);
  transform: translateY(-10px);
}

.tech3-icon-area {
  margin-bottom: 20px;
  position: relative;
  height: 40px;
}

.tech3-number {
  font-size: 60px;
  font-weight: 900;
  color: rgba(0, 88, 153, 0.05);
  position: absolute;
  top: -20px;
  left: -10px;
}

.tech3-icon-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

.tech3-title {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.tech3-text {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.tech3-image-preview {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
}

.tech3-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tech 4 - Storytelling Split Layout */
.tech4-container {
  overflow: hidden;
}

.tech4-item {
  height: 90vh;
  display: flex;
  position: relative;
}

.tech4-item:nth-child(even) {
  flex-direction: row-reverse;
}

.tech4-visual {
  flex: 1.2;
  position: relative;
}

.tech4-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech4-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
}

.tech4-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  background: #fff;
}

.tech4-inner {
  max-width: 500px;
}

.tech4-step {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-start);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 20px;
}

.tech4-title {
  font-size: 42px;
  font-weight: 900;
  color: #111;
  margin-bottom: 30px;
  line-height: 1.2;
}

.tech4-text {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin-bottom: 40px;
}

.tech4-link {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--color-primary-start);
}

@media (max-width: 1100px) {
  .tech3-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech4-content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .tech3-grid {
    grid-template-columns: 1fr;
  }

  .tech4-item {
    height: auto;
    flex-direction: column !important;
  }

  .tech4-visual {
    height: 300px;
  }

  .tech4-title {
    font-size: 30px;
  }
}

/* Tech 3 - 2-Image Grid Additions */
.tech3-image-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
}


.tech3-img-small {
  width: 100%;
  height: 100%;
}

.tech3-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tech 4 - 2-Image Grid Additions */
.tech4-visual-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: white;
}

.tech4-img-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tech4-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.tech4-item:hover .tech4-img-frame img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .tech4-visual-grid {
    height: 400px;
  }
}

/* Metallic Sphere Decoration for Nav (Menu Sample) */
.nav-link-with-sphere::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d1d1d1 20%, #777777 60%, #333333 100%);
  border-radius: 50%;
  box-shadow:
    inset -2px -2px 4px rgba(0, 0, 0, 0.4),
    2px 2px 4px rgba(0, 0, 0, 0.2);
  vertical-align: middle;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-item:hover .nav-link-with-sphere::before {
  transform: scale(1.2) rotate(10deg);
  box-shadow:
    inset -2px -2px 4px rgba(0, 0, 0, 0.4),
    3px 3px 6px rgba(0, 196, 223, 0.4);
  /* Glow effect on hover */
}


.learn-more-btn {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(45deg, var(--color-primary-start), var(--color-primary-end));
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 88, 153, 0.2);
}

.learn-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 88, 153, 0.3);
  opacity: 0.9;
  color: white;
}

/* --- Hamada Renewal Custom Styles --- */

/* Global Image Tone Adjustment - Cleaned */
img:not(.logo img):not(.footer-logo-img) {
 transition: filter 0.5s ease;
}

img:not(.logo img):not(.footer-logo-img):hover {
 filter: none;
}

/* Hero Content Updates */
.hero-title {
 display: flex;
 flex-direction: column;
 gap: 10px;
 line-height: 1.1;
}

.hero-title .main-copy {
 font-size: 1.2em;
 background: linear-gradient(90deg, #fff 0%, #00C4DF 100%);
 -webkit-background-clip: text;
 background-clip: text;
 -webkit-text-fill-color: transparent;
}

.hero-title .sub-copy {
 font-size: 0.8em;
 opacity: 0.9;
}

/* Scroll Gallery */
.scroll-gallery {
 padding: 100px 40px;
 background: #fdfdfd;
}

.gallery-container {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 20px;
 max-width: 1400px;
 margin: 0 auto;
}

@media (max-width: 1024px) {
 .gallery-container {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
 }
}

@media (max-width: 600px) {
 .gallery-container {
  grid-template-columns: 1fr;
  gap: 10px;
 }
}

.gallery-item {
 position: relative;
 height: 350px;
 overflow: hidden;
 border-radius: 4px;
 display: block;
 box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 position: absolute;
 top: 0; left: 0;
 filter: none !important;
 transform: scale(1.3) !important;
 opacity: 0 !important;
 transition: all 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.gallery-item img.focal-left {
 object-position: left center;
}

/* Scroll visibility target */
.gallery-container.is-visible .gallery-item img {
 transform: scale(1) !important;
 opacity: 1 !important;
}

.gallery-container.is-visible .gallery-item:nth-child(1) img { transition-delay: 0.0s !important; }
.gallery-container.is-visible .gallery-item:nth-child(2) img { transition-delay: 0.2s !important; }
.gallery-container.is-visible .gallery-item:nth-child(3) img { transition-delay: 0.4s !important; }
.gallery-container.is-visible .gallery-item:nth-child(4) img { transition-delay: 0.6s !important; }

/* Remove entrance delay when hovering later */
.gallery-container.is-visible .gallery-item:hover img {
 transform: scale(1.05) !important;
 filter: none !important;
 transition: all 0.5s ease !important;
 transition-delay: 0s !important;
}

/* Utility to fall back to old fade-in if used elsewhere */
.fade-in-scroll {
 opacity: 0;
 transform: translateY(50px);
 transition: all 1s ease-out;
}

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


/* Tech stylish Numbering */
.tech-number {
 font-size: 48px;
 font-weight: 900;
 font-family: \Outfit\, sans-serif;
 background: linear-gradient(45deg, #005899 0%, #00C4DF 100%);
 -webkit-background-clip: text;
 background-clip: text;
 -webkit-text-fill-color: transparent;
 line-height: 1;
 letter-spacing: -0.05em;
 opacity: 0.8;
}

@media (max-width: 768px) {
 .gallery-container {
 grid-template-columns: 1fr;
 }
}

/* --- Global Photo Tone: Silver Modern --- */
/* Preservation: Header photos keep their cinematic filter */
.slide-item,
.page-header-bg,
.page-header-president-bg {
  filter: saturate(0.6) brightness(1.1) contrast(1.1) hue-rotate(-5deg) !important;
  transition: filter 0.3s ease;
}

/* Removal: All other content images are clear */
img:not(.logo img):not(.footer-logo-img),
.gallery-item img,
.product-image img,
.greeting-image img {
  filter: none !important;
  transition: filter 0.3s ease;
}

/* Specific Tones */
.greeting-header .page-header-president-bg {
  filter: saturate(0.8) contrast(1.2) brightness(0.9) hue-rotate(-10deg) !important;
}

/* Base overlay effect for major visual blocks (Silver Modern blue tint) */
.slide-item::after,
.hero::after,
.page-header-president-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 88, 153, 0.05);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.greeting-header .page-header-president-bg::after {
  background: rgba(0, 88, 153, 0.25);
  mix-blend-mode: multiply;
}

.hero::after {
  z-index: 2; /* Over transition slides */
}

.page-header-president-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("president_new.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%; /* Fit to height strictly */
  background-color: #ffffff; /* Filtered together with the image to match tones */
  z-index: 1;
}

/* Container for the header text */
.greeting-header {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10%;
  overflow: hidden;
  text-align: right;
  border-bottom: 1px solid #eee;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.greeting-header .page-title {
  color: #005899 !important;
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.greeting-header .breadcrumbs {
  color: #888 !important;
}

.greeting-header .breadcrumbs a {
  color: #005899 !important;
}

/* --- Common Deep Blue Page Header --- */
.deepblue-header {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  overflow: hidden;
  border-bottom: none;
  text-align: center;
  background-color: #000;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(0.8) contrast(1.2) brightness(0.9) hue-rotate(-10deg) !important;
  z-index: 1;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 88, 153, 0.3); /* Optimized opacity for white text */
  mix-blend-mode: multiply;
  pointer-events: none;
}

.deepblue-header .page-header-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.deepblue-header .page-title {
  color: white !important;
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.deepblue-header .breadcrumbs {
  color: rgba(255,255,255,0.7) !important;
}

.deepblue-header .breadcrumbs a {
  color: white !important;
}

/* --- Hero Animation for 4 Slides --- */
@keyframes kenburnsAnim4 {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  35% { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}

.hero .slide-item {
  animation: kenburnsAnim4 20s infinite;
}

.hero .slide-item:nth-child(1) { animation-delay: 0s; }
.hero .slide-item:nth-child(2) { animation-delay: 5s; }
.hero .slide-item:nth-child(3) { animation-delay: 10s; }
.hero .slide-item:nth-child(4) { animation-delay: 15s; }
