/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: #007ACC; /* solid when scrolled */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #3CB371;
}

.logo img {
  height: 55px;
  width: auto;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), 
              url('hero.jpeg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 700px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-buttons .btn {
  background: #3CB371;
  color: #fff;
  padding: 12px 25px;
  margin: 10px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.hero-buttons .btn:hover {
  background: #2e8b57;
  transform: scale(1.05);
}

/* Sections */
section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: auto;
}

section:nth-child(even) {
  background: #f9f9f9;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #007ACC;
  font-size: 2rem;
  font-weight: 700;
}

/* About */
.about-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-grid div {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* Services */
.service-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-grid div {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.service-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-grid h3 {
  margin-bottom: 15px;
  color: #3CB371;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
}

form input, form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  padding: 12px;
  background: #007ACC;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
}

form button:hover {
  background: #005f99;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #3CB371;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
