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

/*---------body---------*/
body {
  font-family: serif;
  color: black;
}

/*---------header--------*/
header {
  background-color: rgb(255, 255, 255);
  margin: 10px 0px;
} 

header .header-container{
  width: 80%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo {
  font-size: 28px;
  font-weight: bold;
  font-style: italic;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

header nav a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  font-weight: bold;
}   

/*---------sction-main--------*/
.main {
  padding: 50px 0px;
  background-color: #5b5264;
  height: 85vh;
  display: flex;
  color: #ddd;
}

section .main-container{
  width: 80%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.text h2 {
  font-size: 35px;
  margin-bottom: 10px;
}

.text h3 {
  font-size: 30px;
  margin-bottom: 10px;
}


.text .big {
  font-size: 36px;
  font-weight: bold;
}

.text p {
  font-size: 25px;
  margin-bottom: 20px;
}

button {
  background-color: #c1b5a1;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.image img {
  width: 300px;
  border-radius: 10px;
}



/*---------products--------*/
.products .card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.products .card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  height: 250px;
}

.products .card-body {
  text-align: left;
}

.products .card-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.products .text-warning {
  font-size: 14px;
}

.products p {
  margin: 0;
  font-size: 14px;
}

.products .btn {
  float: right;
  border-radius: 8px;
  font-size: 13px;
  padding: 5px 15px;
}

.products .btn-success {
  background-color: #007965;
  border: none;
}

.products .btn-success:hover {
  background-color: #005f4d;
}


/*---------section-connect--------*/
.section-connect {
  background-color: #5b5264;
  color: #000000;
  padding: 20px;
}

.text-0 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.text-0 p {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ddd;
}

.icons i {
  margin: 0 8px;
  font-size: 20px;
  cursor: pointer;  
  color: #ddd;
}

.section-connect hr {
  width: 80%;
  margin: 20px auto;
  border: 1px solid #ccc;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: left;
  gap: 20px;
}

.text-1, .text-2, .text-3, .text-4 {
  flex: 1 1 100px;
  min-width: 200px;
  color: #ddd;
}

.text-1 p {
  font-size: 20px;
  line-height: 1.5;
}

.text-1 i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #000000;
}

.text-2 h2 , .text-3 h2 , .text-4 h2 {
  font-size: 25px;
}

.text-2 a,.text-3 a {
  color: #ddd;
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.text-2 a:hover,.text-3 a:hover {
  text-decoration: underline;
}

.text-4 i {
  margin-right: 10px;
}

.text-4  .contact-item  {
  font-size: 20px;
  margin: 5px 0;
}

.text-5 {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.text-5 pre {
  font-size: 20px;
  font-weight: 100;
  color: #ddd;
}

.text-5 a {
  color: #8b8989;
  text-decoration: none;
}


.text-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.contact-item{
    display: flex;
    align-items: center;
    width: 245px;      
    margin-bottom: 20px;
    margin-left: 0px;
}

.contact-item i {
  width: 30px; 
    
}


/*----------media query--------*/
@media (max-width: 992px) {
  header {
    display: flex;
    justify-content: center;
  }

  header .header-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center;
  }

  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
    gap: 15px;
  }

  .main {
    height: auto;           
    padding: 40px 20px;
  }

  .main-container {
    width: 100%;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .image img {
    margin-top: 20px;
  }

}

@media (max-width: 768px) {
  .main {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .image img {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
  }

  .text-0 {
    flex-direction: column;
    gap: 10px;
  }

  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-1, .text-2, .text-3, .text-4 {
    min-width: 100%;
  }

  .text-5 {
    text-align: center;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  header nav {
    flex-direction: column;
    gap: 5px;
    align-items: center;
    width: 100%;
  }

  header nav a {
    font-size: 16px;
  }

  .text h2 {
    font-size: 18px;
  }

  .text .big {
    font-size: 28px;
  }

  .text p {
    font-size: 12px;
  }

  button {
    font-size: 12px;
    padding: 8px 15px;
  }
}
