:root {
  --orange_color: #F5BF45;
  --blue_color: #1A204F;
  --blue_color2: #171D4D;
  --black_color: #000000;
  --white_color: #ffffff;
  --dark_color: #1A1A1A;
  --opensans: "Open Sans", sans-serif;
}

/* general css */

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  font-family: var(--opensans);
  color: var(--white_color);
}

.default-page{
  padding: 150px 0 50px;
  background-color: var(--blue_color);
}

.default-page .entry-header .entry-title{
  color: var(--white_color);
  margin-bottom: 30px;
  font-size: 30px;
}

.default-page .entry-footer .post-edit-link{
  color: var(--white_color);
}

.default-page .entry-content h2{
  margin-bottom: 20px;
}

.default-page .entry-content p{
  margin-bottom: 20px;
}

.primary-btn {
  border-radius: 30px;
  padding: 12px 30px;
  background-color: var(--orange_color);
  border: 1px solid var(--orange_color);
  color: var(--blue_color);
  font-family: var(--opensans);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  width: fit-content;
}

.primary-btn:hover {
  background-color: var(--white_color);
}

.primary-btn img {
  max-width: 16px;
}

.secondary-text-btn {
  font-family: var(--opensans);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--light_gray);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  width: fit-content;
  text-decoration: none;
}

.secondary-text-btn img {
  max-width: 16px;
}

.secondary-text-btn:hover {
  color: var(--orange_color);
}

.custom-container {
  width: 100%;
  max-width: 1650px;
  padding: 0 15px;
  margin: 0 auto;
}

.flex-div {
  display: flex;
}

.flex-div.reverse {
  flex-direction: row-reverse;
}

.flex-div > div {
  width: 100%;
}

ul {
  padding-left: 0;
  list-style: none;
}

img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
}

.relative {
  position: relative;
}

.big-title {
  font-weight: 600;
  font-size: 60px;
  line-height: 70px;
  text-align: center;
  margin-bottom: 20px;
}

.big-title span {
  color: var(--orange_color);
}

.section-title {
  margin-bottom: 100px;
}

.section-title p {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 0;
  margin-top: 20px;
  color: var(--blue_color);
}

.section-title p span {
  font-weight: 500;
  color: var(--blue_color);
}

.section-title h2 {
  font-weight: 600;
  font-size: 54px;
  line-height: 64px;
  text-align: center;
  margin-bottom: 0px;
  color: var(--blue_color);
}

.section-title h2 span {
  color: var(--orange_color);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--blue_color);
  color: white;
  border: none;
  border-radius: 50%;
  z-index: 9;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.feature-text{
  border: 1px solid var(--orange_color);
  padding: 8px 14px;
  border-radius: 75px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.feature-text .icon{
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text p{
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: var(--blue_color);
}


/* header css */

.main-header {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  background: transparent;
  padding: 30px 0px;
  transition: all 0.2s;
}

.main-header.sticky {
  background: var(--blue_color);
  padding: 22px 0px;
  box-shadow: 0px 0px 5px #00000029;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .main-header {
  background-color: var(--blue_color);
}

.main-header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  padding: 0px 15px;
  color: var(--white_color);
  max-width: 1460px;
  margin: 0 auto;
  gap: 10px;
  position: relative;
}

.main-header .navbar .logo img {
  width: 100%;
  max-width: 296px;
  transition: all 0.2s;
}

.main-header.sticky .navbar .logo img{
  max-width: 180px;
}

.main-header .navbar .site-title{
  margin-bottom: 0;
}

.main-header .navbar .site-title a{
  color: var(--orange_color);
  font-size: 23px;
  text-decoration: none;
  font-weight: 600;
}

.main-header .menu-primary-menu-container > ul {
  list-style: none;
  display: flex;
  gap: 30px;
  z-index: 9;
  padding-left: 0;
}

.main-header .menu-item.menu-item-has-children {
  position: relative;
}

.main-header .menu-item.menu-item-has-children > a {
  position: relative;
  padding-right: 20px;
  outline: none;
}

.main-header .menu-item.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0px;
  background-image: url("../images/down-arrow.svg");
  background-repeat: no-repeat;
  width: 14px;
  height: 8px;
}

