* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html{
    scroll-behavior: smooth;

  }
  
  body {
    font-family: 'Poppins', sans-serif;
  }
  
  a {
    text-decoration: none;
  }
  
  .main-head {
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  
  .link-header {
    background-color: #ff1887;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 65px;
    padding: 0 30px;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .contact-link a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    color: #2600ff; /* Or any highlight color */
}
  
  .contact-link {
    display: flex;
    align-items: center;
  }
  
  .phone,
  .mail {
    display: flex;
    align-items: center;
    margin: 0 20px;
  }
  
  .phone img,
  .mail img {
    width: 25px;
    height: 25px;
    margin-right: 8px;
  }
  
  .contact-link #pysimp {
    font-size: 18px;
    font-weight: bold;
  }
  
  .social-links ul {
    display: flex;
    list-style: none;
    margin-left: 20px;
  }
  
  .social-links a i {
    font-size: 18px;
    color: #fff;
    margin-right: 20px;
  }
  .social-links a i:hover {
    color: #2600ff; /* Or any highlight color */
}
  
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0e6fbf url('/assets/image/Rectangle 1944.png') repeat;
    padding: 0;
    height: 90px;
  }
  
  .header-left {
    padding-left: 50px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    width: 40%;
    display: flex;
    align-items: center;
    background: #ffffff  url('/assets/image/Rectangle 1944.png') repeat;
    height: 90px;
  }
  
  .header-left .logo {
    height: 100px;
    width: 350px;
  }
  
  .header-right {
    display: flex;
    gap: 15px;
    padding-right: 20px;
  }
  
  .header-right a {
    color: white;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    padding-right: 15px;
  }
  
  .header-right a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .header-right a:hover::after {
    opacity: 1;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  
  .bar {
    height: 4px;
    background: rgb(0, 0, 0);
    border-radius: 2px;
    transition: 0.4s ease;
  }
  
  /* Hamburger open animation */
  .hamburger.open .bar1 {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.open .bar2 {
    opacity: 0;
  }
  
  .hamburger.open .bar3 {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: white;
    text-align: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.1s ease-in-out;
  }
  
  .mobile-nav a {
    color: #454243;
    padding: 15px 0;
    font-weight: bold;
  }
  
  .mobile-nav.open {
    display: flex;
    max-height: 400px;
  }


  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .hero img {
    width: 100%;
    margin-top: 90px;
    max-height: 650px;
    object-fit: cover;
  }

  .hero-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    text-align: center;
    opacity: 0;
    background: linear-gradient(to right, #ff007b, #0325e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: dropBounce 2s ease-out forwards;
    animation-delay: 0.5s;
    z-index: 2;
}

@keyframes dropBounce {
  0% {
      opacity: 0;
      transform: translate(-50%, -200px);
  }
  60% {
      opacity: 1;
      transform: translate(-50%, 20px);
  }
  80% {
      transform: translate(-50%, -10px);
  }
  100% {
      transform: translate(-50%, 0);
  }
}

/* 2500px to 1600px */
@media (max-width: 2500px) {
  .hero-text {
      font-size: 5rem;
  }
}

@media (max-width: 1920px) {
  .hero-text {
      font-size: 4.5rem;
  }
}

@media (max-width: 1600px) {
  .hero-text {
      font-size: 4rem;
  }
}

/* 1440px to 1024px */
@media (max-width: 1440px) {
  .hero-text {
      font-size: 3.5rem;
  }
}

@media (max-width: 1280px) {
  .hero-text {
      font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .hero-text {
      font-size: 2.5rem;
  }
}

/* 768px to 480px */
@media (max-width: 768px) {
  .hero-text {
      font-size: 2rem;
      top: 25%;
  }
}

@media (max-width: 576px) {
  .hero-text {
      font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
      font-size: 1.6rem;
      top: 30%;
  }
}

/* 400px and below */
@media (max-width: 400px) {
  .hero-text {
      font-size: 1.4rem;
      top: 32%;
  }
}

@media (max-width: 330px) {
  .hero-text {
      font-size: 1.2rem;
      top: 35%;
  }
}
  
  .product-category {
    position: relative; /* Enables layering with z-index */
    z-index: 5; /* Adjust as needed based on what it should overlap or go under */
    background: #0e6fbf url('/assets/image/Rectangle 1944.png');
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    text-align: center;
    color: white;
  }
  
  
  .product-category h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
  }
  
  .card {
    background: white;
    font-size: 15px;
    border-radius: 8px;
    padding: 10px;
    max-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .card img {
    width: 100%;
    height: 75%;
    border-radius: 6px;
  }
  
  .card p {
    margin-top: 20px;
    background-color: #ff1887;
    color: white;
    font-weight: bold;
    padding: 5px 0;
    border-radius: 4px;
  }
  
  #viewbtn {
    font-weight: 800;
    font-size: 18px;
    margin-top: 60px;
  }
  
  #viewbtn a {
    border-style: solid;
    border-width: 3px;
    padding: 7px 15px;
    color: #ff007b;
  }

  #viewbtn a:hover{
    background-color: #b4b0b2;
    transition:  1s ease;
    transform: scale(1.02);
  }
  
  /* Media Queries */
  @media (max-width: 1400px) {
    .cards-container {
      grid-template-columns: repeat(3, 1fr);
    }
    .header-left .logo{
        width: 300px;
        padding-right: -30px;
    }
  }

  @media screen and (max-width: 1200px) {
    .product-category{
      margin-top: -70px;
    }

    
  }
  
  @media (max-width: 1024px) {
    .cards-container {
      grid-template-columns: repeat(2, 1fr);
    }

    .header-left .logo{
        width: 300px;
        padding-right: 30px;
    }

    .header-right a{
      font-size: 12px;
    }

    .product-category{
      margin-top: -230px;
    }
 
    .mobile-nav {
      display: none;
    }
  }

  @media screen and (max-width: 900px) {
    .link-header{
        padding-right: 100px;
        font-size: 13px;
    }
    .main-header{
      height: 90px;
    }
    .header-left .logo {
        width: 290px;
        height: auto;
        padding-right: 60px;
      }

      .product-category{
        margin-top: -200px;
      }
      .header-right a{
        font-size: 12px;
      }
  }
  
  @media (max-width: 768px) {

    .hamburger{
        display: flex;
        position: absolute;
        right: 2%;
    }

    .product-category{
      margin-top: -200px;
    }
    .link-header{
        font-size: 11px;
        padding-right: 140px;
    }

    .social-links li a{
        position: relative;
        left: -20px;
    }

    .header-left{
        width: 100%;
        background: none;
        background-color: white;
        clip-path: none;
    }
    .header-left .logo {
      width: 280px;
      height: auto;
      margin-left: 32%;
    }

    .header-right{
        display: none;
    }
  
    .cards-container {
      grid-template-columns: 1fr;
    }
  
    .hero img {
      margin-top: 120px;
    }
    .product-category{
      margin-top: -230px;
    }
  }

  @media screen and(max-width: 680px) {
    .product-category{
      margin-top: -200px;
    }

    
  }
  
  @media (max-width: 600px) {
    .link-header {
      font-size: 8px;
      padding-right: 90px;
    }

    .social-links li a{
        position: relative;
        left: -120px;
    }

    .main-header .logo{
        padding-right: 100px;
    }


    .header-right {
      display: none;
    }
    .product-category{
      margin-top: -20px;
    }
  
    .hamburger {
      display: flex;
    }
  
    .mobile-nav {
      display: none;
    }
  
    .hero img {
      margin-top: 150px;
    }
    .product-category{
      margin-top: -230px;
    }
  }

  @media screen and (max-width: 550px) {
    .product-category{
      margin-top: -270px;
    }
  }
  
  @media (max-width: 480px) {

    .link-header {
        font-size: 8px;
        padding-right: 30px;
      }

      .product-category{
        margin-top: -330px;
      }
  
      .social-links li a{
          position: relative;
          left: -120px;
      }

      .main-header .logo{
        position: absolute;
        left: -0px;
    }
  

    .cards-container {
      grid-template-columns: 1fr;
      padding: 10px;
    }
  
    .product-category h2 {
      font-size: 20px;
    }
  
    #viewbtn a {
      font-size: 16px;
      padding: 6px 12px;
    }
  }

  @media (max-width: 400px) {

    .link-header {
        font-size: 6px;
        padding-right: -30px;
      }

      .product-category{
        margin-top: -330px;
      }
  
      .social-links li a{
          display: none;
      }

      .main-header .logo{
        position: absolute;
        left: -20px;
    }
    }
  


    /* --------------product gategories---------- */

    .container {
      position: relative; /* or 'absolute' depending on the context */
      z-index: 10; /* Higher value = closer to the front */
      display: flex;
      flex-wrap: wrap;
      background: #ff0088 url('/assets/image/Rectangle 1944.png');
      background-size: cover;
      background-position: center;
      padding: 20px;
    }
    

  .container h2 {
      margin-left: 40%;
      font-size: 30px;
      color: #ffffff;
  }

  .latest-products {
  width: 300px;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.scroll-imgs {
  display: flex;
  flex-direction: column;
  animation: scrollUp 20s linear infinite;
}

.scroll-imgs img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 8px;
}

