/* Global Reset & Smooth Scroll */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Header & Hero */
header, .page-header {
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
header {
  height: 100vh;
  background: url('hero.jpg') center/cover no-repeat;
}
.page-header {
  height: 40vh;
  background-size: cover;
  background-position: center;
}
header::after, .page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
header .content, .page-header .overlay {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}
header h1, .page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #ffb400;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.btn:hover {
  background: #e0a200;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Services Grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.service:hover {
  transform: translateY(-5px);
}
.service h3 {
  padding: 1rem;
  font-size: 1.4rem;
}
.service p {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
}

/* Contact Form Styling */
form {
  text-align: center;
  padding: 1rem;
}
form input, form textarea {
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: #ffb400;
  box-shadow: 0 0 4px rgba(255, 180, 0, 0.6);
}
.g-recaptcha {
  margin: 0.5rem auto 1rem;
  transform: scale(0.95);
  transform-origin: center;
  background: #f9f9f9;
  padding: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: inline-block;
}
form button {
  display: inline-block;
  margin: 0 auto;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive Design */
@media(max-width:768px) {
  header h1, .page-header h1 {
    font-size: 2.2rem;
  }
  header p {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  form {
    padding: 0.5rem;
  }
  .g-recaptcha {
    transform: scale(0.88);
  }
  form input, form textarea {
    font-size: 0.95rem;
  }
  form button {
    width: 100%;
    font-size: 1rem;
  }
}
