:root {
  --primary: #008080;   /* teal */
  --secondary: #2c3e50; /* dark gray */
  --accent: #4CAF50;    /* green */
  --font-family: 'Manrope, sans-serif';
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 50px;
}
.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li a {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none; /* remove underline */
}
.nav-links li a:hover{
  color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
}
/* Contact Section */
.contact-section {
  padding: 3rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.contact-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section p {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

/* Form styling */
.contact-form {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group i {
  margin-right: 0.5rem;
  color: var(--secondary);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Contact Info */
.contact-info {
  background: #eaf4ff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--secondary);
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--primary);
}

/* Scroll animation */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.btn-submit:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.btn-spinner {
  display: none;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
}

.success-message {
  display: none;
  margin: 1rem auto;
  padding: 1rem;
  max-width: 500px;
  background: #e6ffed;
  color: #2d7a46;
  border: 1px solid #2d7a46;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
}

.btn-submit.loading::after {
  content: "";
  position: absolute;
  right: 1rem;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Success & Error Messages */
.success-message,
.error-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  z-index: 9999;
  display: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.5s ease;
}

.success-message {
  background: #27ae60;
  color: #fff;
}

.error-message {
  background: #e74c3c;
  color: #fff;
}

.success-message.visible,
.error-message.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.success-message i,
.error-message i {
  margin-right: 0.5rem;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: #111; /* dark background */
  color: #fff;
  padding: 3rem 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 2;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  color: var(--accent); /* green accent for title */
}

.footer-logo p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-columns {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.85rem;
}





@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border: 1px solid #eee;
  }
  .menu-toggle {
    display: block;
  }
    .contact-form, .contact-info {
    padding: 1.5rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-columns {
    flex-direction: column;
  }
}