/* styles.css */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f9fafc;
  color: #333;
}

header {
  background-color: #1a2533;
  color: white;
  text-align: center;
  position: relative;
}

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

.navbar {
  background-color: #1a2533;
  padding: 10px 20px;
  position: relative;
}

.menu-toggle {
  font-size: 24px;
  color: white;
  cursor: pointer;
  display: none;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #1a2533;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
  }
  .menu.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

h1, h2 {
  color: #1a2533;
}

.core-competencies {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
  padding: 20px 20px;
}

.core-competencies .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.core-competencies h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.core-competencies p {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
  color: #1a2533;
}

.competencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.competency-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.competency-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: #38bdf8;
}

.competency-card p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .competencies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  color: #e5e9f2;
  line-height: 1.6;
}

ul {
  list-style: disc;
  margin-left: 1.5em;
  padding-left: 0;
}

.cta {
  background-color: #e6f0ff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}

.cta button {
  background-color: #1a2533;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cta button:hover {
  background-color: #33425c;
}

iframe {
  width: 100%;
  height: 480px;
  border: none;
  margin-top: 20px;
}

footer {
  background-color: #1a2533;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

main img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.profile-badges {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.profile-badges a {
  display: inline-flex;
}

.profile-badges img {
  display: block;
  margin: 0;
  height: auto;
}

.project {
  background-color: #1A1A1A;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.project img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.project h2 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 24px;
  color: #A3E635;
}

.project p {
  margin: 6px 0;
  line-height: 1.5;
  color: #DDDDDD;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.portfolio-item {
  background-color: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.35);
}
.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.portfolio-item .portfolio-content {
  padding: 20px;
}
.portfolio-item h3 {
  font-size: 1.4rem;
  color: #e2e8f0;
  margin-bottom: 10px;
}
.portfolio-item p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Industries Served */
.industries{
  display:flex; flex-wrap:wrap; gap:10px 12px; margin:8px 0 0; padding:0; list-style:none;
}
.industry-pill{
  background:#fff; color:#2f5d8a; border:1px solid rgba(47,93,138,.18);
  border-radius:999px; padding:8px 14px; font-weight:600;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* Results Delivered (match Core Competencies look) */
.results-grid{
  display:grid; gap:22px; margin-top:12px;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.result-card{
  background:#0f172a; color:#e2e8f0; border-radius:18px;
  padding:18px 20px; box-shadow:0 18px 36px rgba(15,23,42,0.25);
  border:1px solid rgba(148,163,184,0.18);
}
.result-metric{
  font-size:32px; font-weight:800; line-height:1;
  margin-bottom:6px;
}
.result-text{
  font-size:16px; font-weight:500; opacity:.98;
}

/* Blog page */
.blog-page {
  background: #f4f6fb;
}

.blog-hero {
  background: linear-gradient(140deg, #0f172a 0%, #1d2b44 60%, #2f4f75 100%);
  color: #f8fafc;
  padding: 70px 20px;
}

.blog-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.blog-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: #a5b4fc;
}

.featured-article {
  max-width: 900px;
  margin: -60px auto 40px;
  padding: 0 20px;
}

.blog-feature-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-meta {
  display: inline-block;
  background: #1a2533;
  color: #ffffff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-excerpt {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #334155;
}

.blog-listing {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px 40px;
}

.section-heading {
  font-size: 1.9rem;
  margin-bottom: 20px;
  text-align: left;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-meta {
  color: #64748b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-excerpt {
  color: #1f2937;
  line-height: 1.6;
  flex: 1;
}

.blog-read-more {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

.blog-cta {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  padding: 60px 20px;
}

.blog-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.blog-cta button {
  background-color: #1a2533;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.blog-cta button:hover {
  background-color: #33425c;
}

/* Contact page */
.contact-intro {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 20px;
}

.contact-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-wrapper {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-details {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
}

.contact-details h2 {
  color: #e2e8f0;
  margin-top: 0;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.contact-details li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.contact-details li::before {
  content: "•";
  color: #38bdf8;
  position: absolute;
  left: 0;
}

.contact-email a {
  color: #38bdf8;
  font-weight: 600;
}

.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  font-weight: 600;
  color: #1a2533;
}

.form-row input,
.form-row textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
}

.contact-form button {
  background-color: #1a2533;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #33425c;
}

@media (max-width: 600px) {
  .blog-hero h1 {
    font-size: 2rem;
  }
  .contact-intro h1 {
    font-size: 1.8rem;
  }
}
