*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body{
  overflow-x: hidden;
}
.main{
    height: 75px;
    /* border: 1px solid black; */
    background-color: #303030;
    display: flex;
    align-items: center;
    position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
}
.name{
    /* border: 1px solid black; */
    padding-left: 100px;
}
.name strong{
    color: white;
    font-size: 25px;
}
.navbar{
    /* border: 1px solid black; */
    /* width: 30%; */
    padding-left: 220px;

}
.navbar a{
      position: relative;
    text-decoration: none;
    color: white;
    margin-left: 30px;
    font-size: 16px;
    /* transition: 2s; */
}
.navbar a.active{
    color: #a43912;
    border-bottom: 3px solid #a43912;
}
.navbar a:hover {
   border-bottom: 3px solid #a43912;
   left: 0;
}
.contact{
    /* border: 1px solid black; */
    padding-left: 200px;
}
.contact button{
    width: 120%;
    font-size: 16px;
    height: 40px;
    text-align: center;
    border-radius: 5px;
    padding-top: 3px;
    border: none;
}
.contact button:hover{
    background-color: black;
    color: white;
    border: none ;
}

.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

#darkMode-icon {
  font-size: 1.8rem;
  cursor: pointer;
  /* position: fixed; */
  top: 25px;
  padding-left: 80px;
  z-index: 1000;
  color: #838080;
}

.dark-mode #darkMode-icon {
  color: #e0e0e0;
}
.dark-mode .service,
.dark-mode .education,
.dark-mode .card,
.dark-mode .timeline-content {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

.dark-mode .card2 h2,
.dark-mode .card3 p,
.dark-mode .section-title {
  color: #e0e0e0;
}

.dark-mode .timeline::after {
  background-color: #e0e0e0;
}

.middle{
    /* border: 1px solid black; */
    height: 500px;
    display: flex;
    /* align-items: center; */
    margin-top: 50px;
}
.info{
    /* border: 1px solid black; */
    width: 60%;
}
.info1{
    /* border: 1px solid black; */
    padding-top: 90px;
}
.info1 h2{
    padding-left: 100px;
    font-size: 35px;
    font-weight: bold;
}
.info2{
    /* border: 1px solid black; */
    width: 100%;
}
.info2 p{
    padding-left: 100px;
    padding-top: 15px;
    font-size: 15px;
    /* text-align: justify; */
}
.info3{
    /* border: 1px solid black; */
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-left: 80px;
    /* justify-content: space-evenly; */
}
.info3 .button{
    width: 17%;
    height: 40px;
    text-align: center;
    font-size: 17px;
    margin-left: 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
}
.info3 .button:hover{
    background-color: #303030;
    color: aliceblue;
}
.info3 .button1{
    width: 17%;
    height: 40px;
    text-align: center;
    font-size: 17px;
    margin-left: 20px;
    background-color: #a43912;
    color: white;
    border: none;
    border-radius: 5px;
}
.info3 .button1:hover{
    background-color: #812f11;
    color: white;
}
.image{
    /* border: 1px solid black; */
    width: 25%;
    height: 390px;
    margin-top: 60px;
    margin-left: 100px;
    border-radius: 80%;
}
.image img{
    width: 100%;
    height: 100%;
    border-radius: 80%;
}
.about{
    /* border: 1px solid black; */
    height: 400px;
    background-color: #303030;
    display: flex;
}
.about_image{
    /* border: 1px solid white; */
    width: 20%;
    height: 320px;
    border-radius: 80%;
    margin-left: 80px;
    margin-top: 40px;
    box-shadow: 1px 1px 1px 3px #812f11;
}
.about_image img{
    width: 100%;
    height: 100%;
    border-radius: 80%;
}
.about_text{
    /* border: 1px solid white; */
    width: 70%;
}
.text{
    margin-top: 70px;
}
.text h2{
    font-size: 25px;
    font-weight: bold;
    color: white;
    padding-left: 70px;
}
.about_text p{
    font-size: 14px;
    padding-top: 20px;
    padding-left: 70px;
    color: white;
}
.about_button {
/* border: 1px solid white; */
padding-top: 10px;
}
.about_button button{
    width: 13%;
    height: 40px;
    text-align: center;
    font-size: 17px;
    margin-left: 70px;
    border-radius: 4px;
    border: none;
    background-color: #812f11;
    color: white;
}
.service{
    /* border: 1px solid black; */
    height: 540px;
}
.service_text h2{
    font-size: 30px;
    text-align: center;
    padding-top: 30px;
    font-weight: bold;
}
.service_card{
    /* border: 1px solid black; */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 40px;
}
.card{
    /* border: 2px solid rgb(207, 204, 204); */
    width: 22%;
    height: 400px;
    border-radius: 10px;
    border-top: 8px solid #812f11;
    border-bottom: 8px solid #812f11;
    transition: .4s;
    box-shadow: 1px 1px 5px gray;
}
.card:hover{
    transform: scale(1.02);
    box-shadow: 1px 1px 10px gray;
}
.card .card1{
    /* border: 1px solid black; */
    height: 90px;
    width: 30%;
    margin-left: 97px;
    margin-top: 5px;
    border-radius: 50%;
}
 @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

.card1 img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotate 4s linear infinite;
}
 
   
/* .card2{
    border: 1px solid black;
} */
.card2 h2{
    text-align: center;
    font-size: 18px;
    color: black;
    font-weight: bold;
    padding-top: 10px;
}
.card3 p{
    font-size: 13px;
    /* padding-left: 13px; */
    text-align: center;
    color: black;
    padding-top: 10px;
}
.card4{
    margin-top: 20px;
}
.card4 button{
    width: 33%;
    height: 40px;
    background-color: #812f11;
    color: white;
    margin-left: 95px;
    border: none;
}
.connect{
    /* border: 1px solid black; */
    margin-top: 50px;
}
.connect_text h2{
    text-align: center;
    font-size: 30px;
}
.connect_form{
    /* border: 1px solid black; */
    width: 50%;
    margin-left: 330px;
    height: 500px;
    margin-top: 0px;
}
label{
    padding-left: 10px;
    font-weight: bold;
}
input[type=text],
input[type=number],
 textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #812f11;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 255px;
  font-size: 16px;
}

