body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background-color: #FFFDD0;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

header {
  background-color: #FF0000;
  color: white;
  padding: 1rem;
  text-align: center;
}
nav a {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
}
nav a.active {
  text-decoration: underline;
  font-weight: bold;
}
section {
  padding: 2rem;
}
.product {
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  max-width: 300px;
}
.product img {
  width: 100%;
  height: auto;
}
form input, form textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  margin-top: 0.3rem;
}
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 1rem;
}
.softwares {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.card {
  border: 1px solid #ccc;
  padding: 1rem;
  max-width: 300px;
}
.card img {
  width: 100%;
  height: auto;
}
.slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}
@media (max-width: 768px) {
  .slider { height: 200px; }
  .services-cards { flex-direction: column; }
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.services {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.card {
  border: 1px solid #ccc;
  padding: 1rem;
  max-width: 300px;
}
.card img {
  width: 90%;
  height: auto;
}
.learn-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #004080;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #0066cc;
}
.modal {
  display: none; /* Hides the modal initially */
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 80%;
  background-color: rgba(0, 0, 0, 0.6);
  padding-top: 80px;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  margin: 5% auto;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto; /* ✅ Adds scroll for long content */
  box-sizing: border-box;
}


.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}
.request-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.request-btn:hover {
  background-color: #218838;
}
select, input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .services-cards, .card-container {
    flex-direction: column;
  }

  .card, .modal-content {
    width: 90% !important;
    margin: auto;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .slider {
    height: 200px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
}

nav a.active, nav a:hover {
  border-bottom: 2px solid #FFD700;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;
}

.product {
  background: white;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
}

input[type="submit"]:hover {
  background-color: #004080;
}
@media (max-height: 600px) {
  .modal-content {
    margin: 2% auto;
    max-height: 95vh;
    overflow-y: auto;
  }
}
.accordion {
    background-color: #001F3F;
    color: #fff;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.2s ease;
    font-weight: bold;
    margin-top: 10px;
  }

  .accordion:hover {
    background-color: #003366;
  }

  .panel {
    padding: 0 1rem;
    background-color: white;
    display: none;
    overflow: hidden;
    border-left: 3px solid #001F3F;
    border-right: 3px solid #001F3F;
    border-bottom: 3px solid #001F3F;
  }

  .panel ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
  }


