@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "urbanist", sans-serif;
  text-decoration: none;
  box-sizing: border-box;
}

:root {
  --primary-color: #0042d7;
  --secondary-color: #00ac47;
  --tertiary-color: #ff9900;
  --dark-color: #000;
  --plain-white: #fff;
  --text-color-1: #283548;
  --text-color-grey: #6d6d6d;
  --stroke-color: #c9caff;
  --stroke-grey: #ececec;
  --stroke-grey2: #e1e1e1;
  --border-stroke: solid 1px #c9caff;
  --BG-primarycolor: #f2f2ff;
  --body-color: hsl(223, 28%, 10%);
  --text-color-2: rgb(148, 163, 184);
  --contrast-bg: rgb(18, 28, 44);
  --new-border: #0e2441;
  --bg-icon: rgb(12, 24, 42);
}

body {
  min-height: 100vh;
  padding: 0 32px;
  margin: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: var(--body-color);
}

/* NAV SECTION */

nav {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 64px;
  background-color: var(--body-color);
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;

  /* From https://css.glass */
  background: rgba(13, 19, 37, 0.54);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.9px);
  -webkit-backdrop-filter: blur(4.9px);
  border-bottom: 1px solid rgba(240, 248, 255, 0.14);
}

.TDTIlogo {
  display: flex;
  align-items: center;
  cursor: default;
}

.TDTIlogo a {
  margin-right: 5px;
}

.logotxt {
  color: var(--plain-white);
  font-family: "urbanist", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1rem;
}

.logotxt .sub {
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--text-color-grey);
}

.navlinks {
  display: flex;
  list-style: none;
  align-items: center;
}

.navlinks li {
  margin-left: 30px;
}

.navlinks a {
  position: relative;
  text-decoration: none;
  font-size: 0.875rem;
  margin-right: 1rem;
  color: var(--plain-white);
  transition: all 0.5s linear;
}

.navlinks a:hover {
  color: var(--primary-color);
  font-weight: bold;
}

.navlinks a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s linear;
  bottom: -5px;
  left: 0;
}

.navlinks a:hover::after {
  width: 100%;
}

.nav__buttons {
  display: flex;
  gap: 1rem;
}

.nav__buttons .btn--outline {
  padding: 10px 24px;
  color: var(--tertiary-color);
  border: solid 1px var(--tertiary-color);
  margin-right: 10px;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
}

.nav__buttons .btn--primary {
  padding: 10px 30px;
  color: var(--plain-white);
  background: var(--primary-color);
  margin-right: 10px;
  border-radius: 0.5rem;
  transition: all 0.5s ease;
}

.nav__buttons a:hover {
  transform: scale(1.1);
  font-weight: bold;
}

/* Hide nav links/buttons on mobile */

/* When active → show them */
.navlinks.active,
.nav__buttons.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

/* Hamburger animation */
.hamburger.active span {
  transform: rotate(90deg);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  position: absolute;
  right: 1rem;
  z-index: 1001;
}

.hamburger span {
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 150px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info {
  padding: 20px;
}

.contact-info h2 {
  color: #111;
  margin-bottom: 15px;
}

.contact-info p {
  margin: 10px 0;
  line-height: 1.6;
  color: #555;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 20px;
}

.contact-form h2 {
  color: #111;
  margin-bottom: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #007bff;
}

textarea {
  resize: none;
  height: 120px;
}

button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/*FOOTER*/
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 1rem; */
}

.social-media p {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-color-2);
}

.footer h3 {
  font-size: 1.5rem;
  padding-bottom: 5px;
  color: var(--plain-white);
}

.contact {
  color: var(--text-color-2);
}

.social-media a {
  text-decoration: underline;
  color: var(--primary-color);
  margin-right: 1rem;
}

/*COP*/
.cop .copy {
  text-align: left;
  font-size: 0.75rem;
  /* padding: 10px 0; */
  color: var(--text-color-1);
}

.copy-txt {
  color: var(--text-color-2);
}


/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) {
  nav {
    padding: 10px 32px;
    width: calc(100% - 32px);
  }

  .navlinks li {
    margin-left: 20px;
  }

  .contact-container {
    margin: 120px auto;
    gap: 30px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer h3 {
    font-size: 1.3rem;
  }

  .social-media p {
    font-size: 1.1rem;
  }
}

/* Mobile Styles (max-width: 768px) */
@media screen and (max-width: 768px) {
  body {
    padding: 0 8px;
  }

  nav {
    padding: 10px 16px;
    width: calc(100% - 16px);
    left: 8px;
    right: 8px;
  }

  /* Show hamburger menu */
  .hamburger {
    display: block;
  }

  /* Hide nav links and buttons by default on mobile */
  .navlinks,
  .nav__buttons {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(13, 19, 37, 0.98);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  /* Show nav when active */
  .navlinks.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav__buttons.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .navlinks li {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .navlinks a {
    margin-right: 0;
    display: block;
    padding: 10px;
  }

  .nav__buttons .btn--outline,
  .nav__buttons .btn--primary {
    margin-right: 0;
    text-align: center;
    width: 100%;
  }

  /* Contact Container */
  .contact-container {
    grid-template-columns: 1fr;
    margin: 100px auto 50px;
    gap: 20px;
    padding: 15px;
  }

  .contact-info,
  .contact-form {
    padding: 15px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.3rem;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 8px;
  }

  .footer h3 {
    font-size: 1.2rem;
  }

  .social-media p {
    font-size: 1rem;
  }

  .social-media a {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .cop .copy {
    font-size: 0.7rem;
    text-align: center;
  }
}

/* Small Mobile Styles (max-width: 480px) */
@media screen and (max-width: 480px) {
  .logotxt {
    font-size: 0.7rem;
    line-height: 0.9rem;
  }

  .logotxt .sub {
    font-size: 0.6rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    margin: 90px auto 40px;
    padding: 12px;
    gap: 15px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.1rem;
  }

  input,
  textarea {
    padding: 10px;
    font-size: 14px;
  }

  button {
    padding: 10px;
    font-size: 15px;
  }

  .footer h3 {
    font-size: 1.1rem;
  }

  .social-media p {
    font-size: 0.9rem;
  }

  .nav__buttons .btn--outline,
  .nav__buttons .btn--primary {
    padding: 8px 20px;
    font-size: 0.875rem;
  }
}

/* Large Desktop Styles (min-width: 1440px) */
@media screen and (min-width: 1440px) {
  body {
    padding: 0 64px;
  }

  nav {
    padding: 10px 64px;
    width: calc(100% - 128px);
    left: 64px;
    right: 64px;
  }

  .contact-container {
    max-width: 1200px;
    gap: 50px;
  }

  .footer {
    padding: 0 64px;
  }
}