:root {
  --main-color: #ff9800;
  --transition: 0.5s;
  --padding: 60px;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Open Sans", sans-serif;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}
/* Start Settings Box */
.settings-box {
  position: fixed;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 200px;
  height: 100vh;
  left: -200px;
  top: 0;
  transition: var(--transition);
  z-index: 9999;
}

.open {
  left: 0;
}

.settings-box .icon {
  position: absolute;
  right: -35px;
  font-size: 20px;
  cursor: pointer;
  background-color: #fff;
  text-align: center;
  top: 100px;
}

.settings-box .icon i {
  width: 35px;
  padding: 8px 0;
}

.settings-box .option-box {
  padding: 10px;
  background-color: #eee;
  margin: 15px;
  text-align: center;
}

.settings-box .option-box h4 {
  color: #666;
  font-size: 14px;
  margin: 10px auto;
}

.settings-box .option-box ul {
  list-style: none;
  margin: 5px auto;
}

.settings-box .option-box ul li {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #333;
  display: inline-block;
  border: 3px solid #eee;
  opacity: 0.5;
  cursor: pointer;
}

.settings-box .option-box ul li.active {
  opacity: 1;
  border-color: #fff;
}

.settings-box .option-box ul li:first-child {
  background-color: #ff9800;
}

.settings-box .option-box ul li:nth-child(2) {
  background-color: #e91e63;
}

.settings-box .option-box ul li:nth-child(3) {
  background-color: #009688;
}

.settings-box .option-box ul li:nth-child(4) {
  background-color: #03a9f4;
}

.settings-box .option-box ul li:last-child {
  background-color: #4caf50;
}

.settings-box .option-box span {
  background-color: var(--main-color);
  font-weight: bold;
  font-size: 12px;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  margin: 5px auto;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.5;
}

.settings-box .option-box span.active {
  opacity: 1;
}

.settings-box .reset {
  display: block;
  background-color: #f44336;
  color: white;
  border: none;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin: 15px;
  border-radius: 4px;
  cursor: pointer;
}
/* End Settings Box */
/* Start Bullets */
.bullets {
  width: 40px;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}
.bullets .bullet {
  width: 20px;
  height: 20px;
  position: relative;
  border: 3px solid var(--main-color);
  border-radius: 50%;
  margin: 15px auto;
  cursor: pointer;
}
.bullets .bullet:hover .tooltip {
  display: block;
}
.bullets .bullet .tooltip {
  position: absolute;
  padding: 5px 10px;
  font-size: 15px;
  text-align: center;
  background-color: var(--main-color);
  width: 100px;
  color: white;
  right: 30px;
  top: -6px;
  cursor: default;
  pointer-events: none;
  display: none;
  transition: var(--transition);
}
.bullets .bullet .tooltip::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 8px;
  width: 0;
  height: 0;
  right: -16px;
  border-color: transparent transparent transparent var(--main-color);
}
/* End Bullets */
.landing {
  min-height: 100vh;
  background-image: url("../imgs/05.jpg");
  background-size: cover;
  position: relative;
  color: white;
}

.landing .container {
  position: relative;
  z-index: 1000;
}
.landing .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
  z-index: 1;
}

.landing .header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  z-index: 2;
}

.landing .header .logo {
  font-weight: bold;
  width: 300px;
}

.landing .header ul {
  display: flex;
  list-style: none;
  width: 100%;
  font-size: 15px;
}

.landing .header ul li {
  margin: auto 8px;
}

.landing .header ul li a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.landing .header ul li a:hover,
.landing .header ul li a.active {
  color: var(--main-color);
}

.landing .header .toggle {
  position: relative;
  border: none;
  width: 30px;
  background: none;
  cursor: pointer;
  display: none;
}

.landing .header .toggle.active::before {
  content: "";
  position: absolute;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent white transparent;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
}
.landing .header .toggle:focus {
  outline: none;
}

.landing .header .toggle span {
  display: block;
  width: 100%;
  height: 4px;
  margin-bottom: 4px;
  background-color: #fff;
}
.landing .intro {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  z-index: 2;
}

.landing .intro h1 {
  font-size: 40px;
  margin: 0 0 13px 0;
}

@media (max-width: 575px) {
  .landing .intro h1 {
    font-size: 26px;
  }
}
.landing .intro h1 span {
  color: var(--main-color);
}

