/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap");

/*=============== VARIABLES CSS ===============*/

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --header-height: 3rem;
  /*========== Colors ==========*/
  --hue: 45;
  --sat: 98%;
  --first-color: hsl(var(--hue), var(--sat), 60%);
  --first-color-light: hsl(var(--hue), var(--sat), 85%);
  --first-color-lighten: hsl(var(--hue), var(--sat), 80%);
  --first-color-alt: hsl(var(--hue), var(--sat), 53%);
  --title-color: hsl(var(--hue), 4%, 15%);
  --text-color: hsl(var(--hue), 4%, 35%);
  --text-color-light: hsl(var(--hue), 4%, 65%);
  --body-color: hsl(var(--hue), 0%, 100%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue), 4%, 85%);
  --scroll-thumb-color: hsl(var(--hue), 4%, 75%);
}

.main {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: auto;
  height: auto;
  overflow-y: auto;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: 0.5s;
}

.nav_main_container {
  width: 100%;
  position: relative;
  font-family: "Inter Tight", sans-serif;
}

.header {
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: #ffffff;
  /* background-color: #1a334a; */
  -webkit-transition: padding 0.4s ease;
  transition: padding 0.4s ease;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 1vh 0;
}

/* .header.is-scrolling {
  padding-top: 4px;
  padding-bottom: 4px;
} */

.header .nav-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  /* font-family: "Teko", sans-serif;
  font-optical-sizing: auto;
  text-transform: uppercase; */
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-transition: padding 0.4s ease;
  transition: padding 0.4s ease;
}

.hamburger {
  position: relative;
  display: block;
  width: 35px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  outline: none;
  border: none;
}

.hamburger .bar,
.hamburger:after,
.hamburger:before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background-color: #03023c;
  margin: 6px 0px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.hamburger.is-active:before {
  -webkit-transform: rotate(-45deg) translate(-8px, 6px);
  transform: rotate(-45deg) translate(-8px, 6px);
}

.hamburger.is-active:after {
  -webkit-transform: rotate(45deg) translate(-9px, -8px);
  transform: rotate(45deg) translate(-9px, -8px);
}

.hamburger.is-active .bar {
  opacity: 0;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  min-height: 100vh;
  display: block;
  z-index: 98;
  /* background-color: #1a334a; */
  background-color: #fff;
  padding-top: 120px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.mobile-nav.is-active {
  left: 0;
}

.mobile-nav a {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 16px;
  text-align: center;
  padding: 12px 16px;
  /* background-color: #1f103f; */
  background-color: #1f103f;
  color: #ffffff;
  text-decoration: none;
}

.mobile-nav a:hover {
  /* background-color: #24104f; */
  background-color: #43287e;
}

@media (min-width: 868px) {
  .mobile-nav {
    display: none;
  }

  .hamburger {
    display: none;
  }
}

.button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: none;
  display: inline-block;
  color: #fff;
  font-size: 20px;
  background-color: #ff9fdb;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 867px) {
  .button {
    font-size: 18px;
  }
}

