/* General Body Styling */
body{
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
  }
  
  /* Top Navbar */
  .top-navbar {
    display: flex;
    justify-content: space-between;
    background-color: rgb(67 0 86);
    /* background-color: #333; */
    color: white;
    padding: 10px 20px;
  }
  
  .top-navbar a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
  }
  .contact-info{
   margin-left: 10px; 
   padding-top: 2px;
  }
  .contact-info span {
    margin-right: 10px;
  }
  .social-icons{
    margin-right: 40px;
    font-size: 20px;
  }
  
  @media (max-width: 768px) {
    .top-navbar{
      display: block;
    }
    .contact-info{
      margin-left:10px; 
      display: inline-flex;
      flex-direction: column;
      font-size: 1rem;
      color: white;
    }
    .social-icons{
      /* margin-top: 100px; */
      margin-left:10px;
      font-size: 25px;
    }
  }
  

header {
    background-color:#f4f3ee;
    color: black;
    padding:10px;
  }
  
  .navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
  }
  
  .navbar .logo a {
    color: black;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
  }
  
  .nav-links {
    display: flex;
    list-style-type: none;
    font-size: 1.2rem;
    /* margin-top: 1rem; */
  }
  
  .nav-links li {
    margin: 0 20px;
    position: relative; /* Needed for the dropdown */
  }
  
  .nav-links a {
    font-size: 1.3rem;
    color: black;
    text-decoration: none;
    padding: 10px;
  }
  
  .nav-links a:hover {
    background-color: #f39c12;
    border-radius: 5px;
  }
  
  /* Dropdown Menu */
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    list-style-type: none;
    padding: 10px 0;
    top: 100%;
    left: 0;
    width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .dropdown-menu li {
    padding: 10px;
    text-align: left;
  }
  
  .dropdown-menu li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-menu li a:hover {
    background-color: #f39c12;
    border-radius: 5px;
  }
  
  /* Show the dropdown when hovering */
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .cart {
    position: relative;
  }
  
  .cart-icon {
    color: #333;
    font-size: 30px;
    text-decoration: none;
  }
  
  .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: #fff;
    border-radius: 50%;
    padding: 4px 10px;
    font-size: 12px;
  }
  
  .cart:hover {
    background-color: #f39c12;
    border-radius: 5px;
    cursor: pointer;
  }
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .menu-toggle i {
    color: black;
  }


  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      font-size: 35px;
    }
    .navbar{
      justify-content: space-between;
    }
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #333;
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      width: 90%;
      z-index: 1000;
    
    }
    .nav-links a {
      font-size: 1.2rem;
      color:white;
      text-decoration: none;
      padding: 20px;
      line-height: 2.5vh;
      font-weight: 400;
      /* padding-top: 15px; */
      /* padding-left: 1%; */
    }
    
    .nav-links li {
      width: 100%;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .dropdown-menu {
      position: relative;
      background-color: #333;
    }
  
    
    .dropdown:hover .dropdown-menu {
      display: none;
    }
  
    .dropdown.open > .dropdown-menu {
      display: flex;
      flex-direction: column;
    }
  
    .cart {
      position: absolute;
      top: 15px;
      right: 70px;
    }
  }
  
  
