/* ===================================================
   天津青年创业园 官网样式
   设计理念：稳重、专业、年轻活力
   色彩：以园区LOGO为准（深蓝+金色+红色点缀）
   =================================================== */

/* CSS Variables */
:root {
  --navy: #0C2D5B;
  --navy-light: #1a4070;
  --navy-dark: #071e3d;
  --gold: #D4A017;
  --gold-light: #e8b828;
  --gold-pale: #f5e6c0;
  --red: #D93B3B;
  --red-light: #e85858;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f7;
  --gray-200: #e2e6ed;
  --gray-300: #c8ced8;
  --gray-500: #8892a4;
  --gray-700: #4a5568;
  --gray-900: #1a202c;
  --shadow-sm: 0 1px 3px rgba(12, 45, 91, 0.08);
  --shadow-md: 0 4px 16px rgba(12, 45, 91, 0.12);
  --shadow-lg: 0 12px 40px rgba(12, 45, 91, 0.18);
  --shadow-xl: 0 24px 64px rgba(12, 45, 91, 0.22);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', 'PingFang SC', serif;
  color: var(--navy);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 30, 61, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 30, 61, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-logo img {
  height: 40px;
  width: auto;
  max-height: 40px;
  filter: brightness(0) invert(1);
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-logo:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(212, 160, 23, 0.6));
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 24px;
}

.nav-links a.active {
  background: rgba(212, 160, 23, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 30, 61, 0.85) 0%,
    rgba(12, 45, 91, 0.7) 40%,
    rgba(26, 64, 112, 0.5) 100%
  );
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0 60 C360 120 720 0 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 72px;
  width: 100%;
}

.hero-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge span {
  padding: 6px 16px;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.hero-title {
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-title-cn {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-title-en {
  display: block;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 12px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: fadeIn 1s ease-out 1s both;
}

.scroll-arrow {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 160, 23, 0.45);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 160, 23, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ===================================================
   STATS
   =================================================== */
.stats {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(212, 160, 23, 0.3);
}

.stat-num {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.stat-unit {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  vertical-align: super;
}

/* ===================================================
   SECTIONS
   =================================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding: 4px 16px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  font-weight: 300;
}

/* ===================================================
   ABOUT PREVIEW
   =================================================== */
.about-preview {
  background: var(--white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--gray-900);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-preview-text p {
  margin-bottom: 16px;
  color: var(--gray-700);
  line-height: 1.9;
}

.about-preview-text strong {
  color: var(--navy);
}

.about-highlights {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-icon {
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.highlight-item strong {
  color: var(--red);
  font-weight: 700;
}

.about-preview-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-preview-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition);
}

.about-preview-img:hover img {
  transform: scale(1.03);
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(7, 30, 61, 0.85));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===================================================
   SERVICES GRID
   =================================================== */
.services-preview {
  background: var(--gray-50);
  position: relative;
}

.services-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--red) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(12, 45, 91, 0.06), rgba(212, 160, 23, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--gold));
  color: var(--white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===================================================
   HONORS GRID
   =================================================== */
.honors-preview {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.honors-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(217, 59, 59, 0.06) 0%, transparent 60%);
}

.honors-preview .section-title,
.honors-preview .section-tag,
.honors-preview .section-sub {
  color: var(--white);
  position: relative;
}

.honors-preview .section-tag {
  background: rgba(212, 160, 23, 0.12);
  border-color: rgba(212, 160, 23, 0.3);
}

.honors-preview .section-sub {
  color: rgba(255, 255, 255, 0.5);
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.honor-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.honor-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 160, 23, 0.4);
  transform: translateY(-4px);
}

.honor-seal {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(217, 59, 59, 0.15);
  border: 1px solid rgba(217, 59, 59, 0.3);
  border-radius: 50px;
  color: var(--red-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.honor-org {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
}

.honor-name {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===================================================
   MAP SECTION
   =================================================== */
.map-section {
  background: var(--gray-50);
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.map-img {
  width: 100%;
  height: auto;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: var(--white);
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 50px;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--gray-900);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-social span:first-child {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Noto Sans SC', sans-serif;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.contact-list li span:last-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
}

/* ===================================================
   PAGE HEADER (internal pages)
   =================================================== */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 300;
}

.page-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0 30 C360 60 720 0 1440 30 L1440 60 L0 60 Z'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
}

/* ===================================================
   CONTENT BLOCKS
   =================================================== */
.content-section {
  padding: 80px 0;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-grid-2.reverse {
  direction: rtl;
}

.content-grid-2.reverse > * {
  direction: ltr;
}

.content-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.content-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition);
}

.content-img-wrap:hover img {
  transform: scale(1.03);
}

.content-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.content-text p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: var(--gray-700);
}

.content-text strong {
  color: var(--navy);
}

.content-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.content-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(212, 160, 23, 0.1);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================================================
   SERVICE DETAIL PAGES
   =================================================== */
.service-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-section:last-child {
  border-bottom: none;
}

.service-section-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.service-section-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.service-section-icon svg {
  width: 32px;
  height: 32px;
}

.service-section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-section-header p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-item {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.service-item:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: 'Noto Sans SC', sans-serif;
}

.service-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===================================================
   CERTIFICATES GRID
   =================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.cert-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 16px;
  background: var(--gray-50);
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  height: fit-content;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 160, 23, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-info-item .ci-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info-item .ci-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--gray-200);
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .honors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7, 30, 61, 0.98);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-top: 1px solid rgba(212, 160, 23, 0.2);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .nav-links a:hover {
    color: var(--white);
    background: rgba(212, 160, 23, 0.1);
  }
  .nav-links a.active {
    background: rgba(212, 160, 23, 0.12);
    color: var(--gold);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item + .stat-item::before {
    display: none;
  }
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-preview-img img {
    height: 300px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .content-grid-2.reverse {
    direction: ltr;
  }
  .service-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .cta-card {
    padding: 48px 24px;
  }
  .contact-info-card {
    padding: 32px;
  }
  .contact-form-wrap {
    padding: 32px;
  }
  .hero {
    min-height: 600px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    flex-direction: column;
    gap: 8px;
  }
  .honors-grid {
    grid-template-columns: 1fr;
  }
  .certs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-items-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}
