/* ================================
   MODERNIZED GLOBAL STYLES
================================ */
:root {
  --primary: #0066ff;
  --primary-dark: #0046b3;
  --accent: #00d1c1;
  --text: #111827;
  --muted: #4b5563;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.9);
  --border: #e2e8f0;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   HEADER & NAVIGATION
================================ */
header {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* Hides desktop nav on mobile to prevent clutter */
@media (max-width: 768px) {
  nav { display: none; } 
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

/* ================================
   HERO & SECTION HEADERS
================================ */
.hero {
  padding: 1rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.5rem, 1.75vw, 2.0rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 800;
}

/* RESTORED SECTION HEADER STYLES */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.section-header h2 {
  font-size: clamp(1.0rem, 1.5vw, 2.0rem);
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ================================
   GRIDS (SERVICES & INDUSTRIES)
================================ */
.services-grid, .industries-grid {
  display: grid;
  gap: 2rem;
  /* Multi-device fluidity: stacks on mobile, expands on desktop */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.industry-tile {
  background: var(--white);
  padding: 1.5rem;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.industry-tile:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.02);
}

.service-card h3 {
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}
/* ================================
   FORMS & FOOTER
================================ */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .about-wrapper { grid-template-columns: 1.2fr 0.8fr; }
}

form {
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fcfdfe;
}

footer {
  background: #0f172a;
  padding: 5rem 0 3rem;
  color: #94a3b8;
  margin-top: 5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; }
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 1.5rem;
}

.footer-links a:hover { color: var(--white); }

/* ================================
   UTILITY CLASSES
================================ */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  border-color: var(--primary-dark);
  color: var(--white);
  background: var(--primary-dark);
  transform: translateY(-2px);
}
