/*=========================================================
    BLOGS PAGE
    HERO SECTION
=========================================================*/

/*=========================================
        HERO SECTION
=========================================*/

.service-hero {
  background: url("../images/blogs-banner.jpg") no-repeat center center;

  background-size: cover;
}

/*=========================================
        HERO OVERLAY
=========================================*/

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at left center,
      rgba(255, 248, 235, 0.95) 0%,
      rgba(255, 248, 235, 0.72) 30%,
      rgba(255, 248, 235, 0.28) 60%,
      rgba(255, 248, 235, 0) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.55) 42%,
      rgba(255, 255, 255, 0.12) 72%,
      rgba(255, 255, 255, 0) 100%
    );
}

/*=========================================
        DECORATION
=========================================*/

.service-hero::before {
  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  left: -250px;

  top: -180px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(184, 138, 27, 0.12),
    transparent 72%
  );
}

.service-hero::after {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  right: -120px;

  bottom: -120px;

  border-radius: 50%;

  background: rgba(184, 138, 27, 0.08);
}

/*=========================================
        CONTAINER
=========================================*/

.service-hero .container {
  position: relative;

  z-index: 5;
}

/*=========================================
        WRAPPER
=========================================*/

.service-hero-wrapper {
  display: grid;

  grid-template-columns: 1fr;

  align-items: center;
}

/*=========================================
        HERO CONTENT
=========================================*/

.service-hero-content {
  max-width: 760px;

  opacity: 1;

  transform: translateY(40px);

  transition: 0.9s ease;
}

.service-hero-content.show {
  opacity: 1;

  transform: translateY(0);
}

/*=========================================
        BREADCRUMB
=========================================*/

.breadcrumb {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 25px;

  font-size: 15px;
}

.breadcrumb a {
  color: #5f6674;

  text-decoration: none;

  transition: 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--primary);

  font-weight: 600;
}

/*=========================================
        HERO TAG
=========================================*/

.hero-tag {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 12px 22px;

  border-radius: 50px;

  background: rgba(184, 138, 27, 0.12);

  color: var(--primary);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 30px;
}

.hero-tag::before {
  content: "";

  width: 30px;

  height: 2px;

  background: var(--primary);
}

/*=========================================
        TITLE
=========================================*/

.service-hero-content h1 span {
  display: block;

  color: var(--primary);
}

/*=========================================
        SEARCH BOX
=========================================*/

.hero-search {
  margin-top: 40px;

  max-width: 620px;
}

.hero-search form {
  display: flex;

  align-items: center;

  background: #ffffff;

  border-radius: 60px;

  overflow: hidden;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.hero-search input {
  flex: 1;

  height: 65px;

  border: none;

  outline: none;

  padding: 0 28px;

  font-size: 16px;

  color: var(--secondary);

  background: transparent;
}

.hero-search input::placeholder {
  color: #98a2b3;
}

.hero-search button {
  width: 70px;

  height: 65px;

  border: none;

  background: var(--primary);

  color: #ffffff;

  font-size: 18px;

  cursor: pointer;

  transition: 0.35s;
}

.hero-search button:hover {
  background: var(--secondary);
}

/*=========================================
        RESPONSIVE
=========================================*/

@media (max-width: 1200px) {
  .service-hero-content h1 {
    font-size: 56px;
  }
}

@media (max-width: 991px) {
  .service-hero {
    min-height: auto;

    padding: 110px 0 90px;
  }

  .service-hero-content {
    max-width: 100%;

    text-align: center;

    margin: auto;
  }

  .service-hero-content p {
    margin: auto;
  }

  .breadcrumb {
    justify-content: center;
  }

  .hero-search {
    margin: 40px auto 0;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 90px 0 70px;
  }

  .service-hero-content h1 {
    font-size: 42px;
  }

  .service-hero-content p {
    font-size: 16px;
  }

  .hero-search input {
    height: 58px;

    font-size: 15px;
  }

  .hero-search button {
    width: 60px;

    height: 58px;
  }
}

@media (max-width: 576px) {
  .service-hero-content h1 {
    font-size: 34px;
  }

  .breadcrumb {
    justify-content: center;

    flex-wrap: wrap;

    font-size: 14px;
  }

  .hero-tag {
    font-size: 12px;

    padding: 10px 18px;
  }

  .hero-search form {
    border-radius: 16px;
  }
}
/*=========================================================
    BLOGS PAGE
    FEATURED BLOG
=========================================================*/

/*=========================================
        FEATURED BLOG
=========================================*/

.featured-blog {
  position: relative;

  padding: 100px 0;

  background: #ffffff;

  overflow: hidden;
}

/*=========================================
        BACKGROUND
=========================================*/

.featured-blog::before {
  content: "";

  position: absolute;

  width: 620px;

  height: 620px;

  left: -260px;

  top: -220px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(184, 138, 27, 0.08),
    transparent 72%
  );
}

