/* ===== Mobile Approach Responsive ===== */

/* Extra Small Device */
@media only screen and (max-width: 430px) {
}

/* Small Device :550px. */
@media only screen and (min-width: 576px) {
  .container {
    width: 540px;
  }
}

/* Medium Device. */
@media only screen and (min-width: 768px) {
  .container {
    width: 720px;
  }
  .hero__content h1 {
    font-size: 52px;
    margin-bottom: 12px;
  }
  .hero__content p {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.6;
  }

  .about__content .pretitle,
  .serviceBlock__content span.pretitle {
    margin-bottom: 0px;
    font-size: 30px;
  }
  .about__content h2,
  .serviceBlock__content h2 {
    font-size: 40px;
    margin-bottom: 10px;
  }
  .about__content .pretitle p,
  .serviceBlock__content p {
    margin-bottom: 14px;
    font-size: 18px;
  }
  .gallery__title h2 {
    font-size: 40px;
  }
  .gallery__item img {
    height: 376px;
  }
  .hero__img {
    max-width: 580px;
  }

  .serviceBlock--section,
  .gallery--section,
  .about--section,
  .contact--section {
    padding: 60px 0px 60px;
  }
}

@media only screen and (max-width: 991px) {
  .header__menu ul li.has-submenu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .header__menu ul li.has-submenu.open .submenu {
    max-height: 500px;
  }
  .has-submenu > a::after {
    transition: transform 0.3s;
  }
  .has-submenu.open > a::after {
    transform: rotate(180deg);
  }
}

