.testimonial-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #2c5aa0;
}

.testimonial-company {
    color: #666;
    font-size: 14px;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.sample-dashboards-section {
    background: white;
    padding: 60px 0;
}

.sample-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.sample-dashboard-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sample-dashboard-card:hover {
    border-color: #2c5aa0;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.sample-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.sample-dashboard-card h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 20px;
}

.sample-dashboard-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.sample-link {
    background: #2c5aa0;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.sample-link:hover {
    background: #1a4082;
    color: white;
    text-decoration: none;
}

.sample-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #f1f3f5;
    border-radius: 12px;
}

.sample-cta p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

:root {
  /* Brand Colors */
  --primary-color: #005A9C; /* Professional Blue */
  --secondary-color: #0078D4; /* Lighter Blue */
  --accent-color: #FDB813; /* A warm accent, like yellow/gold */

  /* Status Colors */
  --success-green: #92b57c;
  --success-green-dark: #7ca05f;
  --danger-red: #ef4444;
  --danger-red-dark: #991b1b;

  /* Text & Neutral Colors */
  --text-color: #333;
  --text-color-light: #4a5568;
  --heading-color: #1e293b;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
  --white: #fff;
  --border-color: #e0e0e0;

  /* City Link Specific Colors */
  --city-link-blue: #0d6efd;
  --city-link-hover-bg: #e2f1ff;
  --city-link-hover-text: #0056b3;
  --city-link-hover-border: #b6d4fe;

  /* Global UI Elements */
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --header-height: 70px; /* Consistent header height */
  --mobile-header-height: 60px; /* Consistent mobile header height */
}

/* --- Global Resets & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading-color);
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.3em; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Utility & General Section Styling --- */
.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  font-size: 1.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
  background-color: #e0a00b; /* Darker accent on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.page-section {
  padding: 80px 0;
}

.page-section.bg-light-gray {
  background-color: var(--light-gray);
}

.page-section.bg-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.page-section.bg-primary h1,
.page-section.bg-primary h2,
.page-section.bg-primary h3 {
  color: var(--white);
}

.page-section.bg-primary .section-heading::after {
  background-color: var(--accent-color);
}

.section-heading {
  text-align: center;
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* --- Header & Navigation --- */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

header .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

header .logo {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-color);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

header nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-section, /* Generic hero */
.hire-hero-section { /* Specific hero */
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section h1,
.hire-hero-section h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-section p,
.hire-hero-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Stats Grid Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1em;
  color: var(--text-color-light);
  font-weight: 500;
}

/* --- Expert Listing Section --- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.expert-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 25px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.expert-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--light-gray);
}

.expert-name {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.expert-location {
  margin-bottom: 15px;
  color: var(--text-color-light);
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.location-icon {
  width: 1em;
  height: 1em;
  fill: var(--secondary-color);
  vertical-align: middle;
}

.expert-skills {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.expert-skills span {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8em;
  border: 1px solid #ddd;
}

.expert-cta {
  margin-top: auto;
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 0.95em;
  padding: 10px 20px;
}

.expert-cta:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* --- How It Works Section --- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.how-it-works-item {
  padding: 20px;
}

.how-it-works-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
}

.how-it-works-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card img.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
  flex-grow: 0;
}

.service-card p {
  font-size: 0.95em;
  color: var(--dark-gray);
  flex-grow: 1;
  margin-bottom: 0;
}

/* --- City Links Section --- */
.city-links-section .section-heading {
  color: var(--city-link-blue);
}

.city-links-section .section-heading::after {
  background-color: var(--city-link-blue);
}

.city-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px 30px;
}

.city-links-list li a {
  display: block;
  padding: 10px 15px;
  color: #495057;
  background-color: var(--white);
  border-radius: 5px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.city-links-list li a:hover {
  background-color: var(--city-link-hover-bg);
  color: var(--city-link-hover-text);
  border-color: var(--city-link-hover-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- Content Wrapper (for text-heavy pages) --- */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  text-align: left;
}

.content-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--success-green), var(--success-green-dark));
  border-radius: 2px;
}

