/* ================================
   GLOBAL STYLES — ASQUARE DIGITAL SOLUTIONS
   Shared across all pages
================================ */

/* Color Palette */
:root {
  --primary: #0052cc;
  --primary-dark: #003b99;
  --accent: #00b8a9;
  --text: #1f2937;
  --muted: #6b7280;
  --light-bg: #f5f7fb;
  --white: #ffffff;
  --border: #e5e7eb;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================================
   HEADER & NAVIGATION
================================ */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-area img {
  height: 42px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: 0.2s;
}

nav a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

/* ================================
   HERO SECTIONS
================================ */

.hero {
  padding: 4rem 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--border);
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ================================
   SECTION HEADERS
================================ */

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.9rem;
  color: var(--primary-dark);
}

.section-header p {
  color: var(--muted);
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* ================================
   SERVICES GRID
================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.4rem;
}

.service-card li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
}

/* ================================
   INDUSTRIES GRID
================================ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.industry-tile {
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 500;
  color: var(--primary-dark);
  transition: 0.2s;
}

.industry-tile:hover {
  background: var(--primary);
  color: var(--white);
}

/* ================================
   ABOUT PAGE
================================ */

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* ================================
   CONTACT FORM
================================ */

form {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}

form .form-group {
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #f9fafb;
  font-size: 0.95rem;
}

textarea {
  min-height: 120px;
}

/* ================================
   FOOTER
================================ */

footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 1.8rem 0;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  nav ul {
    display: none;
  }
}
