/* ==========================================================================
   1. VARIABLES & THEMING
   ========================================================================== */
:root {
  --body-bg: #1e1f22;
  --surface: #27292d;
  --surface-card: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f7f5f0;
  --muted: #a1a6b0;
  --line: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(30, 31, 34, 0.88);
  --accent: #f7f5f0;
  --accent-inverse: #1e1f22;
  --dot-color: rgba(255, 255, 255, 0.12);
  --modal-bg: #27292d;
  --badge-bg: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.light-mode {
  --body-bg: #fbfbfb;
  --surface: #ffffff;
  --surface-card: #f2f4f7;
  --surface-hover: #e8ecef;
  --card-border: rgba(0, 0, 0, 0.08);
  --text: #121417;
  --muted: #626978;
  --line: rgba(0, 0, 0, 0.06);
  --header-bg: rgba(251, 251, 251, 0.9);
  --accent: #121417;
  --accent-inverse: #ffffff;
  --dot-color: rgba(0, 0, 0, 0.08);
  --modal-bg: #ffffff;
  --badge-bg: rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   2. GLOBAL RESETS & REUSABLE LAYOUT
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--body-bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container-custom {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}

/* KUNCI PRESISI ATAS-BAWAH & KANAN-KIRI DI SETIAP MENU */
.page-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 86px 0 40px;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

.section-title {
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
}

.section-title p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 12px;
  font-size: 14.5px;
}

/* Background Patterns & Decorative Shapes */
.pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pattern-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

.pattern-dots {
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, black 40%, transparent 85%);
}

.square {
  position: absolute;
  border: 1px solid var(--line);
  width: 160px;
  height: 160px;
  transform: rotate(15deg);
  pointer-events: none;
  opacity: 0.6;
}

.square.one {
  top: 12%;
  right: 4%;
}

.square.two {
  bottom: 8%;
  left: 3%;
  width: 90px;
  height: 90px;
  transform: rotate(30deg);
}

/* ==========================================================================
   3. NAVIGATION BAR & MOBILE MENU
   ========================================================================== */
.navbar-custom {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 76px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease;
  border-radius: 0;
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  letter-spacing: -1.2px;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
}

.brand span {
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-custom {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 10px 14px !important;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
  border: none;
  background: transparent;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--text);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 2px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--text);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 75%;
}

.btn-discuss-nav {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--text);
  color: var(--accent-inverse) !important;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-discuss-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Switcher */
.theme-switch-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 52px;
  height: 28px;
  margin-bottom: 0;
  cursor: pointer;
}

.theme-switch-wrapper input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-slider {
  position: absolute;
  inset: 0;
  background-color: var(--surface-card);
  border: 1px solid var(--card-border);
  transition: 0.4s ease;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}

.theme-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text);
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-radius: 50%;
  z-index: 2;
}

input:checked + .theme-slider::before {
  transform: translateX(24px);
}

.theme-slider .icon-dark {
  font-size: 11px;
  color: var(--text);
  z-index: 1;
}

