@import "https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  /* =====Coloura====== */
  --body-color: #0d3e5c;
  /* --sidebar-color:#fff;
    --primary-color:#695CFE;
    --primary-color-light:#F6F5FF;
    --toggle-color:#DDD;
    --text-color:#707070; */
  --secondry-text: #30ab65;
}

html {
  font-size: 10px;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
p {
  color: black;
  font-size: 1.4rem;
  margin-top: 5px;
  line-height: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
}
.section-title {
  font-size: 4rem;
  font-weight: 300;
  color: black;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: center;
}
.section-title span {
  color: var(--secondry-text);
}

/* .cta {
  display: inline-block;
  padding: 10px 30px;
  color: white;
  background-color: transparent;
  border: 2px solid var(--secondry-text);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 30px;
  transition: 0.3s ease;
  transition-property: background-color, color;
} */
/* .cta:hover {
  color: white;
  background-color: var(--secondry-text);
} */
.brand h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: white;
}
.brand h1 span {
  color: var(--secondry-text);
}

/* Header section */
#header {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
}
#header .header {
  min-height: 8vh;
  /* background-color: rgba(31, 30, 30, 0.24); */
  background-color: var(--body-color);
  transition: 0.3s ease background-color;
}
#header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  padding: 0 10px;
}
#header .nav-list ul {
  list-style: none;
  position: absolute;
  /* background-color: rgb(31, 30, 30); */
  background-color: var(--body-color);
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.5s ease left;
}
#header .nav-list ul.active {
  left: 0%;
}
#header .nav-list ul a {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  padding: 20px;
  display: block;
}
#header .nav-list ul a::after {
  content: attr(data-after);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  /* color: rgba(240, 248, 255, 0.021); */
  font-size: 13rem;
  letter-spacing: 50px;
  z-index: -1;
  transition: 0.3s ease letter-spacing;
}
#header .nav-list ul li:hover a::after {
  transform: translate(-50%, -50%) scale(1);
  letter-spacing: initial;
}
#header .nav-list ul li:hover a {
  color: var(--secondry-text);
}
#header .hamburger {
  height: 60px;
  width: 60px;
  display: inline-block;
  border: 3px solid white;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transform: scale(0.8);
  margin-right: 20px;
}
#header .hamburger:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 3px solid white;
  animation: hamburger_puls 1s ease infinite;
}
#header .hamburger .bar {
  height: 2px;
  width: 30px;
  position: relative;
  background-color: white;
  z-index: -1;
}
#header .hamburger .bar::after,
#header .hamburger .bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  background-color: white;
  transition: 0.3s ease;
  transition-property: top, bottom;
}
#header .hamburger .bar::after {
  top: 8px;
}
#header .hamburger .bar::before {
  bottom: 8px;
}
#header .hamburger.active .bar::before {
  bottom: 0;
}
#header .hamburger.active .bar::after {
  top: 0;
}
/* End Header section */

/* Hero Section */
#hero {
  /* background-image: url(./img/hero-bg.jpg); */
  background-size: cover;
  background-position: top center;
  position: relative;
  z-index: 1;
}
#hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.4;
  z-index: -1;
}
#hero .hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  justify-content: flex-start;
}
#hero h1 {
  display: block;
  width: fit-content;
  font-size: 4rem;
  position: relative;
  color: transparent;
  animation: text_reveal 0.5s ease forwards;
  animation-delay: 1s;
}
#hero h1:nth-child(1) {
  animation-delay: 1s;
}
#hero h1:nth-child(2) {
  animation-delay: 2s;
}
#hero h1:nth-child(3) {
  animation: text_reveal_name 0.5s ease forwards;
  animation-delay: 3s;
}
#hero h1 span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--secondry-text);
  animation: text_reveal_box 1s ease;
  animation-delay: 0.5s;
}
#hero h1:nth-child(1) span {
  animation-delay: 0.5s;
}
#hero h1:nth-child(2) span {
  animation-delay: 1.5s;
}
#hero h1:nth-child(3) span {
  animation-delay: 2.5s;
}

/* End Hero Section */

/* Services Section */
#services .services {
  flex-direction: column;
  text-align: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 0;
}
#services .service-top {
  max-width: 500px;
  margin: 0 auto;
}
#services .service-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}
#services .service-item {
  flex-basis: 80%;
  display: flex;
  align-items: center;
  gap: 10px;
  /*
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  */
  justify-content: flex-start;flex-direction: row;
  
  flex-wrap: wrap;
  
  padding: 30px;
  border-radius: 10px;
  background-image: url(./img/hero-bg.jpg);
  background-size: cover;
  margin: 10px 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#services .service-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  opacity: 0.2;
  z-index: -1;
}
#services .service-bottom .icon {
  height: 80px;
  width: 80px;
    display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 15px; /* centers the icon block + space below */
}
#services .service-item h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#services .service-item p {
  color: white;
  text-align: left;
    flex: 1 1 100%;   /* forces p to the next line, full width */
  margin: 0;        /* optional: tidy spacing */
}
/* End Services Section */
/* team Section */

