/* RAVXPERT INC — site styles */

:root {
  --blue-900: #0b2e59;
  --blue-700: #124e91;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --blue-100: #e8f1fb;
  --gray-900: #1b2430;
  --gray-600: #5a6472;
  --gray-200: #e3e7ec;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(11, 46, 89, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 42px;
  width: auto;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav.main-nav a {
  font-weight: 600;
  color: var(--gray-600);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--blue-700);
  border-color: var(--blue-600);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--blue-900);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: var(--white);
  padding: 80px 0;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-100);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: #dce8fa;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-900);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-outline:hover { background: rgba(255,255,255,0.12); }

.hero-actions { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-head .eyebrow {
  color: var(--blue-600);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
}

.section-head h2 {
  font-size: 1.9rem;
  margin-top: 8px;
  color: var(--blue-900);
}

.section-head p { color: var(--gray-600); margin-top: 10px; }

.section-alt { background: var(--blue-100); }

/* Services grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(11,46,89,0.12); }

.card .icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), #d9e7fa);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.06);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #ffffff;
}

.service-thumb {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .service-thumb img { transform: scale(1.06); }

.card h3 { font-size: 1.05rem; color: var(--blue-900); margin-bottom: 6px; }

.card p { color: var(--gray-600); font-size: 0.95rem; }

/* Product images — always show the full uploaded image, never cropped */
.product-thumb {
  width: 100%;
  height: 170px;
  background: var(--blue-100);
  border-radius: 8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-thumb-lg {
  width: 100%;
  min-height: 280px;
  background: var(--blue-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.product-thumb-lg img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* About / feature rows */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.check-list { list-style: none; margin-top: 18px; }

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--gray-600);
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.stat-box .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box .stat-grid div { text-align: center; }

.stat-box .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-700);
  display: block;
}

.stat-box .label { color: var(--gray-600); font-size: 0.85rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info h4 { color: var(--blue-900); margin-bottom: 2px; font-size: 0.95rem; }
.contact-info p, .contact-info a { color: var(--gray-600); font-size: 0.95rem; }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.field label { font-size: 0.85rem; font-weight: 700; color: var(--gray-900); }

.field input,
.field select,
.field textarea {
  padding: 11px 13px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-900);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.15);
}

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

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.alert {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.alert-success { background: #e6f6ec; color: #1c7a3f; border: 1px solid #b6e6c5; }
.alert-error { background: #fdeaea; color: #b3261e; border: 1px solid #f6c4c1; }

/* CTA band */
.cta-band {
  background: var(--blue-900);
  color: var(--white);
  text-align: center;
}

.cta-band h2 { font-size: 1.7rem; margin-bottom: 12px; }
.cta-band p { color: #cfe0f7; margin-bottom: 22px; }

/* Footer */
footer.site-footer {
  background: var(--gray-900);
  color: #c7ccd3;
  padding: 46px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-grid h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #333c47;
  padding-top: 18px;
  font-size: 0.85rem;
  text-align: center;
  color: #8b94a1;
}

/* Page banner (interior pages) */
.page-banner {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 52px 0;
  text-align: center;
}

.page-banner h1 { font-size: 2rem; margin-bottom: 8px; }
.page-banner p { color: #dce8fa; }

/* Responsive */
@media (max-width: 860px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; }
  nav.main-nav li { border-bottom: 1px solid var(--gray-200); }
  nav.main-nav a { display: block; padding: 14px 20px; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
