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

body {
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding-top: 70px;
  /* Add space for fixed header */
}

/* header {
  background: #0d1117;
  color: #fff;
  padding: 2rem;
  text-align: center;
} */

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.cta {
  background: #1f6feb;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-radius: 10px;
}

.cta a {
  display: inline-block;
  margin-top: 1rem;
  background: white;
  color: #1f6feb;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.contact {
  background: #fff;
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact button {
  background: #1f6feb;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.about {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1.05rem;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-box {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease;
  padding: 15px;
}

.project-box:hover {
  transform: translateY(-5px);
}

.thumbnail {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.project-content {
  /*  padding: 1rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column; */
}

.project-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.section-heading {
  margin: 0.5rem 0 0.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
}

.project-description {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.5rem;
}

ul.contributions {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  color: #555;
  font-size: 0.9rem;
}

.project-link {
  margin-top: auto;
  text-align: right;
}

.project-link a {
  color: #007BFF;
  text-decoration: none;
  font-weight: 600;
}

.project-link a:hover {
  text-decoration: underline;
}

.infographic {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.infographic h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.step {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 220px;
}

.content {
  background: #eef3ff;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-size: 1.5rem;
  background: #1f6feb;
  color: white;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: inline-block;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.arrow {
  font-size: 2rem;
  color: #1f6feb;
  margin-top: 0.5rem;
}

.step h3 {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.step p {
  font-size: 0.9rem;
  color: #444;
}

.package-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 20px;
  background: #f5f7fa;
  font-family: 'Segoe UI', sans-serif;
}

.package-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: translateY(-6px);
}

.package-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.package-price {
  font-size: 18px;
  color: #009879;
  margin: 10px 0;
  font-weight: bold;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.package-features li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}

.package-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #28a745;
}

.package-button {
  margin-top: auto;
  padding: 12px 18px;
  background-color: #007bff;
  color: white;
  text-align: center;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
}

.package-button:hover {
  background-color: #0056b3;
}

/* Slider styles */
.slider {
  position: relative;
  width: 400px;
  height: 160px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.7);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.3em 0.7em;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.slider .prev {
  left: 10px;
}

.slider .next {
  right: 10px;
}

/* Gallery styles */
.gallery-thumb-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(112 110 110 / 15%);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.2em 0.6em;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  opacity: 1;
  transition: background 0.2s;
}

.thumb-arrow-left {
  left: 10px;
}

.thumb-arrow-right {
  right: 10px;
}

.gallery-thumb {
  /* width: 400px; */
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 0 32px;
}

.gallery-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  min-width: 420px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.gallery-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

.gallery-slider {
  position: relative;
  text-align: center;
}

.gallery-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 41, 59, 0.7);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.3em 0.7em;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.gallery-slider .gallery-prev {
  left: 0;
}

.gallery-slider .gallery-next {
  right: 0;
}


.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  overflow: hidden;
  /* Prevent content from expanding the header */

}

.header-logo {
  width: 150px;
  /* Adjust size as needed */
  height: auto;
  object-fit: contain;
  display: block;
  /* Prevent inline spacing issues */
  margin: 0;
  /* Remove any default margin */
  padding: 0;
  /* Remove any default padding */
}

.header-nav a {
  color: #000000;
  text-decoration: none;
  margin-left: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #1f6feb;
}

.logo-link {
  display: flex;
  align-items: center;
}

h2[id] {
  scroll-margin-top: 80px;
}

#loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  /* Ensure it appears above other elements */
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  /* Light gray */
  border-top: 4px solid #0069ff;
  /* Blue */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.swiper {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: auto;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive stack */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

/* Responsive header styles */
@media (max-width: 900px) {
  .header-container {
    padding: 0.7rem 1rem;
    max-width: 100%;
  }

  .header-nav a {
    margin-left: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 850px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0.7rem;
  }

  .header-logo {
    height: 40px;
  }

  .header-nav {
    width: 100%;
    margin: .5rem 0 .5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .header-nav a {
    margin-left: 0;
    margin-right: 1rem;
    font-size: 0.98rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: #f3f4f6;
    color: #222;
  }

  .header-nav a:hover {
    background: #e5e7eb;
    color: #1f6feb;
  }
  .step {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
  }
}

.switch-lang {
  background-color: #0069ff;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  /* margin-left: 1rem; */
  transition: background-color 0.3s ease;
}

.switch-lang:hover {
  background-color: #004bbd;
}
#portfolio-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* keeps full image visible */
}