.header {
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.header .nav-container {
  padding: 12px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header .nav-container a {
  color: inherit;
  font-size: 32px;
  text-decoration: none;
}
.header .nav-container .nav__logo {
  font-size: 26px;
  font-weight: 600;
}

.header .nav-container a span {
  /* color: #07d500; */
  color: #ffb200;
}

.header .nav-container nav {
  display: -ms-grid;
  display: grid;
  grid-gap: 5vh;
  -ms-grid-columns: auto auto auto auto auto;
  grid-template-columns: repeat(5, auto);
}

@media (max-width: 867px) {
  .header .nav-container nav {
    display: none;
  }
}

.header .nav-container nav a {
  color: inherit;
  font-size: 20px;
  text-decoration: none;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  background: var(--first-color);
  right: 1rem;
  bottom: -20%;
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 0.25rem;
  z-index: var(--z-tooltip);
  opacity: 0.8;
  transition: 0.4s;
  text-decoration: none;
}

.scrollup:hover {
  background-color: var(--first-color);
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.25rem;
  color: var(--title-color);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/* ====== Blog Hero ====== */

.blog-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  background: url("../Blog_Image/blog12.jpg") center/cover no-repeat;
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.blog-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px 10px 0 0;
  box-sizing: border-box;
}

.blog-hero h1 {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1.3;
}

.blog-meta {
  font-size: 1rem;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #ddd;
}

@media (max-width: 992px) {
  .blog-hero {
    height: 60vh;
  }
  .blog-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    height: 55vh;
  }
  .blog-hero-overlay {
    width: 95%;
    padding: 1.5rem;
  }
  .blog-hero h1 {
    font-size: 1.75rem;
  }
  .blog-meta {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .blog-hero {
    height: 50vh;
  }
  .blog-hero-overlay {
    width: 100%;
    padding: 1rem;
    /* border-radius: 0;  */
    border-radius: 10px 10px 0 0;
  }
  .blog-hero h1 {
    font-size: 1.4rem;
  }
  .blog-meta {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 5px;
  }
}

/* ====== Blog1 Content ====== */

.blog-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
  margin-top: 20px;
  color: #333;
}

.blog-content p {
  margin: 15px 0;
  font-size: 1.05rem;
  color: #444;
}

.blog-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 25px 0;
  display: block;
}

.blog-content ul {
  list-style: none;
  padding-left: 0;
}

.blog-content ul li {
  margin: 8px 0;
}

.blog-content ul li::before {
  content: "✅ ";
  color: green;
}

/* ===== Responsive Related Articles  ===== */

/* container centering */
.mb-container {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto;
}

/* section spacing */
.mb-related-articles {
  padding: 28px 0 48px;
  background: transparent;
}
.mb-related-heading {
  font-size: 1.4rem;
  margin: 0 0 18px;
  color: #0f172a;
}

/* Grid - mobile-first (1 column) */
.mb-related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