#team .team  {
  flex-direction: column;
  text-align: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 0;
}
#team .team-top {
  max-width: 500px;
  margin: 0 auto;
}
#team .person-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}
#team .person {
  flex-basis: 80%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  border-radius: 10px;
  /* background-image: url(./img/hero-bg.jpg); */
  background-size: cover;
  margin: 10px 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#team .person::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  /* background-image: linear-gradient(60deg, #29323c 0%, #485563 100%); */
  background-color: var(--secondry-text);
  opacity: 0.8;
  z-index: -1;
}
#team .person-list .icon {
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}
#team .person h2,h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#team .person p {
  color: white;
  text-align: left;
}
/* End team Section */

/* about section */
#about .about {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}
#about .about-header h1 {
  margin-bottom: 50px;
}
#about .all-about {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#about .about-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 80%;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
}
#about .about-info, .about-news {
  padding: 30px;
  flex-basis: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background-color: var(--body-color);
  /* background-image: linear-gradient(60deg, #29323c 0%, #485563 100%); */
  color: white;
}
#about .about-info h1 {
  font-size: 4rem;
  font-weight: 500;
}
#about .about-news h1 {
  font-size: 3rem;
  font-weight: 500;
}
#about .about-info h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 10px;
}
#about .about-info p {
  color: white;
}
#about .about-news p {
  color: white;
}
#about .about-img {
  flex-basis: 50%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
#about .about-img:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  opacity: 0.7;
}
#about .about-img img {
  transition: 0.3s ease transform;
}
#about .about-item:hover .about-img img {
  transform: scale(1.1);
}
/* End about section */



/* contact Section */
#contact{
  position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url(bg.jpg);background-size: cover;
}

#contact .content{
    max-width: 800px;   
    text-align: center;
    margin-top:50px;
}
#contact .content h2{
    font-size: 36px;
    font-weight: 500;
    color: #fff;
}
#contact .content p{    
    font-weight: 300;
    color: #fff;
}
#contact .container .contactInfo{
    width: 50%;
    display: flex;
    flex-direction: column;
}
#contact .container .contactInfo .box{
    position: relative;
    padding: 20px 0;
    display: flex;
}
#contact .container .contactInfo .box .icon{
    min-width: 60px;
    height: 60px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}
#contact .container .contactInfo .box .text{
    display: flex;    
    margin-left: 20px;
    font-size: 16px;    
    flex-direction: column;
    font-weight: 300;
}
#contact .container .contactInfo .box .text h3{
    font-weight: 500;
    color: #00bcd4;
}
#contact .container .contactInfo .box .text p{
  color: #ffffff !important;
}
.contactForm{
    width: 40%;
    padding: 40px;
    background: #fff;
}
.contactForm h2{
    font-size: 30px;
    color: #333;
    font-weight: 500;
}
.contactForm .inputBox{
    position: relative;
    width: 100%;
    margin-top: 10px;
}
.contactForm .inputBox input,
.contactForm .inputBox textarea{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}
.contactForm .inputBox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
    }
    .contactForm .inputBox input:focus ~ span,.contactForm .inputBox input:valid ~ span,
    .contactForm .inputBox textarea:focus ~ span,.contactForm .inputBox textarea:valid ~ span{
        color: #e91e63;
        font-size: 12px;
        transform: translateY(-20px);
    }
    
    .contactForm .inputBox input[type="submit"]{
        width: 100px;
        background: #00bcd4;
        color: #fff;
        border: none;
        cursor: pointer;
        padding: 10px;
        font-size: 18px;
    }
/*End contact Section */

/* Keyframes */
@keyframes hamburger_puls {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}
@keyframes text_reveal_box {
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes text_reveal {
  100% {
    color: white;
  }
}
@keyframes text_reveal_name {
  100% {
    color: var(--secondry-text);
    font-weight: 500;
  }
}
/* End Keyframes */

/* Media Query For Tablet */
@media only screen and (min-width: 768px) {
  /* .cta {
    font-size: 2.5rem;
    padding: 20px 60px;
  } */
  h1.section-title {
    font-size: 6rem;
  }

  /* Hero */
  #hero h1 {
    font-size: 7rem;
  }
  /* End Hero */

  /* Services Section */
  #services .service-bottom .service-item {
    flex-basis: 45%;
    margin: 2.5%;
  }
  /* End Services Section */

  /* about */
  #about .about-item {
    flex-direction: row;
  }
  #about .about-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  #about .about-item {
    height: 400px;
    margin: 0;
    width: 100%;
    border-radius: 0;
  }
  #about .all-about .about-info {
    height: 100%;
  }
  #about .all-about .about-img {
    height: 100%;
  }
  /* End about */

  /* team */
  #team .person-list .person {
     flex-basis: 45%;
    margin: 2.5%;
  }

  /* End team */

  /* contact  */
  #contact .contact {
    flex-direction: column;
    padding: 100px 0;
    align-items: center;
    justify-content: center;
    min-width: 20vh;
  }
  #contact .contact-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 0;
  }
  #contact .contact-item {
    width: 30%;
    margin: 0;
    flex-direction: row;
  }
  #contact .contact-item .icon {
    height: 100px;
    width: 100px;
  }
  #contact .contact-item .icon img {
    object-fit: contain;
  }
  #contact .contact-item .contact-info {
    width: 100%;
    text-align: left;
    padding-left: 20px;
  }
  /* End contact  */
}
/* End Media Query For Tablet */

