/* ===============================
   GLOBAL RESET & VARIABLES
================================ */
:root {
  --primary: #0f172a;
  --secondary: #020617;
  --accent: #38bdf8;
  --text-light: #cbd5f5;
  --bg-light: #f8fafc;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

:root {
  --brand-primary: #38bdf8;
  --brand-dark: #0f172a;
  --brand-bg-dark: #020617;
  --text-light: #cbd5f5;
}


/* ===============================
   CONTAINER
================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 16px; /* mobile safe padding */
}

/* ===============================
   HEADER
================================ */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.brand div {
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
}

.logo span {
  color: #38bdf8;
  margin-right: 2px;
}


.tagline {
  font-size: 0.75rem;
  color: #cbd5f5;
  margin-top: -4px;
  letter-spacing: 1px;
}


.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--primary) !important;
  font-weight: 600;
}

/* ===============================
   HERO (FULL SCREEN)
================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /*background: linear-gradient(135deg, var(--primary), var(--secondary));*/
  background:
  radial-gradient(circle at top right, rgba(56,189,248,0.15), transparent 40%),
  linear-gradient(135deg, var(--brand-dark), var(--brand-bg-dark));
  color: #fff;
  /*padding: 0 20px;*/
  padding: 40px 0; /* prevents tight top/bottom */
}

.hero-inner {
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-content {
  animation: heroFade 0.8s ease-out both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 22px;
}*/

.hero h1 {
  font-size: 1.9rem; /* mobile first */
  margin-bottom: 20px;
  line-height: 1.25;
}


.accent {
  color: var(--brand-primary);
  position: relative;
  font-weight: 700;
}


.hero p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ===============================
   BUTTONS
================================ */
.btn-primary {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--brand-dark);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(56,189,248,0.35);
}

.btn-secondary {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--brand-primary);
  color: var(--brand-dark);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-actions a {
  text-align: center;
}

/* ===============================
   SECTIONS
================================ */
.section {
  padding: 60px 0; /* mobile first */
}

.section.light {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 60px;
  color: var(--primary);
}

/* ===============================
   SERVICES / CARDS
================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 35px 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.12);
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===============================
   PROCESS
================================ */
.process-card {
  position: relative;
}

.process-card .step {
  display: block;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===============================
   CONTACT
================================ */
.contact {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.08), transparent 45%),
    linear-gradient(135deg, var(--brand-bg-dark), #000);
  color: #fff;
}

.contact .section-title {
  color: #fff;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-wrapper {
  max-width: 720px;
  margin: 40px auto 0;
  background: #0b1220;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.contact-form {
  width: 100%;
  max-width: 600px;
  background: var(--primary);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #fff;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}


.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

.contact-form button {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.form-message {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 25px 0;
  font-size: 0.85rem;
}

/* ===============================
   SCROLL ANIMATION
================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE (MOBILE-FIRST)
================================ */

@media (max-width: 768px) {

  .header-flex {
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    text-align: center;
  }

  .nav a {
    margin: 0 10px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 0 16px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 70px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-wrapper {
    padding: 25px;
  }
  
  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
  }
  
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .hero-actions {
    flex-direction: row;
  }
  
}
