/* ==================== RESPONSIVE DESIGN ==================== */

/* 1280px - لپ‌تاپ */
@media screen and (max-width: 1280px) {
  .container {
    max-width: 1180px;
  }

  .domain-cards__grid {
    justify-content: center;
    grid-gap: 16px;
  }

  /* Hero Section */

  .hero__title {
    font-size: 32px;
  }

  .hero__text {
    font-size: 18px;
  }

  .domain-cards__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    justify-items: center;
  }

  .tips-card {
    padding: 10px 40px;
    height: 330px;
  }

  .search-input__form {
    width: 100%;
  }

  .domain-search__box {
    width: 100%;
  }

  /* ==============Server page============== */
  .plans__list {
    padding: 0 10px;
  }

  .server-plan__card {
    padding: 18px;
  }

  .server-feature__list {
    gap: 20px;
  }

  .server-feature__item {
    font-size: 14px;
  }

  .plan-price span:first-child {
    font-size: 18px;
  }

  .plan-price span:last-child {
    font-size: 15px;
  }

  /* ===============Features Section============== */
  .features__card-container {
    gap: 16px;
  }

  .feature-card {
    width: 240px;
    padding: 16px;
  }

  .feature__img {
    width: 70px;
  }

  .feature__title {
    font-size: 18px;
  }

  .feature-text {
    font-size: 14px;
  }

  /* =========Blog-Post page======== */
  .post-content-layout {
    flex-direction: column;
  }

  .post-sidebar {
    min-width: 100%;
  }

  /* =========Contact page======== */
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-main {
    gap: 30px;
  }

  .teams-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* 990px - تبلت بزرگ */
@media screen and (max-width: 1024px) {
  .container {
    max-width: 920px;
  }

  /* Header */
  .header__logo {
    width: 100px;
    
  }

  .mobile-menu-header__logo {
    width: 80px;
  }

  .header__bottom {
    display: none;
  }

  .header-left {
    display: none;
  }

  .open-menu__btn {
    display: block;
  }

  .main-margin {
    margin-top: 60px;
  }

  /* Slider */


  .slide-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .slide-image img {
    width: 260px;
  }

  .slide-text p {
    width: 100%;
  }


  .domain__img {
    display: none;
  }

  /* Products */
  .product__cards-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .product__card {
    width: 60%;
  }

  /* Features */

  .features__card-container {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }

  .feature-card {
    max-width: 280px;
    margin: 20px 0;
  }

  .feature__img {
    width: 65px;
    margin-bottom: 16px;
  }

  .feature__title {
    font-size: 18px;
  }

  .feature-text {
    font-size: 14px;
  }

  /* Domain Page Hero */

  .hero__icon {
    width: 110px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__text {
    font-size: 16px;
    margin-top: 16px;
  }

  .tips-card {
    padding: 10px 30px;
    height: auto;
    gap: 20px;
  }

  .tips__left img {
    width: 260px;
  }

  .tips__title {
    font-size: 20px;
  }

  .search-input__form {
    height: 70px;
  }

  .domain-search__btn {
    width: 30%;
    font-size: 16px;
  }

  .domain-cards__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    justify-items: center;
  }

  /* host Page host plan */
  .plans__wrapper-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }

  .plan__title {
    font-size: 22px;
    padding: 8px 16px;
  }

  .big {
    font-size: 26px;
  }

  .small {
    font-size: 14px;
  }

  .feature__item {
    font-size: 14px;
  }

  /* ===============404 page============== */
  .error-content {
    flex-direction: column;
    text-align: center;
  }

  .error-description {
    max-width: 100%;
  }

  .error-title::after {
    margin: 10px auto;
  }

  .error-actions {
    justify-content: center;
  }

  /* ==============Server page============== */
  .plans__list {
    padding: 0;
  }

  .server-plan__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .plan-card__right,
  .plan-card__left {
    width: 100%;
  }

  .server-feature__list {
    gap: 15px;
  }

  .plan__name {
    font-size: 22px;
  }

  .plan-card__left {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e1eaff;
    padding-top: 20px;
  }

  .order-plan__link {
    width: 150px;
  }

  /* ===============Blog page============== */
  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    min-width: 100%;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  /* ===============Blog-Post page============== */

  .post-main-content {
    padding: 30px;
  }

  /* =========Contact page======== */
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }


  .contact-form {
    padding: 30px;
  }

  .contact-details {
    padding: 25px;
  }

  .contact-faq {
    padding: 30px;
  }

  .footer__top {
    /* flex-direction: column; */
    flex-wrap: wrap;
  }

  .footer-columns {
    width: 45%;
  }

  .footer-columns:nth-child(2) {
    margin-right: 0;
  }

}

