/* ============ CSS VARIABLES ============ */
:root {
  --primary-color: #105346;
  --secondary-color: #D4A574;
  --accent-color: #C67B5C;
  --text-dark: #2C3E50;
  --bg-light: #F5F5F0;
}

/* ============ BASE STYLING ============ */
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Libre Baskerville', 'Gowun Batang', serif;
  background-color: #f8f9fa;
  color: var(--text-dark);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* ============ TYPOGRAPHY ============ */
h2 {
  color: #202022;
  font-size: 22px;
  padding: 8px;
  margin-top: 56px;
  margin-bottom: 16px;
}

h3 {
  color: #202022;
  font-size: 18px;
  padding: 7px;
  padding-bottom: 0px;
}

h4 {
  color: #202022;
  font-size: 16px;
  padding: 7px;
  padding-bottom: 0px;
}

p, li {
  font-size: 18px;
  margin: 0;
}

/* ============ GRADIENT TEXT ============ */
.gradient-text {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #021658;
}

.gradient-text-hww {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ HEADER STYLING ============ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 1000;
  overflow: hidden;
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

#site-header.transparent {
  background: transparent;
  backdrop-filter: none;
}

#site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#site-header::before {
  display: none;
}

#site-header .normal-header-container {
  display: block;
  padding: 0.8rem 0;
  position: relative;
  background: transparent;
}

.normal-header-container::after {
  display: none;
}

.header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
  max-width: 768px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

@media (min-width: 992px) {
  .header-inner {
    max-width: 992px;
  }
}

@media (min-width: 1200px) {
  .header-inner {
    max-width: 1200px;
  }
}

#logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: filter 0.3s ease;
}

#site-header.scrolled #logo {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* ============ NAVIGATION ============ */
.nav-link {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

#site-header.transparent .nav-link {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#site-header.transparent .nav-link:hover {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

#site-header.transparent .nav-link::after {
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#site-header.scrolled .nav-link {
  color: #202022;
  text-shadow: none;
}

#site-header.scrolled .nav-link:hover {
  color: #105346;
  text-shadow: none;
}

#site-header.scrolled .nav-link::after {
  background-color: #105346;
  box-shadow: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 767px) {
  .tabs {
    display: none !important;
  }
}

/* ============ VIDEO HERO SECTION ============ */
.video-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .hero-video {
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
  }
}

@media (max-width: 480px) {
  .hero-video {
    min-width: 120%;
    object-fit: cover;
  }
}

.video-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ============ HWIWASOO SPECIFIC COMPONENTS ============ */
.team-profile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-profile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mission-card {
  background: linear-gradient(135deg, rgba(123, 158, 168, 0.1), rgba(212, 165, 116, 0.1));
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
}

.value-item {
  background: white;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.research-highlight {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

section {
  background: var(--bg-light);
}

section:nth-child(even) {
  background: white;
}

/* ============ LAYOUT & CONTAINERS ============ */
.container {
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 7px;
  max-width: 768px;
}

@media (min-width: 992px) {
  .container {
    max-width: 992px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* ============ IMAGES ============ */
.square-profile {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.square-button {
  width: 70px;
  height: 70px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* ============ FOOTER ============ */
footer {
  padding: 0;
  background-color: white;
  color: black;
  font-size: 0.6rem;
}

footer * {
  margin: 0;
  padding: 0;
}

footer .container {
  padding: 0;
}

footer a {
  color: black;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  color: green;
}
