

/* ✅ Success Modal */
.success-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.success-modal.hidden {
  display: none;
}
.modal-inner {
  background: #fff;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.close-success {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ============================
   CONTACT PAGE HERO SECTION
============================ */
.hero-section {
  background: transparent;
  color: #fff;
  padding: 7rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 70vh;
}
.hero-section::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -20%;
  left: -10%;
  background: transparent;
  transform: rotate(45deg);
  z-index: 0;
}
.hero-section .container {
  max-width: 800px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: black;
  line-height: 1.6;
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #0c1c2b;
  color: #f5f5f5;
}

body.dark-mode a {
  color: var(--text);;
}

body.dark-mode .header,
body.dark-mode .footer,
body.dark-mode .contact-form h2 {
  background-color: #08131f;
  color: #eee;
}

body.dark-mode .contact-form h2 {
  background-color: transparent;
  color: #eee;
}

/* body.dark-mode input,
body.dark-mode textarea {
  background-color: #16222e;
  color: #fff;
  border: 1px solid #444;
} */

body.dark-mode .cta-button {
  background-color: #00bcd4;
  color: #000;
}


/* ============================
   CONTACT INFO + MAP SECTION
============================ */
.contact-info {
  background: transparent;
  border:solid;
  border-radius: 30px;
  border-color: #00bcd4;
  padding: 5rem 1.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}
.contact-grid h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #0f172a;
}
.contact-grid p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #475569;
}
.contact-grid a {
  color: #0ea5e9;
  font-weight: 500;
  text-decoration: none;
}
.contact-grid a:hover {
  text-decoration: underline;
}
.contact-map {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

/* ============================
   CONTACT FORM SECTION
============================ */
.contact-form {
  background: transparent;
  padding: 6rem 1.5rem;
  position: relative;
  width: 100%;
}
.contact-form .container {
  max-width: 800px;
  margin: auto;
}
.contact-form h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #0f172a;
}

#contactForm {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);
}
.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
input, textarea {
  flex: 1 1 48%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  transition: 0.3s ease;
  background: #fff;
}
input:focus, textarea:focus {
  border-color: #0ea5e9;
  outline: none;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}
textarea {
  flex: 1 1 100%;
  resize: vertical;
  min-height: 150px;
}

.cta-button {
  display: inline-block;
  width: 100%;
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #0284c7;
}

/* ============================
   MEDIA QUERIES
============================ */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-group input {
    flex: 1 1 100%;
  }
}