.featured-blog::after {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  right: -180px;

  bottom: -180px;

  border-radius: 50%;

  background: rgba(184, 138, 27, 0.05);
}

/*=========================================
        WRAPPER
=========================================*/

.featured-blog-wrapper {
  position: relative;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;

  z-index: 2;
}

/*=========================================
        IMAGE
=========================================*/

.featured-blog-image {
  position: relative;

  overflow: hidden;

  border-radius: 28px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);

  opacity: 1;

  transform: translateX(-40px);

  transition: 0.8s ease;
}

.featured-blog-image.show {
  opacity: 1;

  transform: translateX(0);
}

.featured-blog-image img {
  width: 100%;

  display: block;

  transition: 0.5s;
}

.featured-blog-image:hover img {
  transform: scale(1.06);
}

/*=========================================
        BADGE
=========================================*/

.featured-badge {
  position: absolute;

  top: 25px;

  left: 25px;

  background: var(--primary);

  color: #ffffff;

  padding: 12px 20px;

  border-radius: 50px;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}

/*=========================================
        CONTENT
=========================================*/

.featured-blog-content {
  opacity: 1;

  transform: translateX(40px);

  transition: 0.8s ease;
}

.featured-blog-content.show {
  opacity: 1;

  transform: translateX(0);
}

/*=========================================
        CATEGORY
=========================================*/

.blog-category {
  display: inline-block;

  padding: 10px 22px;

  margin-bottom: 20px;

  border-radius: 50px;

  background: rgba(184, 138, 27, 0.1);

  color: var(--primary);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}

/*=========================================
        META
=========================================*/

.blog-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 25px;

  margin-bottom: 20px;
}

.blog-meta span {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #667085;

  font-size: 15px;
}

.blog-meta i {
  color: var(--primary);
}

/*=========================================
        TITLE
=========================================*/

.featured-blog-content h2 {
  font-size: 44px;

  line-height: 1.25;

  color: var(--secondary);

  margin-bottom: 22px;
}

/*=========================================
        DESCRIPTION
=========================================*/

.featured-blog-content p {
  color: #667085;

  line-height: 1.9;

  margin-bottom: 28px;
}

/*=========================================
        LIST
=========================================*/

.featured-list {
  list-style: none;

  padding: 0;

  margin: 0 0 35px;
}

.featured-list li {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 15px;

  color: #667085;
}

.featured-list li:last-child {
  margin-bottom: 0;
}

.featured-list i {
  width: 26px;

  height: 26px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: rgba(184, 138, 27, 0.1);

  color: var(--primary);

  font-size: 12px;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media (max-width: 991px) {
  .featured-blog {
    padding: 80px 0;
  }

  .featured-blog-wrapper {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .featured-blog-content {
    text-align: center;
  }

  .featured-list {
    display: inline-block;

    text-align: left;
  }

  .blog-meta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .featured-blog {
    padding: 70px 0;
  }

  .featured-blog-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .featured-blog-content h2 {
    font-size: 28px;
  }

  .featured-badge {
    left: 15px;

    top: 15px;

    font-size: 11px;

    padding: 8px 15px;
  }
}
/*=========================================================
    BLOGS PAGE
    LATEST ARTICLES
=========================================================*/

/*=========================================
        LATEST BLOGS
=========================================*/

.latest-blogs {
  position: relative;

  padding: 100px 0;

  background: var(--light);

  overflow: hidden;
}

/*=========================================
        BACKGROUND DECORATION
=========================================*/

.latest-blogs::before {
  content: "";

  position: absolute;

  width: 520px;

  height: 520px;

  top: -220px;

  right: -220px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(184, 138, 27, 0.08),
    transparent 72%
  );
}

.latest-blogs::after {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  bottom: -180px;

  left: -180px;

  border-radius: 50%;

  background: rgba(184, 138, 27, 0.05);
}

/*=========================================
        COMMON SECTION HEADER
=========================================*/

.section-header {
  position: relative;

  max-width: 760px;

  margin: 0 auto 70px;

  text-align: center;

  z-index: 2;
}

.section-header .section-tag {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 12px 24px;

  border-radius: 50px;

  background: rgba(184, 138, 27, 0.1);

  color: var(--primary);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 22px;
}

.section-header .section-tag::before {
  content: "";

  width: 30px;

  height: 2px;

  background: var(--primary);
}

.section-header h2 {
  font-size: 48px;

  color: var(--secondary);

  line-height: 1.2;

  margin-bottom: 22px;
}

.section-header h2 span {
  display: block;

  color: var(--primary);
}

.section-header p {
  color: #667085;

  font-size: 17px;

  line-height: 1.9;
}

/*=========================================
        BLOG GRID
=========================================*/

.blogs-grid {
  position: relative;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  z-index: 2;
}

/*=========================================
        BLOG CARD
=========================================*/

.blog-card {
  background: #ffffff;

  border-radius: 24px;

  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.05);

  transition: 0.35s ease;

  opacity: 1;

  transform: translateY(40px);
}

