/* ===================================================
   01. ROOT VARIABLES
=================================================== */

:root {
  --bg-main: #0F0F12;
  --bg-panel: #16161A;
  --border-thin: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255,255,255,0.2);
  --accent-red: #E10600;
  --accent-glow: rgba(225,6,0,0.35);
  --text-primary: #F1F1F1;
  --text-muted: #9A9A9F;
  --text-dim: #6E6E73;
}

/* ===================================================
   02. GLOBAL RESET
=================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ===================================================
   03. HEADER
=================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-thin);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
}

.logo {
  font-family: 'Space Grotesk';
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* NAV */

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 100px 40px;
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(12px);
  border-left: 1px solid var(--border-thin);
  transition: 0.3s ease;
}

.nav.active {
  right: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav a:hover {
  color: var(--accent-red);
}

/* HAMBURGER */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===================================================
   04. SECTION
=================================================== */

.section {
  padding: 100px 8%;
  border-top: 1px solid var(--border-thin);
}

.section-title {
  font-family: 'Space Grotesk';
  font-size: 34px;
  text-transform: uppercase;
  margin-bottom: 50px;
}
/* =============================
   NETWORK TIMELINE
============================= */

.network-timeline {
  position: relative;
}

.timeline-container {
  position: relative;
  padding: 50px 0;
}

/* Backbone */

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent-red), transparent);
  transform: translateX(-50%);
}

/* Node wrapper */

.timeline-node {
  position: relative;
  width: 50%;
  padding: 40px 60px;
}

.timeline-node.left {
  left: 0;
  text-align: right;
}

.timeline-node.right {
  left: 50%;
}

/* Node dot */

.node-dot {
  position: absolute;
  top: 55px;
  width: 14px;
  height: 14px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-glow);
}

.timeline-node.left .node-dot {
  right: -7px;
}

.timeline-node.right .node-dot {
  left: -7px;
}

/* Pulse animation for current */

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 10px var(--accent-glow); }
  50% { box-shadow: 0 0 25px var(--accent-glow); }
  100% { box-shadow: 0 0 10px var(--accent-glow); }
}

/* Timeline Card */

.timeline-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-thin);
  padding: 25px;
  position: relative;
  transition: 0.3s ease;
}

.timeline-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 30px var(--accent-glow);
}

.timeline-card h3 {
  font-family: 'Space Grotesk';
  font-size: 16px;
  text-transform: uppercase;
  margin: 10px 0;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.year {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-red);
}
/* ===================================================
   05. HERO
=================================================== */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-family: 'Space Grotesk';
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero-sub {
  margin-top: 25px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-png {
  max-width: 550px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

/* ===================================================
   06. PANELS
=================================================== */

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-thin);
  padding: 30px;
  transition: 0.3s ease;
}

.panel:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 30px var(--accent-glow);
}
/* ===================================
   04. SECTION STRUCTURE
=================================== */
.section {
  padding: 100px 8%;
  border-top: 1px solid var(--border-thin);
  position: relative;
}

.section-title {
  font-family: 'Space Grotesk';
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 50px;
}

/* ===================================================
   07. GRID
=================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===================================================
   08. CONTACT
=================================================== */

.contact-box {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-info,
.contact-form-panel {
  flex: 1;
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-thin);
  padding: 12px 15px;
  color: var(--text-primary);
  transition: 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 15px var(--accent-glow);
}

.submit-btn {
  border: 1px solid var(--accent-red);
  background: transparent;
  color: var(--accent-red);
  padding: 12px 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: var(--accent-red);
  color: #fff;
}
/* ==============================
   TESTIMONIAL AUTO LOOP (3 VISIBLE)
================================ */

.testimonial-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.testimonial-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
}

.testimonial-slide {
  flex: 0 0 33.333%;
  padding: 10px;
}

.testimonial-slide .panel {
  height: 100%;
  padding: 30px;
}

/* Content styling */
.testimonial-message {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--accent-red);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-dim);
}
/* WRAPPER */
.microblog-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

/* LEFT SIDE LIST */
.microblog-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* BLOG ITEM */
.microblog-item {
  cursor: pointer;
  transition: 0.3s ease;
}

.microblog-item:hover {
  border-color: var(--accent-red);
  transform: translateX(5px);
}

/* ACTIVE ITEM */
.microblog-item.active {
  border-color: var(--accent-red);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* RIGHT SIDE DETAIL */
.microblog-detail {
  min-height: 300px;
  padding: 40px;
}

.microblog-detail h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

/* LOAD MORE BUTTON */
.load-more-btn {
  margin-top: 15px;
  background: transparent;
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s ease;
}

.load-more-btn:hover {
  background: var(--accent-red);
  color: #fff;
}

/* =============================
   CONTACT SECTION UPGRADE
============================= */

.contact-box {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-top: 20px;
}

.contact-info h3 {
  font-family: 'Space Grotesk';
  margin: 5px 0 15px;
}

.contact-info a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.contact-info a:hover {
  color: var(--accent-red);
}
/* ===================================================
   09. FOOTER
=================================================== */

footer {
  padding: 40px 8%;
  border-top: 1px solid var(--border-thin);
  text-align: center;
  color: var(--text-dim);
}

/* ===================================================
   10. ANIMATIONS
=================================================== */

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* ===================================================
   11. RESPONSIVE
=================================================== */

@media (max-width: 992px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 55px;
  }

  .hero-png {
    max-width: 300px;
  }

  .contact-box {
    flex-direction: column;
  }

  .testimonial-slide {
    flex: 0 0 100%;
  }

    .contact-box {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info,
  .contact-form-panel {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .submit-btn {
    width: 100%;
  }

}
/* ===================================================
   RESPONSIVE MASTER SYSTEM
=================================================== */

/* ---------- Large Screens (1400px+) ---------- */
@media (min-width: 1400px) {
  .section {
    padding: 120px 10%;
  }

  .hero-title {
    font-size: 90px;
  }

  .hero-png {
    max-width: 650px;
  }
}

/* ---------- Laptops & Small Desktops ---------- */
@media (max-width: 1200px) {

  .hero-title {
    font-size: 65px;
  }

  .section {
    padding: 90px 6%;
  }
}

/* ---------- Tablets ---------- */
@media (max-width: 992px) {
/* Responsive */
  .microblog-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    left: 8px;
  }

  .timeline-node {
    width: 100%;
    padding-left: 40px;
    padding-right: 20px;
  }

  .timeline-node.left,
  .timeline-node.right {
    left: 0;
    text-align: left;
  }

  .timeline-node .node-dot {
    left: 0;
  }

  .header-container {
    padding: 15px 6%;
  }

  .section {
    padding: 80px 6%;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-png {
    max-width: 280px;
  }

  .contact-box {
    flex-direction: column;
    gap: 40px;
  }

}

/* ---------- Large Phones ---------- */
@media (max-width: 768px) {

  .section-title {
    font-size: 26px;
  }

  .hero-title {
    font-size: 40px;
  }

  .panel {
    padding: 20px;
  }

  .grid {
    gap: 20px;
  }

}

/* ---------- Small Phones ---------- */
@media (max-width: 480px) {

  .section {
    padding: 60px 5%;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .header-container {
    padding: 12px 5%;
  }

  .logo {
    font-size: 14px;
  }

  .nav {
    width: 220px;
    padding: 80px 25px;
  }

  input,
  textarea {
    font-size: 14px;
  }

  .submit-btn {
    width: 100%;
  }

}