input[type=submit]:hover {
  background-color: #a43912;
}
.footer{
    background-color: #303030;
    height: 100px;
    margin-top: 20px;
}
.footer_icon{
    /* border: 1px solid white; */
    width: 20%;
   margin-left: 540px;
   display: flex;
   align-items: center;
   justify-content: space-evenly;
}
.footer_icon1{
    /* border: 1px solid white; */
    width: 15%;
    height: 40px;
    margin-top: 20px;
    border-radius: 50%;
    align-content: center;
    justify-items: center;
    background-color: #812f11;
}
.footer_icon1 i{
    color: white;
    font-size: 20px;
    padding-left: 7px;
}
.footer_icon1:hover{
    background-color: white;
    color: #303030;
}
.footer_icon1 i:hover{
    /* background-color: white; */
    color: #812f11;
}

.footer_text{
    text-align: center;
    padding-top: 10px;
    color: white;
}

    .education {
      padding: 60px 20px;
      background-color: #f9f9f9;
    }

    .section-title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 50px;
    }

    .timeline {
      position: relative;
      max-width: 900px;
      margin: auto;
    }

    .timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background-color: #a43912;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
    }

    .timeline-item {
      padding: 20px 40px;
      position: relative;
      width: 50%;
      box-sizing: border-box;
    }

    .timeline-item:nth-child(odd) {
      left: 0;
    }

    .timeline-item:nth-child(even) {
      left: 50%;
    }

    .timeline-content {
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      position: relative;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
      animation: slideIn 1s ease forwards;
      opacity: 0;
      transform: translateY(50px);
    }

    .timeline-item:nth-child(odd) .timeline-content {
      animation-delay: 0.2s;
    }

    .timeline-item:nth-child(even) .timeline-content {
      animation-delay: 0.4s;
    }

    @keyframes slideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive Layout */
    @media (max-width: 768px) {
      .timeline::after {
        left: 20px;
      }

      .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 40px;
        padding-right: 20px;
        margin-bottom: 30px;
      }

      .timeline-content {
        animation: slideInMobile 0.8s ease forwards;
      }

      @keyframes slideInMobile {
        from {
          opacity: 0;
          transform: translateX(-30px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }
    }