/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f8fafc;
  color: #111;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #0f172a;
  color: white;
  position: sticky;
  top: 0;
}

.header a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

/* HERO */
.hero {
  min-height: 85vh;
  height: auto;
  background: url('../images/project1.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden; /* add this line */
}
.hero {
  background-position: center center;
}
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 45, 45, 0.60); /* gray film */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* BUTTON */
.btn {
  margin-top: 20px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
  font-weight: bold;
}

.btn:hover {
  transform: translateY(-2px);
}

/* TRUST BAR */
.trust-bar {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background: #1e293b;
  color: white;
  font-size: 14px;
}


/* ABOUT */
.about header {
  padding: 70px 20px 10px 20px;
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.about {
  text-align: left;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

/* SERVICES */
.services {
  padding: 30px 20px 60px 20px;
  text-align: center;
}
.services h2 {
  margin-top: 0;
}

.cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card {
  width: 260px;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-top: 4px solid #f97316;
  transition: 0.3s;
}

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

.cta-strip {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta-strip h2 {
  margin-bottom: 30px; /* 👈 THIS FIXES IT */
}

/* REVIEWS */
.reviews {
  padding: 70px 20px;
  text-align: center;
  background: #f1f5f9;
}

.reviews h2 {
  margin-bottom: 30px;
}

.review-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.review-card {
  background: white;
  padding: 25px;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: left;
}

.review-card p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.review-card span {
  font-weight: bold;
  color: #334155;
}

.stars {
  color: #f97316;
  font-size: 18px;
  margin-bottom: 10px;
}

.google-btn-container {
  margin-top: 30px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.google-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #0f172a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.google-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: #020617;
  color: white;
  text-align: center;
  padding: 20px;
}
/* GALLERY FIX */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
/* CONTACT FORM FIX */
form {
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

textarea {
  min-height: 120px;
}

button {
  cursor: pointer;
}

.about {
  padding: 80px 20px;
  max-width: 800px;
  margin: auto;
  text-align: left;
}
.about header {
  padding: 0px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}


.about p {
  margin-top: 15px;
  line-height: 1.7;
  color: #334155;
}

.about {
  padding: 80px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-text {
  flex: 1;
}

.about-text h1 {
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #334155;
}

/* MOBILE */
@media (max-width: 768px) {

  .header {
    flex-direction: column;
    align-items: center;
  }
  .header nav {
    margin-top: 10px;
  }
  .about-container {
    flex-direction: column;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .review-cards {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {

  .about-image img {
    height: 250px;
  }
}


@media (max-width: 768px) {

  section {
    padding: 50px 15px;
  }
}

@media (max-width: 768px) {

  .header a {
    display: inline-block;
    margin: 8px 10px;
  }
}
@media (max-width: 768px) {
  /* mobile-only changes go here */
  @media (max-width: 768px) {

  /* Fix hero spacing issue */
  .hero {
    height: auto;
    min-height: 70vh;
  }

  /* Prevent text from touching edges */
  .hero .overlay {
    padding: 20px;
  }

  /* Fix trust bar stacking */
  .trust-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Fix header spacing */
  .header {
    padding: 15px 20px;
  }

  /* Improve layout stacking */
  .cards,
  .review-cards {
    flex-direction: column;
    align-items: center;
  }
}
}
@media (max-width: 768px) {
  .hero .overlay {
    background: rgba(0, 0, 0, 0.4);
  }
}
@media (max-width: 768px) {

  .hero {
    min-height: 70vh; /* slightly smaller = fixes vertical shift */
  }

  .hero .overlay {
    background: rgba(0, 0, 0, 0.45); /* cleaner + more even */
  }

}

/* MODAL BACKGROUND */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

/* IMAGE */
.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* CLICKABLE IMAGES */
.gallery img {
  cursor: pointer;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

/* IMAGE */
.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  animation: zoom 0.3s ease;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  padding: 10px;
}

.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* HOVER EFFECT */
.gallery img {
  cursor: pointer;
  transition: 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes zoom {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Reset some basics */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header styling */
.header {
  background-color: #222;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Main thank you section */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: #222;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
}

.header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Main thank you section */
main.thank-you {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  min-height: calc(100vh - 120px); /* header + footer approx */
}

.thank-you-content {
  max-width: 400px;
}

/* Thank you text */
.thank-you h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

/* Button */
.btn {
  background-color: #222;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .thank-you h2 {
    font-size: 1.5rem;
  }
  .thank-you p {
    font-size: 1rem;
  }
  .btn {
    padding: 0.5rem 1rem;
  }
}