
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}
::-webkit-scrollbar{
    width: 0;
    height: 0;
  }
:root {
    --main-color: #ff9f0d;
    --text-color: #ffffffea;
    --second-color: #9e9e9e;
    --bg-color: #111111;

    --big-font: 10.5rem;
    --h2-font: 2.6rem;
    --p-font: 1.1rem;

    --width: 100px;
    --height: 50px;
    --quantity: 10;
}
html::after{
    content: "";
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    pointer-events: none;
    background-image: url(/static/media/canvas.png);
    background-position: center;
    background-size: 100vw;
} 
body{
    position: relative;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: Poppins;
    font-size: 12px;
    overflow-x: hidden;
}
body::-webkit-scrollbar {
    display: none;
}

.pre-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s ease-in-out;
}

.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ------------ Preloader section ------------------- */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.Logo {
  width: 120px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid var(--second-color);
  border-top: 5px solid var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



/* ------------- Header for the page ------------- */
nav.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}
.logo .btn {
  border: 2px solid var(--main-color);
  gap: 0.5rem;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.logo .btn:hover {
    background: var(--second-color);
}
.welcom {
    position: relative;
    top: 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 5rem;
    gap: 0.5rem;
}

.text {
    position: relative;
    text-align: left;
    width: 450px;
}
.text h2 {
    font-size: 2.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.text p {
    font-size: 1.2rem;
    color: var(--second-color);
    margin-bottom: 1.5rem;
}
.media {
    position: relative;
}
.media img {
    width: 600px;
}
.media .shift {
    position: absolute;
    top: 15rem;
    left: 7rem;
}
.media .shift img {
    width: 120px;
    transition: transform 0.3s ease;
}

/* ---------------- Form Section ----------------- */
.contact-section {
      display: flex;
      flex-wrap: wrap;
      padding: 4rem 2rem;
      gap: 2rem;
      justify-content: center;
      align-items: flex-start;
}

.contact-form,
.contact-map {
  flex: 1 1 450px;
  max-width: 600px;
}

.contact-form h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-form p {
  font-size: 1.1rem;
  color:  var(--second-color);
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.juu {
    display: flex;
    gap: 1rem;
}
label {
  font-size: 1.1rem;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #888;
  border-radius: 20px;
  padding: 0.5rem 1rem;
}

.input-group i {
  margin-right: 0.5rem;
  color: var(--main-color);
}

.input-group input,
.input-group textarea {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1.1rem;
  color: var(--second-color);
}

.input-group.error input,
.input-group.error textarea {
  border: 2px solid red;
}

.input-group.success input,
.input-group.success textarea {
  border: 2px solid var(--main-color);
}

.error-message {
  color: red;
  font-size: 0.85rem;
  margin-top: 0.2rem;
  display: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  font-size: 0.95rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  color: var(--second-color);
}

.submit-btn {
  background: linear-gradient(45deg, var(--main-color), #ff6f00);
  color: var(--bg-color);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  width: max-content;
  animation: heartbeat 1.8s infinite;
  transition: all 0.3s ease;
}
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.submit-btn:hover {
    background: linear-gradient(45deg, var(--text-color), var(--second-color));
    transform: scale(1.05);
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
  border-radius: 8px;
}

/* ---------------------------------- FAQ's and Questions ----------------------------------------- */
.faq-section {
  padding: 4rem 2rem;
  max-width: 100%;
  margin: 1rem;
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.faq-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.faq-section p {
  color: var(--second-color);
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.faq-item {
  border: 1px solid var(--main-color);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  transform: scale(1.01);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  font-size: 1.3rem;
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  padding: 0 1.5rem;
  font-size: 1.3rem;
  color: var(--second-color);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding: 1rem 1.5rem;
}

.faq-question .icon {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--main-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  content: "-";
  transform: rotate(45deg);
}


/* ----------- Footer ----------------------- */
.footer {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 3rem 2rem;
  font-size: var(--p-font);
  border-top: 1px solid var(--main-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.footer-left h3 {
  margin: 0;
  font-size: var(--h2-font);
  color: var(--main-color);
}

.footer-left p {
  margin-top: 0.5rem;
  color: var(--second-color);
  max-width: 300px;
}

.footer-left img {
  margin-top: 1rem;
  width: 120px;
  height: auto;
}

.footer-middle ul,
.footer-right ul {
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-middle ul li,
.footer-right ul li {
  margin-bottom: 1.3rem;
  gap: 0.5rem;
}

.footer-middle ul li a,
.footer-right ul li a {
  color: var(--second-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-middle ul li a i {
  color: var(--main-color);
  font-size: 1.2rem;
}

.footer-middle ul li a:hover,
.footer-right ul li a:hover {
  color: var(--main-color);
}
.footer-middle ul li a:hover i {
  transform: rotateX(180deg);
  transition: transform 0.8s ease;
}

.footer-bottom {
  text-align: center;
  color: var(--second-color);
  border-top: 1px solid var(--main-color);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.footer-bottom p a {
  color: var(--main-color);
  font-weight: bold;
}

/* --------------- ===Footer for the page=== ------------------ */
@media (max-width: 1070px) {
  .welcom {
    margin-top: 0.5rem;
  }
  .text h2 {
    font-size: 2.3rem;
  }
  .text p {
    font-size: 1.1rem;
  }
  .media img {
    width: 500px;
  }
  .media .shift {
    top: 12.3rem;
    left: 5.5rem;
  }
  .media .shift img {
    width: 100px;
    transform: scale(0.9);
  }
}
@media (max-width: 995px) {
    .contact-form h2 {
        font-size: 2.5rem;
    }
  .contact-form, .contact-map {
    flex: 1 1 425px;
    max-width: 425px;
}
}
@media (max-width: 950px) {
  .media img {
    width: 400px;
  }
  .media .shift {
    top: 10.3rem;
    left: 4.5rem;       
}
 .media .shift img {
        width: 80px;
        transform: scale(0.8);
    }
 .text h2 {
        font-size: 2rem;
        margin-top: 2.1rem;
    }
 .text p {
        font-size: 1rem;
    }
 .contact-section {
     flex-direction: column;
     align-items: center;
     padding: 2rem 1rem;
}
.contact-form, .contact-map {
  width: 100%;
  max-width: none;
}
 }
@media (max-width: 768px) {
nav.navbar {
    flex-direction: column;
    padding: 1rem;
  } 
.contact-section {
     flex-direction: column;
     align-items: center;
     padding: 2rem 1rem;
}
.contact-form, .contact-map {
  width: 100%;
  max-width: none;
}
  .footer-content {
    gap: 1rem;
  }
  .footer-left h3 {
    font-size: 1.5rem;
  }
  .footer-left p {
    width: 210px;
    font-size: 0.9rem;
  }
 .footer-left img {
    width: 90px;
  }
  .footer-middle ul li a, footer-right ul li a {
    font-size: 0.9rem;
  }
  .footer-middle ul li a {
    gap: 0.3rem;
  }
}

@media (max-width: 589px) {
    .welcom {
        padding: 0 1rem;
    }
  .text h2 {
    font-size: 1.6rem;
    margin-top: 3.5;
  }
  .media img {
    width: 300px;
  }
  .media .shift {
    top: 7.3rem;
    left: 3.5rem;
  }
  .media .shift img {
    width: 60px;
    transform: scale(0.7);  
}
}
@media (max-width: 480px) {
  .welcom {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  .text {
    margin-top: 2rem;
    width: 400px;
  }
  .footer {
    padding: 2rem 0.2rem;
  }
  .footer-left {
    width: 100px;
  }
  .footer-left h3 {
    font-size: 1.2rem;
  }
  .footer-left p {
    display: none;
  }
  .footer-left img {
    width: 50px;
  }
}
@media (max-width: 399px) {
  .text {
    width: 300px;
  }
}
@media (max-width: 320px) {
  .text {
    width: 100%;
  }
}
@media (max-width: 240px) {
  .contact-section, .faq-section {
    display: none;
  }
}