.main-header .menu-item > a {
  text-decoration: none;
  color: var(--white_color);
  display: block;
  font-family: var(--opensans);
  font-weight: 400;
  font-size: 18px;
  transition: all 0.2s;
  cursor: pointer;
}

.main-header .menu-item.active > a {
  color: var(--orange_color);
}

.main-header .mega-content {
  padding: 15px;
}

.main-header .menu-toggle {
  display: none;
  cursor: pointer;
  width: 21px;
  height: 21px;
  position: relative;
}

.main-header .menu-toggle .toggle-bar {
  transition-duration: 0.5s;
  position: absolute;
  height: 3px;
  width: 21px;
  top: 9px;
  background-color: var(--white_color);
}

.main-header .menu-toggle .toggle-bar::before {
  transition-duration: 0.5s;
  position: absolute;
  width: 21px;
  height: 3px;
  background-color: var(--white_color);
  content: "";
  top: -7px;
  right: 0;
}

.main-header .menu-toggle .toggle-bar::after {
  transition-duration: 0.5s;
  position: absolute;
  width: 21px;
  height: 3px;
  background-color: var(--white_color);
  content: "";
  top: 7px;
  right: 0;
}

.main-header .menu-toggle.open .toggle-bar {
  background: transparent;
}

.main-header .menu-toggle.open .toggle-bar::before {
  transform: rotateZ(45deg) scaleX(1.25) translate(4.5px, 4.5px);
}
.main-header .menu-toggle.open .toggle-bar::after {
  transform: rotateZ(-45deg) scaleX(1.25) translate(4.5px, -4.5px);
}

/* Hide mega menu by default */
.main-header .sub-menu {
  display: none;
  padding-left: 0;
  list-style: none;
}

.main-header .sub-menu li a {
  text-decoration: none;
  color: var(--blue_color);
  display: block;
  font-family: var(--opensans);
  font-weight: 400;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.main-header .sub-menu li a:hover {
  background-color: #1a204f1f;
  color: var(--blue_color);
}

.main-header .menu-item.mobile-btn {
  display: none;
  padding: 30px 0 0 10px;
}

.main-header .header-btn {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* footer css */

.main-footer {
  background-color: var(--blue_color);
  padding: 100px 0 30px;
  z-index: 9;
  position: relative; 
  background-image: url("../images/bg-vector.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

.main-footer .custom-container{
  max-width: 1736px;
}

.main-footer .flex-div {
  align-items: start;
  gap: 50px 57px;
  max-width: 1590px;
  margin: 0 auto;
}

.main-footer .flex-div .left-part {
  width: 100%;
  max-width: 470px;
}

.main-footer .flex-div .left-part .logo {
  max-width: 170px;
  margin-bottom: 20px;
}

.main-footer .flex-div .left-part p {
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: var(--white_color);
  opacity: 0.7;
}

.main-footer .flex-div .left-part .site-title{
  margin-bottom: 20px;
  opacity: 1;
}

.main-footer .flex-div .left-part .site-title a{
  color: var(--orange_color);
  font-size: 23px;
  text-decoration: none;
  font-weight: 600;
}

.main-footer .social ul {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}

.main-footer .social ul li a {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background-color: #ffffff1a;
  border: 1px solid transparent;
}

.main-footer .social ul li a:hover {
  border: 1px solid var(--white_color);
  background-color: transparent;
}

.main-footer .social ul li a img {
  max-width: 20px;
}

.main-footer .flex-div .right-part {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 47px;
}

.main-footer .right-part .links h4 {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 16px;
  color: var(--orange_color);
}

.main-footer .right-part .links ul {
  display: grid;
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  gap: 12px;
}

.main-footer .right-part .links ul li a {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--white_color);
  text-decoration: none;
  display: flex;
  opacity: 0.7;
  transition: all 0.2s;
  gap: 10px;
}

.main-footer .right-part .links ul li a:hover {
  opacity: 1;
}

.main-footer .right-part .links ul li a img {
  max-width: 20px;
}

.main-footer .footer-bottom{
  padding: 50px 0;
  border-top: 1px dashed #FFFFFF80;
  margin-top: 30px;
}

.main-footer .footer-bottom > div{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1590px;
  margin: 0 auto;
}

.main-footer .footer-bottom p {
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--white_color);
}

.main-footer .footer-bottom p a{
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--white_color);
  text-decoration: none;
}

.main-footer .footer-bottom p a:hover{
  text-decoration: underline;
}

.error-404{
  padding: 150px 0 50px;
  background-color: var(--blue_color);
  text-align: center;
}

.search-field{
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid white;
  font-size: 15px;
  color: var(--white_color);
  border-radius: 6px;
  outline: none;
}

.search-field::placeholder{
  color: var(--white_color);
}

.search-form{
  margin-top: 20px;
}

.search-submit .screen-reader-text{
  position: unset;
  color: var(--blue_color);
  clip-path: none;
  overflow: unset;
}

.search-submit {
  background: white;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--blue_color);
}