.blog-card.show {
  opacity: 1;

  transform: translateY(0);
}

.blog-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

/*=========================================
        IMAGE
=========================================*/

.blog-image {
  overflow: hidden;
}

.blog-image img {
  width: 100%;

  display: block;

  transition: 0.5s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

/*=========================================
        CONTENT
=========================================*/

.blog-content {
  padding: 30px;
}

.blog-content .blog-category {
  margin-bottom: 18px;
}

.blog-content h3 {
  font-size: 25px;

  color: var(--secondary);

  line-height: 1.35;

  margin: 18px 0 18px;

  transition: 0.3s;
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-content p {
  color: #667085;

  line-height: 1.8;

  margin-bottom: 25px;
}

/*=========================================
        READ MORE
=========================================*/

.blog-content a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  text-decoration: none;

  color: var(--secondary);

  font-weight: 700;

  transition: 0.3s;
}

.blog-content a i {
  transition: 0.3s;
}

.blog-content a:hover {
  color: var(--primary);
}

.blog-content a:hover i {
  transform: translateX(6px);
}

/*=========================================
        RESPONSIVE
=========================================*/

@media (max-width: 1200px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .latest-blogs {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .latest-blogs {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 30px;
  }

  .section-header p {
    font-size: 15px;
  }

  .blog-content {
    padding: 25px;
  }

  .blog-content h3 {
    font-size: 22px;
  }
}
/*=========================================================
    BLOGS PAGE
    CATEGORIES
=========================================================*/

/*=========================================
        BLOG CATEGORIES
=========================================*/

.blog-categories {
  position: relative;

  padding: 100px 0;

  background: #ffffff;

  overflow: hidden;
}

/*=========================================
        BACKGROUND DECORATION
=========================================*/

.blog-categories::before {
  content: "";

  position: absolute;

  width: 600px;

  height: 600px;

  left: -260px;

  top: -220px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(184, 138, 27, 0.08),
    transparent 72%
  );
}

.blog-categories::after {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  right: -180px;

  bottom: -180px;

  border-radius: 50%;

  background: rgba(184, 138, 27, 0.05);
}

/*=========================================
        GRID
=========================================*/

.categories-grid {
  position: relative;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  z-index: 2;
}

/*=========================================
        CARD
=========================================*/

.category-card {
  position: relative;

  display: block;

  padding: 40px 35px;

  background: #ffffff;

  border: 1px solid rgba(0, 0, 0, 0.05);

  border-radius: 24px;

  text-decoration: none;

  overflow: hidden;

  transition: 0.35s ease;

  opacity: 1;

  transform: translateY(40px);
}

.category-card.show {
  opacity: 1;

  transform: translateY(0);
}

.category-card::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  height: 5px;

  background: var(--primary);

  transform: scaleX(0);

  transition: 0.35s;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

/*=========================================
        ICON
=========================================*/

.category-icon {
  width: 82px;

  height: 82px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 20px;

  background: rgba(184, 138, 27, 0.1);

  margin-bottom: 28px;

  transition: 0.35s;
}

.category-icon i {
  font-size: 34px;

  color: var(--primary);

  transition: 0.35s;
}

.category-card:hover .category-icon {
  background: var(--primary);

  transform: rotate(-8deg);
}

.category-card:hover .category-icon i {
  color: #ffffff;
}

/*=========================================
        CONTENT
=========================================*/

.category-card h3 {
  font-size: 25px;

  color: var(--secondary);

  margin-bottom: 18px;

  transition: 0.3s;
}

.category-card:hover h3 {
  color: var(--primary);
}

.category-card p {
  color: #667085;

  line-height: 1.9;

  margin: 0;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .blog-categories {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .blog-categories {
    padding: 70px 0;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .category-card {
    text-align: center;

    padding: 30px 25px;
  }

  .category-icon {
    margin: 0 auto 25px;
  }

  .category-card h3 {
    font-size: 22px;
  }
}
/*=========================================================
    BLOGS PAGE
    NEWSLETTER & CTA
=========================================================*/

/*=========================================
        NEWSLETTER
=========================================*/

.newsletter-section {
  position: relative;

  padding: 100px 0;

  background: var(--light);

  overflow: hidden;
}

/*=========================================
        BACKGROUND
=========================================*/

.newsletter-section::before {
  content: "";

  position: absolute;

  width: 600px;

  height: 600px;

  top: -250px;

  right: -250px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(184, 138, 27, 0.08),
    transparent 72%
  );
}

.newsletter-section::after {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  bottom: -180px;

  left: -180px;

  border-radius: 50%;

  background: rgba(184, 138, 27, 0.05);
}

/*=========================================
        NEWSLETTER BOX
=========================================*/

.newsletter-box {
  position: relative;

  background: #ffffff;

  border-radius: 30px;

  padding: 70px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);

  z-index: 2;

  overflow: hidden;
}

.newsletter-box::before {
  content: "";

  position: absolute;

  left: -180px;

  top: -180px;

  width: 500px;

  height: 500px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(184, 138, 27, 0.1), transparent 72%);
}

