/* Reset */
.logo img { height: 50px; vertical-align: middle; }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & Layout */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff9800;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #ff9800, #f44336);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero .btn {
  background: #fff;
  color: #f44336;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background: #ff9800;
  color: #fff;
}

/* Content */
main.content {
  flex: 1; /* pushes footer down */
  padding: 40px;
  max-width: 900px;
  margin: auto;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  background: #f44336;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #ff9800;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: auto; /* ensures footer stays at bottom */
}
