* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-own {
    max-width: 90%;
    margin: auto;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
header {
    background-color: skyblue;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    width: 40%;
}

.logo-section img {
    width: 70px;
}

.logo-section h1 {
    font-size: 22px;
    text-transform: capitalize;
    color: #2571AB;
}

.logo-section h2 {
    font-size: 22px;
    text-transform: capitalize;
    color: #2571AB;
    display: none;
}

.input-section {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    width: 60%;
}

.header-input-one,
.header-input-two {
    border: none;
}

.header-input-one {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    flex: 1;
    padding: 10px 12px;
}

.header-input-one::placeholder {
    transform: skew(-15deg);
}

.header-input-two {
    background: #f9f9f9;
    flex: 1;
    margin-left: -5px;
    padding: 10px 12px;
}

.header-input-two::placeholder {
    color: #064F88;
    font-weight: 600;
}

.header-input-one,
.header-input-two:focus {
    outline: none;
}

.header-search-icon {
    background: #ffe100;
    padding: 10px;
    color: #064F88;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-left: -5px;
}

.header-cart-icon {
    color: white;
    font-size: 20px;
}

/* NAVBAR */
nav {
    background-color: #022E4C;
    color: #fff;
    width: 100%;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    width: 100%;
    z-index: 1000;
}

.navbar ul li {
    position: relative;
    width: 100%;
    transition: .5s;
    text-align: center;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    padding: 15px 0px;
    display: inline-block;
    transition: .5s;
}

.navbar ul li a:hover {
    background-color: #06649E;
    border-radius: 10px;
}

/* Dropdown */
.navbar ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #022E4C;
    min-width: 150px;
    flex-direction: column;
}

.navbar ul li .dropdown a {
    padding: 10px;
    border-bottom: 1px solid #555;
    display: block;
}

.navbar ul li:hover .dropdown {
    display: block;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    overflow: scroll;

}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 4px 0;
}