/* 768px - تبلت */
@media screen and (max-width: 768px) {
  .container {
    max-width: 700px;
  }

  /* Slider */
  .slide-content h2 {
    font-size: 36px;
  }

  .slide-image img {
    width: 240px;
  }

  /* Domain Search */
  .domain__container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }


  /* Products */
  .product__cards-container {
    flex-direction: column;
    align-items: center;
  }

  .product__card {
    width: 80%;
    margin-bottom: 30px;
  }

  .product-card__title {
    font-size: 18px;
  }

  .product-card__text {
    font-size: 13px;
  }

  .product-card__price {
    font-size: 18px;
  }


  /* Features */
  .features__card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    max-width: 100%;
    margin: 15px 0;
  }

  .feature__img {
    width: 60px;
    margin-bottom: 16px;
  }

  .feature__title {
    font-size: 18px;
  }

  .feature-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .features__title {
    font-size: 24px;
  }

  .features__text {
    font-size: 16px;
  }

  /* footer */


  .footer-columns {
    width: 100%;
  }

  .copyright__section {
    justify-content: center;
    margin-top: 30px;
  }

  .copyright__logo {
    display: none;
  }

  .contact__title {
    text-align: center;
  }

  /* Domain Page */

  .hero__content {
    text-align: center;
  }

  .hero__icon {
    width: 90px;
  }

  .hero__title {
    font-size: 24px;
  }

  .hero__text {
    font-size: 15px;
  }

  .tips-card {
    flex-direction: column-reverse;
    padding: 20px;
    height: auto;
  }

  .tips__left img {
    width: 240px;
    margin-bottom: 20px;
  }

  .tips__list {
    width: 100%;
  }

  .tips__title {
    font-size: 20px;
  }

  .tips__item p {
    font-size: 14px;
  }

  .search-input__form {
    flex-direction: column;
    height: auto;
    padding: 10px;
    border-radius: 20px;
  }

  .domain-search__btn {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    border-radius: 12px;
  }

  .domain-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .domain-card {
    height: 240px;
  }

  /* host Page host plan */
  .sections__title {
    font-size: 26px;
    margin: 15px auto;
  }

  .plans__sub-title {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .plans__wrapper-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px;
    padding: 8px;
  }

  .plan__card {
    padding: 8px;
    gap: 8px;
  }

  .plan__info {
    padding: 10px;
  }

  .plan__title {
    font-size: 20px;
    padding: 6px 14px;
    margin-bottom: 15px;
  }

  .big {
    font-size: 24px;
    flex-direction: column;
    gap: 4px;
  }

  .feature__icon {
    width: 20px;
  }

  .feature__item {
    gap: 6px;
  }

  .buy-plan__link {
    padding: 10px;
    font-size: 14px;
  }

  /* ==========404 page================= */
  .error-number {
    font-size: 100px;
  }

  .error-title {
    font-size: 28px;
  }

  .error-description {
    font-size: 16px;
  }

  .error-btn {
    width: 100%;
    max-width: 300px;
  }

  /* ==============Server page============== */
  .location-btns {
    gap: 12px;
  }

  .location__btn {
    width: 200px;
    justify-content: center;
  }

  .server-plan__title {
    font-size: 20px;
  }

  .server-plan__card {
    padding: 16px;
  }

  .server-feature__list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .server-feature__item {
    flex-wrap: wrap;
  }

  .server-feature__item h6 {
    font-size: 14px;
  }

  .server-feature__item span:last-child {
    font-size: 13px;
  }

  .plan-card__left {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .order-plan__link {
    width: 100%;
  }

  .plans-loading {
    padding: 30px;
  }

  .loading-text {
    font-size: 18px;
  }

  .loading-dot {
    width: 10px;
    height: 10px;
  }

  /* ===============Blog page============== */
  .featured-post__image {
    height: 200px;
  }

  .featured-post__title {
    font-size: 22px;
  }

  .post-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* ===============Blog-Post page============== */

  .post-navigation {
    flex-direction: column;
  }

  .prev-post,
  .next-post,
  .all-posts {
    width: 100%;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-bio__image {
    margin: 0 auto;
  }

  .author-social {
    justify-content: center;
  }



  .pros-cons {
    grid-template-columns: 1fr;
  }

  .stats-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* =========Contact page======== */
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }

  .contact-card {
    padding: 25px;
  }

  .contact-card__icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .teams-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
  }

  .social-icons {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }

  .social-icon:nth-child(4),
  .social-icon:nth-child(5) {
    grid-column: span 1;
  }

  .social-icon {
    padding: 15px;
  }

  .social-icon {
    padding: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-detail-item {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .contact-detail-icon {
    margin: 0 auto;
  }

  .phone-item {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .section-title {
    font-size: 24px;
  }

  .teams-title,
  .faq-title {
    font-size: 24px;
  }
}

/* 576px - موبایل بزرگ */
@media screen and (max-width: 576px) {
  .container {
    max-width: 540px;
  }

  /* Slider */
  .slide-content h2 {
    font-size: 32px;
  }

  .slide-content p {
    font-size: 14px;
  }

  /* Products */
  .product__card {
    width: 100%;
    margin-bottom: 8px;
  }

  /* Features */
  .features__card-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    width: 75%;
    margin: 12px 0;
    padding: 20px;
  }

  .feature__img {
    width: 50px;
    margin-bottom: 12px;
  }

  .feature__title {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .feature-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .features__title {
    font-size: 22px;
  }

  .features__text {
    font-size: 15px;
    padding: 0 10px;
  }

  /* Footer */
  /* .footer__top {
    gap: 20px;
  } */

  .footer__contact-container {
    align-items: center;
    gap: 8px;
  }

  .contact__icon {
    width: 12px;
  }

  .footer__logo {
    width: 100px;
  }

  .contact__title {
    font-size: 14px;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 10px;
  }

  .copy-right-text {
    font-size: 10px;
  }

  /* Domain Page */

  .hero__icon {
    width: 75px;
  }

  .hero__title {
    font-size: 20px;
    margin-top: 6px;
  }

  .hero__text {
    font-size: 14px;
    margin-top: 10px;
  }

  .tips-card {
    padding: 16px;
    gap: 16px;
  }

  .tips__left img {
    width: 200px;
  }

  .tips__title {
    font-size: 18px;
  }

  .tips__item {
    gap: 8px;
  }

  .tips__item img {
    width: 22px;
  }

  .tips__item p {
    font-size: 13px;
  }

  .domain-search__box {
    padding: 10px;
  }

  .search-input__form {
    padding: 8px;
  }

  .domain-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .domain-card {
    height: auto;
    padding: 14px;
  }

  .price__value {
    font-size: 13px;
  }

  /* host Page host plan */

  .sections__title {
    font-size: 24px;
    margin: 12px auto;
  }

  .plans__sub-title {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 15px;
    line-height: 1.5;
  }

  .plans__wrapper-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding: 10px;
    max-width: 400px;
    margin: 0 auto;
  }

  .plan__card {
    max-width: 100%;
  }

  .plan__title {
    font-size: 18px;
  }

  .big {
    font-size: 22px;
  }

  .small {
    font-size: 13px;
  }

  .feature__item {
    font-size: 13px;
  }

  .special__card::after {
    --f: 0.4em;
    font-size: 12px;
    padding-inline: 0.8lh;
  }

  .server-plan__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .server-plan__card {
    padding: 14px;
    margin-bottom: 16px;
  }

  .plan__name {
    font-size: 20px;
  }

  .server-feature__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .feature-item__img {
    width: 16px;
    height: 16px;
  }

  .plan-price span:first-child {
    font-size: 16px;
  }

  .plan-install__price {
    font-size: 12px;
  }

  /* =========Contact page======== */
  /* .contact-content {
    margin: 40px auto;
  } */

  .contact-cards {
    gap: 15px;
  }

  .contact-card {
    padding: 20px;
  }

  .team-card {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-details {
    padding: 20px;
  }

  .contact-faq {
    padding: 20px;
  }

  .social-icons {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }

  .social-icon:nth-child(5) {
    grid-column: span 2;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h4 {
    font-size: 14px;
    line-height: 1.4;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
  }

  .trust__logo {
    width: 50px;
  }




  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* ========== footer ==========  */

  .copyright__right {
    font-size: 12px;
  }

  .copyright__right svg {
    width: 16px;
    height: 16px;
  }
}

/* 480px - موبایل */
@media screen and (max-width: 480px) {
  .container {
    max-width: 400px;
    padding: 0 10px;
  }

  .domain-cards__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }


  .domain-search__btn span {
    font-size: 14px;
  }

  .features__card-container {
    gap: 14px;
  }

  .feature-card {
    padding: 16px;
    margin: 10px 0;
  }

  .feature__img {
    width: 48px;
    margin-bottom: 10px;
  }

  .feature__title {
    font-size: 16px;
  }

  .feature-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .features__title {
    font-size: 20px;
  }

  .features__text {
    font-size: 14px;
  }

  /* host Page host plan */
  .sections__title {
    font-size: 22px;
  }

  .plans__sub-title {
    font-size: 13px;
    padding: 0 10px;
  }

  .plans__wrapper-grid {
    grid-gap: 16px;
    padding: 8px;
  }

  .plan__card {
    padding: 6px;
  }

  .plan__info {
    padding: 8px;
  }

  .plan__title {
    font-size: 17px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .big {
    font-size: 20px;
  }

  .plan__features {
    padding: 8px;
  }

  .feature-list {
    gap: 8px;
  }

  .feature__icon {
    width: 18px;
  }

  .buy-plan__link {
    padding: 8px;
    font-size: 13px;
  }

  /* =============404 page================ */
  .error-number {
    font-size: 80px;
  }

  .error-title {
    font-size: 24px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  /* ============Server page================ */

  .location__btn {
    width: 100px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .location__btn img {
    width: 20px;
    height: 20px;
  }

  .server-plan__title {
    font-size: 16px;
  }

  .server-plan__card {
    padding: 12px;
  }

  .plan__name {
    font-size: 18px;
  }

  .server-feature__item {
    gap: 6px;
  }

  .server-feature__item h6 {
    font-size: 13px;
  }

  .server-feature__item span:last-child {
    font-size: 12px;
  }

  .order-plan__link {
    padding: 8px 16px;
    font-size: 14px;
  }

  .plans-loading {
    padding: 20px;
  }

  .loading-text {
    font-size: 16px;
  }

  .loading-dots {
    gap: 6px;
  }

  .loading-dot {
    width: 8px;
    height: 8px;
  }

  /* ===============Blog page============== */
  .featured-post__content,
  .post-content {
    padding: 15px;
  }

  .featured-post__title {
    font-size: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  /* ===============Blog-Post page============== */

  .blog-post-title {
    font-size: 32px;
  }

  /* =========Contact page======== */
  .contact-cards {
    max-width: 100%;
  }

  .teams-grid {
    max-width: 100%;
  }

  .faq-grid {
    max-width: 100%;
  }

  .social-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-icon {
    padding: 12px 8px;
  }

  .social-icon i {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .social-icon span {
    font-size: 11px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px;
    font-size: 14px;
  }

  .contact-card__title,
  .team-name {
    font-size: 18px;
  }

  .contact-card__text,
  .team-desc {
    font-size: 13px;

    .checkbox-label {
      font-size: 13px;
    }

    .submit-btn {
      padding: 15px;
      font-size: 16px;
    }


  }

  /* 420px - موبایل کوچک */
  @media screen and (max-width: 420px) {
    .features__card-container {
      gap: 12px;
    }

    .feature-card {
      padding: 14px;
      margin: 8px 0;
    }

    .feature__img {
      width: 44px;
      margin-bottom: 8px;
    }

    .feature__title {
      font-size: 15px;
    }

    .feature-text {
      font-size: 12px;
      line-height: 1.4;
    }

    .features__title {
      font-size: 18px;
      margin-top: 10px;
    }

    .features__text {
      font-size: 13px;
      margin-top: 8px;
    }

    .hero__icon {
      width: 65px;
    }

    .hero__title {
      font-size: 18px;
    }

    .hero__text {
      font-size: 13px;
    }

    .tips__left img {
      width: 170px;
    }

    .tips__list {
      padding: 10px;
    }

    .tips__item p {
      font-size: 12px;
    }

    /* host Page host plan */

    .plans__sub-title {
      font-size: 12px;
    }

    .plans__wrapper-grid {
      grid-gap: 14px;
      padding: 6px;
    }

    .plan__title {
      font-size: 16px;
    }

    .big {
      font-size: 18px;
    }

    .small {
      font-size: 12px;
    }

    .feature__item {
      font-size: 12px;
      gap: 4px;
    }

    .feature__icon {
      width: 16px;
    }

    .special__card::after {
      --f: 0.3em;
      font-size: 11px;
      padding-inline: 0.6lh;
    }

    /* =============Server page================ */
    .sections__title {
      font-size: 20px;
    }


    .location__btn {
      width: 90px;
      padding: 8px 16px;
      font-size: 13px;
    }

    .server-plan__title {
      font-size: 15px;
    }

    .server-plan__card {
      padding: 10px;
    }

    .plan__name {
      font-size: 16px;
    }

    .server-feature__item h6 {
      font-size: 12px;
    }

    .server-feature__item span:last-child {
      font-size: 11px;
    }

    .plan-price span:first-child {
      font-size: 16px;
    }

    .plan-price span:last-child {
      font-size: 12px;
    }

    .order-plan__link {
      font-size: 13px;
    }

    /* =========Contact page======== */
    .section-title {
      font-size: 20px;
    }

    .social-icons {
      max-width: 250px;
      margin: 0 auto;
    }

    .social-icon {
      flex-direction: row-reverse;
      justify-content: center;
      text-align: center;
      padding: 12px 8px;
    }

    .social-icon i {
      margin-bottom: 0;
      margin-left: 15px;
      order: 2;
    }

    .social-icon span {
      font-size: 14px;
      order: 1;
    }

    .contact-detail-item {
      padding: 15px 0;
      margin-bottom: 20px;
    }

    .phone-numbers,
    .email-addresses {
      gap: 8px;
    }

    .phone-item,
    .email-address {
      padding: 10px;
    }

    .teams-title,
    .faq-title {
      font-size: 22px;
      margin-bottom: 30px;
    }

    .team-card,
    .contact-card {
      padding: 15px;
    }

    .team-icon,
    .contact-card__icon {
      width: 50px;
      height: 50px;
      font-size: 20px;
      margin-bottom: 15px;
    }

    .char-counter {
      font-size: 11px;
    }


  }
}