/* Consolidated site stylesheet based on the suggested colour palette in docs/colour-palette-usage.md */
:root {
  --primary-color: #d4af37; /* deep metallic gold */
  --primary-light: #ffd700; /* lighter gold for hover/highlight */
  --secondary-color: #333333; /* charcoal */
  --light-bg: #f8f8f8; /* off-white */
  --accent-color: #0066cc; /* tech blue */
  --whatsapp-color: #25d366; /* WhatsApp green */
  --muted: #6c757d;
}

/* Base typography */
body {
  font-family: "Lato", sans-serif;
  color: var(--secondary-color);
  background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* Navigation */
.navbar {
  background-color: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: white !important;
  margin: 0 10px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important; /* per palette: primary CTA gold with white text */
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
  color: #fff !important;
}

.btn-outline-primary {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.btn-success {
  background-color: var(--whatsapp-color) !important;
  border-color: var(--whatsapp-color) !important;
  color: #fff !important;
}

.btn-success:hover {
  opacity: 0.95;
}

/* Hero section (images handled per-page) */
.hero-section {
  background-size: cover;
  background-position: center;
  /* Use the provided hero image from assets/images */
  background: linear-gradient(rgba(10, 35, 66, 0.8), rgba(10, 35, 66, 0.8)),
    url("../images/mbb-consultants-website-content-and-seo-document-2025-2025-11-10T06_17_11.688Z.jpg");
  color: #fff;
  padding: 100px 0;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(51, 51, 51, 0.75), rgba(51, 51, 51, 0.6));
  pointer-events: none;
}
.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Cards & utilities */
.card,
.service-card,
.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover,
.service-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
}

.team-member {
  text-align: center;
  margin-bottom: 30px;
}
.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 5px solid var(--primary-color);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  margin-bottom: 50px;
  position: relative;
}
.timeline-content {
  position: relative;
  width: 45%;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Footer */
.footer,
footer.bg-dark {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 50px 0 20px;
}
.footer a {
  color: var(--primary-color);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--whatsapp-color);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.06);
}

/* Blog meta & badges */
.blog-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.badge.bg-primary,
.badge.bg-primary.rounded-pill {
  background-color: var(--primary-color);
  color: #fff;
}
.badge.bg-secondary {
  background-color: #6c757d;
  color: #fff;
}

/* Services section - migrated from per-page inline styles
   Uses site variables for colours and keeps spacing/visuals consistent */
.service-category {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.service-category.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-header {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-card-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: white;
  border-radius: 50%;
}

.service-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-card-body {
  padding: 40px 30px 30px;
}

.service-features {
  list-style: none; /* remove default bullet */
  padding: 0;
  margin: 20px 0;
}
.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.service-features li:last-child {
  border-bottom: none;
}
.service-features li i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  min-width: 22px;
  text-align: center;
}

/* Process Steps */
.process-steps {
  padding: 80px 0;
  background: white;
}

.step-card {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #f0c14b);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.step-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .service-card-header {
    padding: 20px;
  }

  .service-card-body {
    padding: 30px 20px 20px;
  }
}

/* Utilities */
.bg-light {
  background-color: var(--light-bg) !important;
}
.text-primary {
  color: var(--primary-color) !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .timeline::before {
    left: 30px;
  }
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  .timeline-dot {
    left: 30px;
  }
}

/* small helpers */
.text-muted {
  color: var(--muted) !important;
}

/* Form controls - gentle focus */
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.15rem rgba(212, 175, 55, 0.15);
  border-color: var(--primary-color);
}

/* CTA banner */
.cta-banner {
  background-color: var(--light-bg); 
  padding: 60px 0;
  text-align: center;
}

.btn-rounded-lg { 
    border-radius: 50px; 
}

/* Keep any additional page-specific classes but prefer variables above */

/* End of consolidated stylesheet */

/* ------------------------------------------------------------------ */
/* Blog page styles (moved from blog.php)                                */
/* These rules were previously inline in blog.php. They are page-     */
/* specific but useful to keep in the consolidated stylesheet so the   */
/* blog page no longer requires inline styles.                         */
/* ------------------------------------------------------------------ */

/* Blog Content */
.blog-section {
  padding: 80px 0;
  background: white;
}

/* Featured Post */
.featured-post {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  margin-bottom: 60px;
}

.featured-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.featured-post img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.featured-content {
  padding: 40px;
}

.featured-badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.featured-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.featured-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.95rem;
}

.featured-meta i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.3;
}

/* Ensure blog title links match the title styling (no color/visited difference or underline) */
.blog-title a,
.blog-title a:visited {
  color: inherit; /* match .blog-title color */
  text-decoration: none; /* no underline */
}

