* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav ul{
    gap: 20px;
  
}

.nav-brand{
    font-weight: bold;
}

.contact {
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #222;
}

.contact .content {
  max-width: 800px;
  text-align: center;
}

.contact .content h2 {
  font-size: 3em;
  color: white;
  font-size: 1.1em;
  font-weight: bold;
}

.contact .content p {
  font-size: 1.1em;
  color: white;
  font-weight: 300;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 30px;

  margin-top: 30px;
}

.container .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.container .contactInfo .box {
  position: relative;
  padding: 20px 0;
  display: flex;
  cursor: pointer;
}

.container .contactInfo .box .icon {
  position: relative;
  min-width: 60px;
  height: 60px;
  background: repeating-conic-gradient(
    from 27.5deg,
    #01dbc2 0%,
    #01dbc2 10%,
    transparent 10%,
    transparent 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .contactInfo .box .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 117.5deg,
    #01dbc2 0%,
    #01dbc2 10%,
    transparent 10%,
    transparent 50%
  );
}

.container .contactInfo .box .icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #222;
}

.container .contactInfo .box .icon b {
  position: absolute;
  inset: 8px;
  background: #01dbc2;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .contactInfo .box .icon i {
  position: relative;
  z-index: 1000;
  color: #333;
  font-size: 1.25rem;
}

.container .contactInfo .box .text {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  font-size: 1.1rem;
  color: white;
  font-family: 300;
}

.container .contactInfo .box .text h3 {
  font-weight: 500;
  color: #01dbc2;
}

.container .contactInfo .txt {
  color: white;
  margin-top: 50px;
  font-weight: 500;
 
  padding-left: 10px;
  line-height: 1em;
}

.container .contactInfo .sci {
  position: relative;
  display: flex;
  gap: 30px;
  margin: 20px 0;
}

.container .contactInfo .sci li {
  list-style: none;
}

.container .contactInfo .sci li a {
  color: #fff;
  font-size: 1.5em;
  transition: 0.25s;
}

.container .contactInfo .sci li a:hover {
  color: #01dbc2;
  filter: drop-shadow(0 0 5px #01dbc2);
}

.contactForm {
  position: relative;
  width: 40%;
  background: repeating-conic-gradient(
    from var(--a),
    #01dbc2 0%,
    #01dbc2 10%,
    transparent 10%,
    transparent 50%
  );
  animation: animate 6s linear infinite;
  padding: 60px;
}

.contactForm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from var(--a),
    #01dbc2 0%,
    #01dbc2 10%,
    transparent 10%,
    transparent 50%
  );

  animation: animate 6s linear infinite;
  animation-delay: -1.5s;
}

.contactForm::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 20px solid #222;
  background-color: #333;
}

@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes animate {
  0% {
    --a: 0deg;
  }
  100% {
    --a: 360deg;
  }
}

.contactForm form {
  position: relative;
  z-index: 10;
}

.contactForm h2 {
  font-size: 2em;
  color: #fff;
  font-weight: 500;
}

.container .contactForm form .inputBox {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.inputBox input,
.inputBox textarea{
  width: 100%;
  padding: 5px 0;
  font-size: 1.1em;
  margin: 10px 0;
  border: none;
  background: transparent;
  border-bottom: 2px solid #01dbc2;
  color: #fff;
  outline: none;
  resize: none;
}

.inputBox span{
  position: absolute;
  left: 0;
  padding: 5px 0;
  margin: 10px 0;
  font-size: 1.1em;
  color: #fff;
  transition: 0.5s;
}

.inputBox input:focus ~ span,
.inputBox textarea:focus ~ span{
  color: #01dbc2;
  font-size: 0.9em;
  transform: translateY(-24px);
}

.inputBox input[type="submit"]
{
  width: 100%;
  background: #01dbc2;
  color: #222;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 1.1em;
  font-weight: 500;
}

@media (max-width: 991px){
  .contact{
    padding: 50px;
  }
  .container{
    flex-direction: column;
  }

  .contactInfo,
  .contactForm{
    width: 100%;
  }

  .container .contactForm form{
    padding: 10px;
  }

  .contactForm{
    padding: 40px;
  }
}


/*Footer*/
.trustdrive-footer {
  background-color: #212429;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.footer-brand,
.footer-links,
.footer-social {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-brand h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 10px;
  color: #2A9D8F;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #2A9D8F;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #2A9D8F;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-links ul {
    padding: 0;
  }
}