/* ✅ Responsive Styles */
@media (max-width: 960px) {
    .logo-section {
        width: 100%;
        display: flex;
    }

    .logo-section h1 {
        font-size: 18px;
        display: none;
    }

    .logo-section h2 {
        display: block;
        font-size: 20px;
    }

    .input-section {
        width: 100%;
        margin-top: 10px;
    }

    .header-input-one {
        display: none;
    }

    .header-cart-icon {
        position: absolute;
        top: 25px;
        right: 40px;

    }

    .navbar {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 20px;
        position: relative;
    }

    .navbar ul {
        position: fixed;
        top: 0;
        left: -50%;
        /* display: flex; */
        flex-direction: column;
        background-color: #022E4C;
        padding: 20px;
        overflow: scroll;
        height: 100%;
        width: 50%;
        /* ✅ half screen */
        transition: left 0.3s ease;
    }

    .navbar ul.show {
        left: 0;
    }

    /* ✅ animate links */
    .navbar ul li {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .navbar ul.show li {
        opacity: 1;
        transform: translateX(0);
    }

    /* stagger effect for nicer animation */
    .navbar ul.show li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .navbar ul.show li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .navbar ul.show li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .navbar ul.show li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .navbar ul.show li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .navbar ul.show li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .navbar ul.show li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .navbar ul.show li:nth-child(8) {
        transition-delay: 0.8s;
    }

    .navbar ul.show li:nth-child(9) {
        transition-delay: 0.9s;
    }

    .navbar ul.show li:nth-child(10) {
        transition-delay: 1s;
    }

    .navbar ul li:hover .dropdown {
        display: none;
        /* disable hover on mobile */
    }

    .navbar ul li .dropdown {
        position: static;
    }

    .navbar ul li .dropdown.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    .container-own {
        max-width: 100%;
    }

    .header-cart-icon {
        position: absolute;
        top: 25px;
        right: 10px;

    }

    /* .header-search-icon{
        margin-left: -10px;
    } */

    .input-section {
        width: 95%;
        margin-top: 10px;
        margin-inline: auto;
    }

}

 .slider-container {
      width: 100%;
      /* max-height: 300px; */
      margin: 40px auto;
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .slides {
      display: flex;
      transition: transform 0.3s ease-in-out;
      /* Adjusted for speed */
    }

    .slide {
      min-width: 100%;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #fff;
    }

    .text-content {
      flex: 1;
      padding: 40px;
    }

    .text-content h2 {
      font-size: 2.5em;
      color: #333;
      margin-bottom: 10px;
    }

    .text-content p {
      font-size: 1.1em;
      color: #666;
    }

    .image-content {
      flex: 1;
      /* overflow: hidden; */
      background-size: contain;
    }

    .image-content img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* No arrow button styles are needed */

    /* Responsive CSS */
    @media (max-width: 768px) {
      .slide {
        flex-direction: column;
        text-align: center;
      }

      .text-content {
        padding: 20px;
      }
    }
    /* Container for all cards */
    .cards-container {
      display: flex;
      flex-wrap: wrap;
      /* gap: 20px; */
      justify-content: center;
      margin: 0 auto;
      width: 100%;
    }

    /* Styling for each individual card */
    .card {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      flex: 1 1 280px;
      /* This is the key to responsiveness */
      max-width: 270px;
      display: flex;
      flex-direction: column;
      margin: 20px 5px;
      cursor: pointer;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .card-image-wrapper {
      width: 100%;
      height: 220px;
      /* Fixed height for image consistency */
      /* overflow: hidden; */
    }

    .card-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
     background-size: cover;
    }

    /* Card content styling */
    .card-content {
      padding: 15px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-grow: 1;
    }

    .card-heading {
      font-size: 1.2em;
      margin: 0 0 5px;
      color: #333;
    }

    .card-description {
      font-size: 0.9em;
      color: #666;
      margin: 0 0 15px;
    }

    .card-price {
      font-size: 1.2em;
      font-weight: bold;
      color: #007bff;
      margin-bottom: 15px;
    }

    /* Buttons styling */
    /* .card-buttons {
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }

    .btn {
      flex-grow: 1;
      padding: 10px 15px;
      border: none;
      border-radius: 5px;
      font-size: 0.9em;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }

    .buy-now {
      background-color: #007bff;
      color: #fff;
    }

    .buy-now:hover {
      background-color: #0056b3;
    }

    .add-to-cart {
      background-color: #e0e0e0;
      color: #333;
    }

    .add-to-cart:hover {
      background-color: #c0c0c0;
    } */

    /* Responsive adjustments */
    @media (max-width: 992px) {
      .card {
        flex-basis: 45%;
        /* 2 cards per row on tablets */
      }
    }

    @media (max-width: 768px) {
      .card {
        flex-basis: 100%;
        /* 1 card per row on mobile phones */
        max-width: 100%;
      }
    }

    /* Styling for the entire section */
    .clients-section {
      padding: 80px 20px;
      /* background-color: #f8f9fa; */
      text-align: center;
    }

    /* Container for centering content */
    .container {
      max-width: 1100px;
      margin: 0 auto;
    }

    /* Heading style */
    .section-heading {
      font-size: 2.5rem;
      color: #333;
      margin-bottom: 40px;
      font-weight: 600;
    }

    /* Flexbox grid for logos */
    .clients-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
    }

    /* Individual logo container */
    .client-logo {
      flex-basis: calc(20% - 30px);
      /* 5 logos per row on large screens */
      background-color: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      min-width: 150px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .client-logo:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .client-logo img {
      max-width: 100%;
      height: auto;
    }

    .client-logo img:hover {
      opacity: 1;
      /* Restore color and opacity on hover */
      filter: none;
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
      .client-logo {
        flex-basis: calc(25% - 30px);
        /* 4 logos per row */
      }
    }

    @media (max-width: 768px) {
      .client-logo {
        flex-basis: calc(33.333% - 30px);
        /* 3 logos per row */
      }
    }

    @media (max-width: 480px) {
      .client-logo {
        flex-basis: calc(50% - 30px);
        /* 2 logos per row */
      }
    }

    /* Basic styling for the footer */
    .advanced-footer {
      background-color: #022E4C;
      /* Dark background color */
      color: #adb5bd;
      /* Light grey text color */
      padding: 60px 20px 20px;
      font-family: Arial, sans-serif;
    }

    /* Main grid container for the columns */
    .footer-grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
      border-bottom: 1px solid #495057;
      padding-bottom: 40px;
      text-align: left;
    }

    /* Styling for each footer column */
    .footer-column {
      padding: 0 10px;
    }

    .footer-heading {
      font-size: 1.25rem;
      color: #fff;
      margin-bottom: 20px;
    }

    .footer-description {
      font-size: 0.9rem;
      line-height: 1.6;
      margin: 10px 0px;
    }

    /* List of links styling */
    .footer-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-column ul li {
      margin-bottom: 10px;
    }

    .footer-column ul li a {
      color: #adb5bd;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-column ul li a:hover {
      color: #fff;
    }

    /* Social media links styling */
    .social-links a {
      color: #adb5bd;
      font-size: 1.2rem;
      margin-right: 15px;
      transition: color 0.3s ease;
    }

    .social-links a:hover {
      color: #fff;
    }

    /* Contact section styling */
    .footer-column.contact p {
      font-size: 0.9rem;
      margin-bottom: 10px;
      line-height: 1.6;
    }

    .footer-column.contact a{
      color: lightblue;
    }

    .footer-column.contact i {
      margin-right: 8px;
      color: #007bff;
    }

    /* Copyright section at the bottom */
    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      padding-top: 20px;
      font-size: 0.8rem;
      color: #6c757d;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .footer-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .social-links {
        justify-content: center;
        display: flex;
        margin-top: 15px;
      }
    }

    .whatsapp-float {
      position: fixed;
      width: 60px;
      height: 60px;
      bottom: 30px;
      right: 30px;
      background-color: #25d366;
      color: #fff;
      border-radius: 50px;
      text-align: center;
      font-size: 30px;
      box-shadow: 2px 2px 3px #080808;
      z-index: 1000;
      transition: .4s;
    }

    .whatsapp-float i {
      margin-top: 16px;
    }

    .whatsapp-float:hover {
      text-decoration: none;
      color: #fff;
      transform: scale(1.1);
    }

    .whatsapp-float a {
      color: white;
    }

    @media (max-width: 600px) {
      .whatsapp-float {
        width: 40px;
        height: 40px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
      }

      .whatsapp-float i {
        margin-top: 10px;
      }
    }
/* End of CSS */