/* body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Arrial", sans-serif;
  margin: 0 auto;
  max-width: 1200px;
}

/* header */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 3px;
  color: #3a3837;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  color: #3a3837;
}

i {
  color: #8b7d76;
}



.nav-links a {
  text-decoration: none;
  font-size: 1rem;
  color: #3a3837;
  margin-left: 15px;
}
.nav-links a:hover {
  color: #cac2bd;
}


/* contact sectin */

.contacts {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 80px 1fr;
  grid-template-areas:
    "hd hd"
    "form inf";
}

.head {
  grid-area: hd;
  color: black;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.h1 {
  margin: 10px 0;
}

.par1 {
  text-align: center;
  color: #555;
  margin-bottom: 10px;
}

.contact-form {
  grid-area: form;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  margin-left: 50px;
  margin-right: 50px;
  color: #000;
}
.h2 {
  margin: 10px 0;
}
form {
  display: flex;
  flex-direction: column;
}
input {
  padding: 10px;
  border-radius: 5px;
}
.personal-infomation {
  display: flex;

  column-gap: 10px;
}

.Fname {
  display: flex;
  flex-direction: column;

  flex-grow: 1;
}
label {
  margin-bottom: 8px;
  margin-top: 5px;
}
select {
  padding: 10px;
}
textarea {
  height: 150px;
  padding: 10px;
  border-radius: 5px;
}
.fmail {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feedback {
  display: flex;
  flex-direction: column;

  margin-top: 10px;
}
.subj {
  display: flex;
  flex-direction: column;
}
.msg {
  display: flex;
  flex-direction: column;
}

.send {
  display: flex;
  justify-content: center;
  column-gap: 5px;
  margin-top: 15px;
  background-color: #000;
  color: #fff;
  border-radius: 5px;
}

.send .sn {
  margin-top: 10px;
}

#send {
  background-color: transparent;
  border: none;
  color: #fff;
}

/* contact-info */

.contact-information {
  grid-area: inf;
  margin-left: 15px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  color: #000;
}

.visit {
  display: flex;
  column-gap: 10px;
}

.call {
  display: flex;
  column-gap: 10px;
}
.email {
  display: flex;
  column-gap: 10px;
}
.h {
  margin-bottom: 10px;
}
.pm {
  margin: 5px 0;
}

.ic {
  background-color: whitesmoke;
  color: #9ca3af;
  width: 50px;
  height: 50px;
  padding: 15px;
  border-radius: 3px;
}
.l {
  font-size: x-large;
}
.social {
  display: flex;
  margin-top: 30px;
  margin-bottom: 20px;
  flex-direction: column;
  row-gap: 5px;
}

.social-br {
  display: flex;
  column-gap: 10px;
  margin-top: 10px;
}
.br {
  background-color: #000;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  color: #fff;
  padding: 8px;
}

.hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-right: 80px;
  margin-left: 35px;
  margin-bottom: 30px;
  padding: 10px;
  padding-left: 50px;
  background-color: whitesmoke;
  border-radius: 10px;
}

.h4 {
  grid-column: 1 /3;
  margin: 10px 0;
}

.time {
  justify-items: end;
  padding-right: 5px;
}







footer {
  background-color: #151722;
  color: white;
  padding: 15px 150px;
  margin-top: 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 20px 0; 
 border-bottom: 0.1px solid #898a8a;
}

/* Text section */
.footer-text h3 {
  margin-bottom: 5px;
  font-size: 1.4em;
}

.footer-text p {
  margin-bottom: 0;
  color: #ccc;
  font-size: 0.9em;
}

/* Form styling */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.subscribe-form input[type="email"] {

  justify-content: space-between;
   text-align: center;
  padding: 8px 10px;
  border-radius: 4px;
  border: none;
  font-size: 0.9em;
  width: 200px; 
  background-color: transparent;
  color: black;
 
}

.subscribe-form input[type="submit"] {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  background-color: white;
  color: black;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-form input[type="submit"]:hover {
  background-color: #570df6;
}





footer {
  background-color: #151722;
  color: white;
  text-align: left;
  padding: 15px 150px;
  margin-top: 30px;
}

footer i {
  color: white;
  font-size: 20px;
  text-align: center;
  padding-top: 15px;
}

.footer-navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 10px;
  border-bottom: 0.1px solid #898a8a;
}

.comform {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 10px;
  border-bottom: 0.1px solid #898a8a;
}


footer p {
  color: #aaaeb1;
  font-size: 100;
  line-height: 1.6;
}
.social-media. {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: column;
  justify-content: space-between;
  padding: 50px 10px;
  margin: 10px 0;
  border-bottom: 0.1px solid #898a8a;
}
.quick-links {
  line-height: 1.6;
}
.help {
  line-height: 1.6;
}

.contact {
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: column;
  justify-content: space-between;
  padding: 5px 10px;
  margin-top: 5px;
}

footer a {
  text-decoration: none;
  font-size: 1rem;
  color: #aaaeb1;
  margin-left: 15px;
}

footer a:hover {
  color: #cac2bd;
}







@media screen and (max-width: 500px) {
  .contacts {
    display: flex;
    flex-direction: column;
  }

.contact-information {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}


.visit  {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}



.social-br {
  display: flex;
  
  text-align: center;
  justify-content: center;
}

  .personal-infomation {
    flex-direction: column;
  }
}



}





@media screen and (max-width: 450px) {
  .personal-infomation {
    flex-direction: column;
  }
}



  @media screen and (max-width: 768px) {

 .navbar {
    display: flex;
    justify-content: center;
    flex-direction: column;
   
  }

  .nav-links {
    flex-direction: column;
 
    margin-top: 10px;
  }

  @media screen and (max-width: 480px) {

  .navbar {
    display: flex;
    justify-content: center;
    flex-direction: column;
  
  }

  .nav-links {
    flex-direction: column;

    margin-top: 10px;
  }

.footer-links,
  .footer-navbar,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    padding: 15px 20px;
  }

}