.theme-slider .icon-light {
  font-size: 11px;
  color: var(--muted);
  z-index: 1;
}

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--surface-card);
  color: var(--text);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  z-index: 1051;
  top: 0;
  right: 0;
  width: min(340px, 85%);
  height: 100vh;
  padding: 32px 28px;
  background: var(--surface);
  border-left: 1px solid var(--card-border);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  overflow-y: auto;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.close-menu {
  width: 38px;
  height: 38px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

.mobile-nav a {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.mobile-nav a.active {
  color: var(--text);
  font-weight: 800;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-small::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.hero-title {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  max-width: 820px;
}

.hero-title span {
  color: var(--muted);
}

.hero-description {
  max-width: 580px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 20px 0 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-main {
  padding: 14px 28px;
  background: var(--text);
  color: var(--accent-inverse) !important;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  padding: 14px 28px;
  border: 1px solid var(--card-border);
  border-radius: 50px;
  color: var(--text) !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  background: transparent;
}

.btn-outline:hover {
  background: var(--surface-card);
  border-color: var(--text);
}

.hero-visual-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.hero-square-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  background: var(--surface-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.hero-square-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 0.6s ease,
    transform 0.6s ease;
}

.hero-square-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.hero-square-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
}

.hero-square-tag {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-info-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-item small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  font-weight: 700;
}

.info-item strong {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   5. ABOUT SECTION
   ========================================================================== */
.about-square-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 24px;
  border: 1px solid var(--card-border);
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
  box-shadow: var(--shadow-lg);
}

.about-square-img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.about-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  top: 14px;
  right: -14px;
  z-index: -1;
}

.about-text h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.about-text p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.5px;
  margin-bottom: 14px;
}

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

.stat-card {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 18px 14px;
  background: var(--surface-card);
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

/* ==========================================================================
   6. JOURNEY SECTION
   ========================================================================== */
.journey-timeline {
  position: relative;
  width: 100%;
  padding-left: 65px;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 21px;
  width: 2px;
  background: var(--line);
  z-index: 1;
}

.journey-item {
  position: relative;
  margin-bottom: 28px;
}

.journey-item:last-child {
  margin-bottom: 0;
}

.journey-number {
  position: absolute;
  left: -65px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.journey-card {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px 26px;
  background: var(--surface-card);
  transition: 0.35s ease;
}

.journey-card:hover {
  transform: translateX(6px);
  border-color: var(--text);
  background: var(--surface-hover);
}

.journey-card small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-card h4 {
  margin: 8px 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.journey-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   7. SKILLS SECTION
   ========================================================================== */
.skill-card {
  height: 100%;
  padding: 24px 22px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--surface-card);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  border: 1px solid var(--line);
  right: -20px;
  bottom: -20px;
  transform: rotate(30deg);
}

.skill-card:hover {
  transform: translateY(-6px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.skill-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 18px;
  background: var(--surface);
}

.skill-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.skill-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   8. CERTIFICATE SECTION
   ========================================================================== */
.certificate-carousel {
  padding-bottom: 40px;
}

.certificate-card {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--surface-card);
  overflow: hidden;
  position: relative;
  transition: 0.35s ease;
}

.certificate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

.certificate-card-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.certificate-card-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.certificate-card:hover img {
  transform: scale(1.08);
}

.certificate-overlay-btn {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s ease;
  backdrop-filter: blur(4px);
}

.certificate-card:hover .certificate-overlay-btn {
  opacity: 1;
}

.btn-cert-view {
  padding: 10px 20px;
  border-radius: 50px;
  background: #ffffff;
  color: #121316;
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.certificate-content {
  padding: 14px;
  text-align: center;
}

.certificate-content small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.certificate-content h4 {
  font-size: 13.5px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-dots {
  bottom: -5px;
}

.custom-dots li {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: var(--muted);
  opacity: 0.35;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.custom-dots li.active {
  opacity: 1;
  background-color: var(--text);
  transform: scale(1.3);
}

/* ==========================================================================
   9. PROJECT SECTION
   ========================================================================== */
.project-card {
  position: relative;
  height: 380px;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-card);
  transition: 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  height: 100%;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.6s ease;
}

.project-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92),
    rgba(0, 0, 0, 0.2) 70%
  );
}

.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.project-number {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.project-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-tag {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 10px;
  color: #ffffff;
  font-weight: 700;
}

.btn-project-view {
  padding: 7px 16px;
  border-radius: 50px;
  background: #ffffff;
  color: #121316 !important;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-card:hover .btn-project-view {
  opacity: 1;
  transform: translateY(0);
}

.btn-project-view:hover {
  background: #f0f0f0;
}

/* ==========================================================================
   10. CONTACT SECTION & FORM
   ========================================================================== */
.contact-info h3 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  max-width: 440px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--surface-card);
}

.contact-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-item strong {
  font-size: 13px;
}

.contact-link {
  color: var(--text);
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--muted);
  text-decoration: underline !important;
}

.social-title {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color: var(--muted);
  transition: 0.3s;
  background: var(--surface-card);
  font-size: 15px;
}

.socials a:hover {
  color: var(--text);
  transform: translateY(-4px);
  border-color: var(--text);
}

.contact-form {
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 32px;
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

.form-control {
  height: 48px;
  border: 1px solid var(--card-border);
  background: transparent;
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  padding: 12px 18px;
}

.form-control:focus {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
  box-shadow: none;
}

.form-control::placeholder {
  color: var(--muted);
}

textarea.form-control {
  height: 120px;
  resize: none;
}

.alert {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  border: none;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   11. MODAL & FOOTER
   ========================================================================== */
.modal-content {
  background: var(--modal-bg);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 24px;
}

.modal-header,
.modal-footer {
  border-color: var(--line);
}

.close {
  color: var(--text);
  text-shadow: none;
  opacity: 0.8;
}

.close:hover {
  opacity: 1;
}

.modal-certificate-image {
  width: 100%;
  border-radius: 16px;
  max-height: 75vh;
  object-fit: contain;
}

footer {
  margin-top: auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1.2px;
}

/* ==========================================================================
   12. MEDIA QUERIES & MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991px) {
  .nav-menu,
  .btn-discuss-nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .page-section {
    min-height: auto;
    padding: 90px 0 50px;
  }
  .hero-visual-wrapper {
    margin-top: 32px;
  }
  .hero-square-card,
  .hero-info-card,
  .about-square-img {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .container-custom {
    width: min(1200px, calc(100% - 32px));
  }
  .hero-title {
    font-size: clamp(34px, 8vw, 48px);
    letter-spacing: -1.8px;
  }

  .about-frame {
    right: 0;
    top: 10px;
  }

  .journey-timeline {
    padding-left: 50px;
  }
  .journey-timeline::before {
    left: 17px;
    top: 18px;
    bottom: 18px;
  }
  .journey-number {
    left: -50px;
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .square {
    display: none;
  }
}