.blog_detail, .blog_section, .search_page{
  padding: 150px 0 50px;
  background-color: var(--blue_color);
}

.blog_detail .entry-footer, .blog_section .entry-footer{
  margin-top: 20px;
}

.blog_detail .entry-footer img, .blog_section .entry-footer img{
  width: auto;
}

.blog_detail .entry-footer a, .blog_section .entry-footer a, .blog_detail h2 a{
  color: var(--white_color);
}

.blog_section .entry-title a{
  color: var(--white_color);
}

.search_page a{
  color: var(--white_color);
}

.search_page article{
  margin-bottom: 25px;
}

.search_page .page-title{
  margin-bottom: 25px;
}

.search_page .author img{
  width: auto;
}

.page-header h1, .entry-header h1{
  font-size: 30px;
}

.posted-on, .edit-link{
  margin-left: 15px;
}

@media(min-width: 991px){
  .main-header .desktop-menu{
    display: flex;
    align-items: center;
    gap: 30px;
  }
}

@media (min-width: 992px) {
  .main-header .menu-item.active .sub-menu {
    display: block;
  }
  .main-header .menu-item .sub-menu {
    min-width: 100%;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--white_color);
    transition: all 0.3s;
    z-index: 9;
    box-shadow: 0px 0px 3px #00000012;
  }
  .main-header .sub-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    color: var(--black_color);
  }
}

@media (max-width: 1200px) {
   .section-title h2 {
    font-size: 40px;
    line-height: 50px;
  }
  .big-title {
    font-size: 45px;
    line-height: 55px;
  }
  .main-header .menu-primary-menu-container > ul {
    padding: 0px;
    gap: 15px;
  }
  .main-header .secondary-btn {
    padding: 10px 20px;
    font-size: 17px;
  }
  .main-header .primary-btn {
    padding: 12px 20px;
  }
  .main-header .navbar .logo img {
    width: 100%;
    max-width: 126px !important;
  }
  .main-header .menu-item > a {
    font-size: 16px;
  }
  .main-header .primary-btn {
    font-weight: 400;
    font-size: 15px;
  }
  .main-footer .flex-div {
    flex-wrap: wrap;
  }
  .main-footer .flex-div .left-part {
    max-width: unset;
  }
  .default-page{
    padding: 130px 0 50px;
  }
}

