:root {
  --green: #388e3c; /* Green color */
  --light-green: #66bb6a;
  --light: #fefefe;
  --dark: #1e1e1e;
  --accent-yellow: #fdd835;
  --shadow: rgba(0, 0, 0, 0.1);
  --font-main: 'Rubik', sans-serif;
  --font-accent: 'Oswald', sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: var(--font-main);
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

header.green-header {
  background: var(--green);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 2em;
  box-shadow: 0 4px 12px var(--shadow);
}

header.green-header .brand {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

header.green-header .logo {
  height: 50px;
}

nav a {
  color: white;
  margin-left: 1.2em;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 1.8em;
}

nav a:hover {
  color: var(--accent-yellow);
}

.main-content {
  width: 80%; /* Shrink to 80% of the screen width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3em;
  flex-grow: 1;
  padding: 0 10%; /* Add 10% padding on both sides */
}

.hero-title {
  font-size: 3em;
  text-align: center;
  color: var(--green);
  font-family: var(--font-accent);
  margin-bottom: 0.5em;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2em auto;
  font-size: 1.2em;
  color: #444;
}

.image-section {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.image-block {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  max-height: 80vh; /* Prevent images from becoming too tall */
  object-fit: contain; /* Maintain aspect ratio and prevent stretching */
  display: block;
  border-radius: 12px;
}

.separator {
  height: 9px;
  background: linear-gradient(to right, var(--green), var(--accent-yellow));
  margin: 30px 0;
}

footer.footer {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 1.5em 0;
  width: 100%;
  position: relative;
  bottom: 0;
}

footer.footer p {
  margin: 0;
  font-size: 1.1em;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  background: white;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 4px 10px var(--shadow);
}

input, textarea {
  padding: 0.9em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

button {
  background: var(--green);
  color: white;
  border: none;
  padding: 1em;
  font-weight: bold;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #2e7d32;
}

/* Fixing Home and Contact Section Layout */
#home, #contact {
  display: none; /* Initially hide both */
}

#home.active, #contact.active {
  display: block; /* Only show active tab */
}

#home {
  min-height: 100vh; /* Ensure home section takes full height */
}

#contact {
  min-height: 60vh; /* Adjust for contact section */
  padding-bottom: 100px; /* Ensure enough space for footer */
}

.side-divs {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 10%;
  background: var(--green);
  z-index: -1;
}

.side-divs.right {
  right: 0;
}

.side-divs.left {
  left: 0;
}
