/* ══════════════════════════════════════
   TECH MEOL GROUP — style.css
   Palette: White · Orange · Navy Blue
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Barlow:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --white:       #ffffff;
  --off-white:   #f8f8f6;
  --orange:      #E8670A;
  --orange-lt:   #f07d28;
  --orange-dim:  #fdeede;
  --navy:        #0f2540;
  --navy-mid:    #1a3a5c;
  --navy-lt:     #2e5278;
  --gray-100:    #f4f4f2;
  --gray-200:    #e8e8e4;
  --gray-500:    #262728;
  --gray-700:    #3d4452;
  --ink:         #111418;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Barlow', system-ui, sans-serif;

  --radius:    4px;
  --shadow-sm: 0 2px 12px rgba(15,37,64,0.07);
  --shadow-md: 0 8px 40px rgba(15,37,64,0.12);
  --shadow-lg: 0 20px 60px rgba(15,37,64,0.16);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Two-column layout */
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1400px;
  padding: 0 4rem;
}

.hero-parallax {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 55% 45% at 25% 65%, rgba(232,103,10,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 25%, rgba(26,58,92,0.5) 0%, transparent 70%),
    linear-gradient(145deg, #071320 0%, #0f2540 40%, #1a3a5c 70%, #0a1c30 100%);
  will-change: transform;
}

.hero-parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,103,10,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,103,10,0.07) 1px, transparent 1px);
  background-size: 70px 70px;
}

.hero-parallax::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(232,103,10,0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 80px rgba(232,103,10,0.04), 0 0 0 160px rgba(232,103,10,0.025);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(7,19,32,0.6) 100%);
  z-index: 1;
}

/* Left: text — left-aligned now */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 1.6rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(232,103,10,0.35);
  border-radius: 50px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.hero-title em { color: var(--orange); font-style: italic; }

.hero-desc {
  font-weight: 300;
  max-width: 460px;
  margin: 0 0 2.4rem;
  line-height: 1.75;
  text-align: justify;
   color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(232,103,10,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════════
   HERO VISUAL (right side floating)
   ══════════════════════════════════════ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease 0.7s forwards;
}

/* Background glow */
.hv-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,103,10,0.18) 0%, transparent 70%);
  filter: blur(24px);
  animation: hvPulse 4s ease-in-out infinite;
}

/* Main PCB card */
.hv-card--main {
  position: relative;
  z-index: 2;
  width: 660px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(232,103,10,0.2),
    0 32px 64px rgba(7,19,32,0.6),
    0 0 40px rgba(232,103,10,0.12);
  animation: hvFloat 6s ease-in-out infinite;
}

/* ── Floating badges ── */
.hv-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10,28,46,0.92);
  border: 1px solid rgba(232,103,10,0.3);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(7,19,32,0.4);
  white-space: nowrap;
}

.hv-badge i {
  font-size: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.hv-badge-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.hv-badge-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.86);
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* Badge positions + individual animations */
.hv-badge--fmv {
  top: 8%;
  right: -2%;
  animation: hvBadge1 6s ease-in-out infinite;
}

.hv-badge--5g {
  bottom: 22%;
  left: -8%;
  animation: hvBadge2 6s ease-in-out infinite 1s;
}

.hv-badge--surplus {
  bottom: 4%;
  right: 4%;
  animation: hvBadge3 6s ease-in-out infinite 2s;
}

/* Orbit ring + dot */
.hv-orbit {
  position: absolute;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(232,103,10,0.18);
  animation: hvSpin 18s linear infinite;
}

.hv-orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange), 0 0 20px rgba(232,103,10,0.5);
}

/* ── Hero visual keyframes ── */
@keyframes hvFloat {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50%       { transform: translateY(-14px) rotate(-0.5deg); }
}
@keyframes hvPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}
@keyframes hvSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes hvBadge1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes hvBadge2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(8px); }
}
@keyframes hvBadge3 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 2rem;
    gap: 2.5rem;
  }
  .hero-content { text-align: center; }
  .hero-desc { margin: 0 auto 2.4rem; }
  .hero-btns { justify-content: center; }
  .hero-visual { height: 320px; }
  .hv-card--main { width: 180px; }
  .hv-badge { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .hv-badge--fmv  { top: 0; right: 0; }
  .hv-badge--5g   { bottom: 30%; left: 0; }
  .hv-badge--surplus { bottom: 2%; right: 0; }
  .hv-orbit { width: 240px; height: 240px; }
}

