/* ==================================
   1200px
================================== */
@media (max-width: 1200px) {

    /* Blog Archive */
    .tx-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tx-archive-intro {
        padding-top: 80px;
        padding-bottom: 60px;
    }
}

/* ==================================
   1080px
================================== */
@media (max-width: 1080px) {

    /* Sub Service Page / Why Choose Us */
    .single-about-us-section,
    .single-why-us-section {
        flex-direction: column;
        gap: 24px;
    }

    .s-about-section-one {
        display: flex;
        flex-direction: column;
    }

    .s-about-section-two {
        width: 100%;
        height: 400px;
        min-height: 400px;
    }

    .about-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .single-why-us-section {
        flex-direction: column;
    }

    .why-image-box {
        flex: none;
    }

    .why-image-box img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    /* Single Blog Page */
    .single-blog-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .single-blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .single-blog-search-widget {
        grid-column: 1 / -1;
    }

    .single-blog-sidebar-widget {
        margin-bottom: 0;
    }

    .single-blog-hero h1 {
        font-size: 38px;
    }

    /* 404 Page */
    .tx-404-wrapper {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 50px;
    }

    .tx-404-number-box {
        min-height: 330px;
    }

    .tx-404-content h1 {
        font-size: 52px;
    }

    .tx-404-content p {
        font-size: 17px;
    }

    /* About Us Page */
    .about-us-section {
        flex-direction: column;
    }

    /* Partners */
    .our-partners-set {
        grid-template-columns: repeat(3, 1fr);
    }

    /* About Us Page Services */
    .our-service-set {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Page */
    .service-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-page-grid .s-card:nth-child(1),
    .service-page-grid .s-card:nth-child(2),
    .service-page-grid .s-card:nth-child(n+3) {
        grid-column: span 1;
    }
}

/* ==================================
   1024px
================================== */
@media (max-width: 1080px) {

    /* 404 Page */
    .tx-404-page {
        padding: 90px 0;
    }
}

/* ==================================
   768px
================================== */
@media (max-width: 768px) {

    /* Contact Us Page */
    .contact-page-section {
        flex-direction: column;
    }

    /* Partners */
    .our-partners-set {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-item {
        aspect-ratio: 5 / 2.6;
    }

    /* Services Page */
    .service-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Premium Service Card */
    .s-card .card-image {
        height: 210px;
    }

    .s-card h3,
    .s-card .card-divider,
    .s-card p,
    .s-card .learn-more {
        margin-left: 24px;
        margin-right: 24px;
    }

    .s-card h3 {
        font-size: 22px;
        margin-top: 26px;
    }

    .s-card .learn-more {
        margin-bottom: 24px;
    }

    /* Blog Archive */
    .tx-blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tx-archive-intro {
        padding-top: 60px;
        padding-bottom: 45px;
    }

    .archive-main-title {
        font-size: 38px;
        line-height: 1.08;
    }

    .archive-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .tx-blog-card-image {
        height: 220px;
    }

    .tx-blog-placeholder {
        min-height: 220px;
    }

    .tx-blog-card-content {
        padding: 26px 24px 28px;
    }

    .tx-blog-card-title {
        font-size: 22px;
    }

    .tx-blog-meta {
        gap: 12px;
    }

    .tx-blog-pagination {
        margin-top: 45px;
        gap: 7px;
    }

    .tx-pagination-numbers {
        gap: 5px;
    }

    .tx-pagination-number,
    .tx-pagination-arrow {
        width: 42px;
        height: 42px;
    }

    /* Sub Service Page */
    .single-about-us-section {
        gap: 30px;
    }

    /*
    .s-about-section-two {
        height: 320px;
        min-height: 320px;
    }

    */
 
    .s-about-section-two{
        height: auto;
        min-height: auto;
    }


    .about-main-image {
        border-width: 6px;
    }

    /* Single Blog Page */
    .single-blog-layout {
        gap: 45px;
    }

    .single-blog-title {
        font-size: 38px;
    }

    .single-blog-hero h1 {
        font-size: 32px !important;
    }

    .single-blog-meta {
        gap: 12px 18px;
    }

    .single-blog-meta-item {
        font-size: 12px;
    }

    .single-blog-featured-image {
        margin-bottom: 32px;
    }

    .single-blog-featured-image::before {
        width: 60px;
    }

    .single-blog-entry {
        font-size: 16px;
        line-height: 1.75;
    }

    .single-blog-entry h2 {
        font-size: 29px;
    }

    .single-blog-entry h3 {
        font-size: 25px;
    }

    .single-blog-post-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .single-blog-nav-empty {
        display: none;
    }

    .single-blog-nav-next {
        text-align: left;
    }

    .single-blog-nav-next .single-blog-nav-label {
        justify-content: flex-start;
    }

    .single-blog-sidebar {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .single-blog-search-widget {
        grid-column: auto;
    }

    /* Single Blog Comment Form */
    .tx-comment-form {
        grid-template-columns: 1fr;
    }

    .tx-comment-field-full {
        grid-column: auto;
    }

    .tx-comment-submit {
        grid-column: auto;
    }

    .tx-comment-form-wrap {
        padding: 28px 22px;
    }

    /* Single Blog Comments */
    .tx-comment {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .tx-comment-avatar,
    .tx-comment-avatar-img {
        width: 44px;
        height: 44px;
    }

    .tx-comment-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .tx-comment-list .children {
        margin-left: 20px;
    }

    /* 404 Page */
    .tx-404-page {
        min-height: auto;
        padding: 80px 0;
        text-align: left;
    }

    .tx-404-wrapper {
        display: block;
    }

    .tx-404-number-box {
        display: none;
    }

    .tx-404-mobile-number {
        display: block;
        margin: 0 0 18px;
        font-family: var(--font-heading);
        font-size: 64px;
        font-weight: 800;
        line-height: 1;
        color: var(--color-red);
    }

    .tx-404-content {
        max-width: 100%;
        text-align: left;
    }

    .tx-404-label {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.4;
    }

    .tx-404-content h1 {
        margin: 0 0 18px;
        font-size: 40px;
        line-height: 1.1;
        color: var(--color-black);
    }

    .tx-404-content h1 span {
        color: var(--color-red);
    }

    .tx-404-content p {
        max-width: 100%;
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.6;
    }

    /* HomePage */
    .home-intro-one .mb:first-of-type {
        margin-top: 28px;
    }

    .home-intro-one .mb:first-of-type::before {
        width: 55px;
        margin-bottom: 20px;
    }

    .home-intro::after {
        right: -15px;
        top: auto;
        bottom: 50%;
        transform: none;
        font-size: 110px;
    }
}

/* ==================================
   600px
================================== */
@media (max-width: 600px) {

    /* About Us Page Services */
    .our-service-set {
        grid-template-columns: 1fr;
    }

    /* Services Page */
    .service-page-grid {
        gap: 20px;
    }

    .service-page-grid .service-card:nth-child(1),
    .service-page-grid .service-card:nth-child(2),
    .service-page-grid .service-card:nth-child(n+3) {
        flex: 0 0 100%;
    }
}

/* ==================================
   480px
================================== */
@media (max-width: 480px) {

    /* Why Choose Us */
    .why-exp-item {
        grid-template-columns: 40px 1fr;
    }

    .why-exp-visual {
        clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
        min-height: 140px;
    }

    .why-exp-content {
        padding: 30px 24px;
    }

    .why-exp-title {
        font-size: 1.5rem;
    }

    /* Blog Archive */
    .tx-blog-card-image {
        height: 200px;
    }

    .tx-blog-placeholder {
        min-height: 200px;
    }

    .tx-blog-meta {
        gap: 10px;
    }

    .tx-blog-category,
    .tx-blog-author,
    .tx-blog-date {
        font-size: 12px;
    }

    .tx-pagination-number,
    .tx-pagination-arrow {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    /* Single Blog Page */
    .single-blog-title {
        font-size: 32px;
    }

    .single-blog-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .single-blog-tags {
        flex-direction: column;
    }

    .single-blog-tags-label {
        padding-top: 0;
    }

    .single-blog-nav-item {
        padding: 20px;
    }

    .single-blog-sidebar-post {
        grid-template-columns: 85px minmax(0, 1fr);
    }

    .single-blog-sidebar-post-image {
        width: 85px;
        height: 68px;
    }

    /* Single Blog Comments */
    .tx-comments-title {
        font-size: 25px;
    }

    .tx-comment {
        grid-template-columns: 1fr;
    }

    .tx-comment-avatar {
        margin-bottom: 3px;
    }

    .tx-comments-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Partners */
    .our-partners-set {
        grid-template-columns: 1fr;
    }

    .partner-item {
        aspect-ratio: 6 / 2;
    }
}