:root {
  /* Core colors */
  --primary: #1e293b;        /* soft slate (text) */
  --secondary: #2563eb;      /* calm blue */
  --accent: #38bdf8;         /* sky blue */

  /* Backgrounds */
  --light: #f9fbff;          /* very light blue-white */
  --card-bg: #ffffff;       /* pure white cards */
  --section-bg: #f1f5fb;     /* soft section background */

  /* Text */
  --text-color: #1e293b;
  --muted: #64748b;

  /* Borders */
  --border-color: #e2e8f0;

  /* Hero text */
  --hero-title: #0f172a;
  --hero-subtitle: #334155;
}

* { 
  margin:0; padding:0; box-sizing:border-box; 
  font-family: 'Inter', sans-serif; 
}

body { 
  background: var(--light); 
  color: var(--primary); 
  line-height:1.6; 
}

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

header {
  background: white;
  padding: 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav { 
  display:flex; 
  justify-content:space-between; 
  align-items:center; 
  max-width:1200px; 
  margin:auto; 
}

.logo { 
  font-size:3.2rem; 
  font-weight:800; 
  letter-spacing:1px; 
  color:var(--accent); 
}

nav ul { 
  display:flex; 
  list-style:none; 
  gap:2rem; 
}

nav li a {
  color: var(--primary);
}

nav li a:hover {
  color: var(--secondary);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 4rem auto;

  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
  padding: 4rem 2rem;
  border-radius: 16px;
}

.hero h1,
.hero p {
  text-shadow: none;
}

.btn { 
  display:inline-block; 
  padding:0.75rem 1.75rem; 
  background:var(--secondary); 
  color:white; 
  border-radius:6px; 
  font-weight:500; 
  transition:0.3s ease; 
}

.btn:hover { 
  background:var(--accent); 
  color:var(--primary); 
}

.about-box {
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  color: var(--primary);
  padding: 2.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.about-box h3 {
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

section { 
  padding:5rem 2rem; 
  max-width:1200px; 
  margin:auto; 
}

.section-title { 
  text-align:center; 
  margin-bottom:3.5rem; 
}

.section-title h2 { 
  font-size:2.2rem; 
  margin-bottom:0.75rem; 
  color:var(--secondary); 
}

.section-title p { 
  color:var(--primary); 
  max-width:600px; 
  margin:auto; 
}

.services-grid { 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap:2rem; 
}

.service-card { 
  background:white; 
  padding:2rem; 
  border-radius:12px; 
  box-shadow:0 4px 20px rgba(0,0,0,0.05); 
  transition:0.3s ease; 
}

.service-card:hover { 
  transform:translateY(-6px); 
}

.service-card h3 { 
  margin-bottom:0.75rem; 
  color: var(--secondary); 
}

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

.about-content { 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:3rem; 
  align-items:center; 
}

.about-text p { 
  margin-bottom:1.25rem; 
  color:var(--gray); 
}

.contact {
  background: var(--section-bg);
  color: var(--primary);
}

.contact-grid > div {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;

  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.contact-info p {
  color: var(--muted);
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;

  border: 1px solid var(--border-color);
  border-radius: 8px;

  font-size: 0.95rem;
  background: #ffffff;
  color: var(--primary);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

form button { 
  border:none; 
  cursor:pointer; 
}

footer {
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

@media (max-width:900px) {
  .hero, .about-content, .contact-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:1.6rem; }
  .hero p { font-size:1.1rem; }
  nav ul { gap:1.25rem; }
}

/* Highlight current page */
nav ul li a.active {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

/* Blog hero uses a single flexible column */
.blog-hero {
  display: block;
  max-width: 90%;
  margin: 4rem auto;

  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
  padding: 4rem 3rem;
  border-radius: 16px;

  border: 1px solid var(--border-color);
}

.blog-hero h1 {
  color: var(--primary);
  text-shadow: none;
}

.blog-hero p {
  color: var(--muted);
  text-shadow: none;
}

/* Blog hero text color fix */
.blog-hero h1 {
  color: var(--hero-title); /* white */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.blog-hero p {
  color: var(--hero-subtitle); /* white */
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* Why Work With Us Section */

.why-us {
  margin: 4rem auto;
  max-width: 1100px;
  padding: 2rem 1.5rem;
}

.why-us h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.why-card h4 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
}