/* Hide scrollbar */
.scroll-imgs::-webkit-scrollbar {
  display: none;
}
.scroll-imgs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Keyframes for continuous upward scroll */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .latest-products {
    width: 90%;
    height: 400px;
  }

  .scroll-imgs img {
    height: 100px;
  }
}

  .product-grid {
      width: 80%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      padding: 20px;
  }

  .product-card {
      background-color: #ffffff;
      border: 1px solid #ccc;
      padding: 10px;
      text-align: center;
      border-radius: 8px;
      height: 290px;
  }

  .product-card img {
      width: 100%;
      height: 200px;
  }

  .product-card p {
      background-color: #005aab;
      color: white;
      padding: 8px;
      margin-top: 10px;
      border-radius: 4px;
  }

  .product-card a p:hover{
    background-color: rgb(0, 0, 255);
    transition: 0.1s ease;
    transform: scale(1.02);
  }

  /* Media Queries */

  @media screen and (max-width: 1200px) {
      .latest-products {
          width: 20%;
          height: 180vh;
          background-color: rgba(0, 90, 171, 0.8);
          /* semi-transparent blue */
          color: white;
          padding: 20px 10px;
          text-align: center;
          position: relative;

      }
      .gradient-text{
          margin-top: 250px;
          font-size: 65px;
      }

  }

  /* Small devices (phones) */
  @media (max-width: 600px) {

    .phone img, .mail img{
      width: 15px;
      height: 15px;
    }

    .social-links a{
      margin-left: 20px;
    }
      .container {
          flex-direction: column;
          align-items: center;
      }

      .container h2 {
          margin-left: 0;
          font-size: 24px;
          text-align: center;
      }

      .latest-products {
          width: 100%;
          margin-bottom: 20px;
      }

      .latest-products h2 {
          font-size: 24px;
          letter-spacing: 2px;
      }

      .scroll-imgs img {
          width: 200px;
          height: 200px;
      }

      .product-grid {
          width: 100%;
          grid-template-columns: repeat(2, 1fr);
      }

      .product-card {
          padding: 15px;
      }
  }


  /* Medium devices (tablets) */
  @media (min-width: 601px) and (max-width: 1024px) {
      .container {
          flex-direction: row;
          justify-content: space-between;
      }

      .latest-products {
          width: 30%;
          margin-bottom: 20px;
      }

      .product-grid {
          width: 65%;
          grid-template-columns: repeat(3, 1fr);
      }

      .latest-products h2 {
          font-size: 26px;
          letter-spacing: 2px;
      }

      .scroll-imgs img {
          width: 220px;
          height: 220px;
      }

      .product-card {
          padding: 12px;
      }
  }

  /* Large devices (desktops) */
  @media (min-width: 1025px) {
      .container {
          flex-direction: row;
          justify-content: space-between;
      }

      .latest-products {
          width: 20%;
      }

      .product-grid {
          width: 75%;
          grid-template-columns: repeat(4, 1fr);
      }

      .scroll-imgs img {
          width: 250px;
          height: 250px;
      }

      .product-card {
          padding: 20px;
      }
  }


  @media screen and (max-width: 1200px) {
      .product-grid {
          grid-template-columns: repeat(3, 1fr);
      }
  }

  @media screen and (max-width: 900px) {
      .container {
          flex-direction: column;
      }

      .scroll-btn {
          display: none;
      }

      .latest-products {
          width: 100%;
          height: 250px;
          display: flex;
          align-items: center;
          justify-content: space-around;
          flex-direction: row;
      }

      .gradient-text {
          writing-mode: horizontal-tb;
          transform: none;
          margin-right: 10px;
          font-size: 35px;
      }

      .scroll-imgs {
          flex-direction: row;
          height: auto;
          overflow-x: auto;
          overflow-y: hidden;
      }

      .scroll-imgs img {
          margin: 0 10px;
      }

      .product-grid {
          width: 100%;
          grid-template-columns: repeat(2, 1fr);
      }
  }

  @media screen and (max-width: 600px) {
      .product-grid {
          grid-template-columns: 1fr;
      }
  }

  @media screen and (max-width: 500px) {
    .latest-products{
      display: none;
    }
  }


  /* ------------------footer-section-------------------- */

  .footer-column {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.reviews {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.review-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 60px;
    margin: 10px;
    width: 45%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.layout-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
}

.map-container,
.contact-info,
.image-section {
    flex: 1;
    min-width: 300px;
    margin: 10px;
}

.map-container iframe {
    width: 90%;
    height: 250px;
    border: 0;
    border-radius: 20px;
}

.contact-info {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
    margin-top: 5%;
}

.contact-info img{
    width: 350px;
}

.image-section {
    text-align: right;
}

.image-section img {
    max-width: 38%;
    height: auto;
    border-radius: 10px;
    margin-top: 80px;
    margin-right: 80px;
}

.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #005aab;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 80px;
}