/*=========================================
        CONTENT
=========================================*/

.newsletter-content {
  position: relative;

  z-index: 2;

  text-align: center;

  max-width: 760px;

  margin: 0 auto 45px;
}

.newsletter-content .section-tag {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 12px 24px;

  margin-bottom: 22px;

  border-radius: 50px;

  background: rgba(184, 138, 27, 0.1);

  color: var(--primary);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.newsletter-content .section-tag::before {
  content: "";

  width: 30px;

  height: 2px;

  background: var(--primary);
}

.newsletter-content h2 {
  font-size: 48px;

  color: var(--secondary);

  line-height: 1.2;

  margin-bottom: 22px;
}

.newsletter-content h2 span {
  display: block;

  color: var(--primary);
}

.newsletter-content p {
  color: #667085;

  font-size: 17px;

  line-height: 1.9;
}

/*=========================================
        FORM
=========================================*/

.newsletter-form {
  position: relative;

  z-index: 2;

  max-width: 700px;

  margin: auto;

  display: flex;

  gap: 18px;
}

.newsletter-form input {
  flex: 1;

  height: 62px;

  padding: 0 24px;

  border-radius: 50px;

  border: 1px solid rgba(0, 0, 0, 0.1);

  outline: none;

  font-size: 16px;

  transition: 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 4px rgba(184, 138, 27, 0.1);
}

.newsletter-form .btn {
  min-width: 180px;
}

/*=========================================================
    CALL TO ACTION
=========================================================*/

.about-cta {
  padding: 0 0 70px;

  background: var(--light);
}

.cta-box {
  position: relative;

  overflow: hidden;

  padding: 90px 80px;

  border-radius: 35px;

  background: linear-gradient(135deg, #fffdf8 0%, #fdf7eb 45%, #f8f1df 100%);

  text-align: center;

  opacity: 1;

  transform: translateY(50px);

  transition: 0.8s ease;
}

.cta-box.show {
  opacity: 1;

  transform: translateY(0);
}

.cta-box::before {
  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  left: -250px;

  top: -180px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(198, 146, 20, 0.18),
    transparent 72%
  );
}

.cta-box::after {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  right: -180px;

  bottom: -180px;

  border-radius: 50%;

  background: rgba(198, 146, 20, 0.08);
}

.cta-content {
  position: relative;

  z-index: 2;

  max-width: 760px;

  margin: auto;
}

.cta-content .sub-title {
  display: inline-block;

  padding: 10px 24px;

  margin-bottom: 20px;

  border-radius: 50px;

  background: var(--primary);

  color: #ffffff;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.cta-content h2 {
  font-size: 56px;

  color: var(--secondary);

  line-height: 1.15;

  margin-bottom: 24px;
}

.cta-content h2 span {
  display: block;

  color: var(--primary);
}

.cta-content p {
  max-width: 650px;

  margin: 0 auto 40px;

  color: #667085;

  font-size: 18px;

  line-height: 1.9;
}

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 220px;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media (max-width: 991px) {
  .newsletter-section {
    padding: 80px 0;
  }

  .newsletter-box {
    padding: 55px 40px;
  }

  .newsletter-content h2,
  .cta-content h2 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 70px 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .about-cta {
    padding: 0 0 70px;
  }

  .cta-box {
    padding: 55px 30px;
  }

  .cta-content h2 {
    font-size: 34px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .newsletter-box {
    padding: 40px 25px;
  }

  .newsletter-content h2,
  .cta-content h2 {
    font-size: 30px;
  }

  .newsletter-content p,
  .cta-content p {
    font-size: 15px;
  }
}
