@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #00B89F;
  --secondary-color: #003152;
  --text-color: #2A2A2A;
  --background-color: #F9FAFB;
  --txet-white-color: #FAFAFA;
  --black-color: #000000;
  --white-color: #FFFFFF;
  --mist-gray: #EDF2F6;
  --btn-color: #007BCE;
  --gradiyant-box: linear-gradient(135deg,
      rgba(179, 234, 227, 1) 0%,
      rgba(179, 216, 241, 1) 100%);
  --whatshapp-color: #25D366;
  --primary-dark-color: #003730;
  --p-100: #E6F8F6;
  --p-200: #B3EAE3;
  --p-300: #99E3D9;
  --p-400: #33C6B2;
  --p-500: #004A40;
  --p-600: #003730;
  --p-800: #000C15;
  --s-100: #E6F2FB;
  --s-200: #B3D8F1;
  --s-300: #99CAEB;
  --s-400: #3395D8;
  --s-500: #007BCE;
  --s-600: #007BCE;
  --s-800: #00253E;
}


.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 600;
}


.section-header p {
  color: #767676;
  margin-top: 5px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.featured-blog {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.featured-blog img {
  width: 100%;
  display: block;
  border-radius: 16px;
  position: relative;
}

.featured-blog::after {

  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  transition: all 0.3s ease;
  z-index: 0;
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--txet-white-color);
  padding: 20px;
  width: 100%;
  border-radius: 0 0 16px 16px;
  z-index: 1;
}

.featured-content small {
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.blog-card {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease-in-out;
}

.blog-card img,
.featured-blog img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Blog Card Image Wrapper */
.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}


.blog-card img {
  border-bottom: none;
}

.blog-content {
  padding: 16px 0;
}

.blog-content h4 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.blog-content p {
  font-size: 16px;
  color: var(--text-color);
}

.blockquote-footer {
  margin-top: 0;
  background-color: var(--mist-gray);
  font-size: 1.5rem;
}



.blog-detail .blog-main-image {
  /* border-radius: 16px; */
  object-fit: cover;
  max-height: 480px;
  /* border-radius: 20px !important; */
  box-shadow: 0px 0px 50px #0000001a;
}

.blog-content {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
}

.blog-content h3 {
  margin-top: 30px;
  font-size: 24px;
  color: var(--primary-color);
}

.blog-content ul {
  padding-left: 20px;
  margin-top: 15px;
}

.blockquote {
  font-size: 1.25rem;
  border-left: 5px solid var(--primary-color);
  padding-left: 20px;
  color: #555;
}

.related-posts h5 {
  margin-bottom: 15px;
  font-weight: 600;
}

.blog-card.small h6 {
  font-size: 16px;
  color: #111;
}

/* Blog Details Page Custom Styles */

.blog-detail .blog-content {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #222;
}

.blog-detail .benefit-card {
  background: #f8f9fa;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.blog-detail .benefit-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: #e6f7fa;
}

.blog-detail .checkup-steps .step-item {
  background: #f7fafd;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.blog-detail .alert-info {
  background: #e6f7fa;
  border-color: #b6e0f7;
  color: #0a4d6b;
}

.blog-detail .alert-success {
  background: #e6fae6;
  border-color: #b6f7b6;
  color: #176b0a;
}

.blog-detail .blockquote {
  border-left: 4px solid #00b89f;
  background: #f8f9fa;
  font-style: italic;
}

.blog-detail .social-share .btn {
  border-radius: 20px;
  font-size: 16px;
  padding: 0.3rem 1rem;
}

.social-share img {
  width: 16px !important;
}

.btn-info {
  border: none;
  color: var(--white-color);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog-detail .blog-card-hover {
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
}

.blog-detail .blog-card-hover:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px) scale(1.03);
  background: #f8f9fa;
}

/* Sidebar Cards */
.blog-detail .card {
  border-radius: 12px;
  /* box-shadow: 0 1px 4px rgba(0,0,0,0.04); */
  margin-bottom: 1.5rem;
}

.blog-detail .card-title {
  font-weight: 600;
  color: #003152;
}

.blog-detail .card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e6e6e6;
}

/* Newsletter */
.blog-detail .card input[type="email"] {
  border-radius: 20px;
  border: 1px solid #b6e0f7;
  font-size: 0.98rem;
}

.blog-detail .card .btn-custom {
  border-radius: 20px;
  background: #00b89f;
  color: #fff;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991px) {

  .blog-detail .col-lg-8,
  .blog-detail .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .blog-detail .col-lg-4 {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .blog-detail .blog-content {
    font-size: 1rem;
    padding: 0 2px;
  }

  .blog-detail .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .blog-detail .related-posts .row {
    flex-direction: column;
  }

  .blog-detail .related-posts .col-md-4 {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}

/* Accordion Custom */
.blog-detail .accordion-button {
  background: #f8f9fa;
  font-weight: 500;
  color: #003152;
}

.blog-detail .accordion-button:not(.collapsed) {
  color: #00b89f;
  background: #e6f7fa;
}

/* Section Spacing */
.blog-detail h3 {
  color: #003152;
  font-weight: 600;
}

.blog-detail .related-posts h4 {
  color: #003152;
  font-weight: 600;
}

.card {
  background-color: transparent !important;
}

.related-posts img {
  /* min-height: 295px; */
  border-radius: 20px;
}

.blog-main-image {
  width: 100%;
  height: 600px;
  background-image: url(../images/blog/hair-lg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin-bottom: 20px;
}

.btn.btn-primary.btn-info {
  background-color: #1DA1F2 !important;
}

.btn.btn-primary.btn-success {
  background-color: #075e54 !important;
}

.btn.btn-primary.btn-secondary {
  background-color: #0077B5 !important;
}

.blog-content h6 {
  font-size: 18px;
}