/* Card - full clickable area via <a> */
.mb-related-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(12, 18, 34, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* clickable link fills card and uses flex column layout */
.mb-related-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Media area: use a reliable aspect-ratio fallback */
.mb-related-media {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #f3f4f6;
  overflow: hidden;
}
.mb-related-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* body content */
.mb-related-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

/* Title: clamp to 2 lines */
.mb-related-title {
  font-size: 1.01rem;
  margin: 0;
  color: #0b1220;
  line-height: 1.25;

  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Modern line clamp (works cross-browser) */
  display: -webkit-box; /* for older Safari */
  display: box; /* fallback */
  line-clamp: 2;
  -webkit-line-clamp: 2;
  box-orient: vertical;
  -webkit-box-orient: vertical;
}

/* Excerpt: clamp to 3 lines */
.mb-related-excerpt {
  margin: 0;
  color: #6b7280;
  font-size: 0.94rem;
  line-height: 1.3;

  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;

  line-clamp: 3;
  -webkit-line-clamp: 3;
  box-orient: vertical;
  -webkit-box-orient: vertical;
}

/* CTA area anchored to bottom */
.mb-related-cta {
  padding: 12px 14px 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.mb-related-cta span {
  display: inline-block;
  background: #ff5722;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Hover / focus */
.mb-related-card:hover,
.mb-related-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(12, 18, 34, 0.12);
}
.mb-related-link:focus {
  outline: 2px solid rgba(79, 70, 229, 0.18);
  outline-offset: 3px;
}

/* ----- Responsive breakpoints ----- */
@media (min-width: 600px) {
  .mb-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .mb-related-media {
    padding-top: 52%;
  }
}

@media (min-width: 960px) {
  .mb-related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .mb-related-media {
    padding-top: 48%;
  }
}

@media (max-width: 420px) {
  .mb-container {
    width: 94%;
  }
  .mb-related-heading {
    font-size: 1.15rem;
  }
  .mb-related-excerpt {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
  .blog-hero h1 {
    font-size: 2rem;
  }
  .blog-hero-overlay {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    height: 60vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .blog-hero-overlay {
    width: 95%;
    margin: 0 auto;
  }
  .blog-hero h1 {
    font-size: 1.8rem;
  }
  .blog-meta {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .blog-hero {
    height: 50vh;
  }
  .blog-hero h1 {
    font-size: 1.5rem;
  }
  .blog-meta {
    font-size: 0.85rem;
  }
}

/* ====================Footer Section ================= */

@import url("https://fonts.googleapis.com/css2?family=Gabarito&family=Oswald&family=Roboto+Condensed&family=Source+Code+Pro:wght@300;400&display=swap");

.footer {
  width: 100%;
  background-color: #232d3f;
  padding: 4rem 0 0 0;
  color: white;
  /* font-family: "Oswald", sans-serif; */
  display: inline-block;
  font-family: "Poppins", sans-serif;
}
.footer .footer_txt {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.footer_txt .footer_content {
  width: 60%;
  display: flex;
  /* font-family: "Manrope", sans-serif; */
  /* background-color: #fff; */
}

.footer_txt .footer_content .footer_work,
.footer_txt .footer_content .footer_about {
  width: 40%;
}
.footer_txt .footer_content .footer_work h1,
.footer_txt .footer_content .footer_about h1 {
  padding: 12px 0px;
  font-size: 1.5rem;
  /* font-family: "Teko", sans-serif; */
  font-optical-sizing: auto;
  text-transform: uppercase;
}
.footer_txt .footer_content .footer_work li,
.footer_txt .footer_content .footer_about li {
  list-style: none;
  padding: 0.7rem 0;
  font-weight: 500;
}
.footer_txt .footer_content .footer_work li a,
.footer_txt .footer_content .footer_about li a {
  text-decoration: none;
  font-size: 1rem;
  color: white;
}

.footer_txt .footer_contact {
  width: 40%;
  line-height: 45px;
  font-size: 1rem;
  padding: 0.7rem 0;
}
.footer_txt .footer_contact h1 {
  /* font-family: "Teko", sans-serif; */
  font-optical-sizing: auto;
  text-transform: uppercase;
  font-size: 1.5rem;
}
.footer_txt .footer_contact h2 {
  color: white;
  font-size: 1.2rem;
}

.footer_txt .footer_contact span {
  color: #0be103;
}

.footer_txt .footer_contact .fa {
  font-size: 50px;
  color: white;
  padding: 11px 0px;
}

.footer .copyright_social {
  width: 100%;
  padding: 9vh 0 0 0;
}
.copyright_social .socialmedia {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin: 0 auto;
  justify-content: space-between;
  border-top: 2px solid rgb(168, 152, 152);
  padding: 3rem 0 2rem 0;
  color: white;
}
.copyright_social .socialmedia .social_txt {
  display: flex;
  flex-wrap: wrap;
}
.socialmedia .social_txt li {
  list-style: none;
}
.socialmedia .social_txt li a {
  text-decoration: none;
  padding: 20px;
  color: rgb(255, 255, 255);
}
.socialmedia .social_txt .fa {
  font-size: 30px;
  color: rgb(255, 255, 255);
}

.copyright_social .socialmedia span {
  color: white;
  font-size: 14px;
}

@media (max-width: 869px) {
  .footer {
    width: 100%;
    padding: 20px;
  }
  .footer .footer_txt {
    width: 100%;
  }
  .footer_txt .footer_content {
    width: 100%;
  }
  .footer_txt .footer_contact {
    font-size: 1rem;
  }
  .footer_txt .footer_content .footer_work,
  .footer_txt .footer_content .footer_about {
    width: 100%;
    padding: 10px 0px;
  }
  .footer_txt .footer_content .footer_about li a,
  .footer_txt .footer_content .footer_work li a {
    font-size: 1rem;
  }

  .footer_txt .footer_contact {
    width: 100%;
    padding: 10px 0px;
  }
  .footer_txt .footer_contact .fa {
    font-size: 30px;
  }

  .copyright_social .socialmedia {
    width: 100%;
    padding: 20px;
    /* flex-direction: column; */
  }

  .copyright_social .socialmedia .social_txt {
    padding: 20px 0px;
  }
}

@media (max-width: 769px) {
  .footer_txt .footer_content {
    width: 100%;
    flex-wrap: wrap;
  }
  .copyright_social .socialmedia .social_txt {
    padding: 20px 0px;
  }
  .copyright_social .socialmedia {
    flex-direction: column;
  }
}