.content-wrapper h3 {
  font-size: 1.8rem;
  color: #334155;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}

.content-wrapper h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 100%;
  background: var(--success-green);
  border-radius: 3px;
}

.content-wrapper h4 {
  font-size: 1.3rem;
  color: #475569;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-wrapper p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.content-wrapper > p:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.content-wrapper ul li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color-light);
  margin-bottom: 1rem;
  padding-left: 35px;
  position: relative;
}

.content-wrapper ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success-green);
  font-weight: bold;
  font-size: 1.2rem;
  width: 25px;
  height: 25px;
  background: #f0f7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-box, .testimonial-box {
  background: #f8fafc;
  border-left: 5px solid var(--success-green);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.story-box p, .testimonial-box p {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.testimonial-author {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

.warning-box {
  background: #fef2f2;
  border-left: 5px solid var(--danger-red);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.warning-box p { color: var(--danger-red-dark); margin-bottom: 0.5rem; }
.warning-box p strong { color: #7f1d1d; }

.cta-section {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-section h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.cta-section h3::before { display: none; }

.cta-section p {
  color: #cbd5e1;
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, .25);
}

#contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

#contact-form button.cta-button {
  width: 100%;
  margin-top: 10px;
}

/* --- Contact Page Cards --- */
.contact-methods-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.contact-card p {
    color: var(--text-color-light);
    margin-bottom: 25px;
    flex-grow: 1;
}

.contact-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-link:hover {
    background-color: var(--secondary-color);
}


/* === MODAL POPUP STYLES === */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(30, 41, 59, 0.8); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  z-index: 1050; opacity: 0; transition: opacity 0.3s ease; padding: 20px;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--white); padding: 40px; padding-top: 80px;
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%; max-width: 600px; text-align: center; position: relative;
  transform: scale(0.95) translateY(10px); transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute; top: 15px; right: 20px; background: none; border: none;
  font-size: 28px; font-weight: 300; color: #999; cursor: pointer; line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-image {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  margin: -155px auto 20px; position: relative; z-index: 1;
  border: 5px solid var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.modal-name {
  font-size: 2.2em; color: var(--success-green); margin-bottom: 5px; font-weight: 700;
}

.modal-title {
  font-size: 1.2em; color: var(--dark-gray); margin-bottom: 25px; font-weight: 600;
}

.modal-bio {
  font-size: 1em; color: var(--text-color); line-height: 1.7; text-align: left;
}

body.modal-open {
  overflow: hidden;
}

/* --- Footer --- */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  margin-top: auto;
}

footer p {
  margin: 0;
  font-size: 0.9em;
}

/* =========================== */
/* --- Responsive Design --- */
/* =========================== */
@media (max-width: 1024px) {
  .expert-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .expert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
  body { font-size: 15px; }

  header .nav-container { height: var(--mobile-header-height); }

  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--mobile-header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-top: 1px solid #eee;
  }

  header nav ul.active { display: flex; }

  header nav ul li { margin: 0; width: 100%; }

  header nav ul li a {
    display: block;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }
  header nav ul li:last-child a { border-bottom: none; }

  .hamburger { display: block; }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .page-section { padding: 60px 0; }
  .section-heading { font-size: 1.8rem; }

  .hero-section h1, .hire-hero-section h1 { font-size: 2.2em; }
  .hero-section p, .hire-hero-section p { font-size: 1.1em; }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: 30px;
  }
  .stat-card { padding: 20px 15px; }
  .stat-number { font-size: 2em; }
  .stat-label { font-size: 1em; }
  
  .expert-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }

  .content-wrapper h2 { font-size: 2rem; }
  .content-wrapper h3 { font-size: 1.5rem; }
  .cta-section { padding: 2rem 1.5rem; }

  .modal { padding: 25px; padding-top: 60px; }
  .modal-image { width: 120px; height: 120px; margin: -85px auto 15px; }
  .modal-name { font-size: 1.8em; }
  .modal-title { font-size: 1.1em; }
  
  .contact-methods-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-card {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }

  .page-section { padding: 40px 0; }

  h1 { font-size: 1.8em; }
  h2 { font-size: 1.6em; }

  .cta-button {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .expert-grid, .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}