:root {
  --primary-color-1: #8089ff;
  --primary-color-2: #e98502;
  --primary-color-3: #1aa66a;
  --primary-color-4: #fe4960;
  --primary-color-5: #a152ff;
  
  --light-shade-1: #f8faff;
  --light-shade-2: #ffebbf;
  --light-shade-3: #ecfdf5;
  --light-shade-4: #fef2f2;
  --light-shade-5: #f5f3ff;
  
  --dark-shade-1: #242551;
  --dark-shade-2: #8d2a06;
  --dark-shade-3: #074d3f;
  --dark-shade-4: #88121a;
  --dark-shade-5: #430e74;
  
  --font-size-base: 16px;
  --navbar-brand-size: 1.25rem;
  --h1-size: 2.5rem;
  --p-size: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2a2a2a;
  background-color: #fff;
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: var(--primary-color-1) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color-1) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-5) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('../MEH_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--h1-size);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.31rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: var(--p-size);
  color: #c7d6e9;
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-25px); }
}

/* Section Styling */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.39rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-shade-1);
}

.section-subtitle {
  font-size: 1.27rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color-1);
}

.section-desc {
  font-size: var(--p-size);
  text-align: center;
  margin-bottom: 3rem;
  color: #5b6e85;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Cards */
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  /* margin-bottom: 2rem; */ /* Disabled to avoid Bootstrap conflicts */
  border: 2px solid transparent;
}

.service-card:hover {
  /* transform: translateY(-12px); */ /* Disabled to avoid Bootstrap layout conflicts */
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color-1);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.69rem;
}

.service-card h4 {
  font-size: 1.40rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-shade-1);
}

.service-card p {
  font-size: var(--p-size);
  color: #6e7f9c;
  margin-bottom: 1.64rem;
}

.service-price {
  font-size: 1.60rem;
  font-weight: 700;
  color: var(--primary-color-2);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.71rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: #617587;
  font-size: 1.03rem;
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color-3);
  margin-right: 0.5rem;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
  /* margin: 1rem; */ /* Disabled to avoid Bootstrap conflicts */
  text-align: center;
}

.testimonial-text {
  font-size: var(--p-size);
  color: #5d738b;
  margin-bottom: 1.64rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-shade-1);
}

/* Team Cards */
.team-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  /* margin-bottom: 2rem; */ /* Disabled to avoid Bootstrap conflicts */
}

.team-card:hover {
  /* transform: translateY(-5px); */ /* Disabled to avoid Bootstrap layout conflicts */
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.72rem;
  border: 4px solid var(--primary-color-1);
}

.team-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.73rem;
  color: var(--dark-shade-1);
}

.team-role {
  font-size: 0.97rem;
  color: var(--primary-color-1);
}

/* FAQ */
.faq-item {
  background: #fff;
  border-radius: 11px;
  /* margin-bottom: 1rem; */ /* Disabled to avoid Bootstrap conflicts */
  border: 1px solid #e4e5e6;
  overflow: hidden;
}

.faq-question {
  background: var(--light-shade-1);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--dark-shade-1);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #ffffff;
}

.faq-answer {
  padding: 1.5rem;
  color: #5e6e7d;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-control {
  border: 2px solid #eef0f3;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: var(--p-size);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color-1);
  box-shadow: 0 0 0 0.2rem rgba(91, 110, 238, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-5) 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  /* transform: translateY(-2px); */ /* Disabled to avoid Bootstrap layout conflicts */
  background: linear-gradient(135deg, var(--dark-shade-1) 0%, var(--dark-shade-5) 100%);
}

/* Footer */
.footer {
  background: var(--dark-shade-1);
  color: #bfcad3;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer a {
  color: #d9e3f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color-1);
}

.footer-bottom {
  border-top: 1px solid #2f3a44;
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  /* margin-bottom: 1rem; */ /* Disabled to avoid Bootstrap conflicts */
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Price Plans */
.price-card {
  background: #fff;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  /* margin-bottom: 2rem; */ /* Disabled to avoid Bootstrap conflicts */
  /* position: relative; */ /* Disabled to avoid Bootstrap layout conflicts */
}

.price-card.featured {
  border: 3px solid var(--primary-color-1);
  /* transform: scale(1.05); */ /* Disabled to avoid Bootstrap layout conflicts */
}

.price-card:hover {
  /* transform: translateY(-10px); */ /* Disabled to avoid Bootstrap layout conflicts */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.price-card.featured:hover {
  /* transform: scale(1.05) translateY(-10px); */ /* Disabled to avoid Bootstrap layout conflicts */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.87rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .hero-shape {
    display: none;
  }
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-shade-1);
}

.breadcrumb-image {
  width: 20px;
  height: 20px;
}

/* Blog Grid */
/* #blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
} */ /* Disabled to avoid Bootstrap grid conflicts */

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  /* transform: translateY(-5px); */ /* Disabled to avoid Bootstrap layout conflicts */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h4 {
  font-size: 1.19rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-shade-1);
}

.blog-card p {
  color: #52657b;
  margin-bottom: 1rem;
}

.blog-card a {
  color: var(--primary-color-1);
  text-decoration: none;
  font-weight: 500;
}

.blog-card a:hover {
  text-decoration: underline;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    /* transform: translateY(-1px); */ /* Disabled to avoid Bootstrap layout conflicts */
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
