@media (max-width: 767px) {
    /* top-section */
    .top-section {
        position: relative;
        background-image:
            linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 1) 100%),
            url(./images/robo);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: -350px center;
        /* as you requested earlier */
        padding: 0 20px;
        height: auto;
    }

    .top-section::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, transparent, black);
        pointer-events: none;
        z-index: 1;
    }

    .navbar {
        padding: 15px 20px;
        flex-direction: row;
        align-items: center;
        background-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.8) 50%,
                rgba(0, 0, 0, 0) 100%);
    }
    .second-nav{
    display: flex;
}

    .nav-option {
        display: none;
    }

    .nav-right-option {
        display: none;
        /* You can replace with a menu icon if needed */
    }
 .menu-bar {
    max-height: 0;
    overflow: hidden;
    background-color: black;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 10px 20px;
    display: block;
  }

  .menu-bar.show {
    max-height: 500px;
    padding: 80px 20px;
  }

  .menu-bar a {
    display: block;
    color: white;
    padding: 10px 0;
    text-decoration: none;
    font-size: 18px;
    padding-left: 8px;
  }

  .nav-menu::before {
    padding-top: 2px;
    color: rgb(255, 107, 53); /* Force correct color */
  }
    .logo {
        width: 120px;
    }
    .second-logo{
        width: 120px;
    }

    .top-content {
        padding: 250px 0px 250px;
        width: 100%;
        margin: 0;
        text-align: left;
        padding-top: 300px;
    }

    .main-head {
        font-size: 44px;
        line-height: 2.8rem;
    }

    .main-minihead {
        font-size: 19px;
        padding: 15px 0;
    }

    .collab-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .collab-btn:hover {
        padding: 9px 18px;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    /* second-section */
    .second-section {
        padding: 80px 20px;
        padding-top: 120px;
        border: none;
    }

    .second-section {
        margin: 0;
        background-color: #000;
        position: relative;
        z-index: 0;
    }


    .second-header-section {
        align-items: center;
        /* Center all children */
        text-align: center;
        /* Center the text inside */
    }

    .core {
        font-size: 16px;
        text-align: center;
        /* Ensure paragraph text is centered */
    }

    .section-head {
        font-size: 32px;
        width: 100%;
        line-height: 2.2rem;
        padding: 15px 0;
    }

    .core-content {
        padding: 10px 0;
    }

    .core-value-row {
        display: block;
        padding: 25px 0px;
    }

    .core-section {
        width: 100%;
    }

    .core-title {
        font-size: 24px;
    }

    .core-description {
        padding: 10px 0px;
        line-height: 1.2;
        width: 100%;
    }

    .hover-image {
        display: none;
        /* Disable hover image for touch devices */
    }

    /* video-section */
    .video-section {
        flex-direction: column;
        padding: 40px 20px 100px;
        /* less padding for mobile */
        gap: 20px;
    }

    .video-section-left {
        display: none;
    }

    .video-section-right {
        width: 100%;
    }

    .video-section-right {
        padding: 0;
    }

    .bracket {
        font-size: 16px;
        color: #B0B0B0;
        margin-bottom: 10px;
    }

    .video-title {
        font-size: 30px;
        line-height: 1.4;
        color: #2E2E2E;
        padding: 10px 0;
        font-weight: 500;
    }

    .video-grid {
        width: 100%;
        height: 500px;
        /* smaller height for mobile */
        padding: 10px 0;
    }

    .video {
        height: 100%;
        object-fit: cover;
    }

    .collab-btn {
        font-size: 16px;
        padding: 12px 24px;
        margin-top: 20px;
    }

    /* service-section */
    .service-section {
        flex-direction: column;
        padding: 80px 15px;
        gap: 30px;
    }

    .service-box {
    flex-direction: column;
    width: 100%;
    gap: 40px;
  }

  .service-box-left,
  .service-box-right {
    width: 100%;
    padding: 0;
  }

  .service-box-right-title {
    position: relative; /* remove sticky behavior for mobile */
    top: auto;
  }

  .service-grid-title {
    font-size: 32px;
    line-height: 2rem;
    padding: 15px 0;
  }

  .service-grid-img {
    height: auto;
    width: 100%;
  }

  .service-grid-para {
    font-size: 14px;
  }

  .collab-btn.n {
    margin-top: 10px;
  }

    .service-box-right {
        width: 100%;
        order: -1;
        /* Move titles to the top */
        text-align: left;
        padding: 50px 0px;
    }

    .service-box-right-title {
        position: relative;
        top: auto;
    }

    .service-grid-title {
        font-size: 32px;
        font-weight: 500;
        padding: 8px 0;
        color: #ffffff;
    }

    .service-box-left {
        width: 100%;
        padding: 0;
        flex-direction: column;
        gap: 30px;
    }

    .service-box-left .service-grid {
        display: block !important;
        /* Ensure all grids show */
        margin-bottom: 30px;
    }

    .service-grid-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .service-grid-para {
        font-size: 15px;
        color: #B0B0B0;
        padding: 10px 0;
        text-align: left;
    }

    .collab-btn.n {
        display: none;
    }

    /* project-section */
    .project-section {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 10px;
    }

    .project-section-right {
        order: -1;
        /* Move it to top */
        margin-bottom: 40px;
        width: 100%;
    }

    .project-section-left {
        order: 1;
        width: 100%;
    }

    .header-section-project {
        width: 80%;
    }

    .project-sectionb-left {
        width: 100%;
    }

    .project-sectionb-right {
        width: 100%;
        padding: 20px 0px;
    }

    .number {
        width: 20%;
    }

    .project-grid-title {
        margin: 0;
        font-size: 32px;
        padding: 5px 0px;
        width: auto;
        line-height: 1.2;
    }

    .collab-btn.p {
        display: none;
    }

    .grid-img {
        display: block;
    }

    .project-grid {
        width: 100%;
    }

    .project-img-title {
        display: flex;
        font-weight: 500;
        font-size: 20px;
    }

    /* blog-section */
    .blog-section {
        text-align: left;
        /* Align all inner text left */
        padding: 60px 15px;
    }

    .blog-title {
        font-size: 38px;
        line-height: 2.8rem;
        padding: 10px 0;
    }

    .blog-grid-section {
        flex-direction: column;
        gap: 30px;
        padding: 20px 0;
    }

    .blog-grid {
        width: 100%;
    }

    .blog-image-section {
        height: auto;
        max-height: 250px;
    }

    .blog-img {
        height: 100%;
        max-height: 250px;
        object-fit: cover;
    }

    .blog-img-minihead {
        font-size: 14px;
    }

    .blog-img-head {
        font-size: 20px;
        line-height: 1.8rem;
    }

    /* bottom-section */
    .bottom-section {
        padding: 60px 15px;
        display: block;
    }

    .first-bottom-section {
        margin: 0;
        text-align: left;
        width: 100%;
    }

    .bottom-title {
        font-size: 24px;
        line-height: 1.8rem;
        padding: 0;
    }

    .bottom-set {
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }

    .right-grid {
        padding: 12px 15px;
        min-height: 30px;
        font-size: 16px;
        flex-direction: row;
    }

    .arrow {
        width: 12px;
        height: 12px;
    }

    .collab-btn {
        font-size: 14px;
        padding: 12px 20px;
        margin-top: 30px;
    }

    .bottom-paragraph-section {
        padding: 0 15px;
    }

    .full-screen-div#mouseTrailContainer {
        width: 100%;
        /* Full width */
        height: 200px;
        /* or any height you want */
        margin-top: 20px;
        /* spacing from above content */
        align-self: flex-start;
        /* align left in flex container */
    }

    /* footer */
    .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    width: 100%;
  }

  .dual-menu {
    flex-direction: column;
    gap: 20px;
  }

  .dual-menu ul {
    margin: 0;
  }

  .footer-column a {
    margin: 0;
    width: 100%;
    display: block;
    font-size: 18px;
  }

  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: left;
  }

  .footer-column ul li {
    padding-left: 20px;
    font-size: 18px;
  }

  .footer-column ul li::before,
  .dual-menu ul li::before {
    color: rgb(255, 107, 53) !important; /* Override any inherited/overridden styles */
    left: 0;
    top: 4px;
    font-size: 18px;
  }
    /* Footer bottom adjustments */
    .footer-bottom {
        padding: 20px 10px;
        text-align: center;
    }

    .bottom-logo {
        max-width: 100%;
        margin: 0 auto;
    }

    .country {
        font-size: 12px;
        padding: 20px 0 0 0;
    }
    
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* top-section */
    .top-section {
        background-position: -200px center;
    }

    .navbar {
        padding: 20px 25px;
    }

    .navbar.scrolled .logo {
        width: 15%;
    }

    .main-head {
        font-size: 55px;
        line-height: 3.5rem;
    }

    .top-content {
        padding: 350px 25px 80px 25px;
        width: 65%;
    }

    .main-minihead {
        font-size: 18px;
    }

    /* second-section */
    .second-section {
        padding: 80px 25px;
        padding-top: 150px;
    }

    .section-head {
        font-size: 48px;
        width: 70%;
        line-height: 2.8rem;
    }

    .core-value-row {
        gap: 50px;
        padding: 30px 0px;
    }

    .core-section {
        width: 45%;
    }

    .core-title {
        font-size: 28px;
    }

    .core-description {
        font-size: 17px;
        width: 55%;
    }

    .core-index {
        font-size: 18px;
    }

    /* video-section */
    .video-section {
        padding: 60px 25px;
        padding-bottom: 150px;
        gap: 30px;
    }

    .video-section-left {
        width: 30%;
    }

    .video-section-right {
        width: 70%;
    }

    .video-title {
        font-size: 48px;
        line-height: 3.2rem;
    }

    .video-grid {
        width: 300px;
        height: 45vh;
    }

    /* service-section */
    .service-section {
        padding: 40px 25px;
    }

    .service-box {
        gap: 80px;
    }

    .service-box-left {
        width: 50%;
    }

    .service-box-right {
        width: 50%;
    }

    .service-grid-img {
        width: 95%;
        height: 40vh;
    }

    .service-grid-title {
        font-size: 48px;
        line-height: 2.5rem;
    }

    .service-grid-para {
        font-size: 15px;
    }

    /* project-section */
    .project-section {
        padding: 60px 25px;
        gap: 30px;
    }

    .project-section-left {
        width: 65%;
    }

    .project-section-right {
        width: 35%;
    }

    .project-sectionb-left {
        width: 65%;
    }

    .project-sectionb-right {
        width: 35%;
    }

    .grid-img {
        gap: 20px;
    }

    .project-grid-title {
        font-size: 36px;
        line-height: 2.4rem;
        width: 100%;
    }

    .image-division {
        height: 45vh;
    }

    /* blog-section */
    .blog-section {
        padding: 60px 25px;
    }

    .blog-title {
        font-size: 48px;
        line-height: 2.8rem;
    }

    .blog-grid-section {
        gap: 15px;
    }

    .blog-image-section {
        height: 45vh;
    }

    .blog-img-head {
        font-size: 24px;
        line-height: 2rem;
    }

    /* bottom-section */
    .bottom-section {
        padding: 60px 25px;
    }

    .first-bottom-section {
        width: 70%;
    }

    .bottom-title {
        font-size: 36px;
        line-height: 2.4rem;
    }

    .right-grid {
        min-height: 50px;
        padding: 0px 15px;
    }

    .full-screen-div#mouseTrailContainer {
        width: 100%;
        /* Full width */
        height: 200px;
        /* or any height you want */
        margin-top: 20px;
        /* spacing from above content */
        align-self: flex-start;
        /* align left in flex container */
    }

    /* footer */
    .footer {
        padding: 35px 25px;
    }

    .footer-bottom {
        padding: 35px 25px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    /* top-section */
    .top-section {
        background-position: -100px center;
    }

    .navbar {
        padding: 20px 35px;
    }

    .navbar.scrolled .logo {
        width: 14%;
    }

    .main-head {
        font-size: 65px;
        line-height: 4.2rem;
    }

    .top-content {
        padding: 380px 35px 80px 35px;
        width: 60%;
    }

    .main-minihead {
        font-size: 19px;
    }

    /* second-section */
    .second-section {
        padding: 90px 35px;
        padding-top: 180px;
    }

    .section-head {
        font-size: 58px;
        width: 55%;
        line-height: 3.2rem;
    }

    .core-value-row {
        gap: 70px;
        padding: 35px 0px;
    }

    .core-section {
        width: 42%;
    }

    .core-title {
        font-size: 32px;
    }

    .core-description {
        font-size: 18px;
        width: 58%;
    }

    /* video-section */
    .video-section {
        padding: 70px 35px;
        padding-bottom: 180px;
        gap: 35px;
    }

    .video-section-left {
        width: 32%;
    }

    .video-section-right {
        width: 68%;
    }

    .video-title {
        font-size: 56px;
        line-height: 4rem;
    }

    .video-grid {
        width: 320px;
        height: 48vh;
    }

    /* service-section */
    .service-section {
        padding: 45px 35px;
    }

    .service-box {
        gap: 100px;
    }

    .service-box-left {
        width: 47%;
    }

    .service-box-right {
        width: 53%;
    }

    .service-grid-img {
        width: 94%;
        height: 42vh;
    }

    .service-grid-title {
        font-size: 54px;
        line-height: 2.7rem;
    }

    .service-grid-para {
        font-size: 15px;
    }

    /* project-section */
    .project-section {
        padding: 70px 35px;
        gap: 35px;
    }

    .project-section-left {
        width: 62%;
    }

    .project-section-right {
        width: 38%;
    }

    .project-sectionb-left {
        width: 62%;
    }

    .project-sectionb-right {
        width: 38%;
    }

    .grid-img {
        gap: 25px;
    }

    .project-grid-title {
        font-size: 40px;
        line-height: 2.6rem;
        width: 95%;
    }

    .image-division {
        height: 48vh;
    }

    /* blog-section */
    .blog-section {
        padding: 70px 35px;
    }

    .blog-title {
        font-size: 56px;
        line-height: 3.2rem;
    }

    .blog-grid-section {
        gap: 18px;
    }

    .blog-image-section {
        height: 48vh;
    }

    .blog-img-head {
        font-size: 26px;
        line-height: 2.2rem;
    }

    /* bottom-section */
    .bottom-section {
        padding: 70px 35px;
    }

    .first-bottom-section {
        width: 65%;
    }

    .bottom-title {
        font-size: 40px;
        line-height: 2.6rem;
    }

    .right-grid {
        min-height: 55px;
        padding: 0px 18px;
    }

    .full-screen-div {
        height: 75vh;
    }

    /* footer */
    .footer {
        padding: 38px 35px;
    }

    .footer-bottom {
        padding: 38px 35px;
    }

    .dual-menu {
        gap: 35px;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {}