/* ===== NAVBAR ===== */
header {
  background: #2ecc71;
  padding: 1em 0;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0;
}
nav { display: flex; justify-content: center; align-items: center; }
.navbar {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2em;
}
.navbar li a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1em;
}
.navbar li a:hover { color: #000; }
.navbar li a.active {
  position: relative;
}
.navbar li a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; background: #000; border-radius: 2px;
  margin: 0 auto; width: 60%;
}
main { 
  padding-top: 120px; 
  margin-top: 0;
  background: radial-gradient(circle at top left, #e6fff1 0%, #ffffff 70%) no-repeat;
}




/* ===== GLOBAL THEME ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

h1, h2, h3 {
  margin-top: 0;
  color: #000;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* Prevent content hiding behind navbar */
main {
  padding-top: 90px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: #2ecc71;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #27ae60;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 5em 2em;
  background: radial-gradient(circle at top left, #e6fff1 0%, #ffffff 70%) no-repeat;
  position: relative;
  overflow: hidden;
}

/* Subtle moving grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

@keyframes gridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 40px 40px, 40px 40px; }
}

.hero-content, .circle-ring {
  position: relative;
  z-index: 1;
}

/* ===== TRUE CENTERED CIRCLE RING ===== */
.circle-ring {
  position: relative;
  width: 600px; /* slightly larger ring */
  height: 600px;
  margin: 10em auto 6em auto; /* moves it further down */
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #2ecc71;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  padding: 0.8em;
  font-size: 0.9em;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transform-origin: center center;
}

/* Perfectly even radial placement (7 circles) */
.circle:nth-child(1) { transform: rotate(0deg) translate(240px) rotate(0deg); }
.circle:nth-child(2) { transform: rotate(51deg) translate(240px) rotate(-51deg); }
.circle:nth-child(3) { transform: rotate(102deg) translate(240px) rotate(-102deg); }
.circle:nth-child(4) { transform: rotate(153deg) translate(240px) rotate(-153deg); }
.circle:nth-child(5) { transform: rotate(204deg) translate(240px) rotate(-204deg); }
.circle:nth-child(6) { transform: rotate(255deg) translate(240px) rotate(-255deg); }
.circle:nth-child(7) { transform: rotate(306deg) translate(240px) rotate(-306deg); }

/* Hover: scale smoothly, without changing position */
.circle:hover {
  background: #fff;
  border-color: #2ecc71;
  transform: scale(1.15) translateZ(0); /* scale in place only */
  z-index: 10;
}

/* Keep ring readable on small screens */
@media (max-width: 768px) {
  .circle-ring {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 1em;
    margin: 4em auto;
  }
  .circle {
    position: relative;
    transform: none !important;
    width: 90px;
    height: 90px;
  }
}






/* ===== SERVICES ===== */
.services {
  text-align: center;
  margin: 3em 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  margin: 2em auto;
  max-width: 1100px;
  padding: 0 1em;
}

.service-card {
  background: #f8f9fa;
  padding: 1.5em;
  border-radius: 10px;
  border-left: 4px solid #2ecc71;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card h3 { margin-top: 0; }

/* ===== TESTIMONIAL ===== */
.testimonial {
  background: #f8f9fa;
  padding: 2em 1.5em;
  text-align: center;
  margin: 3em 0;
  border-radius: 8px;
}

.testimonial p {
  font-style: italic;
  font-size: 1.05em;
  color: #111;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: #ecf0f1;
  padding: 3em 2em;
  text-align: center;
  margin-bottom: 3em;
}

.newsletter h2 { color: #000; }

.newsletter form {
  max-width: 420px;
  margin: 0 auto;
}

.newsletter input[type="email"] {
  width: 70%;
  padding: 0.6em;
  margin-right: 0.5em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.newsletter input[type="submit"] {
  width: 25%;
  background: #2ecc71;
  color: #000;
  border: 2px solid #2ecc71;
  padding: 0.6em;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.newsletter input[type="submit"]:hover {
  background: #fff;
  color: #2ecc71;
}

/* ===== FOOTER ===== */
footer {
  background: #f0f0f0;
  color: #000;
  text-align: center;
  padding: 1.5em;
  font-size: 0.9em;
  border-top: 1px solid #ddd;
}

/* ===== STICKY CTA BUTTON ===== */
.sticky-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #2ecc71;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.9em 1.3em;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.sticky-cta:hover {
  background: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1em;
  }

  .newsletter input[type="email"],
  .newsletter input[type="submit"] {
    width: 100%;
    margin-bottom: 0.5em;
  }
}

/* ===== CONTACT FORM ===== */
.contact-section {
  max-width: 600px;
  margin: 4em auto;
  background: #f8f9fa;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-section label {
  display: block;
  font-weight: 600;
  margin-top: 1em;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 0.75em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.contact-section textarea {
  min-height: 120px;
  resize: vertical;
}


