/* =============================================
   기술노트with알렉 — 브랜드 & 컨설팅 페이지
   Inspired by SPARTA Club dark-red style
   ============================================= */

/* ── Variables ───────────────────────────────── */
:root {
  --red:        #0a3d6b;
  --red-dark:   #062d52;
  --red-deeper: #041d35;
  --red-light:  #1565a8;
  --cream:      #f0f4f8;
  --cream-2:    #e8eef5;
  --dark:       #020c1b;
  --dark-2:     #0a1f3c;
  --dark-3:     #0d2e5a;
  --white:      #ffffff;
  --text-body:  #1a2535;
  --text-muted: #4a6080;
  --border:     rgba(10,61,107,0.18);
  --shadow:     0 8px 32px rgba(6,45,82,0.18);
  --shadow-lg:  0 20px 60px rgba(4,29,53,0.25);
  --radius:     12px;
  --radius-lg:  20px;
  --trans:      all 0.3s ease;
}

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Shared Layout ───────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red);
  background: rgba(10,61,107,0.08);
  border: 1px solid rgba(10,61,107,0.2);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-head.light .section-title { color: var(--white); }
.section-head.light .section-sub   { color: rgba(255,255,255,0.7); }
.section-head.light .section-eyebrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #90c4f0;
}

/* =============================================
   NAV BAR
   ============================================= */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--trans);
}
.nav-bar.scrolled {
  background: rgba(2,12,27,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  letter-spacing: 0.01em;
}
.nav-brand i { color: #00a8e8; font-size: 1.3rem; }
.nav-brand em { font-style: normal; color: #5ecfff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 7px 14px;
  border-radius: 7px;
  transition: var(--trans);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-light) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,168,232,0.4); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--trans);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(0,168,232,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(21,101,168,0.25) 0%, transparent 60%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 28px 80px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  width: 100%;
}

/* ── Left: Profile ──────────────────────────── */
.hero-left { text-align: center; }

