/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f9fafb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background: #ffffff;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  font-size: 0.95rem;
}

nav a {
  font-weight: 500;
  color: #4b5563;
}

nav a.active {
  font-weight: 600;
  color: #111827;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  background: #f5f7fa;
  padding: 4rem 0 3rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1rem;
  color: #4b5563;
}

/* Sections */
.section {
  padding: 3rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.section:last-child {
  border-bottom: none;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section p {
  color: #4b5563;
  max-width: 800px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Modern Card */
.card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Contact Details Box */
.contact-box {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem 1.35rem;
}

.contact-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.contact-detail {
  font-size: 0.98rem;
}

/* Info Box (Option 4) */
.info-box {
  background: #f6f6f6;
  padding: 16px;
  border-left: 4px solid #e63946;
  border-radius: 6px;
  margin-bottom: 18px;
}

.styled-list li {
  margin-bottom: 8px;
}

/* CTA Section */
.cta {
  background: #111;
  color: #fff;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #e63946;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
}

/* Option 4 block sections */
.section-block {
  background: #f3f4f6;
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.section-block h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Option 2 title bar */
.section-title {
  border-left: 5px solid #e63946;
  padding-left: 12px;
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* CONTACT FORM FIX — FINAL */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 550px;
}

.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.large-textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 3rem;
}
/* Center form in its section */
.form-wrapper {
  max-width: 500px;
  margin: 0 auto;       /* centers horizontally */
  background: #ffffff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* Category Boxes (Option 4 style) */
.category-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.category-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 130px;
  background: #f3f4f6;
  border-radius: 10px;
  border: 2px solid #000;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-out;
}

.category-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.category-box:hover {
  transform: translateY(-4px);
  border-color: #e63946;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


