/* ============================================================
   VPS WebTech — Main Stylesheet
   Font: DM Sans (Google Fonts)
   Accent: Royal Blue #1D4ED8
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #ffffff;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}
h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Container ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Accent text color ── */
.text-accent { color: #1D4ED8; }

/* ── Prevent line break (desktop only) ── */
.nowrap { white-space: nowrap; }
@media (prefers-color-scheme: dark) {
  .text-accent { color: #60A5FA; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: background .2s ease, transform .1s ease;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: #1D4ED8; color: #ffffff; }
.btn-primary:hover { background: #1a44c0; }

.btn-outline {
  background: transparent;
  color: #1D4ED8;
  border: 2px solid #1D4ED8;
}
.btn-outline:hover { background: #EFF6FF; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: #000000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav-logo {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: #60A5FA; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: #60A5FA;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover  { color: #93C5FD; }
.nav-links a.active { color: #ffffff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #60A5FA;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: #ffffff;
  padding: 100px 0 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1D4ED8;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 22px;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 700;
  color: #1D4ED8;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: #333333;
  margin-bottom: 36px;
}

.hero-image {
  border-radius: 8px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SERVICES STRIP (Home page — teaser cards)
   ============================================================ */
.services-strip {
  background: #EFF6FF;
  padding: 90px 0;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1D4ED8;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 34px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 14px;
}

.section-intro {
  font-size: 17px;
  color: #333333;
  max-width: 600px;
  margin-bottom: 52px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(29, 78, 216, .1);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #1D4ED8;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000000;
}

.service-card p {
  font-size: 15px;
  color: #444444;
  line-height: 1.65;
  margin-bottom: 0;
}

.services-cta {
  margin-top: 48px;
  text-align: center;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  background: #ffffff;
  padding: 90px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #1D4ED8;
  margin-top: 2px;
}

.why-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}
.why-item p {
  font-size: 16px;
  color: #333333;
  margin-bottom: 0;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: #000000;
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 18px;
  color: #d4deff;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PAGE HERO (inner pages — About, Services, Contact)
   ============================================================ */
.page-hero {
  background: #000000;
  padding: 56px 0 32px;
}

.page-hero h1 {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 18px;
  color: #d4deff;
  max-width: 580px;
  margin-bottom: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: 56px 0 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.about-content h2 {
  font-size: 30px;
  margin-bottom: 18px;
  color: #000000;
}

.about-content p {
  font-size: 16px;
  color: #333333;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.industries {
  background: #EFF6FF;
  padding: 72px 0;
}

.industries-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
  list-style: none;
}

.industries-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.industries-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1D4ED8;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page {
  padding: 56px 0 90px;
}

.service-block {
  padding: 52px 0;
  border-bottom: 1px solid #E5E7EB;
}
.service-block:last-child { border-bottom: none; }

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.service-block-label {
  position: sticky;
  top: 100px;
}

.service-block-label .service-icon-lg {
  width: 52px;
  height: 52px;
  color: #1D4ED8;
  margin-bottom: 16px;
}

.service-block-label h2 {
  font-size: 26px;
  color: #000000;
  margin-bottom: 0;
}

.service-block-content p {
  font-size: 16px;
  color: #333333;
  margin-bottom: 24px;
}

.service-bullets {
  list-style: none;
  margin-top: 8px;
}
.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #1a1a1a;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}
.service-bullets li:last-child { border-bottom: none; }
.service-bullets li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1D4ED8;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 56px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: #000000;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 22px;
  height: 22px;
  color: #1D4ED8;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail p {
  font-size: 15px;
  color: #333333;
  margin-bottom: 0;
}
.contact-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1D4ED8;
  margin-bottom: 4px;
}

/* Form */
.contact-form { }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  letter-spacing: .02em;
}
label .optional {
  font-weight: 400;
  color: #6B7280;
  font-size: 13px;
  margin-left: 4px;
}

input, select, textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  background: #ffffff;
  border: 1.5px solid #D1D5DB;
  border-radius: 4px;
  padding: 11px 14px;
  width: 100%;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1D4ED8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}
textarea { resize: vertical; min-height: 140px; }

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; text-align: center; padding: 16px; font-size: 16px; }

.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: #6B7280;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #000000;
  padding: 52px 0 32px;
  color: #aaaaaa;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  font-size: 22px;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: #888888;
  max-width: 280px;
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: #888888;
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul a:hover { color: #60A5FA; }

.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: #888888;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555555;
}

.footer-bottom a {
  color: #555555;
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover { color: #60A5FA; }

/* ============================================================
   DARK MODE
   ============================================================ */
@media (prefers-color-scheme: dark) {
  body { background: #0F172A; color: #CBD5E1; }

  h1, h2, h3, h4, h5 { color: #F1F5F9; }

  .site-nav { background: #1E293B; }
  .nav-logo { color: #F1F5F9; }

  .hero { background: #0F172A; }
  .hero-tagline { color: #60A5FA; }
  .hero p { color: #CBD5E1; }
  .hero-image { background: #1E293B; }

  .services-strip { background: #1E293B; }
  .section-heading { color: #F1F5F9; }
  .section-intro { color: #CBD5E1; }
  .service-card { background: #0F172A; border-color: #334155; color: #CBD5E1; }
  .service-card h3 { color: #F1F5F9; }
  .service-card p { color: #94A3B8; }
  .service-card:hover { box-shadow: 0 8px 24px rgba(96, 165, 250, .1); }

  .why-section { background: #0F172A; }
  .why-item h4 { color: #F1F5F9; }
  .why-item p  { color: #CBD5E1; }

  .page-hero { background: #1E293B; }

  .about-section { background: #0F172A; }
  .about-content h2 { color: #F1F5F9; }
  .about-content p { color: #CBD5E1; }
  .about-image { background: #1E293B; }

  .industries { background: #1E293B; }
  .industries-list li { color: #CBD5E1; }

  .services-page { background: #0F172A; }
  .service-block { border-color: #1E293B; }
  .service-block-label h2 { color: #F1F5F9; }
  .service-block-content p { color: #CBD5E1; }
  .service-bullets li { color: #CBD5E1; border-color: #1E293B; }

  .contact-section { background: #0F172A; }
  .contact-info h3 { color: #F1F5F9; }
  .contact-detail p { color: #CBD5E1; }
  input, select, textarea {
    background: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
  }
  input:focus, select:focus, textarea:focus {
    border-color: #60A5FA;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .15);
  }
  label { color: #F1F5F9; }

  .site-footer { background: #020617; }
  .footer-bottom { border-color: #1E293B; }
}

/* ============================================================
   RESPONSIVE — Tablet (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .container { padding: 0 32px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: 1fr; gap: 28px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: none; }

  .service-block-inner { grid-template-columns: 1fr; gap: 24px; }
  .service-block-label { position: static; }

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

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .industries-list { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav-inner { padding: 16px 20px; }
  .nav-logo  { font-size: 22px; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    z-index: 999;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid #1a1a1a;
  }
  .hamburger { display: flex; }

  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .nowrap { white-space: normal; }

  /* Hero */
  .hero { padding: 60px 0 52px; }
  .hero p { font-size: 16px; }
  .btn  { padding: 13px 24px; }

  /* Sections */
  .services-strip,
  .why-section,
  .about-section,
  .services-page,
  .contact-section { padding: 60px 0; }

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

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .page-hero { padding: 52px 0 44px; }
  .page-hero h1 { font-size: 32px; }

  .cta-band { padding: 60px 0; }
  .cta-band h2 { font-size: 28px; }
}

/* ============================================================
   RESPONSIVE — Very small (max 400px)
   ============================================================ */
@media (max-width: 400px) {
  .nav-logo { font-size: 20px; }
  h1 { font-size: 28px; }
}
