body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
}

.hero {
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(135deg, #111827, #0b1220);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #38bdf8;
  object-fit: cover;
}

.nav a {
  margin: 0 10px;
  color: #60a5fa;
  text-decoration: none;
}

.section {
  padding: 35px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0f172a;
  margin: auto;
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}

.grid .card {
  min-height: 180px;
}

 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  align-items: start;
}

.card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 20px;
  transition: 0.25s;
  cursor: pointer !important;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: #9ca3af;
}

.card:hover {
  transform: translateY(-6px);
  background: #2d4f74;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.card img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

a.button {
  display: inline-block;
  padding: 10px 15px;
  background: #1f2937;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  text-decoration: none;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.text-box {
  max-width: 700px;
  width: 100%;
  margin: 10px auto;
  background: #1f2937;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  border-left: 4px solid #38bdf8;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.text-box h2 {
  margin-top: 0;
}

.text-box ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.text-box li {
  margin: 6px 0;
}
.icon {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.text-box:hover .icon {
  transform: scale(1.2) rotate(5deg);
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.cap-icon {
  display: inline-block;
  transition: transform 0.3s ease,
              color 0.3s ease,
              text-shadow 0.3s ease;
}

.card:hover .cap-icon {
  transform: scale(1.2) rotate(5deg);
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 60px;
  max-width: 900px;
  width: 100%;
  margin: 20px auto;
}

.capability-grid .card {
  height: 100%;
}

@media (max-width: 768px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }
}

.job {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #374151;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #111827;
  color: #e5e7eb;
}

.contact-form button {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #38bdf8;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}

/* Modal background */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal box */
.modal-content {
  background: #1f2937;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: left;
  animation: fadeUp 0.3s ease;
}

.modal-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.image-card {
  height: auto;
  display: flex;
  flex-direction: column;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.arrow {
  position: absolute;
  bottom: 10px;
  font-size: 18px;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  transition: 0.2s;
  z-index: 5;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.image-card:hover .arrow {
  opacity: 1;
}
@media (max-width: 600px) {

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 15px;
  }

  .section {
    padding: 25px 15px;
  }

  .text-box {
    max-width: 90%;
  }
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1f2937;
  color: white;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

#backToTop:hover {
  background: #374151;
}