/* LG Device. */
@media only screen and (min-width: 992px) {
  .overlay {
    width: 100%;
    height: 100%;
    background: #00000080;
    backdrop-filter: blur(12px);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 11;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .overlay.show {
    opacity: 1;
    visibility: visible;
  }
  .container {
    width: 960px;
  }
  .header {
    padding: 0px 0px;
  }

  .header__logo a img {
    max-width: 135px;
  }
  .header__nav {
    display: flex;
    align-items: center;
    gap: 0px;
  }
  .header__nav nav ul {
    display: flex;
    align-items: center;
    gap: 0px;
  }
  .header__nav nav ul li a {
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    display: block;
  }
  .header__nav nav ul li:hover a {
    color: var(--primary);
  }
  .header__menu {
    position: initial;
    max-width: 100%;
    backdrop-filter: blur(0px);
    transform: translateX(-0%);
  }
  .header__menu > ul {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
    gap: 0px;
    overflow-y: initial;
  }
  .header__menu ul li.has-submenu {
    position: relative;
  }
  .header__menu ul li.has-submenu:hover > a::after {
    color: var(--primary);
  }

  .header__menu ul li.has-submenu:hover ul.submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
  }
  .header__menu ul li.has-submenu ul.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 210px;
    background: var(--primary);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    width: 420px;
    transform: translateX(-50%);
    display: flex;
    background-image: url('../imgs/about-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
  }
  .header__menu ul li.has-submenu ul.submenu li a {
    padding: 10px 10px;
    padding-left: 12px;
    border-bottom: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
  }

  .header__menu ul li.has-submenu ul.submenu li a span.text {
    position: absolute;
    left: 20px;
    bottom: 18px;
    display: flex;
    line-height: 1;
    align-items: center;
    gap: 4px;
    z-index: 2;
    font-size: 16px;
  }
  .header__menu ul li.has-submenu ul.submenu li a span.img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }
  .header__menu ul li.has-submenu ul.submenu li a span.img::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: linear-gradient(
      179.86deg,
      rgba(0, 0, 0, 0) 0.13%,
      #000000 99.87%
    );
  }
  .header__menu ul li.has-submenu ul.submenu li a span.icon svg {
    max-width: 16px;
  }
  .header__menu ul li a {
    padding: 12px 0px;
    color: #fff;
  }
  .header__menu ul li:hover > a {
    color: var(--primary);
  }
  .header__menu ul li.has-submenu a {
    padding-right: 18px;
  }
  .header__menu ul li.has-submenu ul li:hover a {
    color: var(--primary);
  }
  .header__menu ul li.has-submenu ul li a span.icon {
    transition: all 0.5s ease;
  }
  .header__menu ul li.has-submenu ul li:hover a span.icon {
    transform: translateX(5px);
  }
  .header__menu ul li.has-submenu ul li a span.img img {
    transition: all 0.5s ease;
  }
  .header__menu ul li.has-submenu ul li:hover a span.img img {
    transform: scale(1.1);
  }
  .header__menu ul li.has-submenu a::after {
    right: 0px;
  }
  .header__menu ul li.has-submenu > a::after {
    color: var(--white);
  }
  .header__menu {
    background-color: transparent;
  }
  .header__nav {
    display: flex;
    align-items: center;
  }
  .hero__content h1 {
    font-size: 65px;
    margin-bottom: 20px;
  }
  .hero__content p {
    margin-bottom: 40px;
    max-width: 550px;
  }
  .hero--section {
    padding: 220px 0px 48px;
  }
  .hero__content {
    margin-bottom: 121px;
  }
  .hero__img-wrapper {
    width: 490px;
    height: 306px;
    max-width: inherit;
    position: absolute;
    right: 0px;
    bottom: 0;
  }
  .hero__img-wrapper::after {
    left: 8px;
    top: -8px;
  }
  .hero__content p {
    margin-bottom: 40px;
    max-width: 450px;
    font-size: 18px;
  }
  .serviceBlock__object {
    bottom: 2%;
    max-width: 142px;
  }
  .serviceBlock__content {
    margin-bottom: 0px;
  }
  .sectionBlock__thumb-img__subimg {
    max-width: 46%;
    bottom: -21px;
  }
  .sectionBlock__thumb-border {
    height: 286px;
    bottom: -36px;
    right: 23%;
  }
  .footer__widget ul li a {
    font-size: 13px;
  }
  .footer__top {
    padding-top: 55px;
    padding-bottom: 62px;
  }
  .contact__title h2 {
    font-size: 40px;
  }

  .header__menu ul li a {
    color: #fff;
    letter-spacing: 0.01em;
    border: none;
    padding: 40px 20px;
  }
  .header__menu ul li.has-submenu a::after {
    right: 10px;
    top: 41px;
  }
  .header__menu ul li:hover a {
    background-color: #ffffff1a;
  }
  .header__menu ul li.has-submenu a {
    padding-right: 30px;
  }
  .hero__img-wrapper img {
    max-width: initial;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Large Device :992px. */
@media only screen and (min-width: 1200px) {
  .container {
    width: 1140px;
  }
  .header__menu ul li a {
    font-size: 17px;
  }
  .header__menu > ul {
    gap: 0px;
  }

  .header__nav {
    gap: 30px;
  }
  .hero__content p {
    margin-bottom: 40px;
    max-width: 550px;
    font-size: 20px;
  }
  .btn {
    font-size: 18px;
    padding: 18px 36px;
    min-width: 220px;
  }
  .hero__img-wrapper {
    width: 560px;
    height: 354px;
  }
  .header__nav a.btn {
    padding: 13px 28px;
    font-size: 15px;
    min-width: initial;
  }
  .header__menu ul li.has-submenu ul.submenu {
    min-width: 210px;
    width: 538px;
    padding: 5px 10px;
  }

  .header__menu ul li.has-submenu ul.submenu li a span.text {
    gap: 6px;
    bottom: 24px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.01em;
  }
  .header__menu ul li.has-submenu ul.submenu li a span.icon svg {
    max-width: 27px;
  }
  .header__logo a img {
    max-width: 237px;
  }
}

/* XL Device :1280px. */
@media only screen and (min-width: 1400px) {
  .container {
    width: 1320px;
  }
  .btn {
    font-size: 22px;
    padding: 24px 44px;
    min-width: 280px;
  }
  .hero__content h1 {
    font-size: 89px;
    margin-bottom: 30px;
  }
  .header__logo a img {
    max-width: 250px;
  }

  .hero__img-wrapper {
    width: 780px;
    right: -45px;
    height: 470px;
  }
  .hero__content {
    margin-bottom: 200px;
  }
  .hero__img-wrapper::after {
    left: 17px;
    top: -16px;
    border-radius: 48px;
  }
  .serviceBlock--section {
    padding: 140px 0px 160px;
  }
  .serviceBlock__content {
    margin-bottom: 0px;
    max-width: 555px;
    margin: 0 auto;
  }
  .sectionBlock__thumb-img__main {
    width: 100%;
    border-radius: 40px;
  }
  .sectionBlock__thumb-img__subimg {
    max-width: initial;
    width: 367px;
    height: 430px;
    border-radius: 19px;
    left: -20%;
    bottom: -33px;
  }
  .sectionBlock__thumb-border {
    height: 555px;
    bottom: -80px;
    right: 25%;
  }
  .about__content h2,
  .serviceBlock__content h2 {
    font-size: 71px;
    margin-bottom: 35px;
  }
  .about__content .pretitle p,
  .serviceBlock__content p {
    margin-bottom: 30px;
    font-size: 22px;
    line-height: 1.68;
  }
  .serviceBlock__object {
    bottom: 9%;
    max-width: 260px;
  }
  .gallery--section {
    padding: 100px 0px 130px;
  }
  .gallery__title h2 {
    font-size: 90px;
  }
  .gallery__title {
    margin-bottom: 70px;
  }
  .gallery__item img {
    height: 595px;
  }
  .gallery__wrapper {
    margin-bottom: 80px;
  }
  .about__content h2 {
    margin-bottom: 20px !important;
  }
  .about__content p {
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.68;
  }
  .about__content p:last-child {
    margin-bottom: 60px;
  }
  .about__content {
    margin-bottom: 28px;
    max-width: 551px;
  }
  .about__thumb img {
    width: 757px;
    max-width: initial;
  }
  .contact__thumb img {
    margin-left: -48px;
  }
  .contact__title h2 {
    font-size: 50px;
  }
  .inputBox {
    position: relative;
    margin-bottom: 43px;
  }
  .inputBox label {
    font-size: 18px;
  }
  .inputBox input {
    height: 50px;
  }
  .inputBox select {
    height: 50px;
    font-size: 18px;
  }
  .contact__title {
    margin-bottom: 50px;
  }
  .footer__widget ul li a {
    font-size: 18px;
    line-height: 2;
  }
  .footer__widget h4 {
    margin-bottom: 13px;
  }
  .footer__top {
    padding-top: 55px;
    padding-bottom: 90px;
  }
  .footer__copy p {
    font-size: 18px;
  }
  .header__menu ul li.has-submenu ul.submenu li a {
    padding: 22px 10px;
  }
  .header__menu ul li.has-submenu ul.submenu {
    width: 700px;
    padding: 0px 23px;
  }
  .header__menu ul li.has-submenu ul.submenu li a span.text {
    left: 24px;
    bottom: 46px;
  }
  .header__menu ul li.has-submenu ul.submenu li a span.img {
    border-radius: 9px;
  }
}

/* XXL Device. */
@media only screen and (min-width: 1600px) {
}

/* 2k Device. */
@media only screen and (min-width: 1921px) {
}

/* ===== Desktop Approach Responsive ===== */

/* Big Screen Device */
@media only screen and (min-width: 1800px) {
  .container {
    max-width: 1785px;
  }
}

/* XXL+ Device. */
@media only screen and (max-width: 1799px) {
  .container {
    max-width: 1550px;
  }
}

/* XXL Device. */
@media only screen and (max-width: 1600px) {
  .container {
    max-width: 1320px;
  }
}

/* XL Device :1280px. */
@media only screen and (max-width: 1399px) {
  .container {
    width: 1140px;
  }
}

/* Large Device :992px. */
@media only screen and (max-width: 1199px) {
  .container {
    width: 960px;
  }
}

/* Medium Device :768px. */
@media only screen and (max-width: 991px) {
  .container {
    width: 720px;
  }
}

/* Small Device :550px. */
@media only screen and (max-width: 767px) {
  .container {
    width: 540px;
  }
}

/* Extra small Device. */
@media only screen and (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
}

@media only screen and (max-width: 430px) {
}
