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

@font-face {
    font-family: 'poppins';
    src: url(fonts/poppins\ fonts/poppins-regular.ttf);
}

body{
    
    background: #f4f4f4;
    font-family: poppins, sans-serif;
    display: flex;
    margin: 0;
    padding-top: 80px;
}

 img{
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 3px solid olive;
    object-fit: cover;
}
.profile-image{
    display: flex;
    text-align: center;
    align-items: center;
    padding: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.profile-card{
    text-align: center;
    margin: 100px auto;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 30px;
    background: white;
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.profile-image h2{
    padding: 20px;
    color: burlywood;
    font-family: 'poppins', sans-serif;
    margin: 30px;
    font-weight: 500;
}
.horizon{
    text-align: center;
    justify-content: center;
    margin: 30px auto;
    color: burlywood;
}
.bio-section p{
    color: rgb(210, 179, 138);
}
.time-selection{
    margin-top: 10px;
    padding: 10px;
    display: inline-block;
}
.time-class{
    background-color: #e6eed6;
    text-align: center;
    justify-content: center;
    width: 200px;
    margin: auto;
    border-radius: 5px;
    padding: 5px;
    color: olive;
    border: 1px solid olive;
}
.fa-solid{
    margin-right: 10px;
}

nav ul{
    list-style: none;
    display: flex;
    padding: 0;
    gap: 15px;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
    
}
nav a, .fa-brands{
    text-decoration: none;
    color: olive;
    
}
h4{
    margin-top: 10px;
    margin-bottom: 10px;
    color: olive;
    font-size: 18px;
    font-weight: 600;
}
.fa-brands{
    margin-right: 5px;
}
nav ul li{
   
    background-color: bisque;
    padding: 7px;
    border-radius: 30px;
}

ul li{
    list-style: none;
}

.list-wrapper{
    display: flex;
    gap: 20px;
    text-align: center;
    justify-content: center;
    margin-top: 30px;
    /* flex-wrap: wrap; */
}
.list-card{
    flex: 1;
    background:bisque;
    border: 2px solid rgba(128, 128, 0, 0.632);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}
.list-card h3{
    margin-top: 0;
    color: olive;
    font-weight: 600;
}
.list-card ul{
    list-style: disc;
    margin: 0;
    color: #666;
}
.list-card li{
    margin-bottom: 8px;
    font-weight: 400;
    font-size: medium;
}















/* ---------NAVBAR STYLES ------ */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: olive;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  
}

.navbar a {
  color: aliceblue;
  text-decoration: none;
  margin: 0 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: 0.5s;
  font-size: 18px;
}

.navbar a:hover {
  color: brown;
  /* text-decoration: underline; */
}

/* ---------contact----------- */
/* ------CONTACT STYLES --------*/
.contact-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-section h1 {
  text-align: center;
  color: olive;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: 500;
  color: burlywood;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

button {
  width: 100%;
  padding: 12px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.5s;
}

button:hover {
  background: olivedrab;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 4px;
}

.success-message {
  color: green;
  font-weight: 500;
  margin-top: 15px;
  text-align: center;
}


/* -------------about-------------------- */

.about-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  line-height: 1.8;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-page h1 {
  text-align: center;
  color: olive;
  margin-bottom: 30px;
  font-weight: 600;
}

.about-page section {
  margin-bottom: 30px;
}

.about-page h2 {
  color: burlywood;
  margin-bottom: 10px;
}

.about-page p,
.about-page ul {
  color: #666;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.about-page ul {
  list-style-type: disc;
  margin-left: 20px;
}




@media only screen and (max-width: 600px) {
    .card-content{
        flex-direction: row;
    }
    .profile-image{
        display: block;
        
    }
    h2{
        margin-bottom: 10px;
    }
    .horizon{
        margin-top: 10px;
    }
    nav ul{
        display: block;
        
    }
    nav ul li{
        width: 200px;
        margin:10px auto;
        gap: 20px;
    }
    .list-wrapper{
        display: block;
    }
    .list-card{
        margin-top: 30px;
        width: 360px;
        padding: 15px;
    }

      body {
     padding-top: 70px;
      }
/* -------link navbar----------- */
  .navbar {
    flex-direction: column;
    padding: 10px 0;
  }
  .navbar a {
    margin: 8px 0;
    font-size: 16px;
  }
  /* ------end------------- */

  .about-page,
  .contact-section {
    width: 100%;
    padding: 30px;
    
  }
  input, textarea{
    width: 100%;
  }

  .about-page h1,
  .contact-section h1 {
    font-size: 22px;
    margin-top: 20px;
  }
  input, textarea, button {
    font-size: 15px;
  }

  button {
    padding: 10px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 601px) and (max-width: 900px) {
      .navbar a {
    margin: 0 15px;
    font-size: 16px;
  }

  .about-page,
  .contact-section {
    width: 100%;
  }

  input, textarea {
    font-size: 16px;
    width: 100%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 901px) {
  .about-page,
  .contact-section {
    width: 70%;
  }
}