/* ----------------------------------------------------------------------------------------- */
  /* Services Container */
  .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    background-color: antiquewhite;
  }
  
  .service-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-icon img {
    width: 150px;
    height: 100px;
    transition: transform 0.3s ease-in-out;
  }
  
  .service-icon img:hover {
    transform: scale(1.1);
  }
  
  .service-info h3 {
    font-size: 20px;
    margin-top: 15px;
    color: #333;
  }
  
  .service-info p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
  }

 
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .service-item {
    padding: 10px;
    margin-right:15px ;
  }

  .service-icon img {
    width: 120px;
    height: 80px;
  }

  .service-info h3 {
    font-size: 18px;
  }

  .service-info p {
    font-size: 14px;
  }
}

  /* -------------------------------------------------------------------------------- */
  footer {
    background-color:rgb(67 0 86);
    color: #fff;
    padding: 20px 20px;
    font-family: 'Arial', sans-serif;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    padding: 10px;
  }
  
  .footer-section h3 {
    /* color: #ffc800;
    font-size: 18px;
    margin-bottom: 20px; */
  
   color: #ffc800;
    font-size: 18px;
      font-weight: bold;
      position: relative;
      padding-bottom: 12px;
  }
  
  
  .footer-section p,
  .footer-section ul {
    font-size: 15px;
    line-height: 1.9;
    font-weight: bold;
    list-style: none;
  }
  
  .footer-section a {
    /* color: #fff;
    text-decoration: none; */
  font-size: 15px;
    text-decoration: none;
    color: white;
    display: inline-block;
    line-height: 1;
    font-weight: bold;
    transition: 0.5s ease;
  }
  
  
  .footer-section a:hover {
    text-decoration: underline;
  }
  
  .footer-section .social-icons a {
    font-size: 20px;
    display: inline-block;
    text-decoration: none;
    background-color: #373737;
    color: white;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    transition: 0.5s ease;
  }
  
  .footer-section .social-icons a:hover {
    color: #3498db;
  }
  hr{
    margin-top: 4%;
  }
  .footer-bottom {
   /* margin-top: 4%; */
    text-align: center;
    padding: 20px 0;
    background-color: rgb(67 0 86);
  }
  
  .footer-bottom p {
    font-size: 15px;
    color: white;
  }
  
  #footer .credits{
    float: left;
    text-align: center;
    font-size: 13px;
  }
  #footer .credits a{
    color: #ffc800;
  }
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
  
    .footer-section h3 {
      font-size: 16px;
    }
  
    .footer-section p, .footer-section ul {
      font-size: 13px;
    }
  
    .footer-bottom p {
      font-size: 12px;
    }
  }
  
  @media (max-width: 480px) {
    .footer-container {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  
    .footer-section h3 {
      font-size: 14px;
    }
  
    .footer-section p, .footer-section ul {
      font-size: 12px;
    }
  }
  
  .contact-hero{
    height: 400px;
    width: 100%;
    background-image: url("https://img.freepik.com/premium-photo/technician-repairing-micro-circuit-main-board-smartphone_39768-1236.jpg?w=740");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    }
    .contact-hero h2{
      font-size: 2rem;
      color: #fff;
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
     padding-left: 3%;
     padding-top: 10%;
     
    }
    .contact-hero p{
      padding-left: 5%;
      color: #fff;
      font-size: 1.5rem;
    }

    /* chatboatcss */
    #chatbot-icon {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #4ad62e;
      color: white;
      padding: 15px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 20px;
      z-index: 1000;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s;
  }
  
  #chatbot-icon:hover {
      background-color: #0056b3;
  }
  
  /* Chatbot Form Popup Styling */
  #chatbot-form-popup {
      display: none;
      position: fixed;
      bottom: 80px;
      right: 20px;
      background-color: white;
      border: 2px solid #007bff;
      border-radius: 8px;
      padding: 20px;
      width: 300px;
      z-index: 1001;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  
  .form-content .close-btn {
      float: right;
      font-size: 20px;
      font-weight: bold;
      color: #555;
      cursor: pointer;
  }
  
  .form-content .close-btn:hover {
      color: #000;
  }
  
  h2 {
      color: #007bff;
      font-size: 18px;
      margin-top: 0;
      text-align: center;
  }
  
  /* Styling for form fields */
  form {
      display: flex;
      flex-direction: column;
      gap: 10px;
  }
  
  label {
      font-size: 14px;
      color: #333;
      margin-bottom: 4px;
  }
  
  input[type="text"], input[type="email"], textarea {
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
      width: 100%;
      box-sizing: border-box;
      resize: vertical;
  }
  
  textarea {
      min-height: 60px;
  }
  
  input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
      outline: none;
      border-color: #007bff;
  }
  
  /* Submit button styling */
  button[type="submit"] {
      background-color: #007bff;
      color: white;
      padding: 10px;
      font-size: 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
  }
  
  button[type="submit"]:hover {
      background-color: #0056b3;
  }