:root {
  --primary: #013328;
  --secondary: #ff914d;
  --ternary: white;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*---------- HEADER SECTION ----------*/

@media screen and (max-width: 1024px) {
  .header1 {
    flex-direction: column;
    padding: 10px 4%;
    align-items: flex-start;
  }

  .header2 {
    padding: 10px 6%;
    margin-top: 6%;
    margin-left: -1%;
    margin-bottom: -4%;
  }
  .button {
    margin-right: 5%;
  }

  .social-icons {
    margin-top: 2%;
    margin-left: 75%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 100%;
    /* height: 100vh; */
    width: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease-in-out;
    opacity: 0;
  }

  .menu.show {
    left: 0;
    opacity: 1;
    margin-left: 0%;
  }

  .menu a {
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    text-align: center;
    display: block;
    transition: transform 0.3s ease-in-out;
  }

  .menu a:hover {
    transform: scale(1.1);
    color: var(--ternary);
  }
}

@media screen and (max-width: 768px) {
  .header1 {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .header1 .mail {
    margin-left: 0;
  }

  /* .social-icons{
      margin-top: 2%;
      margin-left: 15%;
      display: flex;
      justify-content: center !important;
      align-items: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
      }   */

  .header2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    padding: 10px 3%;
    text-align: center;
    width: 100%;
  }

  .logo img {
    width: 150px;
    height: 150px;
    align-items: left;
  }

  .menu-toggle {
    display: block;
    order: 3;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, color 0.3s;
    color: var(--primary);
    z-index: 1001;
  }

  .menu-toggle.active {
    transform: rotate(180deg);
    color: red;
    position: fixed;
    top: 90px;
    right: 55px;
  }

  .button {
    order: 2;
    padding: 6px 14px;
    font-size: 14px;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 100%;
    /* height: 100vh; */
    width: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease-in-out;
    opacity: 0;
    padding-bottom: 30px;
  }

  .menu.show {
    left: 0;
    opacity: 1;
    margin-left: 0%;
    margin-top: 77.5px;
    border-top: 1px solid white;
  }

  .menu a {
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    text-align: center;
    display: block;
    transition: transform 0.3s ease-in-out;
  }

  .menu a:hover {
    transform: scale(1.1);
    color: var(--ternary);
  }
  .blogs-container {
    flex-direction: column;
  }
}

@media screen and (min-width: 482px) and (max-width: 668px) {
  .menu.show {
    right: 0;
    opacity: 1;
    margin-left: 0%;
    margin-top: 80px;
    border-top: 1px solid white;
  }
}

@media screen and (max-width: 480px) {
  body,
  html {
    overflow-x: hidden;
    width: 100%;
  }

  .header1 {
    padding: 10px 20px;
    flex-direction: column;
    /* align-items: flex-start; */
  }

  .social-icons {
    margin-top: 10px;
    margin-left: 8%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .header2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    padding: 5%;
    text-align: center;
    margin-left: 0%;
    margin-top: 13%;
    margin-bottom: -5%;
  }

  .logo img {
    width: 100px;
    height: 100px;
    padding-top: 8px;
  }

  .menu-toggle {
    display: block;
    order: 3;
    font-size: 31px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, color 0.3s;
    color: var(--primary);
    z-index: 1001;
  }

  .menu-toggle.active {
    transform: rotate(180deg);
    color: red;
  }

  .button {
    order: 2;
    padding: 6px 14px;
    font-size: 14px;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* height: 100vh; */
    width: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease-in-out;
    opacity: 0;
  }

  .menu.show {
    right: 0;
    opacity: 1;
    margin-left: 0%;
  }

  .menu a {
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    text-align: center;
    display: block;
    transition: transform 0.3s ease-in-out;
  }

  .menu a:hover {
    transform: scale(1.1);
    color: var(--ternary);
  }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  body,
  html {
    overflow-x: hidden;
    width: 100%;
  }

  .header1 {
    padding: 10px 20px;
  }

  .header2 {
    padding: 30px 30px 20px 30px;
  }

  .social-icons {
    margin-top: 2%;
    margin-left: 12%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .logo img {
    width: 90px;
    height: 90px;
  }

  .menu-toggle {
    font-size: 26px;
  }

  .button {
    font-size: 13px;
    padding: 6px 12px;
  }

  .menu a {
    font-size: 1.4rem;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 100%;
    /* height: 100vh; */
    width: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease-in-out;
    opacity: 0;
  }

  .menu.show {
    right: 0;
    opacity: 1;
    margin-left: 0%;
    margin-top: 81.5px;
    border-top: 1px solid white;
  }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
  .header1 {
    flex-direction: column;
    align-items: center;
    padding: 12px 40px;
    text-align: center;
  }

  .social-icons {
    margin-top: 1%;
    margin-bottom: 1%;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
  }

  .header2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    position: relative;
    z-index: 1000;
  }

  .logo img {
    width: 95px;
    height: 95px;
  }

  .menu-toggle {
    display: block;
    order: 3;
    font-size: 32px;
    color: var(--primary);
    cursor: pointer;
    transition: transform 0.3s ease-in-out, color 0.3s;
    z-index: 1001;
  }

  .menu-toggle.active {
    transform: rotate(180deg);
    color: red;
    position: fixed;
    top: 72px;
    right: 55px;
  }

  .button {
    padding: 8px 16px;
    font-size: 15px;
    order: 2;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s ease-in-out;
    opacity: 0;
    padding-bottom: 30px;
  }

  .menu.show {
    left: 0;
    opacity: 1;
    margin-left: 0%;
    margin-top: 68px;
    border-top: 1px solid white;
  }

  .menu a {
    font-size: 1.5rem;
    padding: 15px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease-in-out;
  }

  .menu a:hover {
    transform: scale(1.1);
    color: var(--ternary);
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .header1 {
    flex-direction: row;
  }

  .mail {
    width: 100%;
    text-align: left;
  }

  /* .social-icons {
    gap: 15px;
    align-items: center;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    } */

  .header2 {
    flex-direction: row;
    align-items: center;
    padding: 10px 50px 10px 60px;
    margin: 60px 0 20px 0;
  }

  .logo img {
    width: 120px;
    height: auto;
  }

  .menu {
    margin: 10px 0 0 0;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .button {
    margin: 10px 0;
  }
}

/*---------- HOME ist SECTION ----------*/

@media screen and (min-width: 768px) and (max-width: 1180px) {
  .home1 {
    flex-direction: column;
    padding: 30px;
  }

  .text-home {
    width: 60%;
    margin-left: 20px;
  }

  .text-home h1 {
    font-size: 3rem;
  }

  .typing-text {
    font-weight: 600;
    font-size: 3.2rem;
  }

  .text-home p {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .home1 {
    flex-direction: column;
    padding: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .text-home {
    width: 100%;
    margin-left: 0;
  }

  .text-home h1 {
    font-size: 2.5rem;
  }

  .text-home p {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
  .home1 {
    flex-direction: column;
    padding: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .text-home {
    width: 100%;
    margin-left: 0;
  }

  .text-home h1 {
    font-size: 2.5rem;
  }

  .text-home p {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .home1 {
    flex-direction: column;
    padding: 25px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .text-home {
    width: 100%;
    margin-left: 0;
  }

  .text-home h1 {
    font-size: 2rem;
  }

  .text-home p {
    font-size: 1rem;
  }

  .ct-button {
    padding: 12px 20px;
    font-size: 16px;
  }
}

/*----------  HOME 2nd SECTION ----------*/

@media screen and (max-width: 1265px){
    .double-img {
        margin-top: 5%;
        gap: 20px;
  }
  
  .double-img img {
    width: 250px;
    height: 250px;
  }
}
/* Laptops and Large Tablets */
@media screen and (max-width: 1024px) {
  .home2 {
    padding: 40px 20px;
  }

  .home2 h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
  }

  .home-grid {
    grid-template-columns: 1fr; /* Single column layout */
    grid-template-rows: auto;
    gap: 30px;
    max-width: 90%;
    margin: 30px auto 0 auto; /* Centered with top margin */
  }

  .home-block {
    flex-direction: column; /* Stack image/content vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text within content area */
    gap: 20px;
  }

  .home-block:first-child {
    grid-row: auto; /* Reset row span */
    justify-content: flex-start; /* Or space-around if preferred for its direct children */
  }

  /* .home-block:nth-child(2), .home-block:nth-child(3) will inherit column direction */

  .double-img {
    gap: 15px;
    /* flex-direction: row; is default, may need to change if images too wide */
  }

  .double-img img {
    width: 200px;
    height: 200px;
  }

  .home-block:nth-child(2) img,
  .home-block:nth-child(3) img {
    width: 180px;
    height: 180px;
  }

  /* Reset text indentation and center text for stacked layout */
  .home-block h3,
  .home-block p,
  .home-block a {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: center;
  }

  .home-block h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 0; /* Reset top margin inherited from base */
  }

  .home-block p {
    font-size: 1.1rem;
    margin-top: 10px; /* Adjust spacing */
  }

  .home-block a {
    font-size: 0.95rem;
    margin-top: 15px; /* Adjust spacing */
  }
}

/* Tablets */
@media screen and (max-width: 768px) {
  .home2 {
    padding: 30px 15px;
  }

  .home2 h2 {
    font-size: 2.2rem;
  }

  .home-grid {
    gap: 25px;
    max-width: 95%;
  }

  .home-block {
    padding: 15px;
  }

  .double-img {
    flex-direction: column; /* Stack images in .double-img vertically */
    align-items: center;
    gap: 20px;
  }

  .double-img img {
    width: 180px; /* Adjust if needed, e.g., could be larger if stacked */
    height: 180px;
  }

  .home-block:nth-child(2) img,
  .home-block:nth-child(3) img {
    width: 160px;
    height: 160px;
  }

  .home-block h3 {
    font-size: 1.6rem;
  }

  .home-block p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .home-block a {
    font-size: 0.9rem;
  }
}

/* Mobile Devices */
@media screen and (max-width: 576px) {
  .home2 {
    padding: 25px 10px;
  }

  .home2 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .home-grid {
    gap: 20px;
    margin-top: 20px; /* Consistent top margin */
  }

  .home-block {
    padding: 10px;
    border-radius: 15px;
  }

  .double-img {
    gap: 15px;
  }

  .double-img img {
    width: 150px;
    height: 150px;
    border-width: 4px;
  }

  .home-block:nth-child(2) img,
  .home-block:nth-child(3) img {
    width: 130px;
    height: 130px;
    border-radius: 25%;
  }

  .home-block h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .home-block p {
    font-size: 0.95rem;
  }

  .home-block a {
    font-size: 0.85rem;
    margin-top: 10px;
  }
}

/* Very Small Mobile Devices */
@media screen and (max-width: 380px) {
  .home2 {
    padding: 20px 5px;
  }

  .home2 h2 {
    font-size: 1.8rem;
  }

  .home-grid {
    max-width: 98%;
    gap: 15px;
  }

  .home-block {
    border-radius: 10px;
    gap: 15px;
  }

  .double-img img {
    width: 130px; /* Or even full width for single image: width: 80%; */
    height: 130px;
  }

  .home-block:nth-child(2) img,
  .home-block:nth-child(3) img {
    width: 110px;
    height: 110px;
  }

  .home-block h3 {
    font-size: 1.4rem;
  }

  .home-block p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .home-block a {
    font-size: 0.8rem;
  }
}

/*---------- HOME 3rd SECTION ----------*/

@media (min-width: 1024px) and (max-width: 1366px) {
  .home-ser-btn {
    width: 60%;
    margin: 30px auto 0 70%;
    display: block;
  }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
  .home3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 55px;
    margin-top: 5%;
  }

  .home-content {
    max-width: 90%;
    margin: 0 auto 30px auto;
  }

  .home-content h2 {
    margin-left: 0;
    font-size: 3rem;
    margin-top: 3%;
  }

  .home-content p {
    max-width: 90%;
    margin: 5% auto 15% auto;
  }
  .home-content img {
    margin-left: 28%;
  }

  .transparent-gif {
    margin-left: 0;
    max-width: 220px;
  }

  .serv-card {
    width: 90%;
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
    margin: 0 auto;
  }

  .home-ser-btn {
    width: 60%;
    margin: 30px auto 0 70%;
    display: block;
  }







}

@media screen and (min-width: 481px) and (max-width: 767px) {
  .home3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    margin-top: 5%;
  }

  .home-content {
    max-width: 95%;
    margin: 0 auto 20px auto;
  }

  .home-content h2 {
    font-size: 2.5rem;
    margin-left: 0;
    margin-top: 3%;
  }

  .home-content p {
    font-size: 1.4rem;
    max-width: 95%;
    margin: 5% auto 15% auto;
  }

  .transparent-gif {
    margin-left: 28%;
    max-width: 200px;
  }

  .serv-card {
    width: 95%;
    grid-template-columns: 1fr; /* Stack cards vertically */
    margin-left: 0;
    margin: 0 auto;
    gap: 20px;
  }

  .serv img {
    display: block;
    margin: 0 auto;
  }

  .serv h3,
  .serv span {
    text-align: center; /* Center text in services */
  }

  .serv p {
    text-align: center; /* Center text in services */
  }

  .home-ser-btn {
    width: 70%;
    margin: 20px auto 0;
    display: block;
  }
}

@media screen and (min-width: 768px) and (max-width: 819px) {
  .home3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    margin-top: 5%;
  }

  .home-content {
    max-width: 95%;
    margin: 0 auto 30px auto;
  }

  .home-content h2 {
    font-size: 2.8rem;
    margin-left: 0;
    margin-top: 3%;
  }

  .home-content p {
    font-size: 1.3rem;
    max-width: 95%;
    margin: 5% auto 15% auto;
  }
  .home-content img {
    margin-left: 28%;
  }

  .transparent-gif {
    margin-left: 0;
    max-width: 200px;
  }

  .serv-card {
    width: 95%;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-left: 0;
    margin: 0 auto;
  }

  .serv img {
    display: block;
    margin: 0 auto;
  }

  .home-ser-btn {
    width: 60%;
    margin: 25px auto 0 70%;
    display: block;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .home3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    margin-top: 5%;
  }

  .home-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto 20px auto;
  }

  .home-content h2 {
    font-size: 2rem;
    margin-left: 0;
    margin-top: 5%;
  }

  .home-content p {
    font-size: 1.2rem;
    width: 95%; /* Adjust width for better fit */
    margin: 5% auto 15% auto;
  }

  .transparent-gif {
    margin-left: unset;
    max-width: 180px;
  }

  .serv-card {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 0;
    margin: 0 auto;
  }

  .serv img {
    display: block;
    margin: 0 auto;
  }

  .serv h3,
  .serv span {
    text-align: center;
  }

  .serv p {
    text-align: center;
  }

  .home-ser-btn {
    width: 70%;
    margin: 20px auto 0 auto;
    display: block;
  }
}

@media screen and (max-width: 320px) {
  .home3 {
    padding: 15px;
    margin-top: 5%;
  }

  .home-content h2 {
    font-size: 1.6rem;
  }

  .home-content p {
    font-size: 0.9rem;
  }

  .serv-card {
    gap: 15px;
  }

  .serv h3,
  .serv span {
    font-size: 1.2rem;
  }

  .serv p {
    font-size: 0.8rem;
  }

  .serv img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
  }

  .home-ser-btn {
    font-size: 0.9rem;
    width: 80%;
  }
}

/*---------- HOME 4th SECTION ----------*/

@media (min-width: 768px) and (max-width: 1199px) {
  .title1 {
    font-size: 2.8rem;
    margin-top: 6%;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .title1 {
    font-size: 2.4rem;
    margin-top: 8%;
  }
}

@media (max-width: 480px) {
  .title1 {
    font-size: 2rem;
    margin-top: 10%;
  }
}

/* Tablets (iPad Air, Mini, etc.) - 3 items per row */
@media (min-width: 768px) and (max-width: 1024px) {
  .tech-item {
    flex: unset;
    max-width: 30%;
  }

  .home4 {
     
      margin-left: 3%;
      margin-right: 3%;
  }



  .diamond-shape {
    width: 140px;
    height: 140px;
  }

  .diamond-shape img {
    width: 55px;
    height: 55px;
  }

  .circle1 {
    width: 90px;
    height: 90px;
    border-width: 8px;
  }

  .tech-name1,
  .tech-name2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
}

/* Phones (iPhone, Android) - 2 items per row */
@media (max-width: 767px) {
  .tech-item {
    flex: unset;
    max-width: 45%;
  }

  .home4 {
     margin-left: 3%;
      margin-right: 3%;
  }

  .diamond-shape {
    width: 130px;
    height: 130px;
  }

  .diamond-shape img {
    width: 50px;
    height: 50px;
  }

  .circle1 {
    width: 80px;
    height: 80px;
    border-width: 7px;
  }

  .tech-name1,
  .tech-name2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
}

/*---------- HOME 5th SECTION ----------*/

@media (min-width: 768px) and (max-width: 1199px) {
  .home5 {
    padding: 30px 40px;
    min-height: auto;
  }
  .home5 h2 {
    font-size: 1.9rem;
    text-align: center;
    margin-left: 0;
  }
  .sub-heading {
    font-size: 1.05rem;
    text-align: center;
    max-width: 100%;
    margin-left:unset;
  }
  .lr_content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-left: 0;
    width: 80%;
    margin-left: 12%;
  }
  .industry-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 75%;
    margin: 5% auto 0 auto;
    align-items: center;
    margin-top: 8%;
  }
  .industry-item {
    width: 100%;
    padding: 15px;
    text-align: center;
    left:unset;
  }

  
  .industry-item img {
    width: 40px;
    height: 40px;
    margin-left: -20%;
  }
  .industry-number {
    font-size: 1.2rem;
  }
  .industry-text {
    font-size: 1rem;
    margin-left: -15%;
  }
  .rocket-img {
    max-width: 90%;
    margin: 20px auto 0 auto;
  }
  .rocket-img img {
    width: 60%;
    display: block;
    margin-top: -8%;
    margin-left: 20%;
    margin-right: unset;
  }
  .home-solutions {
    padding: 8px;
  }
  .home-solutions p {
    font-size: 1.5rem;
    max-width: 100%;
    margin: auto;
    color: var(--ternary);
    margin-top: 2%;
  }
}

/* Mobile Devices */
@media (max-width: 767px) {
  .home5 {
    padding: 20px 15px;
    min-height: auto;
  }
  .home5 h2,
  .sub-heading {
    text-align: center;
  }
  .home5 h2 {
    font-size: 1.6rem;
  }
  .sub-heading {
    font-size: 0.95rem;
  }
  .lr_content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-left: 15%;
  }
  .industry-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 60%;
    margin: 7% auto 0 auto;
    gap: 15px;
    margin-left: 5%;
    align-items: center;
  }
  .industry-item {
    width: 100%;
    padding: 12px;
    text-align: center;
  }
  .industry-item img {
    width: 35px;
    height: 35px;
    margin-left: -15%;
  }
  .industry-number {
    font-size: 1.1rem;
  }
  .industry-text {
    font-size: 0.95rem;
  }
  .rocket-img {
    max-width: 95%;
    margin: 20px 15% 0 auto;
  }
  .rocket-img img {
    width: 70%;
    display: block;
    margin-left: 15%;
    margin-top: -9%;
  }
  .home-solutions {
    text-align: center;
    padding: 10px;
  }
  .home-solutions p {
    font-size: 1.3rem;
    max-width: 95%;
    margin: auto;
    color: var(--ternary);
    margin-top: 2%;
    margin-left: 3%0;
  }
}

