/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
}

:root {
  /* Primary Brand Colors */
  --background-color: #072e47;
  --green-btn: #23d100;
  --color-home-bg: #f5f5f2;
  --color-primary: #ffca40;
  --color-primary-lighter: #ffe599;
  --color-primary-lighter-50: #f8f3e5;
  --color-primary-darker: #cc9c2d;
  --color-primary-hover: #f5c036;
  --color-primary-active: #d9a52c;
  --color-primary-disabled: #e6d8a8;
  --color-primary-text-disabled: #8c8c8c;
  --color-black: black;
  /* --red-colour: rgba(255, 0, 0, 0.548); */
  --toast-colour-success: #23d100;
  --color-ash: rgb(56, 56, 56);
  --color-lightblack: rgba(151, 151, 151, 0.89);
  --color-white: #ffffff;
  --feature-blue: rgb(182, 207, 207);
  --card-feature-shadow: 0 20px 30px rgba(33, 182, 199, 0.87);
  --black-shadow: 0 -1px 1px rgba(8, 8, 8, 0.1) !important;
  --card-shadow-black: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  --card-overlay-gradient: linear-gradient(
    var(--card-white-overlay-start),
    var(--card-white-overlay-end)
  );
  --card-white-overlay-end: rgba(255, 255, 255, 0.45);
  --card-white-overlay-start: rgba(253, 253, 253, 0.55);
  --card-gradinet: linear-gradient(
    135deg,
    #f1eacff5 0%,
    #f3e48cf6 50%,
    #f7d765 120%
  );
  --card-blue: linear-gradient(
    135deg,
    #def4f8f5 0%,
    #dbf2faf6 50%,
    #f3e48cf6 120%
  );
  --header-blue: radial-gradient(
    circle at top right,
    #fcf8ec 30%,
    #e0f1f8 65%,
    #e0f0f5 100%
  );
  --card-white-shadow: 0 10px 30px rgba(252, 248, 248, 0.08);
}

.search-wrapper {
  position: relative;
  max-width: 720px;
  width: 100%;
}

.search-input {
  width: 100%;
  /* height: 50px; */
  padding: 16px 52px 16px 24px;
  border-radius: 50px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #9ca3af;
  pointer-events: none;
}

.search-input:focus {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

/* cards */
.blog-section {
  background: #fffaf3;
}

.blog-card {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
}

/* Image wrapper controls size */
.blog-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* 🔥 KEY FIX */
  overflow: hidden;
}

/* Image fills wrapper */
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image wrapper controls size */
.blog-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* 🔥 KEY FIX */
  overflow: hidden;
}

/* Image fills wrapper */
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* .blog-card img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 14px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  height: 220px;
} */

.blog-card h5 {
  font-weight: 700;
  line-height: 1.3;
}

.blog-card p {
  font-size: 15px;
  /* color: #555; */
}

.blog-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  /* color: #000; */
  /* color:#e0f0f5 */
  font-weight: 600;
  text-decoration: none;
}

.blog-card a span {
  background: #000;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-card a {
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.blog-card a span {
  transition: all 0.25s ease;
}

.blog-card a:hover {
  background: #ffca40;
  color: #000;
  /* padding: 1px 1px; */
}

.blog-card a:hover span {
  background: #000;
  color: #ffca40;
}

/* .pricing-card3 {
  min-height: 500px !important;
} */

.pricing-card {
  border-radius: 12px;
  border: 1px solid var(--color-card) !important;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.pricing-card {
  border-radius: 14px;
  background: #ffffff;
}
.pricing-card-wrap {
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.pricing-card {
  height: 100%;
  min-height: 620px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .pricing-card {
    margin-bottom: 24px;
  }
}

.pricing-card {
  height: 100%;
  min-height: 620px;
  justify-content: space-between;
}

.pricing-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-white);

  transition: all 0.3s ease;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-content {
  flex: 1;
}

.blog-btn {
  margin: 12px;
}

/* Category wrapper */
.blog-category {
  margin-top: 0;
}

/* Category title spacing (consistent for all) */
.blog-category-title {
  margin-bottom: 1.25rem;
  margin-top: 0; /* IMPORTANT: removes extra top space */
}

/* Separator between categories */
.blog-separator {
  margin: 2rem 0;
  border-color: rgba(255, 255, 255, 0.8);
}

.blog-detail-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #eaeaea;
}

.blog-detail-content p {
  margin-bottom: 1rem;
}

.blog-detail-content h2,
.blog-detail-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blogCategory {
  color: var(--color-home-bg) !important;
}

/* SEARCH DROPDOWN CONTAINER */
.search-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #0b2c3d, #07202e);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 999;
  animation: fadeSlide 0.2s ease-in-out;
}

/* ITEM */
.search-item {
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.search-item:last-child {
  border-bottom: none;
}

/* HOVER */
.search-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* TITLE */
.search-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

/* CATEGORY */
.search-category {
  font-size: 13px;
  color: #9fb6c6;
  margin-top: 4px;
}

/* EMPTY / ERROR */
.search-empty {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #9fb6c6;
}

/* ANIMATION */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-item.active {
  background: rgba(255, 255, 255, 0.08);
}
