@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
  --font-color:#9c9c9c;
  --heading-color:#2c353d;
  --primar-color:#efbb20;
  --navbar-color:#2c353d;
  --darkblue-color:#2c70b9;
  --blue-color:#47c7ee;
  --darkgreen-color:#2ba048;
  --orange-color:#f35325;
  --lightgreen-color:#81bc06;
  --yellow-color:#ffba08;
  --text-color:#1f1a17;
}
:root{
    --font-color:#9c9c9c;
    --heading-color:#2c353d;
    --primar-color:#efbb20;
    --navbar-color:#2c353d;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    transition: 0.2s;
    text-transform: capitalize;
    transition: all 0.2s linear;
    text-decoration: none;
}
html{
    
    overflow-x:hidden ;
    scroll-behavior: smooth;
    scroll-padding-top:6rem ;

}


.nav-bar {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  
  align-items: center;
  list-style: none;
  position: fixed;
  z-index: 1000;
  overflow: hidden;
  
  background-color: rgb(255, 255, 255);
  padding: 8px 20px;
}
.logo img {width: 50px;}
.menu {display: flex;}
.menu li {padding-left: 30px;}
.menu li a {
  display: inline-block;
  text-decoration: none;
  color: #2C70B9;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: 0.15s ease-in-out;
  position: relative;
  text-transform: uppercase;
}
.menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #FFBA08;
  transition: 0.15s ease-in-out;
}
.menu li a:hover:after {width: 100%;}
.open-menu , .close-menu {
  position: absolute;
  color: blue;
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
}
.open-menu {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.close-menu {
  top: 20px;
  right: 20px;
}
.button {
  margin: 0 0px;
  margin-left: 8px;
  padding: .35em 1.5em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #2c9caf;
  transition: all 1000ms;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #2c9caf;
}

.button a {
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #2c9caf;
  transition: all 1000ms;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

button:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #70bdca;
  box-shadow: 4px 5px 17px -4px #268391;
}

.button a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

button::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #2c9caf;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 800ms;
}

button:hover::before {
  width: 250%;
}
/*social*/
.nav-social a img {
  width: 25px;
  margin-top: 6px;
  margin-left: 10px;
  transition: 0.2s ease-in-out;
}

.nav-social a img:hover {
  transform: scale(1.15);
}

.navbar.active {
  right: 0;
}

#check {display: none;}
@media(max-width: 900px){
  .nav-bar{overflow: hidden;}
  .menu {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 60%;
      
      height: 100vh;
      position: fixed;
      top: 0;
      right: -100%;
      z-index: 100;
      background-color: whitesmoke;
      transition: all 0.2s ease-in-out;
  }
  .menu li {margin-top: 10px;}
  .menu li a {padding: 5px;}
  .open-menu , .close-menu {display: block;}
  #check:checked ~ .menu {right: 0;}
  .nav-social a img{width: 20px;}
  .button{width: calc(40%-10px);font-size: 10px;padding: .30em 1.4em;}
  button a{font-size: 5px;}
}
@media(max-width: 430px){
  .menu li {margin-top: 10px;}
  .menu li a {padding: 5px;}
  .open-menu , .close-menu {display: block;}
  #check:checked ~ .menu {right: 0;}
  .nav-social a img{width: 14px;}
  .button{width: calc(40%-10px);font-size: 6px;padding: .15em 1em;}
  button a{font-size: 5px;}
}
@media(max-width: 370px){
  .logo img {width: 40px;}
  .menu li {margin-top: 10px;}
  .menu li a {padding: 5px;}
  .open-menu , .close-menu {display: block;}
  #check:checked ~ .menu {right: 0;}
  .nav-social a img{width: 14px; margin-left: 1px;}
  .button{width: 48px;height: 20px; font-size: 6px;padding: 0;margin: 0;margin-left: 10px;}
  button a{font-size: 4px;font-weight: 100;letter-spacing: 0;}
}
/* Profile */
.theme{
  padding-top: 80px;
  padding-left: 20px;
  padding-right: 20px;
  
}
.container {
  margin-bottom: 15px;
  width: 550px;
  height: max-content;
  padding: 20px 15px;
}

