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

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 0px;
}

/* Navigation */
nav {
  padding: 10px 2%;
  justify-content: space-between;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background: #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 30;
  border-radius: 7px;
  margin-bottom: 10px;
  margin-right: 7px;
  margin-left: 7px;
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#flex {
  display: flex;
  align-items: center;
}

.logo{
  width: 25px;
  border-radius: 50%;
  
}

#left-view a {
  display: flex;
  align-items: center;
  font-weight: bold;
  text-decoration: none;
  
}

#right-view {
  display: flex;
  align-items: center;
  gap: 3px;
  
}



/* Buttons */
#bnt-1 {
  background-color: #007bff;
  color: whitesmoke;
  border: none;
  border-radius: 7px;
  height: 20px;
}

#middle-view{
  flex: 1; 
  display: flex;
  justify-content: center;
}

#menu-list a {
  margin: 5px;
  color: #f8b933;
  text-decoration: none;
  font-family: sans-serif;
  flex-shrink: 0;
}

#menu-list a:hover {
  background-color: whitesmoke;
  color: #f8b933;
  width: fit-content;
  border-radius: 7px;
}

.btn-2 {
  background-color: #f8b933;
  color: white;
  border: none;
  padding: 5px 7px;
  padding-top: 3px;
  border-radius: 6px;
  cursor: pointer;
}
.solutions {
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
}

.solutions h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #222;
}
.service-p{
  margin-bottom: 20px;
}

.service-D{
  margin-bottom: 20px;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.card img {
  width: 150px;              /* adjust size */
  height: 150px;             /* make it equal for circle */
  object-fit: cover;         /* crop and center nicely */
  border-radius: 50%;        /* makes it a perfect circle */
  border: 3px solid #fff;    /* clean white border */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* adds visibility */
  image-rendering: -webkit-optimize-contrast; /* sharper on webkit */
  image-rendering: crisp-edges; /* sharper for other browsers */
  margin-bottom: 10px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 15px;
  font-family:sans-serif;
  color: #666;
  line-height: 1.5;
}

/* Request button styling */
.request-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff6600, #ff4500);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
.request-btn:hover {
  background: linear-gradient(135deg, #ff4500, #e63e00);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Active/Click effect */
.request-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


/* Popup background */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 20px;
  width: 350px;
  border-radius: 10px;
  position: relative;
}

.popup-content h3 {
  margin-bottom: 10px;
}

.popup-content input, .popup-content textarea {
  width: 100%;
  padding: 8px;
  margin: 5px 0 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  
}

.popup-content button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 10px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: red;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 25px; height: 30px;
  cursor: pointer;
}

/* Style the dropdown */
select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none; /* Removes default arrow for custom style */
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Hover effect */
select:hover {
  border-color: #ff6600;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.2);
}

/* Focus effect */
select:focus {
  border-color: #ff6600;
  outline: none;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.4);
}

/* Style dropdown options */
option {
  padding: 12px;
  font-size: 15px;
  background: #fff;
  color: #333;
}

/* ======================================================
   GLOBAL ANTI-ZOOM FIX
   Prevents input zoom on mobile
====================================================== */
input, select, textarea, button {
  font-size: 16px !important;
}

/* ======================================================
   GENERAL DARK TEXT STYLING (Navigation & Headers)
====================================================== */
nav h1, nav h2, nav h3,
nav p, nav a,
#store-head h3, #store-head p,
.header-txts h3, .header-txts p {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

#menu-list a {
  color: #fff;
  font-weight: 600;
}

#menu-list a:hover {
  background-color: #f8b933;
  color: #fff;
}

/* ======================================================
   DESKTOP + LARGE LAPTOP (1000px+)
====================================================== */
@media (min-width: 1000px) {
  #popup .popup-content {
    width: 40%;
    margin: 60px auto;
  }
}

/* ======================================================
   STANDARD LAPTOPS (768px – 999px)
====================================================== */
@media (min-width: 768px) and (max-width: 999px) {

  #menu-list {
    gap: 10px;
  }

  #menu-list a {
    font-size: 14px;
  }

  #popup .popup-content {
    width: 60%;
    margin: 50px auto;
  }
}

/* ======================================================
   TABLETS & LARGE PHONES (480px – 767px)
====================================================== */
@media (min-width: 480px) and (max-width: 767px) {

  /* Nav */
  nav#flex {
    flex-direction: column;
    padding: 7px 2%;
    
  }

  #menu-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  #menu-list a {
    font-size: 13px;
    padding: 5px 7px;
   
  }

  .service-p {
    font-size: 20px;
  }

  .card h3 {
    font-size: 18px;
    color: #111;
  }

  .card p {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
  }

  #popup .popup-content {
    width: 90%;
    margin: 30px auto;
  }
}

/* ======================================================
   SMALL PHONES (<= 479px)
====================================================== */
@media (max-width: 479px) {

  nav#flex {
    padding: 6px 1%;
    flex-direction: column;
    gap: 5px;
  }

  #menu-list {
    gap: 6px;
  }

  #menu-list a {
    font-size: 12px;
    
  }

  .logo {
    width: 18px;
  }

  .service-p {
    font-size: 18px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 14px;
    line-height: 1.4;
  }

  #popup .popup-content {
    width: 95%;
    margin: 20px auto;
  }
}

/* ======================================================
   LARGE DESKTOP (1200px+)
====================================================== */
@media (min-width: 1200px) {
  #heading {
    flex-wrap: nowrap;
  }
}

/* ======================================================
   TABLETS & MID-SCREENS (768px – 1199px)
====================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  #heading {
    flex-direction: row;
    text-align: left;
  }
}

/* ======================================================
   SMALL SCREENS (<= 767px)
====================================================== */
@media (max-width: 767px) {
  #heading {
    flex-direction: column;
    text-align: center;
  }

  #right-heading,
  #middle-heading {
    width: 100%;
  }
}


