* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #f7f2ec 100%);
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
}

/* Ensure nav always on top */
.menu-toggle {
  position: fixed;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.nav-panel {
  z-index: 9998 !important;
}
.logo-container {
  position: absolute;
  top: 25px;
  left: 24px;
  z-index: 10;
}

.site-logo {
  width: 80px;  /* adjust as needed */
  height: auto;
  object-fit: contain;
}
/* CONTACT SECTION */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-info h1 span {
  display: inline-block;
  background: #a79678;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.contact-info p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* SOCIAL ICONS */
.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wrapper .icon {
  position: relative;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon span {
  display: block;
  height: 60px;
  width: 60px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 60px;
  font-size: 25px;
  color: #000;
  transition: 0.4s;
}

.wrapper .icon .tooltip {
  position: absolute;
  top: 0;
  background: #fff;
  color: #fff;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 25px;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.wrapper .icon:hover .tooltip {
  top: -60px;
  opacity: 1;
}

.icon .tooltip::before {
  content: '';
  position: absolute;
  height: 15px;
  width: 15px;
  background: inherit;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
}

.wrapper .icon:hover span {
  color: #fff;
}

/* Social Colors */
.instagram:hover span,
.instagram:hover .tooltip {
  background: #E1306C;
}
.linkedin:hover span,
.linkedin:hover .tooltip {
  background: #0077B5;
}
.pinterest:hover span,
.pinterest:hover .tooltip {
  background: #BD081C;
}
.youtube:hover span,
.youtube:hover .tooltip {
  background: #DE463B;
}
.facebook:hover span,
.facebook:hover .tooltip {
  background: #3B5999;
}

/* FORM SECTION */
.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-container {
  background: #fff;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.form-container p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 16px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea.form-control {
  resize: none;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  background: #a79678;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.success-message.active {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #d9f6e8;
  color: #22c55e;
  border-radius: 50%;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
/* =========================================
   RESPONSIVE DESIGN — TABLET (<= 992px)
========================================= */
@media (max-width: 992px) {

  .container {
    padding: 30px 20px;
  }

  .contact-info h1 {
    font-size: 42px;
  }

  .contact-info p {
    font-size: 16px;
  }

  .contact-image {
    max-width: 320px;
  }

  .form-container {
    padding: 40px;
  }

  .form-control {
    padding: 14px 18px;
    font-size: 15px;
  }

}

/* =========================================
   RESPONSIVE DESIGN — MOBILE (<= 768px)
========================================= */
@media (max-width: 768px) {

  body {
    padding-top: 70px; /* Adds space under nav button */
  }

  .container {
    padding: 60px 25px;
  }

  .contact-container {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .contact-info h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-top: 20px;
  }

  .contact-info p {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .contact-form {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Keep the form container wide enough */
  .form-container {
    width: 100%;
    max-width: 500px;   /* PERFECT width on mobile/tablet */
    margin: 0 auto;
    padding: 35px 25px;
  }

  .wrapper .icon span {
    height: 50px;
    width: 50px;
    font-size: 20px;
    line-height: 50px;
  }

  .wrapper {
    justify-content: center;  /* center horizontally */
  }
  
  .btn-submit {
    padding: 16px;
    font-size: 17px;
  }
}


/* =========================================
   EXTRA SMALL SCREENS — SMALL PHONES (<= 480px)
========================================= */
@media (max-width: 480px) {

  body {
    padding-top: 80px; /* More breathing room from nav */
  }

  .container {
    padding-top: 60px;
  }

  .contact-info h1 {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .contact-info p {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .form-container {
    max-width: 420px;
    width: 100%;
    padding: 28px 20px;
  }

  /* Better input spacing */
  .form-control {
    font-size: 15px;
    padding: 14px 15px;
  }

  .wrapper .icon span {
    height: 44px;
    width: 44px;
    font-size: 18px;
    line-height: 44px;
  }

  .wrapper {
    justify-content: center;  /* center horizontally */
  }

  .btn-submit {
    padding: 14px;
    font-size: 16px;
  }
}