.profile {
  max-width: 600px;
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.36) 0px 3px 6px, rgba(0, 0, 0, 0.53) 0px 3px 6px;
  background:linear-gradient(135deg, #c4ecfb 0%,#9dbefd 100%);
  padding: 30px;
  border-radius: 10px;
  position: relative;
  
  h2{
    font-size: 1.2rem;
    padding-bottom: 20px;
    color: green;
  }
  h1{
    font-size: 1.2rem;
    color: var(--orange-color);
  }
  
  p {
    padding-top: 3px;
    font-size: 0.8rem;
    color: rgba(green, 0.8)
  }
  
  .image {
    width: 90px;
    height: 90px;
    background: red;
    border-radius: 50%;
    margin: 0 auto;
    position: absolute;
    right: 15px;
    top: 15px;
    transform-origin: bottom left;
    box-shadow: 0 3px 15px rgba(green, 0.1);
    transition: all 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    background-image: url("https://images.unsplash.com/photo-1479936343636-73cdc5aae0c3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=200&q=80");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  &:hover {
    .image {
      transform: scale(1.4);
      border-radius: 10px;
    }
  }
}
.column{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.theme .com{
  margin-left: 90px;
  font-size: 1.3rem;
}
.theme .staff{
  font-size: 1.3rem;
  margin-top: 100px;
  margin-left: 90px;
}
@media screen and (max-width: 768px) {
  .theme .com,
  .theme .staff {
    margin-left: 0;
    text-align: center;
    
  }

  .container {
    width: 90%;
  }
  .profile h1, h2{
    font-size: 1rem;
  }
  .profile p{
    font-size: 0.7rem;
  }

}

@media screen and (max-width: 480px) {
  .container {
    margin-top: 20px;
  }
  .column {
    flex-direction: column;
    align-items: center;
  }
  .profile h1{
    font-size: 0.8rem;
  }
  .profile h2{
    font-size: 0.7rem;
  }
  .profile p{
    font-size: 0.6rem;
  }
  .container {
    width: 98%;
    padding: 5px 2px;
  }
  .image{
    width: 10px;
    height: 10px;
    
  }
  &:hover {
    .image {
      transform: scale(1.01);
      border-radius: 10px;
    }
  }
}


/* Footer  */
footer {
  background-color: var(--heading-color);
  color: white;
  border-radius: 75px 0 75px 0;
  margin-top: 150px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 50px 5%;
  height: auto; 
}

/* Footer content styles */
.foot-box {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
}

/* Footer section styles */
.foot-head,
.links,
.our-services,
.social,
.touch {
  flex: 1 1 auto; 
  max-width: 250px; 
  margin-top: 25px; 
  
}
.foot-head h1{
font-size: 1.5rem;
}
.foot-box P{
font-size: 0.8rem;
}
.links p,
.social p,
.touch p,
.our-services p{
font-size: 0.8rem;
}
.links p, .our-services p{
margin-left: 0;
}
/* Links styles */
.links a,
.our-services a,
.social a {
color: white;
text-decoration: none;
font-size: 0.8rem;
font-weight: 400;
  display: block; 
  margin: 5px 0; 
}

/* Social links styles */
.social a img {
  
  width: 25px;
  margin: 8px;
  transition: 0.2s ease-in-out;
}

.social a img:hover {
  transform: scale(1.15);
}

/* Input styles */
.touch input {
  width: 100%; 
  border-radius: 8px;
  padding: 5px;
  margin-top: 10px; 
}


.rights {
  text-align: center;
  margin-top: 20px; 
}

.rights span ,a {
font-size: 14px;color: white;
text-decoration: none;
  font-weight: bold;
}


hr {
  margin: 10px 0 5px; 
}


@media screen and (max-width: 768px) {
  .foot-head,
  .links,
  .our-services,
  .social,
  .touch {
      max-width: 100%; 
  }
}

@media screen and (max-width: 430px) {
  .foot-head h1{
    font-size: 1rem;
  }
  .foot-box P{
    font-size: 0.6rem;
  }
  .links p,
  .social p,
  .touch p,
  .our-services p{
    font-size: 0.6rem;
  }
  .links a,
.our-services a,
.social a {
  font-size:0.6rem ;
}
.rights span ,a {font-size: 14px;}
.rights p{font-size: 12px;}
.social a img{
  margin: 1px 5px;
}
}
