/* 1300, 1200, 1024, 992, 768, 480 */

@media (max-width: 1300px) {
}
@media (max-width: 1200px) {
}
@media (max-width: 1024px) {
    .first-section {
        flex-direction: column;
        padding: 20px;
        gap: 0px;
        height: auto;
    }
    .left-main-content,
    .right-main-content {
        width: 100%;
    }
    .left-main-content h1 {
        font-size: 45px;
    }
    .right-main-content {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .right-main-content > :nth-child(1),
    .right-main-content > :nth-child(2),
    .right-main-content > :nth-child(3),
    .right-main-content > :nth-child(4) {
        grid-column: span 2;
        grid-row: auto;
    }
    .right-main-content .image-container {
        height: 200px;
    }
    .stats-title h1 {
        font-size: 45px;
        letter-spacing: 5px;
    }
    .stats-title p {
        width: 80%;
        font-size: 0.95rem;
    }
    .tabs {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }
    .tab-button {
        padding: 10px 18px;
        font-size: 14px;
    }
    .tab-content-inner {
        flex-direction: column;
        gap: 30px;
    }
    .tab-image,
    .tab-text {
        max-width: 100%;
    }
    .tab-image {
        aspect-ratio: 16/10; 
    }
    .tab-text h3 {
        font-size: 1.8rem;
    }
    .tab-text p {
        font-size: 1rem;
    }
    .detail-image-container {
        aspect-ratio: 16 / 9;
        padding: 0 10px;
    }
    .details .details-content-title h1 {
        font-size: 45px;
        letter-spacing: 3px;
    }
    .details .details-content-title h3 {
        font-size: 18px;
        letter-spacing: 2px;
    }
    .details-content:nth-of-type(1) p,
    .details-content:nth-of-type(2) p {
        width: 70%;
        font-size: 14px;
    }
    .details .details-content:nth-of-type(1) .details-content-title {
        right: 3%;
    }
    .details .details-content:nth-of-type(2) .details-content-title {
        left: 3%;
    }
    .client-logo {
        flex: 0 1 100px;
        max-width: 100px;
    }
    .projects-title {
        font-size: 48px;
    }
    .projects-subtitle {
        width: 80%;
        padding: 0 20px;
        font-size: 16px;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0 20px;
        gap: 30px;
    }
    .project-card img {
        height: 220px;
    }
    .about-us-overlay h1 {
        font-size: 70px;
    }
    .about-us-image-container {
        aspect-ratio: 16/5;
    }
    .introduction-content h1 {
        font-size: 60px;
    }
    .introduction-content p {
        font-size: 16px;
    }
    .about-us-details .content-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .left-container-details,
    .right-container-details {
        padding: 0 20px;
    }
    .about-us-details .content-container h1 {
        font-size: 48px;
        text-align: center;
    }
    .right-container-details img {
        border-radius: 8px;
        max-height: 400px;
        object-fit: cover;
    }
    .cta-number {
        font-size: 48px;
    }
    .cta-desc {
        font-size: 16px;
    }
    .gallery-title {
        font-size: 48px;
    }
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        grid-auto-rows: 180px;
        gap: 12px;
    }
    .masonry-item.wide {
        grid-column: span 2;
    }
    .masonry-item.tall {
        grid-row: span 2;
    }
}
@media (max-width: 992px) {
}
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 75px;
        right: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        display: none;
    }
    .nav-links a {
        width: 100%;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links.active {
        display: flex;
    }
     .tabs-section {
        padding: 40px 20px;
        gap: 30px;
    }
    .tabs {
        width: 100%;
        border-radius: 20px;
        padding: 12px;
        justify-content: center;
    }
    .tab-button {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 13px;
    }
    .tab-content-inner {
        flex-direction: column;
        gap: 20px;
    }
    .tab-image {
        width: 100%;
        aspect-ratio: 16/11;
    }
    .tab-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    .tab-text p {
        text-align: center;
        font-size: 0.95rem;
    }
    .first-section {
        padding: 30px 10px 10px 10px;
    }
    .left-main-content {
        padding: 15px;
    }
    .left-main-content h1 {
        font-size: 35px;
        letter-spacing: 2px;
    }
    .left-main-content p {
        font-size: 14px;
    }
    .right-main-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .right-main-content .image-container {
        height: 200px; 
    }
    .right-main-content img {
        border-radius: 6px;
    }
    .stats-title h1 {
        font-size: 35px;
        letter-spacing: 3px;
    }
    .stats-title p {
        width: 90%;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .detail-image-container {
        aspect-ratio: 16 / 12;
        padding: 0;
    }
    .details .details-content-title {
        top: 8%;
    }
    .details .details-content-title h1 {
        font-size: 32px;
        letter-spacing: 2px;
        text-align: center;
    }
    .details .details-content-title h3 {
        font-size: 14px;
        text-align: center;
    }
    .details .details-content:nth-of-type(1) .details-content-title,
    .details .details-content:nth-of-type(2) .details-content-title {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        align-items: center;
        text-align: center;
        width: calc(100% - 100px);
    }
    .details-content:nth-of-type(1) p,
    .details-content:nth-of-type(2) p {
        width: 100%;
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
    }
    .clients-title h1 {
        font-size: 40px;
    }
    .clients-title p {
        font-size: 16px;
        max-width: 350px;
    }
    .client-logo {
        flex: 0 1 80px;
        max-width: 80px;
    }
    .projects-title {
        font-size: 40px;
        letter-spacing: 2px;
    }
    .projects-subtitle {
        width: 90%;
        font-size: 15px;
        margin-bottom: 40px;
    }
    .projects-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
    .project-card img {
        height: 200px;
    }
    .project-info h3 {
        font-size: 18px;
    }
    .about-us-image-container {
        aspect-ratio: 16/7;
    }
    .about-us-overlay h1 {
        font-size: 50px;
    }
    .about-btn {
        font-size: 16px;
        padding: 8px 22px;
    }
    .introduction-content h1 {
        font-size: 44px;
    }
    .introduction-content p {
        padding: 0 20px;
        font-size: 15px;
    }
    .about-us-details .content-container {
        flex-direction: column;
        gap: 20px;
    }
    .about-us-details .content-container h1 {
        font-size: 36px;
    }
    .right-container-details img {
        max-height: 320px;
    }
    .left-container-details {
        align-items: center;
        text-align: center;
    }
    .cta-number {
        font-size: 40px;
    }
    .cta-desc {
        font-size: 15px;
        padding: 0 15px;
    }
    .gallery-title {
        font-size: 36px;
    }
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        grid-auto-rows: 150px;
        gap: 10px;
    }
    .masonry-item.wide,
    .masonry-item.tall,
    .masonry-item.expanded {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 480px) {
    .left-main-content h1 {
        font-size: 28px;
    }
    .left-main-content i {
        font-size: 40px;
    }
    .right-main-content .image-container {
        height: 160px;
    }
    .stats-title h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .stats-title p {
        width: 95%;
        font-size: 0.85rem;
    }
    .tab-button {
        padding: 10px;
        font-size: 12px;
        letter-spacing: 1px;
    }
    .tab-text h3 {
        font-size: 1.4rem;
    }
    .tab-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .tab-image {
        aspect-ratio: 16/12;
    }
    .detail-image-container {
        aspect-ratio: 1 / 1.2;
    }
    .details .details-content:nth-of-type(1)
    .details-content-title,
    .details .details-content:nth-of-type(2)
    .details-content-title {
        width: calc(100% - 20px);
    }
    .details .details-content-title h1 {
        font-size: 26px;
    }
    .details .details-content-title h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    .details-content:nth-of-type(1) p,
    .details-content:nth-of-type(2) p {
        width: 90%;
        font-size: 13px;
    }
    .clients-logos {
        gap: 10px;
    }
    .client-logo {
        flex: 0 1 65px;
        max-width: 65px;
    }
    .client-batch{
        width: calc(100% - 20px);
    }
    .projects-section {
        padding: 70px 0 20px;
    }
    .projects-title {
        font-size: 28px;
        padding: 0 10px;
    }
    .projects-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }
    .project-card img {
        height: 180px;
    }
    .about-us-overlay h1 {
        font-size: 36px;
    }
    .about-btn {
        font-size: 14px;
        padding: 6px 18px;
    }
    .about-us-image-container {
        aspect-ratio: 16/9;
    }
    .introduction-content h1 {
        font-size: 34px;
    }
    .about-us-details .content-container h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    .right-container-details img {
        max-height: 250px;
    }
    .cta-number {
        font-size: 32px;
    }
    .cta-desc {
        font-size: 14px;
    }
    .gallery-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .masonry-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: 120px;
        gap: 8px;
    }
    .masonry-item.wide,
    .masonry-item.tall,
    .masonry-item.expanded {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

