/* ============================================
   Syncro - Pure CSS Stylesheet
   Deep Navy Blue Background, White Text, Glass-morphism
   ============================================ */

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

:root {
  --primary-bg: #0A1F44;
  --primary-dark: #06142E;
  --accent-blue: #1E5FFF;
  --text-white: #FFFFFF;
  --text-light: #B8D4FF;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(30, 95, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0A1F44 0%, #0D2654 50%, #0A1F44 100%);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ============================================
   ANIMATED BACKGROUND ORBS
   ============================================ */

body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: 
    radial-gradient(600px circle at 20% 10%, rgba(30, 95, 255, 0.1) 0%, transparent 80%),
    radial-gradient(800px circle at 80% 80%, rgba(30, 95, 255, 0.05) 0%, transparent 80%);
  animation: orb-float 20s ease-in-out infinite;
}

body::after {
  background: 
    radial-gradient(700px circle at 50% 50%, rgba(30, 95, 255, 0.03) 0%, transparent 70%);
  animation: orb-float 25s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, -30px);
  }
  50% {
    transform: translate(-20px, 20px);
  }
  75% {
    transform: translate(40px, 10px);
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 68, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(10, 31, 68, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text-white);
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent-blue);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(30, 95, 255, 0.3);
}

.cta-button:hover {
  background: #1a4dcc;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 95, 255, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   SECTION STYLING
   ============================================ */

section {
  padding: 5rem 2rem;
  position: relative;
}

section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

section > p:first-of-type {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* ============================================
   CARDS (Services, etc.)
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

.card:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 95, 255, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */

.process-container {
  margin-top: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 0.6s ease-out both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), #1a4dcc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(30, 95, 255, 0.3);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Desktop: Horizontal Timeline */
@media (min-width: 1024px) {
  .timeline {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
  }

  .timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 100%;
    width: calc(100% - 20px);
    height: 2px;
    background: var(--border-light);
  }

  .timeline-item:last-child::after {
    display: none;
  }
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================
   FORM STYLING
   ============================================ */

.form-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(184, 212, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(30, 95, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent-blue);
  color: var(--text-white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 95, 255, 0.3);
}

.form-submit:hover {
  background: #1a4dcc;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 95, 255, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: rgba(10, 31, 68, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--text-white);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 31, 68, 0.95);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .menu-toggle {
    display: block;
  }

  section {
    padding: 3rem 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    flex-direction: column;
  }

  .timeline-item::after {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }

  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}