/* Media Query For Desktop */
@media only screen and (min-width: 1200px) {
  /* header */
  #header .hamburger {
    display: none;
  }
  #header .nav-list ul {
    position: initial;
    display: block;
    height: auto;
    width: fit-content;
    background-color: transparent;
  }
  #header .nav-list ul li {
    display: inline-block;
  }
  #header .nav-list ul li a {
    font-size: 1.8rem;
  }
  #header .nav-list ul a:after {
    display: none;
  }
  /* End header */

  #team .person-list .person,#services .service-bottom .service-item {
    flex-basis: 22%;
    margin: 1.5%;
  }
  /* #team .person-list .person {
    flex-basis: 22%;
    margin: 1.5%;
  } */
}
/* @media (min-width: 768px) {
  #team .team {
    align-items: center;
  }

  #team .team .person-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
  }
} */
/* End  Media Query For Desktop */
 @media (max-width: 991px){
        #contact .contact{ padding: 50px;}
        #contact .container{ flex-direction: column;}
        #contact .container .contactInfo{margin-bottom: 40px;}
        #contact .container .contactInfo, .contactForm{width: 100%;}
    }

    /* Carousel Section */
    .carousel{
      position:relative;
      width:80vw;    
      margin:auto;  
    }

    .carousel > ul{
      margin:0;
      padding:0;
      list-style:none;
    }
    .slide{
      position: absolute;
      inset: 0;
      opacity: 0;
      width: 70vw;
      margin:auto;
      transition:  200ms opacity ease-in-out;
      transition-delay:  200ms;
    }
    .slide > img{
      width:100%;
      height:auto;
      max-height: 90vh;           /* prevents over-stretching */
      object-fit:cover;
      object-position: center;
    }
    .slide[data-active]{
      opacity: 1;
      z-index: 1;
      transition-delay:0 ;
    }

    .carousel-button{
      position: absolute;
      z-index: 2;
      background: none;
      border:none;
      font-size:4rem;
      top:50%;
      transform: translateY(-50%);  
      color:rgba(255, 255, 255, .5);
      cursor:pointer;
      border-radius: .25rem;
      padding: 0 .5rem;
      background-color: rgba(0,0,0, .1);background-color: var(--body-color);
    }

    .carousel-button:hover, .carousel-button:focus{
      background-color: rgba(0,0,0, .2);
      color: white;
    }

    .carousel-button:focus{
      outline: 1px solid black;
      
    }
    .carousel-button.prev{
      left:1rem;
    }
    .carousel-button.next{
      right:1rem;
    }
/* .Sbutton {
  position: absolute;
  bottom: 40px;                Distance from bottom */
  /* left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  font-size: 1.2rem;
  color: whitesmoke;
  border: 2px solid var(--secondry-text);
  border: 2px solid white;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  z-index: 50;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-left: 100px;
} */
/* Container that holds multiple buttons */
.Sbutton-container {
  position: absolute;
  bottom: 40px;
  margin: 0px 0px 0px 0px;
  left: 50%;
  transform: translateX(-50%);  
  display: flex;
  gap: 15px; /* space between buttons */
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Show buttons only on active slide */
.slide[data-active] .Sbutton-container {
  opacity: 1;
}

/* Style for each button */
.Sbutton {
  padding: 12px 25px;
  color: white;
  background-color: var(--body-color);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
    border: 2px solid var(--secondry-text);
    font-size: 2rem;
  /* text-transform: uppercase; */
  display: inline-block;

}

/* Hover effect */
.Sbutton:hover {  
  border-color: black;
  color: white;
  background-color: var(--secondry-text);
}
/* MOBILE VIEW — Stack buttons vertically */
@media (max-width: 768px) {
  .Sbutton-container {
    flex-direction: column;
    gap: 10px;
    bottom: 20px;            /* Move buttons slightly up */
    width: 80%;              /* Optional: prevent overflow */
  }

  .Sbutton {
    text-align: center;
    width: 100%;             /* Buttons full width */
    padding: 10px;
    font-size: 1rem;
  }
}

  .footer-social {
  background-color: var(--body-color);        /* Dark modern background */
  padding: 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.social-icons {
  display: flex;
  gap: 25px;
}

.social-icon img {
  width: 32px;
  height: 32px;
  filter: invert(100%);             /* Makes icons white */
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.social-icon img:hover {
  transform: scale(1.2);
  filter: invert(60%) sepia(80%) hue-rotate(180deg);
}

  
  