.landing .intro p {
  line-height: 1.7;
  font-size: 20px;
}

@media (max-width: 991px) {
  .landing .header ul {
    display: none;
  }
  .landing .header ul.open {
    display: block;
    position: absolute;
    width: 100%;
    background-color: #fff;
    top: 60px;
    border-radius: 6px;
    transition: var(--transition);
  }
  .landing .header ul.open li {
    display: block;
    font-weight: bold;
    padding: 15px;
    margin: 0;
  }
  .landing .header ul.open li:not(:last-child) {
    border-bottom: 1px solid #ccc;
  }
  .landing .header ul.open li a {
    color: var(--main-color);
  }
  .landing .header .toggle {
    display: block;
  }
}
.about {
  display: flex;
  align-items: center;
  padding-top: var(--padding);
  padding-bottom: var(--padding);
}
 @media (max-width: 767px) {
  .about {
    text-align: center;
    flex-direction: column;
  }
} 
.about .info-box {
  flex: 1;
  padding: 30px;
}
 @media (max-width: 767px) {
  .about .info-box {
    padding: 15px;
  }
}
.about .info-box h2 {
  font-size: 30px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 15px;
}

.about .info-box p {
  line-height: 1.8;
  color: #767676;
}

.about .img-box {
  flex: 1;
  text-align: center;
}

.about .img-box img {
  width: 350px;
}
 @media (max-width: 767px) {
.about .img-box img {
    width: 250px;
  }
}
.our-skills {
  padding-top: var(--padding);
  padding-bottom: var(--padding);
  background-color: #eee;
}

.our-skills h2 {
  text-align: center;
  font-size: 30px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 50px;
}

.our-skills .skill-box {
  background-color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

@media (max-width: 575px) {
.our-skills .skill-box {
    flex-direction: column;
    gap: 12px;
  }
}

.our-skills .skill-box .skill-name {
  font-weight: bold;
  font-size: 16px;
  width: 140px;
  text-align: center;
}

.our-skills .skill-box .skill-progress {
  position: relative;
  background-color: #f6f6f6;
  width: 100%;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
}

.our-skills .skill-box .skill-progress span {
  position: absolute;
  background-color: var(--main-color);
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  transition: all var(--transition);
}

.gallery {
  padding-top: var(--padding);
  padding-bottom: var(--padding);
  text-align: center;
}

.gallery h2 {
  text-align: center;
  font-size: 30px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 50px;
}

.gallery .images {
  text-align: center;
}

.gallery .images img {
  width: 266px;
  height: 150px;
  padding: 3px;
  margin: 4px;
  border: 1px solid #ccc;
  background-color: #eee;
  cursor: pointer;
}

 @media (max-width: 991px) {
.gallery .images img {
    width: 45%;
  }
}
 @media (max-width: 767px) {
.gallery .images img {
    width: 80%;
     height: 200px;
  }
}


.popup-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgb(0 0 0 / 80%);
  z-index: 100;
}

.popup {
  position: fixed;
  background-color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  border: 2px solid #ccc;
  z-index: 1000;
}

.popup h2 {
  margin: 0 0 15px;
  text-align: center;
  color: var(--main-color);
}

.popup img {
  max-width: 100%;
}

.popup .close {
  position: absolute;
  top: -15px;
  right: -14px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--main-color);
  color: white;
  font-size: 25px;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
}

.timeline {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #eee;
}

.timeline-content {
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: "";
  width: 2px;
  background-color: var(--main-color);
  height: 100%;
  position: absolute;
  left: 50%;
  margin-left: 1px;
  top: 0;
}

.timeline .year {
  position: relative;
  margin: 20px auto;
  text-align: center;
  background-color: var(--main-color);
  color: white;
  width: 50px;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: bold;
  z-index: 2;
}

.timeline-content .section-one,
.timeline-content .section-two {
  position: relative;
  width: calc(50% - 25px);
}

@media (max-width: 767px) {
  .timeline-content .section-one,
.timeline-content .section-two {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}
}

.timeline-content .section-one {
  float: left;
}

.timeline-content .section-two {
  float: right;
}

.timeline-content .section-one::before,
.timeline-content .section-two::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 20px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid var(--main-color);
}

@media (max-width: 767px) {
.timeline-content .section-one::before,
.timeline-content .section-two::before  {
  display: none;
}
}