footer {
    margin-top: 40px;
    text-align: center;
    color: #fff;
    padding: 20px;
    background-color: #555555;
}

@media screen and (max-width: 1024px) {
  .image-section img{
    width: 200px;
  }
  .contact-info p{
    font-size: 13px;

  }
  .map-container iframe{
    width: 300px;
    height: 200px;
    margin-right: 50px;
  }
  .map-container h2{
    margin-right: 200px;
  }
}



@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .review-card {
        width: 90%;
    }

    .layout-grid {
        flex-direction: column;
        align-items: center;
    }

    .image-section,
    .contact-info {
        text-align: center;
    }

    .download-btn {
        margin-top: 10px;
    }

    .logo {
        width: 120px;
    }

    .map-container iframe{
      margin-right: -50px;
    }

    .image-section{
      padding-left: 80px;
    }

    .image-section img {
        width: 30%;
        margin-top: 20px;
    }

    footer {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 400px) {
  .contact-info p{
    font-size: 0.6rem;
    margin-right: 50px;
  }

  .footer-column h1{
    font-size: 20px;
    padding-top: 70px;
  }

  .review-card h2{
    font-size: 17px;
  }

  .review-card p{
    font-size: 10px;
  }
  .contact-info img{
    width: 250px;
    margin-right: 50px;
  }
  .map-container iframe{
    width: 250px;
    height: 150px;
    margin-right: 50px;
  }
}

@media screen and (max-width: 370px) {
  .contact-info p{
    font-size: 0.5rem;
    margin-right: 50px;
  }
  .contact-info img{
    width: 200px;
    margin-right: 50px;
  }
  .map-container iframe{
    width: 200px;
    height: 100px;
    margin-right: 50px;
  }
}

/* -----------------backttotop------------------ */

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  background-color: #000;
  color: #fff;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #444;
}
