/* =================== FONTS (optional, same family as home) =================== */
@import url('https://fonts.googleapis.com/css2?family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* =================== GLOBAL =================== */
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #FFFFFF 85%, #262626);
}

/* =================== MAIN CONTENT =================== */
.main-content {
  padding: 80px 20px 40px;
  /* padding-top accounts for fixed navbar */
  flex: 1 0 auto;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
}

.title {
  background-image: linear-gradient(to right, #826CF5 25%, #6FEA90);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 60px;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 0 auto;
}

.left-content {
  flex: 1;
  padding-right: 20px;
  margin-top: 50px;
}

.description {
  font-size: 25px;
  line-height: 1.6;
  color: black;
  margin-bottom: 30px;
}

.contact-info {
  font-size: 25px;
  line-height: 1.6;
  color: black;
}

.email-link {
  color: black;
  text-decoration: underline;
}

.email-link:hover {
  color: #7c4dff;
}

.divider {
  width: 2px;
  height: 455px;
  background-color: #666;
  margin: 0 20px;
}

.right-content {
  flex: 1;
  padding-left: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 1rem;
  border-radius: 10px;
}

.form-input,
.form-textarea {
  text-transform: capitalize;
  width: 400px;
  max-width: 100%;
  padding: 9px 30px;
  border: 1px solid black;
  border-radius: 20px;
  background-color: rgb(232 232 232 / 80%);
  font-size: 20px;
  outline: none;
  transition: background-color 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.email {
  text-transform: lowercase;
}

.form-input:focus,
.form-textarea:focus {
  background-color: rgba(255, 255, 255, 0.95);
}

.form-textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 165px;
}

.send-button {
  background-color: #000000;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  transition: background-color 0.3s ease;
  margin: 0 auto;
}

.send-txt {
  font-size: 20px;
}

.send-button:hover {
  transition: all 0.3s ease;
  transform: scale(1.12);
}

.arrow {
  font-size: 18px;
}

/* =================== NAVBAR (same behavior as home) =================== */

.nav {
  z-index: 3;
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  padding: 1rem 16px;
  width: 100%;
  height: 65px;
  align-items: center;
  align-content: center;
  transition: all 0.5s ease;
  justify-content: space-between;
  top: 0;
  left: 0;
}

#nav.scrolled {
  background: rgba(17, 17, 17, 0.3);
  backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav-left-section {
  padding-right: 2rem;
}

.nav-right-section ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  font-size: 20px;
}

.nav_right-list li {
  font-weight: bold;
  padding: 0rem 1rem;
}

.list_item:hover {
  transform: scale(1.12);
  transition: all 0.3s ease;
}

.list_item a {
  text-decoration: none;
  color: black;
}

.list_item a:hover {
  border-radius: 2px;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(105deg, #6666FF, #FF4750, #6666FF) 1;
}

/* =================== FOOTER (same structure as home) =================== */

footer {
  font-family: Arial, Helvetica, sans-serif;
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right, #D2005A, #6666FF) 1;
}

.footer-container {
  height: 40px;
  padding: 2rem;
  color: white;
  background-color: rgb(0, 0, 0);
  display: grid;
  align-items: center;
  align-content: center;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "logo menu copyright"
    "logo socials copyright";
}

.logo {
  grid-area: logo;
}

.menu {
  grid-area: menu;
}

.menu ul,
.socials ul {
  font-size: 18px;
  justify-content: center;
  list-style: none;
  display: flex;
  flex-direction: row;
}

.menu ul {
  gap: 4rem;
  justify-content: space-around;
}

.menu-item a {
  text-decoration: none;
  color: rgb(212, 212, 212);
}

.menu-item:hover,
.socials-items:hover {
  transform: scale(1.12);
  transition: all 0.2s ease;
}

.socials {
  grid-area: socials;
  align-items: center;
}

.socials ul {
  gap: 2rem;
}

.socials-items img {
  width: 24px;
  height: 24px;
}
.socials-items img:hover{
  filter:brightness(10);
   transform: scale(1.2);
    transition: all 0.2s ease;
}

.copyright {
  color: rgb(212, 212, 212);
  padding: 1.2rem;
  grid-area: copyright;
  text-align: center;
  font-size: 12px;
  justify-self: end;
  align-self: center;
}

/* =================== TABLET & MOBILE LAYOUT =================== */

@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  /* make sure page scrolls */
  html,
  body {
    overflow-y: auto;
  }

  .container {
    width: 100%;
    margin: 1.5rem auto;
  }

  .title {
    font-size: 34px;
    margin-bottom: 32px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .left-content {
    margin-top: 0;
    padding-right: 0;
  }

  .description,
  .contact-info {
    font-size: 18px;
    text-align: center;
    display: block;
    line-height: 1.5;
  }

  .contact-info a {
    display: block;
    margin-top: 5px;
}


  .divider {
    width: 100%;
    height: 2px;
    margin: 16px 0;
  }

  .right-content {
    padding-left: 0;
  }

  .contact-form {
    padding: 0;
  }

  .form-input,
  .form-textarea {
    width: 80%;
    max-width: 100%;
    font-size: 16px;
    padding: 10px 16px;
    align-self: center;
  }

  .send-button {
    width: 100%;
    max-width: 260px;
    gap: 24px;
  }

  .send-txt {
    font-size: 18px;
  }

  /* FOOTER – EXACT SAME MOBILE GRID AS HOME PAGE */
  footer {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .footer-container {
    padding: 10px;
    height: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 3fr 1.5r 3fr;
    grid-template-areas:
      "logo logo logo logo logo"
      "socials socials socials socials socials"
      "copyright copyright copyright copyright copyright";
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap: 10px;
  }

  .logo {
    grid-area: logo;
  }

  .socials {
    padding: 1rem;
    grid-area: socials;
    justify-self: center;
    align-self: center;
  }

  .socials ul {
    padding: 0;
    gap: 1.5rem;
      display: flex;
        justify-content: center ;
  }
  .copyright {
    grid-area: copyright;
    justify-self: center;
    padding: 0;
  }
}

/* FIX: Center arrow image inside Send button */
.send-button .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.send-button .arrow img {
  display: block;
}