.timeline-content .section-one::before {
  right: -37px;
}

.timeline-content .section-two::before {
  left: -33px;
}

.timeline-content .content {
  padding: 20px;
  background-color: #fff;
}

.timeline-content .section-one .content::before,
.timeline-content .section-two .content::before {
  content: "";
  position: absolute;
  top: 20px;
  border-style: solid;
  border-width: 10px;
  width: 0;
  height: 0;
}


.timeline-content .section-one .content::before {
  right: -20px;
  border-color: transparent transparent transparent white;
}

.timeline-content .section-two .content::before {
  left: -20px;
  border-color: transparent white transparent transparent;
}

@media (max-width: 767px) {
.timeline-content .section-one .content::before,
.timeline-content .section-two .content::before  {
  display: none;
}
}

.timeline-content .content h3 {
  color: var(--main-color);
  margin: 0 0 10px;
  font-weight: bold;
}

.timeline-content .content p {
  color: #666;
  line-height: 1.6;
}

.clear-fix {
  clear: both;
}

.features {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}

.features .feat-box {
  text-align: center;
}

.features .feat-box img {
  width: 100px;
}

.features h2 {
  text-align: center;
  font-size: 30px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 50px;
}

.features .feat-box h4 {
  position: relative;
  margin: 15px auto;
  font-size: 20px;
}

.features .feat-box h4::after {
  content: "";
  position: absolute;
  background-color: var(--main-color);
  width: 40px;
  height: 3px;
  left: 50%;
  margin-left: -20px;
  bottom: -15px;
}

.features .feat-box p {
  line-height: 1.6;
  color: #767676;
  margin: 25px auto;
}

.testimonials {
  padding-top: var(--padding);
  padding-bottom: var(--padding);
  position: relative;
}
.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
}
.testimonials::before {
  left: 0;
  background-color: var(--main-color);
}
.testimonials::after {
  left: 50%;
  background-color: #333;
}
.testimonials h2 {
  font-size: 30px;
  color: white;
  font-weight: bold;
  margin: 0 0 30px;
}
@media (max-width:  991px) {
  .testimonials h2{
  text-align: center;
}
}
.testimonials .boxs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}
.testimonials .test-box {
  background-color: #fff;
  padding: 20px;
}
.testimonials .test-box p {
  color: #777;
  line-height: 1.6;
  font-style: italic;
}
.testimonials .test-box .info {
  display: flex;
  align-items: center;
  margin: 20px auto 10px;
}
@media (max-width: 991px) {
  .testimonials .test-box .info {
  flex-direction: column;
}
}

.testimonials .test-box img {
  width: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

@media (max-width: 991px) {
.testimonials .test-box img{
  margin: 0 0 10px 0;

}
}
.testimonials .test-box h4 {
  margin-bottom: 4px;
}
.testimonials .test-box span {
  color: #767676;
  font-size: 14px;
}

@media (max-width: 991px) {
.testimonials .test-box h4 ,
.testimonials .test-box span {
  text-align: center;

}
}
.contact-us {
  position: relative;
  padding-top: var(--padding);
  padding-bottom: var(--padding);
}
.contact-us h2 {
  text-align: center;
  font-size: 30px;
  color: var(--main-color);
  font-weight: bold;
  margin: 0 0 60px;
}
.contact-us form {
  max-width: 800px;
  margin: auto;
  display: flex;
  gap: 30px;
}
@media (max-width: 991px) {
.contact-us form{
  flex-direction: column;
 gap: 0;
}
}
.contact-us form .left {
  flex: 1;
}
.contact-us form .right {
  flex: 1;
}
.contact-us form input,
.contact-us form textarea {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  background-color: #f6f6f6;
  padding: 10px;
  margin-bottom: 10px;
}
.contact-us form input {
  height: 40px;
}
.contact-us form textarea {
  height: 140px;
}
.contact-us form input:focus,
.contact-us form textarea:focus {
  outline-color: var(--main-color);
}
.contact-us form input:focus::placeholder,
.contact-us form textarea:focus::placeholder {
  transition: var(--transition);
  opacity: 0;
}
.contact-us form button {
  display: block;
  width: 100%;
  border: transparent;
  background-color: var(--main-color);
  padding: 15px;
  color: white;
  font-weight: bold;
  height: 40px;
}

.footer{
  background-color: #333;
  color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
}
/* Responsive */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 740px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
