:root {
  --primary-green: #a3e635;
  --dark-text: #1a1a1a;
  --bg-glass: rgba(255,255,255,0.1);
  --blur-glass: blur(12px);
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --card-bg: rgba(255,255,255,0.8);
  --card-shadow: 0 20px 40px rgba(0,0,0,0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background-color: #fcfcfc;
  overflow-x: hidden;
}

/* --------------------------------
   Contact Hero Section
---------------------------------- */
.contact-hero {
  position: relative;
  height: 60vh;
  background: url('images/after.jpg') center/cover fixed no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-text h2 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, var(--primary-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
}

.blob1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(163,230,53,0.3), transparent 70%);
  top: -10%;
  left: -5%;
  animation: float 15s ease-in-out infinite alternate;
}

.blob2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(163,230,53,0.2), transparent 70%);
  bottom: -5%;
  right: -5%;
  animation: float 12s ease-in-out infinite alternate-reverse;
}

.blob3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  top: 20%;
  right: 15%;
  animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* --------------------------------
   Contact Section
---------------------------------- */
.contact-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #ffffff, #f8f9fa);
  margin-top: -50px;
  border-radius: 50px 50px 0 0;
  z-index: 3;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--card-bg);
  backdrop-filter: var(--blur-glass);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.5);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.card-header {
  padding: 2rem 2rem 0;
  position: relative;
  overflow: hidden;
}

.card-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.card-header::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(163, 230, 53, 0.1);
  border-radius: 50%;
  top: -50px;
  left: -50px;
  z-index: 1;
}

.card-body {
  padding: 2rem;
}

/* Form Card */
.form-card .input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #555;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-family: var(--font-primary);
  color: var(--dark-text);
  transition: var(--transition-smooth);
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(163,230,53,0.2);
  background: #fff;
}

.form-card textarea {
  resize: none;
  min-height: 120px;
}

.form-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-green);
  color: var(--dark-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.form-card .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
  z-index: -1;
  border-radius: 50px;
}

.form-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(163,230,53,0.3);
}

.form-card .btn:hover::before {
  width: 100%;
}

.form-card .btn i {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.form-card .btn:hover i {
  transform: translateX(4px);
}

/* Info Card */
.info-card .info-list {
  list-style: none;
  margin-bottom: 2rem;
}

.info-card .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-card .info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item-icon {
  width: 45px;
  height: 45px;
  background: rgba(163,230,53,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-green);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.info-item:hover .info-item-icon {
  background: var(--primary-green);
  color: #fff;
  transform: scale(1.1);
}

.info-item-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-item-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Styled Map Links inside Info Card */
.info-item-content a {
  display: inline-block;
  color: #84cc16;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  font-size: 0.95rem;
}

.info-item-content a:hover {
  color: #65a30d;
  transform: translateX(5px);
  text-decoration: underline;
}

.info-item-content a[title] {
  cursor: pointer;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(163,230,53,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-green);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --------------------------------
   FAQ Section
---------------------------------- */
.faq-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #f8f9fa, #ffffff);
  position: relative;
  overflow: hidden;
}

.faq-section .h2text {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.faq-section .h2text::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background: var(--primary-green);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--dark-text);
  font-family: var(--font-primary);
}

.faq-question span {
  flex: 1;
}

.faq-question i {
  width: 24px;
  height: 24px;
  background: rgba(163,230,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
  background: var(--primary-green);
  color: #fff;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-decoration {
  position: absolute;
  z-index: 1;
}

.faq-decoration-1 {
  width: 200px;
  height: 200px;
  background: rgba(163,230,53,0.05);
  border-radius: 50%;
  top: 10%;
  left: 5%;
}

.faq-decoration-2 {
  width: 300px;
  height: 300px;
  background: rgba(163,230,53,0.03);
  border-radius: 50%;
  bottom: 5%;
  right: 5%;
}

.faq-decoration-3 {
  width: 50px;
  height: 50px;
  background: rgba(163,230,53,0.1);
  border-radius: 50%;
  top: 30%;
  right: 20%;
}

/* --------------------------------
   Animations
---------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------
   Responsiveness
---------------------------------- */
@media (max-width: 1200px) {
  .contact-container {
    padding: 0 1rem;
  }
}

@media (max-width: 992px) {
  .hero-text h2 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 50vh;
  }
  
  .hero-text h2 {
    font-size: 3rem;
  }
  
  .hero-text p {
    font-size: 1.2rem;
  }
  
  .contact-section {
    padding: 4rem 1.5rem;
  }
  
  .faq-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-text h2 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .card-header h3 {
    font-size: 1.5rem;
  }
  
  .faq-section h2 {
    font-size: 2rem;
  }
}



/* --------------------------------
     Back to Top Button
  ---------------------------------- */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--dark-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .back-to-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary-green);
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .back-to-top:hover {
    box-shadow: 0 8px 25px rgba(163,230,53,0.4);
    transform: translateY(-5px);
  }

  .back-to-top:hover::before {
    transform: scale(1.5);
  }

  .back-to-top i {
    transition: transform 0.3s;
  }

  .back-to-top:hover i {
    transform: translateY(-3px);
  }

  @media (max-width: 576px) {
    .back-to-top {
      width: 40px;
      height: 40px;
      bottom: 20px;
      right: 20px;
      font-size: 1rem;
    }
  }
