/* =======================================================================
   ISSAJATT - CONTACT PAGE CSS (FULL) - Based on your main style.css
   Includes: Reset/Cross-browser, Navbar, Contact section (with Notes textarea),
   Footer, and Responsive (tablet/mobile)
   ======================================================================= */

/* ================= VARIABLES ================= */
:root {
  --primary-green: #207c4b;
  --primary-blue: #233d87;
  --accent-yellow: #ffff53;
  --light-yellow: #ffff30;
  --gray: #a8a7a7;
  --dark-gray: #333;
  --black: #000;
  --white: #fff;

  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --container-max: 1200px;
  --container-pad: 2rem;

  --radius-lg: 30px;
  --radius-md: 20px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ================= RESET + CROSS-BROWSER FIXES ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;

  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;

  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* Make form controls consistent across browsers */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Keep content below fixed navbar */
.page-wrapper {
  padding-top: 80px;
}

/* ================= CONTAINER ================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* =======================================================================
   NAVBAR (SAME AS OTHER PAGES)
   ======================================================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  border-left: 1px solid var(--black);
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.nav-link:first-child {
  border-left: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger animation */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =======================================================================
   CONTACT SECTION (WITH OPTIONAL NOTES)
   ======================================================================= */
.contact-section {
  padding: 5rem 0;
  background: #fff;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-form-wrapper {
  flex: 1;
  max-width: 500px;
}

.contact-title {
  color: var(--primary-green);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Inputs */
.input-group input {
  padding: 1rem 1.5rem;
  border: 1.5px solid #000;
  border-radius: 20px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;

  -webkit-appearance: none;
  appearance: none;
}

.input-group input:focus {
  border-color: var(--primary-green);
}

/* Notes textarea (optional) */
.input-group textarea {
  padding: 1rem 1.5rem;
  border: 1.5px solid #000;
  border-radius: 20px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
  background: #fff;

  -webkit-appearance: none;
  appearance: none;
}

.input-group textarea:focus {
  border-color: var(--primary-green);
}

.input-group textarea::placeholder {
  color: #777;
  font-weight: 500;
}

/* Optional label span "(Optional)" */
.input-group label span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
}

.submit-btn {
  background: #000;
  color: #fff;
  padding: 1rem 3rem;
  border: none;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.submit-btn:hover {
  transform: scale(1.02);
  background: #333;
}

.contact-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.contact-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =======================================================================
   FOOTER (SAME AS OTHER PAGES)
   ======================================================================= */
.footer {
  background: #1d2125;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.footer-contact p {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: #fff;
}

/* =======================================================================
   RESPONSIVE BREAKPOINTS
   ======================================================================= */

/* ================= TABLET (<= 1024px) ================= */
@media (max-width: 1024px) {
  .page-wrapper {
    padding-top: 76px;
  }

  .contact-container {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    height: 60px;
  }
}

/* ================= MOBILE (<= 768px) ================= */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
  }

  .navbar-container {
    padding: 0.75rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #ddd;
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .page-wrapper {
    padding-top: 70px;
  }

  .contact-section {
    padding: 0;
  }

  .contact-title {
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-visual {
    order: -1;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .contact-form-wrapper {
    max-width: none;
  }

  .submit-btn {
    align-self: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    height: 60px;
  }
}

/* ================= SMALL MOBILE (<= 420px) ================= */
@media (max-width: 420px) {
  .input-group input,
  .input-group textarea {
    padding: 0.95rem 1.15rem;
    border-radius: 18px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}
