:root{--bg:#ffffff;--text:#0d0d0d;--accent:#4b6cff}
[data-theme="dark"]{--bg:#0b1220;--text:#e6eef8;--accent:#7b42f6}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;background:var(--bg);color:var(--text)}
.header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px}
.logo{height:70px}
.hero{padding:60px 20px;text-align:center;background:linear-gradient(135deg,#4b6cff,#9a4dff);color:#fff}
.section{max-width:1100px;margin:40px auto;padding:0 20px}
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.service-box{background:var(--bg);padding:20px;border-radius:12px;box-shadow:0 6px 18px rgba(2,6,23,0.06)}
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.price-box{background:var(--bg);padding:20px;border-radius:12px;box-shadow:0 6px 18px rgba(2,6,23,0.06);text-align:center}
.btn{background:var(--accent);color:#fff;padding:12px 18px;border-radius:8px;border:0}
.nav{display:flex;gap:18px}
@media(max-width:768px){.nav{display:none}.nav.active{display:flex;flex-direction:column;position:absolute;right:20px;top:70px;background:var(--bg);padding:12px;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,0.12)}}
/* CONTACT SECTION FIX */
#contact {
    padding: 80px 20px;
}

#contact h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
}

form {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #d3d3d3;
    font-size: 16px;
    background: #fafafa;
}

form textarea {
    min-height: 140px;
    resize: vertical;
}

form button.btn {
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    background: var(--accent);
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

/* DARK MODE FIX FOR CONTACT FORM */
[data-theme="dark"] form {
    background: #111827;
    box-shadow: 0 8px 28px rgba(255,255,255,0.04);
}

[data-theme="dark"] form input,
[data-theme="dark"] form textarea {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}
/* ============ HEADER BASE ============ */
.st-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid #e5e7eb;
  transition: 0.3s ease;
}

.st-header-inner {
  max-width: 1300px;
  margin: auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.st-logo img {
  height: 70px;
  transition: 0.3s ease;
}
.st-logo img:hover {
  transform: scale(1.03);
}

/* Desktop Nav */
.st-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.st-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
  font-size: 16px;
  position: relative;
  transition: 0.25s ease;
}

.st-nav a:hover {
  color: #4b6cff;
}

/* Active underline animation */
.st-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #4b6cff;
  transition: width 0.25s ease;
}
.st-nav a:hover::after {
  width: 100%;
}

/* Buttons */
.st-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
}

.st-btn-primary {
  background: #4b6cff;
  color: #fff !important;
  transition: 0.3s ease;
}
.st-btn-primary:hover {
  background: #324cff;
}

/* ============ MOBILE NAV ============ */
.st-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.st-menu-toggle span {
  width: 28px;
  height: 3px;
  background: #111;
  border-radius: 4px;
  transition: 0.3s ease;
}

.st-mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  gap: 14px;
}
.st-mobile-nav a {
  color: #111;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .st-nav {
    display: none;
  }
  .st-menu-toggle {
    display: flex;
  }
  .st-mobile-nav.show {
    display: flex;
  }
}