.blog-title a:hover,
.blog-title a:focus {
  color: inherit; /* keep same color on hover/focus; visual change can be handled elsewhere */
  text-decoration: none;
}

.blog-excerpt {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

/* Specific layout for the blog post meta (author + date) inside cards */
.blog-card .blog-meta .blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card .blog-meta .blog-author .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.06);
}

.blog-card .blog-meta .blog-author span {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.blog-card .blog-meta > span {
  color: #999;
  font-size: 0.9rem;
}

/* Small-screen tweak: stack author and date for narrow cards */
@media (max-width: 480px) {
  .blog-card .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .blog-card .blog-meta > span {
    order: 2;
  }
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.search-box {
  position: relative;
}

.search-box input {
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  padding: 12px 50px 12px 20px;
  width: 100%;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.search-box button:hover {
  background: #b8941f;
  transform: translateY(-50%) scale(1.1);
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li:hover {
  padding-left: 10px;
  color: var(--primary-color);
}

.category-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.category-count {
  background: var(--light-bg);
  color: var(--secondary-color);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

.recent-post {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.recent-post:last-child {
  border-bottom: none;
}

.recent-post:hover {
  padding-left: 10px;
}

.recent-post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.recent-post-content h6 {
  margin: 0 0 5px 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.recent-post-content h6 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-content h6 a:hover {
  color: var(--primary-color);
}

.recent-post-date {
  color: #999;
  font-size: 0.85rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--secondary-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Newsletter */
.newsletter-widget {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
}

.newsletter-widget .widget-title {
  color: white;
}

.newsletter-widget .widget-title::after {
  background: var(--primary-color);
}

.newsletter-form {
  margin-top: 20px;
}

.newsletter-form input {
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  width: 100%;
  margin-bottom: 15px;
}

.newsletter-form button {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #b8941f;
  transform: translateY(-2px);
}

/* Pagination */
.pagination {
  justify-content: center;
  margin-top: 60px;
}

.page-link {
  color: var(--secondary-color);
  border: 2px solid #e0e0e0;
  margin: 0 5px;
  border-radius: 10px;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.page-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Load More Button */
.load-more {
  text-align: center;
  margin-top: 60px;
}

.load-more-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 15px 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* CTA Section (blog-specific tweaks) */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://picsum.photos/seed/pattern/1920/400.jpg");
  background-size: cover;
  opacity: 0.05;
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------ */
/* About page styles (moved from about.php)                          */
/* ------------------------------------------------------------------ */

/* Hero Section (about) */
.hero-section {
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.95), rgba(10, 35, 66, 0.85)),
    url('../images/mbb-consultants-website-content-and-seo-document-2025-2025-11-10T06_17_11.688Z.jpg'); /* replaced external temp URL with local placeholder */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 120px 0 80px;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), transparent);
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}
.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Company Overview */
.overview-section {
  padding: 80px 0;
  background: white;
}
.stat-card {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 35, 66, 0.2);
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Mission Vision Values */
.mvv-section {
  padding: 80px 0;
  background: var(--light-bg);
}
.mvv-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.mvv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.mvv-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Values Grid */
.values-section {
  padding: 80px 0;
  background: white;
}
.value-card {
  text-align: center;
  padding: 30px;
  height: 100%;
  transition: all 0.4s ease;
}
.value-card:hover {
  transform: translateY(-5px);
}
.value-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), #f0c14b);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  transition: all 0.4s ease;
}
.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Timeline (about) */
.timeline-section {
  padding: 80px 0;
  background: var(--light-bg);
}
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-content {
  position: relative;
  width: 45%;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}
.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}
.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}
.timeline-year {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Team Section (about) */
.team-section {
  padding: 80px 0;
  background: white;
}
.team-member {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.team-member.visible {
  opacity: 1;
  transform: translateY(0);
}
.member-image {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.member-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary-color);
  transition: all 0.4s ease;
}
.member-image:hover img {
  transform: scale(1.05);
  border-color: var(--secondary-color);
}
.member-social {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: all 0.3s ease;
}
.member-image:hover .member-social {
  opacity: 1;
  bottom: 20px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}
.member-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.member-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}
.member-bio {
  color: #666;
  max-width: 300px;
  margin: 0 auto;
}

/* CTA Section (about-specific tweaks moved to consolidated CTA rules are already present) */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .timeline::before {
    left: 30px;
  }
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  .timeline-dot {
    left: 30px;
  }
  .stat-number {
    font-size: 2rem;
  }
}