@media (max-width: 600px) {
  .hero-visual { display: none; }
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover {
  background: var(--orange-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,103,10,0.3);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-outline-dark {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(15,37,64,0.3);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */

#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;        /* reduced from 88vh */
  overflow: hidden;
}

/* ── Image column ── */
.about-image {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 420px;
}

/* Photo fills the entire column — no padding, no gaps, no border-radius */
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

/* Subtle grid + glow texture on top of photo */
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 40% at 50% 90%, rgba(232,103,10,0.18) 0%, transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 46px, rgba(255,255,255,0.025) 46px, rgba(255,255,255,0.025) 47px),
    repeating-linear-gradient(90deg, transparent, transparent 46px, rgba(255,255,255,0.025) 46px, rgba(255,255,255,0.025) 47px);
  pointer-events: none;
}

/* Badge */
.about-img-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  background: var(--orange);
  color: var(--white);
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.1rem;
}
.about-img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}

/* ── Text column ── */
.about-text {
  padding: 4rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.6rem;
}

.body-text {
  text-align: justify;
  font-size: 17px;
  line-height: 1.85;
  color: var(--gray-500);
  font-weight: 300;
  margin-bottom: 1.1rem;
}

.about-text .btn {
  margin-top: 1rem;
  align-self: flex-start;
  font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #about {
    grid-template-columns: 1fr;
  }
  .about-image {
    min-height: 320px;
  }
  .about-text {
    padding: 3rem 2rem;
  }
}
/* ══════════════════════════════════════
   STATS
   ══════════════════════════════════════ */
#stats {
  background: var(--navy);
  padding: 5rem 4rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 1.5rem 2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
#services {
  padding: 7rem 4rem;
  background: var(--off-white);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header .section-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.services-sub {
  font-size: 17px;
  color: var(--gray-500);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange-dim); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--orange-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.service-icon-wrap svg { width: 30px; height: 30px; color: var(--orange); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-500);
  font-weight: 300;
  flex: 1;
  text-align: justify;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 0.5rem;
  transition: gap var(--transition), color var(--transition);
}
.service-link:hover { gap: 0.85rem; color: var(--orange-lt); }

/* ══════════════════════════════════════
   CTA
   ══════════════════════════════════════ */
#cta {
  padding: 9rem 4rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
}

#cta::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 4px 4px;
}

.cta-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 22rem);
  font-weight: 300;
  color: rgba(15,37,64,0.04);
  pointer-events: none;
  letter-spacing: -0.05em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  user-select: none;
}

#cta .eyebrow,
#cta .section-title,
#cta .body-text,
#cta .hero-btns { position: relative; z-index: 1; }

#cta .section-title { font-size: clamp(2.2rem, 4.5vw, 3.5rem); max-width: 800px; margin-bottom: 1.2rem; }
#cta .body-text { max-width: 500px; margin-bottom: 2.5rem; }


/* ══════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════ */
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 2.5rem 2rem;
  }
  .footer-top-band { padding: 1rem 2.5rem; }
  .footer-rule { margin: 0 2.5rem; }
  .footer-bottom-bar { padding: 1.2rem 2.5rem; }
}

@media (max-width: 900px) {
  #navbar { padding: 1rem 2rem; }
  #navbar.scrolled { padding: 0.75rem 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #about { grid-template-columns: 1fr; }
  .about-image { min-height: 380px; }
  .about-text { padding: 3.5rem 2rem; }

  .stat-divider { display: none; }
  .stats-inner { gap: 1rem; }

  #services { padding: 4.5rem 1.5rem; }
  #cta { padding: 6rem 2rem; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  #stats { padding: 3.5rem 1.5rem; }

  .footer-body {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem 1.5rem;
    gap: 2rem;
  }
  .footer-top-band { padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .footer-rule { margin: 0 1.5rem; }
  .footer-bottom-bar {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
} 