/*
Theme Name: Hafi Portfolio
Theme URI: https://hafizzohaib.com
Author: Hafiz Zohaib
Author URI: https://hafizzohaib.com
Description: AI Automation Engineer Portfolio - Custom WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hafi-portfolio
*/

/* ============================================
   GOOGLE FONTS
============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES (Exact colors from original)
============================================ */
:root {
  --primary:       #FFDE42;
  --primary-dark:  #f5ce1a;
  --secondary:     #4C5C2D;
  --background:    #0A0A0A;
  --bg-warm:       #1B0C0C;
  --bg-card:       #120808;
  --bg-deep:       #0D0606;
  --bg-footer:     #080404;
  --text-white:    #FFFFFF;
  --text-body:     #D6D6D6;
  --text-muted:    rgba(214,214,214,0.6);
  --border-gold:   rgba(255,222,66,0.15);
  --border-gold2:  rgba(255,222,66,0.2);
  --font-main:     'DM Sans', sans-serif;
  --radius:        0.5rem;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #FFDE42; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f5ce1a; }

/* ============================================
   UTILITY CLASSES
============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 56px; } }

.section-divider { border-top: 1px solid rgba(255,222,66,0.08); }
.bg-warm-gradient { background: linear-gradient(135deg, #1B0C0C 0%, #0D0606 50%, #0A0A0A 100%); }
.soft-bg-wave {
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,222,66,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(76,92,45,0.06) 0%, transparent 70%);
  background-size: cover;
}

.accent-glow { text-shadow: 0 0 20px rgba(255,222,66,0.4), 0 0 40px rgba(255,222,66,0.15); }

.section-tag {
  display: inline-block;
  background: rgba(255,222,66,0.08);
  border: 1px solid rgba(255,222,66,0.2);
  color: #FFDE42;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFDE42;
  color: #0A0A0A;
  font-weight: 700;
  font-family: var(--font-main);
  box-shadow: 0 4px 16px rgba(255,222,66,0.3);
  transition: all 0.3s ease;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: #ffe85a;
  box-shadow: 0 6px 24px rgba(255,222,66,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #FFDE42;
  border: 1.5px solid #FFDE42;
  font-weight: 700;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,222,66,0.08);
  box-shadow: 0 4px 20px rgba(255,222,66,0.2);
  transform: translateY(-2px);
}

.card-premium {
  background: var(--bg-card);
  border: 1px solid rgba(255,222,66,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,222,66,0.06);
  transition: all 0.35s ease;
  border-radius: var(--radius);
}
.card-premium:hover {
  border-color: rgba(255,222,66,0.35);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255,222,66,0.12);
  transform: translateY(-4px);
}

.badge-skill {
  display: inline-block;
  background: rgba(76,92,45,0.35);
  border: 1px solid rgba(76,92,45,0.5);
  color: #c8d4a0;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: default;
}
.badge-skill:hover {
  background: rgba(76,92,45,0.5);
  border-color: rgba(76,92,45,0.8);
  color: #ddeaaa;
}

.stat-card {
  background: rgba(255,222,66,0.04);
  border: 1px solid rgba(255,222,66,0.12);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.stat-card:hover {
  background: rgba(255,222,66,0.07);
  border-color: rgba(255,222,66,0.25);
}

/* ============================================
   NAVBAR
============================================ */
#hz-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 24px 0;
}
#hz-navbar.scrolled {
  background: rgba(18,8,8,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,222,66,0.1);
  padding: 16px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #FFDE42;
  font-weight: 700;
  font-size: 1.5rem;
  border: 2px solid #FFDE42;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: -0.025em;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-logo:hover { box-shadow: 0 0 16px rgba(255,222,66,0.35); }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  color: #D6D6D6;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #FFDE42; }

.nav-cta { padding: 8px 20px; font-size: 0.875rem; }

.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFDE42;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 768px) { .nav-mobile-toggle { display: none; } }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(18,8,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,222,66,0.1);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: #D6D6D6;
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: #FFDE42; }
.mobile-menu .btn-primary { padding: 12px 20px; margin-top: 4px; text-align: center; }

/* ============================================
   HERO SECTION
============================================ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #1B0C0C 0%, #0D0606 50%, #0A0A0A 100%);
}
#home::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(255,222,66,0.04);
  filter: blur(140px);
  pointer-events: none;
}
#home::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(76,92,45,0.08);
  filter: blur(120px);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    gap: 80px;
  }
}

.hero-content { flex: 1; text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) { .hero-content h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero-content h1 { font-size: 3.75rem; } }

.hero-content h1 span { color: #FFDE42; }

.hero-typed-line {
  font-size: 1.25rem;
  font-weight: 600;
  color: #D6D6D6;
  margin-bottom: 24px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
@media (min-width: 768px) { .hero-typed-line { font-size: 1.5rem; } }
@media (min-width: 1024px) { .hero-typed-line { justify-content: flex-start; } }

.hero-typed-line .pipe { color: #FFDE42; }
.hero-cursor {
  display: inline-block;
  width: 2px; height: 24px;
  background: #FFDE42;
  margin-left: 2px;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-desc {
  color: #D6D6D6;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 512px;
  margin-left: auto; margin-right: auto;
}
@media (min-width: 1024px) { .hero-desc { margin-left: 0; } }

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
@media (min-width: 1024px) { .hero-buttons { justify-content: flex-start; } }

.hero-buttons a { padding: 14px 32px; font-size: 1rem; width: 100%; }
@media (min-width: 640px) { .hero-buttons a { width: auto; } }

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media (min-width: 1024px) { .hero-tools { justify-content: flex-start; } }

.hero-tools-label {
  color: rgba(214,214,214,0.4);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-tool {
  color: rgba(214,214,214,0.5);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-tool:hover { color: #FFDE42; }
.hero-tool-badge {
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Hero Avatar */
.hero-avatar-wrap { flex-shrink: 0; position: relative; }

.hero-avatar-glow {
  position: absolute; inset: 0;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255,222,66,0.25),
    0 0 40px rgba(255,222,66,0.15),
    0 20px 60px rgba(0,0,0,0.6);
  pointer-events: none;
}

.hero-avatar-box {
  position: relative;
  width: 288px; height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1F1010, #150D0D);
  border: 1px solid rgba(255,222,66,0.2);
}
@media (min-width: 768px) { .hero-avatar-box { width: 320px; height: 384px; } }