.profile-shield { margin-bottom: 24px; }
.shield-wrap {
  width: 200px;
  height: 220px;
  margin: 0 auto;
  position: relative;
}
/* Pentagon/Shield shape */
.shield-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--red-light) 0%, var(--red) 50%, var(--red-deeper) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(10,61,107,0.6);
  animation: shieldPulse 3s ease infinite;
}
@keyframes shieldPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(10,61,107,0.5); }
  50%       { box-shadow: 0 0 80px rgba(0,168,232,0.5); }
}
.avatar-circle {
  width: 110px;
  height: 110px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.profile-name {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.profile-yt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #5ecfff;
  margin-bottom: 10px;
}
.profile-yt i { color: #ff0000; font-size: 1.1rem; }
.profile-role {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 18px;
}
.profile-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}
.badge-pill.red { background: rgba(0,168,232,0.2); color: #90d8ff; border: 1px solid rgba(0,168,232,0.35); }
.badge-pill.dark { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.12); }

/* ── Right: Info ────────────────────────────── */
.hero-right { padding-top: 10px; }

.hero-quote {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 3px solid #00a8e8;
  position: relative;
}
.quote-mark {
  font-size: 3rem;
  color: #00a8e8;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
  opacity: 0.8;
}

/* Info Cards Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: var(--trans);
}
.info-card:hover {
  background: rgba(0,168,232,0.1);
  border-color: rgba(0,168,232,0.3);
}
.info-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #5ecfff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-card h4 i { font-size: 0.75rem; }
.info-card ul { display: flex; flex-direction: column; gap: 6px; }
.info-card li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  padding-left: 10px;
  position: relative;
}
.info-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #00a8e8;
}

/* Tag sections */
.tag-section { margin-bottom: 16px; }
.tag-section h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-item {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  transition: var(--trans);
}
.tag-item.outline {
  background: transparent;
  border: 1px solid rgba(0,168,232,0.4);
  color: #90d8ff;
}
.tag-item.outline:hover { background: rgba(0,168,232,0.12); }
.tag-item.filled {
  background: rgba(0,168,232,0.18);
  border: 1px solid rgba(0,168,232,0.3);
  color: #c0eaff;
}
.tag-item.filled:hover { background: rgba(0,168,232,0.3); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 100px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
/* top accent bar */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.svc-vibe::before    { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.svc-ai::before      { background: linear-gradient(90deg, #0ea5e9, #06b6d4); }
.svc-lecture::before { background: linear-gradient(90deg, #0a3d6b, #1565a8); }
.svc-cloud::before   { background: linear-gradient(90deg, #f97316, #fbbf24); }

.svc-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
}

.svc-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.svc-vibe    .svc-icon-wrap { background: #f3e8ff; color: #7c3aed; }
.svc-ai      .svc-icon-wrap { background: #e0f2fe; color: #0369a1; }
.svc-lecture .svc-icon-wrap { background: #dbeafe; color: #1e40af; }
.svc-cloud   .svc-icon-wrap { background: #fff7ed; color: #ea580c; }

.svc-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.svc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.svc-list {
  margin-bottom: 24px;
}
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 5px 0;
  border-bottom: 1px solid #f0e8ea;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li i { color: #0a3d6b; font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0a3d6b;
  transition: var(--trans);
}
.svc-btn:hover { gap: 10px; color: #062d52; }
.svc-vibe    .svc-btn { color: #7c3aed; }
.svc-vibe    .svc-btn:hover { color: #5b21b6; }
.svc-ai      .svc-btn { color: #0369a1; }
.svc-ai      .svc-btn:hover { color: #075985; }
.svc-lecture .svc-btn { color: #1e40af; }
.svc-lecture .svc-btn:hover { color: #1e3a8a; }
.svc-cloud   .svc-btn { color: #ea580c; }
.svc-cloud   .svc-btn:hover { color: #c2410c; }

/* =============================================
   BOOKS SECTION
   ============================================= */
.books-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #020c1b 0%, #0a1f3c 50%, #0d2e5a 100%);
  position: relative;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.book-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
}
.book-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(192,16,42,0.35);
}

.book-cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}
.b1 { background: linear-gradient(135deg, #062d52, #0a3d6b); color: white; }
.b2 { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); color: white; }
.b3 { background: linear-gradient(135deg, #064e3b, #059669); color: white; }

.book-info { padding: 22px 20px 24px; }
.book-publisher {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(144,216,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.book-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.4;
}
.book-info p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 14px;
}
.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.book-tags span {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(0,168,232,0.18);
  color: #90d8ff;
  border: 1px solid rgba(0,168,232,0.3);
}

/* =============================================
   COURSES SECTION
   ============================================= */
.courses-section {
  padding: 100px 0;
  background: var(--cream-2);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.course-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--trans);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #0a3d6b;
}

.course-platform {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.course-platform.inflearn { background: #e7f5e8; color: #1a8a2f; }
.course-platform.coloso   { background: #e8eafe; color: #3d4fcf; }

.course-icon {
  font-size: 1.8rem;
  color: #0a3d6b;
  margin-bottom: 12px;
}
.course-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.course-card h3 small {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
}
.course-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.course-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 16px;
}
.course-meta i { color: #0a3d6b; }
.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a3d6b;
  transition: var(--trans);
}
.course-link:hover { gap: 10px; color: #062d52; }
.course-link i { font-size: 0.72rem; }

.courses-cta { text-align: center; }
.btn-all-courses {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: white;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(26,10,14,0.25);
}
.btn-all-courses:hover {
  background: #0a3d6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,61,107,0.4);
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #062d52 0%, #0a3d6b 50%, #062d52 100%);
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 28px;
}
.stat-card {
  text-align: center;
  color: white;
  padding: 10px 20px;
}
.stat-card i {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 8px;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  padding: 100px 0;
  background: var(--cream);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

/* Channels */
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--trans);
  background: white;
}
.channel-card:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.channel-card i:first-child {
  font-size: 1.4rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}
.channel-card.yt i:first-child { color: #ff0000; }
.channel-card.wiki i:first-child { color: #0ea5e9; }
.channel-card.inf  i:first-child { color: #1a8a2f; }
.channel-card.email i:first-child { color: #0a3d6b; }
.channel-card div { flex: 1; }
.channel-card strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.channel-card span  { font-size: 0.8rem; color: var(--text-muted); }
.channel-card .arrow { font-size: 0.75rem; color: #ccc; }

/* Form */
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #e0d4d7;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-body);
  background: #faf7f8;
  transition: var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0a3d6b;
  background: white;
  box-shadow: 0 0 0 3px rgba(10,61,107,0.1);
}
.form-group input.err,
.form-group select.err,
.form-group textarea.err { border-color: #ef4444; }
.form-group textarea { resize: vertical; min-height: 120px; }
.ferr { display: block; font-size: 0.76rem; color: #ef4444; margin-top: 4px; min-height: 16px; }
.form-check {
  display: flex; align-items: flex-start;
  gap: 9px; margin-bottom: 22px;
}
.form-check input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: #0a3d6b;
  flex-shrink: 0; margin-top: 2px;
}
.form-check label { font-size: 0.83rem; color: var(--text-muted); }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #1565a8, #062d52);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(10,61,107,0.3);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,61,107,0.45);
}
.form-ok {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 18px;
  margin-top: 14px;
}
.form-ok i { color: #22c55e; font-size: 1.3rem; flex-shrink: 0; }
.form-ok strong { display: block; color: #166534; margin-bottom: 3px; }
.form-ok p { font-size: 0.83rem; color: #15803d; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.footer-brand i { color: #00a8e8; }
.footer-brand em { font-style: normal; color: #5ecfff; }
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--trans);
}
.footer-links a:hover { background: #0a3d6b; color: white; transform: translateY(-2px); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* =============================================
   BACK TO TOP
   ============================================= */
.top-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #1565a8, #062d52);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(10,61,107,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--trans);
  z-index: 999;
}
.top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(10,61,107,0.55); }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rev-d1 { transition-delay: 0.1s; }
.rev-d2 { transition-delay: 0.2s; }
.rev-d3 { transition-delay: 0.3s; }
.rev-d4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 260px 1fr; gap: 40px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-channels { flex-direction: row; flex-wrap: wrap; }
  .channel-card { flex: 1; min-width: 200px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(26,10,14,0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--trans);
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 11px 14px; border-radius: 8px; }
  .nav-hamburger { display: flex; }

  .hero-container { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .hero-left { order: 1; }
  .hero-right { order: 2; }
  .shield-wrap { width: 160px; height: 176px; }
  .avatar-circle { width: 88px; height: 88px; font-size: 2.2rem; }

  .info-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .stats-grid { gap: 20px; }
}

@media (max-width: 480px) {
  .section-container { padding: 0 16px; }
  .hero-quote { font-size: 0.88rem; }
  .tag-row { gap: 5px; }
}