@media (max-width: 480px) {
  .home5 {
    padding: 15px 10px;
    min-height: auto;
  }
  .home5 h2 {
    font-size: 1.4rem;
  }
  .sub-heading {
    font-size: 0.85rem;
  }
  .lr_content {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-left: 5%;
  }
  .industry-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 95%;
    margin: 8% auto 0 auto;
    gap: 12px;
    align-items: center;
    margin-left: -5%;
  }
  .industry-item {
    width: 90%;
    padding: 10px;
    text-align: center;
  }
  .industry-item img {
    width: 30px;
    height: 30px;
  }
  .industry-number {
    font-size: 1rem;
  }
  .industry-text {
    font-size: 0.85rem;
  }
  .rocket-img {
    max-width: 95%;
    margin: 20px 20% 0 auto;
  }
  .rocket-img img {
    width: 100%;
    display: block;
  }
  .home-solutions {
    padding: 8px;
  }

  .home-solutions h3 {
    margin-right: -15%;
  }
  .home-solutions p {
    font-size: 0.85rem;
    width: 100%;
    margin: auto;
    color: var(--ternary);
    margin-top: 3%;
    margin-left: 15%;
  }
}

@media (max-width: 375px) {
  .home5 {
    padding: 15px 10px;
    min-height: auto;
  }
  .home5 h2 {
    font-size: 1.4rem;
  }
  .sub-heading {
    font-size: 0.85rem;
  }
  .lr_content {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-left: 5%;
  }
  .industry-list {
    display: grid;
    grid-template-columns: 1fr;
    width: 95%;
    margin: 8% auto 0 auto;
    gap: 12px;
    align-items: center;
    margin-left: -5%;
  }
  .industry-item {
    width: 80%;
    padding: 10px;
    text-align: center;
  }
  .industry-item img {
    width: 30px;
    height: 30px;
  }
  .industry-number {
    font-size: 1rem;
  }
  .industry-text {
    font-size: 0.85rem;
  }
  .rocket-img {
    max-width: 95%;
    margin: 20px 20% 0 auto;
  }
  .rocket-img img {
    width: 100%;
    display: block;
  }
  .home-solutions {
    padding: 8px;
  }
  .home-solutions p {
    font-size: 0.85rem;
    max-width: 100%;
    margin: auto;
    color: var(--ternary);
    margin-top: 3%;
    margin-left: 5%;
  }
  .header1 .mail {
    margin-left: 0;
  }
}