@media (max-width: 991px) {
  /* .main-header .header-btn .primary-btn {
    display: none;
  } */
  .main-header {
    padding: 22px 0;
  }
  .main-header .navbar {
    padding: 0 30px;
  }
  .main-header .menu-primary-menu-container > ul {
    flex-direction: column;
    padding: 20px 20px 0;
    position: absolute;
    top: 68px;
    left: -100%;
    width: 100%;
    background: var(--blue_color);
    transition: all 0.5s;
    height: calc(100vh - 90px);
    overflow: auto;
    gap: 5px;
    margin: 0;
    border-top: 1px solid #7ec04033;
  }
  .main-header .menu-item {
    width: 100%;
  }
  .main-header .menu-item > a {
    padding: 10px 15px;
    width: 100%;
    display: block;
    font-weight: 500;
    border-radius: 10px;
  }
  .main-header .menu-item > a:hover {
    background-color: #ffffff21;
  }
  .main-header .menu-toggle {
    display: block;
  }
  .main-header .menu-item .sub-menu {
    position: relative;
    width: 100%;
    padding: 5px 15px;
  }
  .main-header .sub-menu .menu-links li a {
    padding: 5px 15px;
  }
  .main-header .menu-primary-menu-container > ul.active {
    left: 0;
  }
  .main-header .menu-item.mobile-btn {
    display: block;
  }
  .main-header .menu-item.menu-item-has-children > a::after {
    top: 50%;
    right: 15px;
    transition: all 0.3s;
  }
  .main-header .menu-item.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .main-header .header-btn .secondary-btn {
    display: none;
  }
  .main-footer .flex-div .right-part {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .main-footer .right-part .links ul {
    gap: 0;
  }
  .main-footer .right-part .links ul li {
    margin-bottom: 10px;
  }
  .main-footer .right-part .links ul li:last-child {
    margin-bottom: 0px;
  }
  .main-header .sub-menu li a{
    color: var(--white_color);
  }
  .main-header .sub-menu li a:hover{
    color: var(--white_color);
    background-color: #ffffff30;
  }
  .default-page{
    padding: 60px 0 50px;
  }
  .main-header .primary-btn {
    padding: 8px 15px;
  }
}

@media (max-width: 767px){
  .big-title {
    font-size: 35px;
    line-height: 45px;
  }
  .section-title h2 {
    font-size: 30px;
    line-height: 40px;
  }
  .primary-btn {
    padding: 9px 20px;
  }
  .section-title p {
    font-size: 16px;
    line-height: 27px;
  }
  .feature-text .icon {
    width: 16px;
    height: 16px;
  }
  .feature-text p {
    font-size: 12px;
    line-height: 15px;
  }
  .feature-text {
    padding: 6px 11px;
  }
  .blog_detail, .blog_section, .error-404, .search_page {
    padding: 100px 0 50px;
  }
}

@media (max-width: 520px) {
  .big-title {
    font-size: 30px;
    line-height: 42px;
  }
  .section-title p {
    font-size: 14px;
    line-height: 25px;
  }
  .main-footer {
    padding: 40px 0 30px;
  }
  .main-footer .flex-div .left-part{
    text-align: center;
  }
  .main-footer .flex-div .left-part .logo{
    margin-left: auto;
    margin-right: auto;
  }
  .main-footer .social ul{
    justify-content: center;
  }
  .main-footer .right-part .links h4{
    font-size: 14px;
    margin-bottom: 10px;
  }
  .main-footer .right-part .links ul li a {
    font-size: 12px;
  }
  .main-footer .right-part .links ul li {
    margin-bottom: 3px;
  }
  .main-footer .flex-div .left-part p {
    font-size: 14px;
    line-height: 25px;
  }
  .main-footer .footer-bottom p, .main-footer .footer-bottom p a{
    font-size: 10px;
  }
  .main-footer .footer-bottom {
    padding: 10px 0;
  }
  .main-footer .flex-div .right-part {
    gap: 25px 20px;
  }
}

@media (max-width: 360px) {
  .main-footer .flex-div .right-part {
    grid-template-columns: repeat(1, 1fr);
  }
}
