:root {
  --primary-red: #FF474C;
  --dark-text: #111;
  --light-bg: #ffffff;
  --muted-text: #666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  border-bottom: 1px solid #eee;
  background: #fff;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-red);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-red);
}

/* HERO */
.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted-text);
  max-width: 700px;
  margin: auto;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary-red);
  color: #fff;
}

.btn-secondary {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
}

/* STATS */
.stats {
  background: #fafafa;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-card h2 {
  font-size: 2.5rem;
  color: var(--primary-red);
}

/* SECTORS */
.sectors {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.sector-card {
  padding: 30px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.sector-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

/* CTA */
.cta {
  background: var(--primary-red);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

/* ABOUT */
.page-hero {
  padding: 80px 0;
  text-align: center;
}

.about-content {
  padding: 60px 0;
}

.about-content h2 {
  margin-top: 40px;
}

/* FOOTER */
.footer {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* CONTACT SECTION */
.contact {
  background: #fafafa;
  padding: 80px 0;
}

.contact-subtext {
  text-align: center;
  color: var(--muted-text);
  max-width: 600px;
  margin: 10px auto 50px;
}

.contact-form {
  max-width: 800px;
  margin: auto;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-red);
}

.contact-form textarea {
  margin-bottom: 30px;
  resize: none;
}

.contact-form button {
  display: block;
  margin: auto;
}

.contact-form select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  background: #fff;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.contact-form select:focus {
  border-color: var(--primary-red);
}

/* Form messages */
.form-message {
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  color: green;
}

.form-message.error {
  color: red;
}

/* Loading state */
.contact-form button.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Enhanced Hero Section */
.hero-enhanced {
  position: relative;
  overflow: hidden;
}

.hero-enhanced .container {
  position: relative;
  z-index: 2;
}

/* Background grid */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* Red glow accent */
.hero-bg::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 71, 76, 0.25),
    transparent 70%
  );
  top: -150px;
  right: -150px;
}

/* Hero text refinement */
.hero h1 {
  letter-spacing: -1px;
}

.hero p {
  margin-top: 15px;
  font-size: 1.05rem;
}

/* Category-based sectors */
.category-card {
  border: 1px solid #eee;
  padding: 25px;
  transition: 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary-red);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

/* Subcategories */
.subcategory-list {
  list-style: none;
  margin-top: 20px;
  padding-left: 0;
  display: none;
}

.subcategory-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--muted-text);
  border-bottom: 1px solid #f0f0f0;
}

.subcategory-list li:last-child {
  border-bottom: none;
}

/* Expanded state */
.category-card.active .subcategory-list {
  display: block;
}

.category-card.active .toggle-icon {
  transform: rotate(45deg);
}

/* About Page – Structured Sections */

.about-structure {
  padding: 80px 0;
  background: #fafafa;
}

.about-intro {
  max-width: 700px;
  margin-bottom: 60px;
}

.about-intro h2 {
  margin-bottom: 15px;
}

.about-intro p {
  color: var(--muted-text);
  font-size: 1.05rem;
}

/* Pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.pillar-card {
  background: #fff;
  padding: 35px;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

.pillar-card h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.pillar-card p {
  color: var(--muted-text);
  line-height: 1.7;
}

/* About page spacing refinements */
.about-structure {
  padding: 100px 0;
}

.about-intro {
  margin-bottom: 80px;
}

/* About page headings */
.about-structure h2 {
  color: var(--primary-red);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.pillar-card h3 {
  color: #111;
  font-weight: 600;
  position: relative;
}

/* Subtle accent under pillar headings */
.pillar-card h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
  margin-top: 10px;
}

/* Refined pillar grid & cards */
.about-pillars {
  gap: 50px;
}

.pillar-card {
  border-radius: 6px;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* About page text refinement */
.about-intro p,
.pillar-card p {
  font-size: 1rem;
  line-height: 1.8;
}

.about-intro p {
  font-size: 1.1rem;
}

/* Qualitative Research Methodologies Section */

.qualitative-methodologies {
  padding: 100px 0;
  background: #fff;
}

/* Intro */
.methodology-intro {
  max-width: 750px;
  margin-bottom: 70px;
}

.methodology-intro h2 {
  color: var(--primary-red);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.methodology-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted-text);
}

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

/* Cards */
.method-card {
  padding: 35px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.method-card:hover {
  border-color: var(--primary-red);
  background: #fff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.05);
}

.method-card h3 {
  font-size: 1.05rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #111;
  position: relative;
}

.method-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--primary-red);
  margin-top: 10px;
}

.method-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-text);
}

/* Global Reach Section */
.global-reach {
  padding: 100px 0;
  background: #fafafa;
}

.global-reach-intro {
  max-width: 750px;
  margin-bottom: 70px;
}

.global-reach-intro h2 {
  color: var(--primary-red);
  margin-bottom: 20px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.region-card {
  background: #fff;
  padding: 35px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.region-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.05);
}

.region-card h3 {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.region-card p {
  color: var(--muted-text);
  line-height: 1.7;
}

/* Global Execution Matrix */
.execution-matrix {
  padding: 100px 0;
  background: #fff;
}

.execution-intro {
  max-width: 750px;
  margin-bottom: 70px;
}

.execution-intro h2 {
  color: var(--primary-red);
  margin-bottom: 20px;
}

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

.execution-card {
  background: #fafafa;
  padding: 30px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
}

.execution-card h4 {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #111;
}

.execution-card p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--muted-text);
}

.execution-card strong {
  color: #111;
}

/* Enhanced Execution Cards */
.execution-card {
  position: relative;
  background: #fff;
  padding: 32px 30px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.execution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-red);
  opacity: 0.85;
}

.execution-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #111;
}

.execution-card p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.execution-card p:last-child {
  margin-bottom: 0;
}

.execution-card strong {
  font-weight: 600;
  color: #111;
}

.execution-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.execution-card p strong {
  display: inline-block;
  min-width: 90px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-bg::after {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
  }
  .form-group {
    grid-template-columns: 1fr;
  }
}