/* @media (min-width: 360px) {
  .industry-list {
    width: 65%;
    margin-left: 5%;
    align-items: center;
  }
} */

/*---------- HOME client SECTION ----------*/

@media (min-width: 768px) and (max-width: 1180px) {
  .head {
    width: 90%;
    height: 270px !important;
  }
  .head-title,
  .head-subtitle,
  .head-description {
    font-size: 30px;
  }
  .head-description {
    margin-left: 10%;
  }
  .clients {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* 768px - 819px */
@media (min-width: 768px) and (max-width: 1180px) {
  .head {
    flex-direction: column;
    align-items: flex-start;
    height: 280px !important;
    padding: 25px;
    width: 95%;
  }
  .head-title,
  .head-subtitle,
  .head-description {
    font-size: 26px;
  }
  .head-description {
    margin-left: 0;
    max-width: 100%;
  }
  .clients {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 481px - 767px */
@media (min-width: 481px) and (max-width: 767px) {
  .head {
    flex-direction: column;
    align-items: flex-start;
    min-height: 280px; /* increased */
    padding: 25px;
    width: 95%;
  }
  .head-title,
  .head-subtitle,
  .head-description {
    font-size: 22px;
  }
  .head-description {
    margin-left: 0;
    max-width: 100%;
  }
  .clients {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
  }
  .client img {
    height: 80px;
  }
  .client img[alt="U Drive"],
  .client img[alt="Aetna"] {
    width: 240px;
    height: 80px;
  }
}

/* max-width: 480px */
@media (max-width: 480px) {
  .head {
    flex-direction: column;
    align-items: flex-start;
    height: 250px !important; /* increased */
    padding: 20px;
    width: 95%;
  }
  .head-title,
  .head-subtitle,
  .head-description {
    font-size: 18px;
  }
  .head-description {
    margin-left: 0;
    max-width: 100%;
  }
  .clients {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  .client img {
    height: 70px;
  }
  .client img[alt="U Drive"],
  .client img[alt="Aetna"] {
    width: 200px;
    height: 70px;
  }
}

/*----------- Home 7th Section -----------*/

@media (max-width: 480px) {
  .home7 {
    margin-top: 10%;
  }

  .home-testimonial {
    width: 90%;
    margin: 40px auto;
    padding: 20px;
  }

  .home-testimonial .pic {
    width: 80px;
    height: 80px;
  }

  .home-testimonial .testimonial-content {
    font-size: 16px;
    line-height: 26px;
  }

  .home-testimonial .testimonial-title a {
    font-size: 18px;
  }

  .home-testimonial .testimonial-title small {
    font-size: 14px;
  }

  .head {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    min-height: 280px;
  }

  .head-title,
  .head-subtitle {
    font-size: 24px;
  }

  .head-description {
    font-size: 16px;
    text-align: center;
    margin: 35px 0;
  }

  .line {
    display: none;
  }

  .clients {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  .client img {
    height: 60px;
  }

  .client img[alt="U Drive"],
  .client img[alt="Aetna"] {
    width: 100%;
    height: auto;
  }
}

/* 📲 Tablet (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .home-testimonial {
    width: 90%;
    margin: 60px auto;
    padding: 25px;
  }

  .home-testimonial .testimonial-content {
    font-size: 18px;
    line-height: 28px;
  }

  .head {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .head-title,
  .head-subtitle {
    font-size: 30px;
  }

  .head-description {
    font-size: 18px;
    text-align: center;
    margin: 20px 0;
  }

  .line {
    display: none;
  }

  .clients {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .client img {
    height: 80px;
  }

  .footer-section1 a {
    margin-left: 32%;
  }
}

/* 💻 Small laptops (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .home-testimonial {
    width: 85%;
    margin: 70px auto;
    padding: 30px;
  }

  .head {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    padding: 30px;
  }

  .head-title,
  .head-subtitle {
    font-size: 35px;
  }

  .head-description {
    font-size: 18px;
    max-width: 100%;
    margin: 20px 0;
    text-align: center;
  }

  .clients {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .client img {
    height: 90px;
  }
  .line{
      display: none;
  }
}

@media (max-width: 1180px){
      .line{
      display: none;
  }
}
/*---------- HOME 8th SECTION ----------*/

@media (min-width: 768px) and (max-width: 1180px) {
  .box1 {
    height: auto;
    width: 100%;
  }

  .home8 h2 {
    font-size: 2.2rem;
  }

  .course-item {
    font-size: 1.1rem;
  }

  .blog-item {
    font-size: 1rem;
  }
  .form-container {
    width: 60%;
  }
}

/* Tablets (481px–767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .blogs-container {
    flex-direction: column;
    gap: 30px;
  }
  /* 
  .box1 {
    width: 100%;
    height: auto;
  } */

  .home8 h2 {
    font-size: 2rem;
  }

  .courses h3,
  .blogs h3 {
    font-size: 1.6rem;
  }
}

/* Phones (max-width: 480px) */
@media (max-width: 480px) {
  .blogs-container {
    flex-direction: column;
    gap: 20px;
  }

  .box1 {
    width: 100%;
    height: auto;
    padding: 15px;
  }

  .home8 {
    padding: 20px;
  }

  .home8 h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .courses h3,
  .blogs h3 {
    font-size: 1.4rem;
  }

  .course-item,
  .blog-item {
    font-size: 1rem;
    padding: 10px;
  }

  .blog-label {
    font-size: 0.8rem;
    padding: 8px 12px;
    top: -20px;
    left: -5px;
  }
}

/*---------- FOOTER SECTION ----------*/


@media (max-width: 480px) {
  .footer3 {
    margin-left: 0;
    padding: 20px;
  }

  .footer-section1 a {
    margin-left: 28%;
  }

  .abt5 a {
    margin-left: 20px;
  }

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

  .abt5 div {
    font-size: 1.2rem;
    flex-direction: column;
    text-align: center;
  }

  .abt5 p {
    font-size: 18px;
    margin: 15px 0;
    margin-right: 0;
    text-align: center;
  }

  .part1 h2,
  .part2 h2,
  .part3 h2 {
    font-size: 20px;
    text-align: center;
  }

  .part1 ul li,
  .part2 ul li,
  .part3 ul li {
    font-size: 15px;
    margin-left: 20px;
    text-align: left;
  }

  .container7 {
    gap: 30px;
    margin-left: 20px;
  }
}

/* Tablets and Medium Devices */
@media (min-width: 481px) and (max-width: 767px) {
  .footer3 {
    margin-left: 20px;
    padding: 25px;
  }

  .abt5 a {
    margin-left: 20px;
  }

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

  .abt5 p {
    font-size: 22px;
    margin-right: 0;
  }

  .part1 h2,
  .part2 h2,
  .part3 h2 {
    font-size: 22px;
  }

  .part1 ul li,
  .part2 ul li,
  .part3 ul li {
    font-size: 16px;
  }

  .container7 {
    gap: 30px;
    margin-left: 20px;
  }
}

/* Large Screens */
@media (min-width: 1600px) {
  .abt5 a {
    margin-left: 20px;
  }
  .abt5 div {
    font-size: 2rem;
  }

  .abt5 p {
    font-size: 32px;
  }

  .part1 h2,
  .part2 h2,
  .part3 h2 {
    font-size: 30px;
  }

  .part1 ul li,
  .part2 ul li,
  .part3 ul li {
    font-size: 19px;
    margin-left: 20px;
    text-align: left;
  }

  .container7 {
    gap: 30px;
    margin-left: 20px;
  }
}

/*---------- FOOTER SECTION 2ND ----------*/

/* 820px – 1180px */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-top {
    padding: 15px 30px;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
  }

  .footer-top div {
    margin-bottom: 10px;
  }

  .footer-top h3 {
    font-size: 20px;
  }

  .footer-top p {
    font-size: 17px;
  }

  .footer-section2 a {
    margin-left: 0;
    word-spacing: 4px;
    margin-left: 25%;
  }

  .footer-section1 ul li {
    margin-left: -15%;
  }
  .footer-section1 a{
      margin-left: 33%;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
.footer-section1 ul li {
    margin-left: unset;
  }
}

@media(max-width: 340px){
    .button {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .footer-top {
    padding: 15px 30px;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
  }

  .footer-top div {
    margin-bottom: 10px;
  }

  .footer-top h3 {
    font-size: 20px;
  }

  .footer-top p {
    font-size: 17px;
  }

  .footer-section2 a {
    word-spacing: 4px;
    margin-left: 22%;
  }

  /* .footer-section1 ul li{
      margin-left: 10%;
  } */
}

/* 768px – 819px */
@media (min-width: 768px) and (max-width: 819px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    text-align: center;
  }

  .footer-top div {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-top h3 {
    font-size: 20px;
  }

  .footer-top p {
    font-size: 16px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section3 {
    width: 70%;
    margin-left: 0;
  }

  .footer-section1 ul li {
    margin-left: 12%;
  }

  .footer-section2 a {
    margin-left: 43%;
  }

  .footer-section1,
  .footer-section2 {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: left;
    padding: 5px;
    text-align: left;
    margin-left: 0%;
  }

  .footer-links {
    text-align: center;
    margin-top: 10px;
  }
}

/* 481px – 767px */
@media (min-width: 481px) and (max-width: 767px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    padding: 15px 15px;
    text-align: center;
  }

  .form-container form {
    margin-left: 65px;
  }

  .form-container h3 {
    /*margin-left: -9%;*/
  }

  .footer-top div {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-top h3 {
    font-size: 18px;
  }

  .footer-top p {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center !important;
    padding: 5px;
    text-align: center !important;
    margin-left: 0 !important;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.footer-section3{
    width: 80%;
    margin: 10px 0;
    text-align: center;
}
  
  .footer-section1,
  .footer-section2{
    width: 50%;
    margin: 10px 0;
    text-align: center;
  }

  .footer-section1 h3,
  .footer-section2 h3 {
    margin-left: 0;
    margin-right: 0;
    text-align: center !important;
  }

  .footer-section2 a {
    margin-left: 43%;
  }

  .footer-links {
    text-align: center;
    margin-top: 10px;
  }
}

/* ≤ 480px */
@media (max-width: 480px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    text-align: center;
  }

  .footer-top div {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-top h3 {
    font-size: 18px;
  }

  .footer-top p {
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
  }

  .footer-section1,
  .footer-section2,
  .footer-section3 {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  .footer-section1 ul li {
    margin-left: 3px;
  }

  /* .footer-section1 ul li {
    margin-left: 25%;
  } */

  .footer-section2 a {
    margin-left: 38%;
  }

  .footer-section2 h3 {
    margin-right: -8%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: left;
    padding: 5px;
    text-align: left;
    /* margin-left: 5%; */
  }

  .footer-bottom p,
  .footer-links a {
    font-size: 20px;
    text-align: center;
  }

  .footer-links {
    text-align: left;
    margin-top: 10px;
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    text-align: center;
  }

  .footer-top div {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-top h3 {
    font-size: 18px;
  }

  .footer-top p {
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
  }

  /* .footer-section1,
  .footer-section2,
  .footer-section3 {
    width: 100%;
    margin: 10px 0;
    text-align: center;
  } */

  /* .footer-section1 ul li{
      margin-left: 50%;
  }
   */
  /* .footer-section2 a{
      margin-left: 35%;
  } */

  .footer-bottom {
    flex-direction: column;
    align-items: left;
    padding: 5px;
    text-align: left;
    /* margin-left: 5%; */
  }

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

  .footer-links {
    text-align: left;
    margin-top: 10px;
    display: flex;
  }

  /* .footer-section1 ul li {
    margin-left: 0;
  } */

  /* .footer-section1 a {
    margin-left: 0;
    text-align: center;
  } */
}

/* sevice page responshive */

@media (min-width: 896px) and (max-width: 924px) {
 .left-section1 h1{
  font-size: 2em;
 }
 .left-section1 p{
  font-size: 1.2em;
 }
}

@media (max-width: 896px) and (min-width: 768px) {


.service1 {
    flex-direction: column;
    gap: 50px;
    justify-content: start;
    align-items: start;
    padding: 20px 20px 30px 20px;
    height: unset;
  }
 .left-section1 h1{
  font-size: 2em;
 }
 .left-section1 p{
  font-size: 1.2em;
 }
 .right-section1 {
   width: 100%;
   
 }
 /*.web-development {*/
 /*  top: -10px;*/
 /*  right: 120px;*/
 /*}*/
 /*.digital-marketing {*/
 /*  bottom: 10px;*/
 /*  left: 120px;*/
 /*}*/


}

@media (max-width: 550px) {
    
  .inner-circle img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
  }
}


@media (max-width: 768px) {

  .service1 {
      flex-direction: column;
      gap: 50px;
      justify-content: start;
      align-items: start;
      padding: 20px 20px 30px 20px;
      height: unset;
      margin-left:2%;
      margin-right: 2%;
    }
        .right-section1 {
          width: 100%;
    
        }
        


  .left-section1 h1 {
    font-size: 2em;
    margin-left: 0;
  }
  .left-section1 p {
    margin-left: 0;
    font-size: 1em;
  }

  .about-img {
    max-width: 70%;
  }

  .abt1 h2 {
    font-size: 2em;
  }
  .service3 {
    margin-top:0px;
  }


 .our-mission{
    padding: 0 8px 0 8px;
  }
  .email-container {
    margin-left: 0px;
    text-align: start;

    padding: 10px;
  }
  .email-container button {
    padding: 10px 10px;
  }

  .service3 h2 {
    font-size: 2em;
  }

  #customers-testimonials .ser-item {
    width: 100%;
  }

  .timeline-container h2,
  .service4 h2 {
    font-size: 2em !important;
  }

  .abt1 p {
    font-size: 1em;
  }
  #mission {
    font-size: 1em;
  }
  .feature .content1 p {
    font-size: 1em;
  }
  .abt1 {
    width: 100%;
  }

  .abt3 ul li {
    font-size: 1em;
  }

  .left-section h2 {
    font-size: 2em;
    margin-left: 2%;
  }
}

@media (max-width: 480px) {
  .ser-head {
    flex-direction: column;
  }
  .shadow-effect {
    max-height: 180%;
  }
  .outer-circle {
    width: 320px;
    height: 320px;
  }
    .digital-marketing {
      bottom: -10px;
      left: 50px;
    }
      .web-development {
        top: -10px;
        right: 20px;
      }
    .service2 {
      padding: 25px;
    
      margin-left: 2%;
      margin-right: 2%;
    }

  
}


@media (max-width: 400px) {
    .service1 {
      
        padding: 20px 20px 30px;
    }
}

/* About  page resopnshive */

@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
    /* padding: 40px 30px 0 30px; */
    margin-left: 0;
    margin-right: 0;
  }

  .grid-item {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: start;
}

  .btn2 {
   width: 45%;
  }

  .about-img1 {
  
   width: 100%
 }
 /* .choose-us {
  
    padding: 20px;
    
} */

 .image-section {
 width: 100%; 
}

  .abt h1 {
    font-size: 2em;
  }
  .abt {
    max-width: 100%;
  }
  .abt p {
    font-size: 1em;
  }

  .content-container {
    flex-direction: column;
  }

  .container4 {
    flex-direction: column-reverse;
    gap: 20px;
    margin-top: 50px;
  }
  .abt3 h2 {
    font-size: 2em;
    text-align: center;
  }
  .abt3 {
    width: 100%;
    margin-left: 3%;
    margin-right: 3%;
    margin-bottom: 50px;
  }
  .abt3 ul {
    max-width: 90%;
  }
  .about-img2 img {
    margin-left: 0;
    margin-right: 3%;
    width: 100%;
  }

  .text-section {
    
    gap: 40px;
}

.abt3 ul li {
    margin-top: 40px;
  
}

  .choose-us {
    flex-direction: column;
    margin-top: 50px;
    gap: 90px;
  }

  .text-section h2 {
    font-size: 2em;
  }

  .text-section {
    width: 100%;
  }

  /* .footer-section1 a {
    margin-left: 0;
    text-align: center;
  } */

  /* .footer-section2 a {
    margin-left: 0;
    text-align: center;
  } */

  .footer-section1 h3 {
    margin-right: -1%;
  }

  .footer-section1 ul li {
    margin-left: 15%; 
  }

  .footer-section2 h3 {
    margin-left: 4%;
  }
  .right-section p {
    font-size: 1em;
  }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
    
    .container1{
    flex-direction: column;
    }
    
    .abt {
    max-width: 100%;
   }
}

@media screen and (min-width: 900px) and (max-width: 1180px) {
    .about-img{
        max-width: 60%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {

  .container4 {
    margin-bottom: 50px;
}

  .image-section img {
    width: 80%;
    min-height: 80%;
}
 .about-img2 img {
    margin-top: 150px;
    width: 82%;
    min-height: 65%;
}
}

@media (max-width: 924px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container8 {
    padding: 28px;
  }

  .main-content {
    margin-left: 0;
    margin-right: 0;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container8 {
    min-height: unset;
  }

  .main-content h1 {
    font-size: 2em;
  }

  .main-content p {
    font-size: 1em;
  }

  .btn3 {
    width: unset;
  }

  .title {
    font-size: 2em;
  }
  .web_solutions h2,
  .mobileapp_development h2,
  .digital_marketing h2,
  .brand_building h2,
  .consulting_services h2,
  .general_queries h2 {
    font-size: 2em;
  }



  .container10 h2 {
    font-size: 2em;
  }

  .banner {
    height: 600px;
  }
}

@media (max-width: 668px) {
  .faq-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .faq-item {
    width: 80%;
  }
  .faq-item1 .faq {
    width: 100%;
  }

  .question-icons img {
    max-width: 250px;
   
}


}

@media (max-width: 739px) {
  .question-icons img {
    max-width: 250px;
   
}
}

@media screen and (min-width: 768px) {
            .faq-slide {
                flex-direction: row;
            }
        }




@media (max-width: 611px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 500px) {
  .banner {
    height: 700px;
  }
}

@media (max-width: 474px) {
  .banner {
    height: 700px;
  }

  .banner-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 462px) {
  .banner {
    /*height: 1000px;*/
  }

  .banner-content h2 {
    font-size: 30px;
  }
}

/* contact us page responshive */

@media (max-width: 1180px) {
  .form-section {
    width: unset;
  }
}

@media (max-width: 921px) {
  .contact-section {
    flex-direction: column;
    gap: 30px;
    padding: 50px 30px 0 30px;
  }

  .text-content {
    max-width: 100%;
  }

  .text-content h1 {
    font-size: 3em;
  }

  .text-content p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    gap: 30px;
    padding: 50px 30px 0 30px;
  }

  .text-content {
    max-width: 100%;
  }

  .container10{
    margin:0 30px 0 30px;
  }

  .text-content h1 {
    font-size: 2em;
  }

  .text-content p {
    font-size: 1em;
  }

  .image-content {
    max-width: 60%;
  }

  .contact2 {
    flex-direction: column;
    padding: 20px 0px 50px 0px;
  }

  #sub-frame-error {
    width: 70% !important;
  }

  .container5 h2 {
    font-size: 2em;
  }

  .container5 h2 span {
    font-size: 1em;
  }
  .container6 {
    padding: 0px 20px 0 20px;
    margin-right: 0;
  }

  .container6 h2 {
    font-size: 2em;
  }

  .contact-details,
  .fa-solid {
    font-size: 1em;
  }

  .contact-details,
  .fa-solid {
    margin-left: 0;
  }

  .contact-details {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .contact-details div {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .image-content {
    max-width: 100%;
  }

  .main-content p {
      max-width: 70%;
      margin-top: 10px;
  }
  
  .main-content h1 {
      max-width: 70%;
  }
}

@media (min-width: 1199px) and (max-width: 1350px){
    .rocket-img {
    margin-left: unset;
  }
  
  .industry-list{
    margin-right: 60px;
  }
 }
 
 @media (min-width: 1199px) and (max-width: 1225px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent scroll */
  }

  * {
    box-sizing: border-box;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
    
    .footer-section1 ul li{
        margin-left: 6%;
    }
    
    .footer-section2 a{
        margin-left: 35%;
    }
}

@media screen and (max-width: 480px) {
    
    .footer-section1 ul li{
        margin-left: 12%;
    }
    
    .footer-section2 a{
        margin-left: 40%;
    }
}


    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .service1 {
        flex-direction: column-reverse;
        text-align: center;
      }

      .left-section1 h1 {
        font-size: 2.5rem;
      }

      .left-section1 p {
        font-size: 1rem;
      }

      .email-container {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
      }

      .email-container button {
        width: 100%;
      }
    }


 /* ========== RESPONSIVE STYLE ========== */
   
   @media(max-width:1260px){
       
    .step-number::after,
      .step-number1::after,
      .step-number::before,
      .step-number1::before,
      .step1:after,
      .step:after {
        display: none !important;
      }
   }


    @media (max-width: 992px) {
      .container5 h2 {
        font-size: 36px;
      }

      .container5 h2 span {
        font-size: 36px;
      }
      
      .step-number::after,
      .step-number1::after,
      .step-number::before,
      .step-number1::before,
      .step1:after,
      .step:after {
        display: none !important;
      }
    }

    @media (max-width: 768px) {
      .steps-container {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
      }

      .step,
      .step1 {
        width: 90%;
        height: auto;
        margin: 20px 0;
      }

      .step-number,
      .step-number1 {
        position: static;
        transform: none;
        margin: 10px auto;
        width: 60px;
        height: 60px;
        font-size: 24px;
      }

      .step-content,
      .step-content1 {
        margin-top: 10px;
      }

      .step:nth-child(2), .step:nth-child(4) {
        transform: translateY(0px);
     }
     
      .step-number::after,
      .step-number1::after,
      .step-number::before,
      .step-number1::before,
      .step1:after,
      .step:after {
        display: none !important;
      }
    }

    @media (max-width: 480px) {

      .step-content h3,
      .step-content1 h3 {
        font-size: 18px;
      }

      .step-content p,
      .step-content1 p {
        font-size: 16px;
      }

      .step-icon img {
        height: 40px;
        width: 40px;
      }
    }


   /* Desktop Zig-Zag Layout */
    @media (min-width: 1024px) {
      .road-wrapper {
        padding-left: 5%;
        padding-right: 5%;
      }

      .step1 {
        top: 0;
        left: 10%;
      }

      .step1 .step-title,
      .step1 .step-desc {
        order: -1;
      }

      .step2 {
        top: 130px;
        left: 30%;
      }

      .step2 .step-item {
        order: -1;
      }

      .step3 {
        top: 0;
        left: 50%;
      }

      .step3 .step-title,
      .step3 .step-desc {
        order: -1;
      }

      .step4 {
        top: 130px;
        left: 70%;
      }

      .step4 .step-item {
        order: -1;
      }

      .step5 {
        top: 0;
        left: 90%;
      }

      .step5 .step-title,
      .step5 .step-desc {
        order: -1;
      }
    }

    /* Tablet and Mobile Layout */
    @media (max-width: 1023px) {
      .road-wrapper {
        height: auto;
        padding: 40px 5%;
      }

      .road-svg {
        display: none;
      }

      .steps-overlay {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
      }

      .step-block {
        position: static;
        width: 100%;
        transform: none;
        padding-left: 10px;
        padding-right: 10px;
        flex-direction: column;
        text-align: center;
        max-width: 300px;
        border: 2px solid #013328;
        padding: 20px 10px;
        border-radius: 15px;
      }

      .step-item {
        order: 1 !important;
        margin: 0 auto 15px;
        width: 100px;
        height: 100px;
        font-size: 32px;
      }

      .step-title {
        font-size: 18px;
        order: 2;
        margin-top: 0px;
      }

      .step-desc {
        font-size: 15px;
        max-width: 90%;
        order: 3;
      }
    }
    @media (max-width: 768px) {
  .timeline-container h3 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .timeline-container h3 {
    font-size: 22px;
  }
}

/*service end*/

@media (max-width: 862px) {
  .why-service-row {
    flex-direction: column;
  }

  .why-service-row.reverse {
    flex-direction: column;
  }

  .why-service-content {
    padding: 20px 0;
  }
}

/* ========== Responsive Media Queries ========== */

/* Extra large screens (≥1600px) */
@media (min-width: 1600px) {
  .main-content h1 {
    font-size: 4.2rem;
    max-width: 40%;
  }

  .main-content p {
    font-size: 1.6rem;
    max-width: 50%;
  }

  .btn3 {
    width: 20%;
    font-size: 1.5rem;
  }
}

/* Tablets and small desktops (820px–1180px) */
@media (min-width: 820px) and (max-width: 1180px) {
  .container8 {
    padding: 40px;
  }

  .main-content h1 {
    font-size: 3rem;
    max-width: 60%;
  }

  .main-content p {
    font-size: 1.2rem;
    max-width: 70%;
  }

  .btn3 {
    width: 40%;
    font-size: 1.3rem;
  }
}

/* Small tablets and landscape phones (481px–767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .container8 {
    padding: 30px;
    justify-content: center;
  }

  .main-content {
    align-items: center;
    text-align: center;
  }

  .main-content h1 {
    font-size: 2.2rem;
    max-width: 100%;
    text-align: center;
  }

  .main-content p {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .btn3 {
    width: 60%;
    font-size: 1.2rem;
  }
}

/* Mobile phones (≤480px) */
@media (max-width: 480px) {
  .container8 {
    padding: 20px;
    margin-top: -20px;
    justify-content: center;
    min-height: auto;
  }

  .main-content {
    align-items: center;
    text-align: center;
    margin: 0;
  }

  .main-content h1 {
    font-size: 1.8rem;
    max-width: 100%;
  }

  .main-content p {
    font-size: 1rem;
    max-width: 100%;
  }

  .btn3 {
    width: 80%;
    font-size: 1rem;
    padding: 12px 20px;
  }
}
