/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f0fdf4;
    color: #333;
    line-height: 1.6;
    padding-bottom: 50px;
}

main{
    height: 100%;
    background-color: none;
}

html{
    height: 100%;
}
body {
  height: 100%;
}

/* Top Navigation Bar */
header {
    margin-bottom: 50px;
    background: #4fc08d; /* keep your current green */
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Site Logo / Name */
header .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Navigation Links */
header .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s, color 0.3s;
}

header .nav-links a:hover {
    color: #007bff;
    transform: scale(1.1);
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd700;
}

/* Hero Section */
section#home {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(120deg, #a0e9fd, #ffecd2);
    padding: 0 2rem;
}

section#home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

section#home p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Other Sections */
section {
    padding: 5rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #4fc08d;
}

section p, section ul {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

section ul {
    list-style: none;
    padding: 0;
}

section ul li {
    background: #ffe4b5;
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}

button {
  font-size: 1.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: none;
  background-color: #4fc08d;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 6px 0 #3da876, 0 8px 15px rgba(0, 0, 0, 0.2);
}

button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #3da876, 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
     box-shadow: 0 8px 0 #3da876, 0 12px 20px rgba(0, 0, 0, 0.3);
     transform: translateY(-2px);
}

/* Footer */
footer {
    display:block;
    background: #4fc08d;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 99999;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #3da876, 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.overlay {
  position: absolute;        /* key change */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(233, 230, 246, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99;
  pointer-events: all;
}



.spinner {
  width: 50px; height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #1e3a8a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hide overlay when not needed
.overlay.hidden {
  display: none;
} */
