:root {
  --primary-color: #2e7d32;
  --secondary-color: #388e3c;
  --accent-color: #66bb6a;
  --text-color: #1d1b1b;
  --background: #f4f7f6;
  --header-bg: linear-gradient(135deg, #2e7d32, #66bb6a);
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background: var(--background);
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}
.header-banner {
  width: 100%;
  min-height: 200px; /* Ensures it’s not too small */
  max-height: 400px; /* Ensures it’s not too large */
  overflow: hidden;

}

.header-banner img {
  width: 100%;
  height: auto;
  display: block;
}

#resume-container {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  max-width: 400px;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#resume-container h3 {
  margin-bottom: 15px;
  color: #2e7d32;
}

#resume-container button {
  margin: 8px;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary {
  background-color: #2e7d32;
  color: white;
}

.btn-primary:hover {
  background-color: #1b5e20;
}

.btn-secondary {
  background-color: #ccc;
  color: #333;
}

.btn-secondary:hover {
  background-color: #aaa;
}


.main-container {
  max-width: 1000px;
  margin-top: 20px;
  margin: auto;
  padding: 20px;
}

#intro {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
}

#client-form input[type="text"],
#client-form input[type="tel"],
#client-form input[type="datetime-local"],
#client-form input[type="email"] {
  margin-top: 12px;
  margin-bottom: 8px;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

#client-form button.btn-primary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 999px;
  margin-top: 8px;
  padding: 14px 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#client-form button.btn-primary:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}
/* Wrapper for floating overlay */
.input-wrapper {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.input-wrapper input {
  width: 100%;
  padding: 14px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: transparent;
  color: #333;
  z-index: 2;
  position: relative;
}

.input-wrapper .placeholder-text {
  position: absolute;
  left: 15px;
  top: 14px;
  color: #999;
  pointer-events: none;
  transition: 0.2s ease all;
  font-size: 16px;
}

/* When input is focused or has a value */
.input-wrapper input:focus + .placeholder-text,
.input-wrapper input:not(:placeholder-shown) + .placeholder-text {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #666;
  background-color: #fff;
  padding: 0 4px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.important-notice {
  background: #fff3cd;
  border-left: 6px solid #ffc107;
  color: #856404;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.important-notice i {
  font-size: 1.2rem;
}
#map-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffffcc;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
  margin: 10px auto;
  transition: opacity 0.3s ease;
  position: relative;
}

#checkpoint-meter {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #f1f1f1;
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 0;  
}
/* hide the mute control completely */
#toggle-mute { display: none !important; }

#toggle-mute {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

#toggle-mute:hover {
  background-color: #45a049;
}

#toggle-mute i {
  margin-right: 5px;
}

#map-section {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
   transition: opacity 0.5s ease;
}
.feedback-question {
  margin-bottom: 20px;
  text-align: left;
}

.feedback-question p {
  font-weight: bold;
}

.feedback-question label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
}
.map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#download-section {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

#download-section:hover {
  transform: translateY(-5px);
}

#download-section h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  font-weight: bold;
}

#download-section h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 12px auto 0;
  border-radius: 2px;
  animation: pulseLine 2s infinite ease-in-out;
}

.download-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.download-info a {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.download-info a:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.download-info i {
  font-size: 1.2rem;
}

/* Responsive tweaks */
@media(max-width: 768px) {
  .download-info {
    gap: 10px;
  }

  .download-info a {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

@media(max-width: 480px) {
  .download-info {
    flex-direction: column;
    gap: 12px;
  }

  .download-info a {
    justify-content: center;
  }
}

#extra-details {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

#extra-details:hover {
  transform: translateY(-5px);
}

#extra-details h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  font-weight: bold;
}

#extra-details h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 12px auto 0;
  border-radius: 2px;
  animation: pulseLine 2s infinite ease-in-out;
}

@keyframes pulseLine {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(1.2);
    opacity: 0.7;
  }
}

.contact-info {
  display: flex;
  justify-content: center;
}

.contact-info a {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 14px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: pulse 2.5s infinite alternate ease-in-out;
}

.contact-info a:hover {
  transform: scale(1.1) rotate(1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.contact-info i {
  font-size: 1.4rem;
}

/* Subtle pulse effect for idle animation */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  50% {
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
}

/* Responsive tweaks */
@media(max-width: 768px) {
  #extra-details h3 {
    font-size: 1.4rem;
  }

  .contact-info a {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

#sticky-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#sticky-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

#sticky-logo:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Responsive adjustment for smaller screens */
@media(max-width: 600px) {
  #sticky-logo {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  #sticky-logo img {
    width: 60px;
    height: 60px;
  }
}
#feedback-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  max-width: 95%;
  width: 400px;
  text-align: center;
  z-index: 2000;
  max-height: 80vh;     
  overflow-y: auto;          
  -webkit-overflow-scrolling: touch; 
  box-sizing: border-box;
  padding-bottom: 32px;
}
#feedback-questions {
  display: block;
  margin: 0;
}*
/* reduce font sizes slightly on very small viewports for fitting */
@media (max-width: 420px) {
  #feedback-form {
    width: 92%;
    padding: 16px;
    max-height: 86vh;
  }
  #feedback-form h3 {
    font-size: 1.05rem;
  }
}
.feedback-container h3 {
  margin-bottom: 15px;
}

.feedback-container p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #555;
}

#feedback-message {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  resize: vertical;
}

#submit-feedback {
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition:  0.3s ease;
}

#submit-feedback:hover {
  background: #388e3c;
}


footer {
  text-align: center;
  padding: 20px;
  background: #a6a9a7;
  color: #434644;
  margin-top: 40px;
  font-size: 1.2rem;
}

@media(max-width: 768px) {
  #intro {
    padding: 20px;
  }

  .map {
    height: 300px;
  }

  .features {
    gap: 10px;
  }
}