.hero-avatar-topbar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFDE42, #4C5C2D);
  z-index: 2;
}
.hero-avatar-box img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-avatar-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 112px;
  background: linear-gradient(0deg, rgba(27,12,12,0.85) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-avatar-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 3;
}
.hero-avatar-name { font-weight: 700; font-size: 0.875rem; color: #fff; margin-bottom: 2px; }
.hero-avatar-role { font-size: 0.75rem; font-weight: 500; color: #FFDE42; }
.hero-avatar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(214,214,214,0.8);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.hero-stat-badge {
  position: absolute;
  background: #1B0C0C;
  border: 1px solid rgba(255,222,66,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  animation: fadeSlideIn 0.6s ease forwards;
  opacity: 0;
}
.hero-stat-badge.left  { bottom: -16px; left: -24px; animation-delay: 1s; }
.hero-stat-badge.right { top: -16px; right: -24px; animation-delay: 1.2s; }
.hero-stat-val { font-weight: 700; font-size: 1.25rem; color: #FFDE42; }
.hero-stat-lbl { font-size: 0.75rem; color: rgba(214,214,214,0.6); }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-stat-badge.right { animation-name: fadeSlideInRight; }
@keyframes fadeSlideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================
   ABOUT SECTION
============================================ */
#about {
  padding: 112px 0;
  background: linear-gradient(135deg, #1B0C0C 0%, #0D0606 50%, #0A0A0A 100%);
  border-top: 1px solid rgba(255,222,66,0.08);
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
@media (min-width: 1024px) { .about-inner { flex-direction: row; gap: 96px; } }

.about-visual {
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1F1010, #150D0D);
  border: 1px solid rgba(255,222,66,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
@media (min-width: 1024px) { .about-visual { width: 40%; flex-shrink: 0; } }

.about-visual-topbar { height: 4px; background: linear-gradient(90deg, #FFDE42, #4C5C2D); }
.about-photo-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(27,12,12,0.95) 0%, transparent 100%);
  pointer-events: none;
}
.about-photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
}
.about-caption-name { font-weight: 700; font-size: 1.125rem; color: #fff; margin-bottom: 2px; }
.about-caption-role { font-size: 0.75rem; font-weight: 600; color: #FFDE42; margin-bottom: 16px; }
.about-highlights { display: flex; flex-direction: column; gap: 8px; }
.about-highlight-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(214,214,214,0.8);
}
.check-icon { color: #FFDE42; flex-shrink: 0; font-size: 0.85rem; }

.about-content { flex: 1; }
.about-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .about-content h2 { font-size: 3rem; } }
.about-content h2 span { color: #FFDE42; }
.about-bio-1 { color: #D6D6D6; font-size: 1.125rem; line-height: 1.7; margin-bottom: 20px; }
.about-bio-2 { color: rgba(214,214,214,0.7); line-height: 1.7; margin-bottom: 40px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }

.about-stat {
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
}
.about-stat-val { font-size: 1.875rem; font-weight: 800; color: #FFDE42; margin-bottom: 4px; }
.about-stat-lbl { font-size: 0.7rem; color: rgba(214,214,214,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; }

/* ============================================
   SKILLS SECTION
============================================ */
#skills {
  padding: 112px 0;
  background: linear-gradient(180deg, #0D0606 0%, #0A0A0A 100%);
  border-top: 1px solid rgba(255,222,66,0.08);
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}
@media (min-width: 768px) { .section-header h2 { font-size: 3rem; } }
.section-header h2 span { color: #FFDE42; }
.section-header p { color: rgba(214,214,214,0.6); margin-top: 16px; max-width: 512px; margin-left: auto; margin-right: auto; }
.section-header .section-tag { margin-bottom: 20px; }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }

.skill-card { padding: 24px; }
.skill-card-accent {
  width: 48px; height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FFDE42, #4C5C2D);
  margin-bottom: 20px;
}
.skill-card h3 {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================
   SERVICES SECTION
============================================ */
#services {
  padding: 112px 0;
  background: linear-gradient(135deg, #1B0C0C 0%, #0D0606 50%, #0A0A0A 100%);
  border-top: 1px solid rgba(255,222,66,0.08);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card { padding: 28px; }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #0A0A0A;
  background: linear-gradient(135deg, #FFDE42, #f5ce1a);
  box-shadow: 0 4px 16px rgba(255,222,66,0.25);
  transition: transform 0.3s;
  font-size: 1.25rem;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-weight: 700; font-size: 1.125rem; color: #fff; margin-bottom: 12px; }
.service-card p { color: rgba(214,214,214,0.7); line-height: 1.6; font-size: 0.875rem; }

/* ============================================
   PORTFOLIO SECTION
============================================ */
#portfolio {
  padding: 112px 0;
  background: linear-gradient(180deg, #0D0606 0%, #0A0A0A 100%);
  border-top: 1px solid rgba(255,222,66,0.08);
}
#portfolio .section-header { text-align: left; }
#portfolio .section-header p { margin-left: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card { display: flex; flex-direction: column; overflow: hidden; }
.project-card-topbar { height: 3px; background: linear-gradient(90deg, #FFDE42, #4C5C2D); }
.project-thumb {
  height: 176px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #1F1010, #150D0D);
  overflow: hidden;
  position: relative;
}
.project-thumb-label {
  font-size: 4rem;
  font-weight: 800;
  color: #FFDE42;
  opacity: 0.1;
  transition: all 0.7s ease;
  user-select: none;
}
.project-card:hover .project-thumb-label { opacity: 0.2; transform: scale(1.1); }
.project-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.project-body p { color: rgba(214,214,214,0.7); font-size: 0.875rem; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.project-btn { padding: 12px 0; font-size: 0.875rem; width: 100%; gap: 8px; }

/* ============================================
   TESTIMONIALS
============================================ */
#testimonials {
  padding: 112px 0;
  background: linear-gradient(135deg, #1B0C0C 0%, #0D0606 50%, #0A0A0A 100%);
  border-top: 1px solid rgba(255,222,66,0.08);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi-card { padding: 28px; }
.quote-icon { font-size: 2rem; color: rgba(255,222,66,0.3); margin-bottom: 16px; line-height: 1; }
.testi-text { color: rgba(214,214,214,0.8); font-size: 0.875rem; line-height: 1.7; margin-bottom: 28px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
  color: #0A0A0A;
  background: linear-gradient(135deg, #FFDE42, #f5ce1a);
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.875rem; color: #fff; }
.testi-role { font-size: 0.75rem; color: rgba(255,222,66,0.7); }

/* ============================================
   CONTACT
============================================ */
#contact {
  padding: 112px 0;
  background: linear-gradient(180deg, #0D0606 0%, #0A0A0A 100%);
  border-top: 1px solid rgba(255,222,66,0.08);
}
#contact .section-header { text-align: left; }
#contact .section-header p { margin-left: 0; }

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 1024px) { .contact-inner { flex-direction: row; } }

.contact-info { width: 100%; }
@media (min-width: 1024px) { .contact-info { width: 40%; } }

.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #0A0A0A;
  background: linear-gradient(135deg, #FFDE42, #f5ce1a);
  box-shadow: 0 4px 12px rgba(255,222,66,0.2);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-item-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(214,214,214,0.5);
  margin-bottom: 4px;
}
.contact-item-value { font-weight: 500; color: #fff; }
.contact-item-value a { color: #fff; transition: color 0.2s; }
.contact-item-value a:hover { color: #FFDE42; }
.contact-item-value.available {
  color: #4ade80;
  display: flex; align-items: center; gap: 8px;
}
.available-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }

.social-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(214,214,214,0.5);
  margin-bottom: 16px;
}
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,222,66,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(214,214,214,0.6);
  font-size: 1rem;
  transition: all 0.3s;
  text-decoration: none;
}
.social-icon:hover {
  color: #FFDE42;
  border-color: rgba(255,222,66,0.4);
  background: rgba(255,222,66,0.05);
}

/* Contact Form */
.contact-form { flex: 1; }
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,222,66,0.15);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(214,214,214,0.6);
}
.form-input, .form-textarea {
  background: #120808;
  border: 1px solid rgba(255,222,66,0.15);
  border-radius: var(--radius);
  padding: 14px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.875rem;
  transition: all 0.3s;
  outline: none;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(214,214,214,0.3); }
.form-input:focus, .form-textarea:focus {
  border-color: rgba(255,222,66,0.5);
  box-shadow: 0 0 0 3px rgba(255,222,66,0.08);
}
.form-textarea { resize: none; min-height: 120px; }
.form-submit { padding: 16px 32px; font-size: 1rem; gap: 12px; font-weight: 700; }

/* ============================================
   FOOTER
============================================ */
#hz-footer {
  padding: 40px 0;
  background: #080404;
  border-top: 1px solid rgba(255,222,66,0.08);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; text-align: left; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.footer-logo {
  background: #FFDE42;
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.footer-name { font-weight: 600; color: #fff; }
.footer-tagline { color: rgba(214,214,214,0.4); font-size: 0.875rem; }
.back-to-top {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,222,66,0.2);
  color: rgba(255,222,66,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
}
.back-to-top:hover {
  border-color: rgba(255,222,66,0.5);
  color: #FFDE42;
  background: rgba(255,222,66,0.05);
  box-shadow: 0 4px 16px rgba(255,222,66,0.15);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS (scroll-triggered via JS)
============================================ */
.hz-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hz-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.hz-animate-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.hz-animate-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.hz-animate-left.visible, .hz-animate-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   WORDPRESS ADMIN BAR FIX
============================================ */
.admin-bar #hz-navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #hz-navbar { top: 46px; } }

/* ============================================
   WP ALIGNMENT HELPERS
============================================ */
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
