/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  background-color: #011923;
  font-family: "Poppins", sans-serif;
  color: #dad8df;
}

p {
  color: #dad8df;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #011923;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 0 60px;
  z-index: 1000;
}
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.navbar a {
  color: #dad8df;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  text-transform: uppercase;
}
.navbar a:hover {
  color: #f8b475;
}
.home-main {
  width: 100%;
  height: 100vh;
  max-height: 1000px;
  background-image: url("./images/background.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  overflow: hidden;
  margin-top: -40px;
}

.hero {
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 100%;
  color: #fff;
  text-align: center;
}
.line-left {
  position: absolute;
  top: 0;
  width: 100px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
}
.line-right {
  position: absolute;
  top: 0;
  width: 100px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  right: 10%;
  transform: translate(50%, -50%);
}
.hero-logo {
  font-size: 6rem;
  font-weight: 200;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo img {
  width: auto;
  max-height: 200px;
  margin-right: 20px;
}
.hero-text {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}
.hero-text p {
  margin-bottom: 0px;
}
.footer {
  background-color: #011923; /* Dark footer background */
  color: #fff;
  padding: 20px 60px;
  border-top: 1px solid #f8b475; /* Light border for separation */
}

.footer-left,
.footer-center,
.footer-right {
  width: 33%;
}

.footer-right .push-right {
  float: right;
  width: 120px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  flex-wrap: wrap;
}

/* Left section */
.footer-left h3 {
  color: #f8b475;
  margin-bottom: 10px;
  font-size: 16px;
}
.footer-right h3{
  color: #f8b475;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-left p {
  margin: 2px 0;
  font-size: 12px;
}

.footer-left .phone {
  margin-top: 10px;
}

.footer-left .email {
  text-transform: uppercase;
}

/* Center section */
.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.footer-center .badge {
  display: inline-block;
  border: 1px solid #f8b475;
  color: #f8b475;
  padding: 6px 14px;
  margin: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
}

.footer-center .copyright {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 12px;
  color: #f8b475;
}

/* Right section */
.footer-right h4 {
  color: #f8b475;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right ul li {
  margin: 2px 0;
}

.footer-right ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-right ul li a:hover {
  color: #f8b475;
}

.contact-main {
  width: 100%;
  height: 100vh;
  padding: 0px 60px;
}
.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  height: 100%;
  color: #fff;
}

.contact-left img {
  width: 220px;
  height: auto;
}
.contact-left h1 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: left;
}
.contact-left p {
  font-size: 1.2rem;
}

/* form design */
/* General Form Styles */
form {
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b0b0b0;
  display: block;
  margin-bottom: 10px;
}

/* Input and Textarea Styles */
input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
  outline: none;
}

input:focus,
textarea:focus {
  border-bottom: 1px solid #f8b475;
}

textarea {
  grid-column: span 2; /* This makes it stretch across both columns */
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

/* Button Styles */
button {
  grid-column: span 2;
  background: transparent;
  color: #f8b475;
  border: solid 2px #f8b475;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 8px;
  text-transform: uppercase;
  cursor: pointer;
  align-self: start;
  justify-self: start;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
  opacity: 0.9;
}
.contact-left {
  width: 50%;
}
.contact-right {
  width: 50%;
}

/* responsive design  */

@media (max-width: 768px) {
  header {
    padding: 0 20px;
    height: 60px;
  }
  .navbar {
    gap: 12px;
  }
  .navbar-menu {
    gap: 14px
  }
  .navbar a {
    font-size: 14px;
  }
  .language-selector {
    gap: 2px !important;
  }
  .language-selector a {
    font-size: 8px;
    padding: 4px 6px;
  }
  .hero-logo {
    font-size: 4rem;
  }
  .hero-logo img {
    height: 100px;
    margin-top: 20px;
  }
  .footer-center {
    margin-right: 0px;
  }
  .hero-text {
    font-size: 1rem;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer-right .push-right {
    width: 100%;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
  }
  .contact-left h1 {
    font-size: 1.8rem;
    text-align: center;
  }
  .footer-right {
    margin-top: 20px;
  }
  .footer-center {
    padding-top: 0;
  }
  .line-left,
  .line-right {
    width: 60px;
    height: 2px;
  }
  .contact-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .contact-left {
    margin-bottom: 20px;
    width: 100%;
  }
  .contact-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-main {
    height: auto;
    padding: 80px 20px 40px 20px;
  }

  form {
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%; /* Full width form on smaller screens */
  }

  /* Optional: make button align center on mobile */
  button {
    justify-self: center;
  }

  button {
    width: 100%; /* Full width button on smaller screens */
    margin-top: 20px;
  }
  .contact-left img {
    width: 170px; /* Adjust image size for smaller screens */
    margin: auto;
  }
  form div {
    width: 100%;
  }
  form label {
    font-size: 12px;
    text-align: left; /* Slightly larger font for better readability */
  }
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 6rem 3rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* .terms-container {
  background: rgba(34, 34, 34, 0.8);
  border: 1px solid #444;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.1);
  margin-bottom: 2rem;
} */

.terms-container a {
  color: #f8b475;
}

.version-separator {
  height: 4px;
  background: linear-gradient(90deg, #d4a574, #f8b475, #d4a574);
  margin: 4rem 0;
  border-radius: 2px;
}

h1 {
  color: #d4a574;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.company-subtitle {
  color: #d4a574;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.effective-date {
  text-align: center;
  margin-bottom: 3rem;
  color: #ccc;
  font-size: 0.9rem;
}

h2 {
  color: #d4a574;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d4a574;
}

h3 {
  color: #f8b475;
  font-size: 1.2rem;
  font-weight: 500;

}

p {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.company-info {
  background: rgba(212, 165, 116, 0.2);
  border: 1px solid #000;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.company-info p {
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 500;
}

ul,
ol {
  margin-left: 1rem;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

.definition-term {
  font-weight: 600;
  color: #d4a574;
}

.section-number {
  color: #d4a574;
  font-weight: 600;
}

.highlight-box {
  background: rgba(212, 165, 116, 0.1);
  border-left: 4px solid #d4a574;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 5px 5px 0;
}

.contact-info {
  background: rgba(244, 164, 96, 0.1);
  border: 1px solid #f8b475;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.contact-info h3 {
  margin-top: 0;
  color: #f8b475;
}

.footer-signature {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #d4a574;
  text-align: center;
  color: #d4a574;
  font-weight: 600;
}

/* Jump to top button */
.jump-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #d4a574;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jump-to-top:hover {
  background: #f8b475;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .main-content {
    padding: 7rem 1rem 1rem;
  }

  .terms-container {
    padding: 1rem 0rem;
  }

  h1 {
    font-size: 1.7rem;
  }
}

.language-selector {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-selector a {
  display: inline-block;
  border: 1px solid #f8b475;
  color: #f8b475;
  padding: 6px 8px;
  margin: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
}

.language-selector a.active {
  background-color: #f8b475;
  color: #000;
}