/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .featured-title {
    font-size: 1.8rem;
  }

  .featured-content {
    padding: 30px 20px;
  }

  .sidebar {
    position: relative;
    top: 0;
    margin-top: 50px;
  }
}

.featured-post img,
.blog-card img {
  opacity: 1 !important;
}

/* ------------------------------------------------------------------ */
/* Contact page styles (moved from contact.php)                      */
/* Page-specific styles kept here so contact.php has no inline CSS.  */
/* ------------------------------------------------------------------ */

/* Contact Info Cards */
.contact-info-section {
  padding: 80px 0;
  background: white;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #f0c14b);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.contact-detail {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 10px;
}

.contact-detail a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: var(--secondary-color);
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.form-card {
  background: white;
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.form-text {
  color: #666;
  font-size: 0.9rem;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: white;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.accordion-button {
  background-color: white;
  color: var(--secondary-color);
  font-weight: 600;
  padding: 20px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A2342'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-body {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Business Hours Card */
.hours-card {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 35, 66, 0.2);
}

.hours-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hours-list li:last-child {
  border-bottom: none;
}

.day {
  font-weight: 500;
}

.time {
  color: var(--primary-color);
  font-weight: 600;
}

/* Buttons (contact page tweaks) */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #b8941f;
  border-color: #b8941f;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-success {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  border-color: var(--whatsapp-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* WhatsApp Float (reinforced for contact page) */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Message */
.success-message {
  display: none;
  background: linear-gradient(135deg, var(--accent-color), #34ce57);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  animation: slideDown 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .form-card {
    padding: 30px 20px;
  }

  .contact-card {
    margin-bottom: 30px;
  }
}
/* Pricing Section */
.pricing-section {
  background: linear-gradient(135deg, var(--light-bg), white);
  padding: 80px 0;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.3);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  padding: 40px 30px;
  text-align: center;
  position: relative;
}

.pricing-card.featured .pricing-header {
  background: linear-gradient(135deg, var(--primary-color), #f0c14b);
  color: var(--secondary-color);
}

.pricing-card:not(.featured) .pricing-header {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-color);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  margin: 20px 0;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.pricing-features {
  padding: 30px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  min-width: 22px;
  text-align: center;
}

.pricing-footer {
  padding: 0 30px 30px;
}

/* Enforce pricing-specific button styles to avoid later page-specific overrides */
.pricing-footer .btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
}

.pricing-footer .btn-outline-primary {
  background: transparent !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 12px 30px;
  border-radius: 50px;
}


/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), #1a3a5a);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://picsum.photos/seed/pattern/1920/400.jpg");
  background-size: cover;
  opacity: 0.05;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.team-member{
  opacity: 1 !important;
}

/* ------------------------------------------------------------------ */
/* Breadcrumbs - beautiful, pill style consistent with site palette      */
/* ------------------------------------------------------------------ */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 18px;
}
.breadcrumb ol {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.breadcrumb-item {
  display: inline-block;
  background: rgba(10,35,66,0.06);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.breadcrumb-item a {
  color: var(--secondary-color);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: var(--primary-color);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '\203A'; /* single chevron */
  margin: 0 8px;
  color: #cfcfcf;
  font-weight: 600;
}
.breadcrumb-item.active {
  background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(0,0,0,0.02));
  color: var(--secondary-color);
  font-weight: 600;
}

/* Comments area styling */
.comments-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-top: 40px;
}
.comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary-color);
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.comment-item {
  padding: 18px;
  border-radius: 10px;
  background: var(--light-bg);
  margin-bottom: 12px;
}
.comment-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.comment-author {
  font-weight: 600;
  color: var(--secondary-color);
  margin-right: 8px;
}
.comment-body {
  color: #333;
  line-height: 1.6;
}
.comment-reply { 
  font-size: 0.85rem; 
  color: var(--primary-color); 
  text-decoration: none; 
}

.comment-form .form-control,
.comment-form textarea {
  border-radius: 8px;
}
.comment-form .form-submit .btn-primary {
  border-radius: 8px;
}

/* Card grid layout for comments */
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.comment-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.comment-avatar {
  flex: 0 0 56px;
}
.comment-body-wrap {
  flex: 1 1 auto;
}
.comment-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.comment-author { font-weight: 700; color: var(--secondary-color); margin-right: 6px; }
.comment-excerpt { color: #333; line-height: 1.6; }
.comment-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-top: 20px;
}

@media (max-width: 768px) {
  .breadcrumb-item { padding: 6px 10px; font-size: 0.9rem; }
  .comments-section { padding: 18px; }
}