@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;700;800&family=Roboto:wght@300;400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}
.navbar {
  position: fixed;
  width: 100%;
  padding: 25px 0;
  font-family: Arial, Helvetica, sans-serif;
  background: rgb(12, 12, 12);
  z-index: 1;
}
.navbar.sticky {
  padding: 15px;
  background: rgb(59, 59, 59);
}
.navbar .logo a span {
  color: white;
}
.navbar .logo a span:hover {
  color: red;
  
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo a {
  color: white;
  font-size: 35px;
  font-weight: 600;
}
.navbar .logo a:hover {
  color: blue;
  transform: scale(1, 1);
}
.navbar .menu li {
  list-style: none;
  display: inline-block;
}
.navbar .menu li a {
  display: block;
  color: white;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: all 0.3s linear; /* Applies to all animatable properties */
}
.navbar .menu li a:hover {
  color: blue;
  transform: scale(1.2);
}
/* Menu Button */
.menu-btn{
  cursor:pointer;
}
/*Syle for Home Section*/
.home {
  display: flex;
  background: url("images/banner.jpg") no-repeat center;
  height: 100vh;
  color: rgb(8, 8, 8);
  min-height: 500px;
  max-height: 720px;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Montserrat", sans-serif;
}
.home .max-width {
  margin: 140px 0 auto 30px;
}
.home .home-content .text-1 {
  font-size: 60px;
}
.home .home-content .text-2 {
  font-size: 80px;
  font-weight: 700;
  margin-left: -5;
}
.home .home-content .text-3 {
  font-size: 60px;
}
.home .home-content a {
  display: inline-block;
  color: white;
  background: rgb(11, 11, 11);
  padding: 12px 36px;
  margin-top: 30px;
  border-radius: 20px;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s linear;
}
.home .home-content a:hover {
  background: rgb(10, 10, 10);
  color: white;
  transform: scale(1.2);
}
/*style for About section*/
section {
  padding: 100px 0;
}
.about {
  display: flex;
  background: url("images/banner-5.jpg") repeat center;
  background-size: cover;
  background-attachment: scroll;
  font-family: "Montserrat", sans-serif;
}
.about .title {
  text-align: center;
  font-size: 40px;
  padding-bottom: 10px;
}
.about .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.about .about-content .left img {
  height: 350Px;
  width: 350px;
  object-fit: cover;
  border-radius: 100%;
}
.about .about-content .left {
  width: 45%;
}
.about .about-content .right {
  width: 55%;
}
.about .about-content .right .text {
  margin-bottom: 20px;
}
.about .about-content .right p {
  font-size: 20px;
  text-align: justify;
 
}
/*style for Services section*/
.services {
  color: black;
  background: rgb(82, 82, 82);
}
.services .title {
  font-family: "", sans-serif;
  color: white;
  text-align: center;
  font-size: 40px;
  padding-bottom: 50px;
}
.services .services-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.services .services-content .card {
  width: calc(33% - 20px);
  background: white;
  text-align: center;
  border-radius: 6px;
  padding: 20px 25px;
}
.services .services-content .card:hover {
  background: rgb(241, 233, 248);
}
.services .services-content .card .box {
  transition: all 0.3s ease;
}
.services .services-content .card .box:hover {
  transform: scale(1.05);
}

.services .services-content .card img {
  height: 60px;
  width: 60px;
}
.services .services-content .text {
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  margin: 10px 0;
  font-weight: 600;
}
.services .services-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}
/*style for Skills section*/
.skills {
  display: flex;
  background: rgba(191, 185, 185, 0.452);
  background-size: cover;
  background-attachment: fixed;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}
.skills .title {
  text-align: center;
  font-size: 40px;
  padding-bottom: 50px;
}
.skills .skills-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.skills .skills-content .column {
  width: calc(50% - 30px);
}
.skills .skills-content .left .text {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
}
.skills .skills-content .left p {
  text-align: justify;
  font-size: 20px;
}
.skills .skills-content a {
  display: inline-block;
  color: white;
  background:black;
  padding: 12px 36px;
  margin-top: 30px;
  border-radius: 20px;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s linear;
}
.skills .skills-content a:hover {
  background: black;
  color:white;
  transform: scale(1.1);
}

.skills .skills-content .right .bar {
  margin-bottom: 15px;
}

.skills .skills-content .right .info {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
}
.skills .skills-content .right .info:hover {
  color: red;
}
.skills .skills-content .right span {
  font-weight: 600;
  font-size: 18px;
  padding: 5px;
}
.skills .skills-content .right .line {
  height: 10px;
  width: 100%;
  background: lightgray;
  position: relative;
}
.skills .skills-content .right .line::before {
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  right: 0;
  background: blue;
}
.skills-content .right .html::before {
  width: 70%;
}
.skills-content .right .css::before {
  width: 65%;
}
.skills-content .right .js::before {
  width: 60%;
}
.skills-content .right .php::before {
  width: 65%;
}
.skills-content .right .mysql::before {
  width: 55%;
}
/*Contact Style*/
.contact {
  display: flex;
  background: url("images/banner-4.jpg") repeat center;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Montserrat", sans-serif;
}
.contact .title {
  text-align: center;
  font-size: 40px;
  padding-bottom: 50px;
}
.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* Aligns items to the top */
  justify-content: space-between; /* Ensures space between columns */
  gap: 20px; /* Adds spacing between columns */
}
.contact .contact-content .column {
  width: calc(50% - 15px); /* Fix typo and ensure equal column width */
}
.contact .contact-content .left {
  text-align: left; /* Aligns content to the left */
}
.contact .contact-content .right {
  margin-left: auto; /* Pushes the right column to the far right */
  text-align: left; /* Aligns text/content to the right */
}
.contact .contact-content .column .text {
  font-size: 25px;
  font-weight: 600;
  margin: 10px 0;
  
}
.contact .contact-content .left p {
  font-size: 20px;
  text-align: justify;
}
.contact .contact-content .row {
  display: flex;
  height: 65px;
  align-items: center;
}
.contact .contact-content .row .info {
  margin-left: 30px;
}
.contact .contact-content .left img {
  height: 20px;
  width: 20px;
}
.contact .contact-content .info .head {
  color:red;
  font-weight: 600;
  padding: 5px 0;
}
.contact .contact-content .info .subtitle {
  font-weight: 600;
}
.contact .right form .fields {
  display: flex;
}
.contact .right form .field,
.contact .right form .fields .field {
  height: 45px;
  width: 100%;
  margin-bottom: 10px;
}
.contact .right form .textarea {
  height: 80px;
  width: 100%;
}
.contact .right form .name {
  margin-right: 10px;
}
.contact .right form .email {
  margin-left: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea {
  height: 100%;
  width: 100%;
  border: 1px solid lightgray;
  border-radius: 6px;
  outline: none;
  padding: 0 15px;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
  border-color: red;
}
.contact .right form .textarea textarea {
  padding-top: 10px;
  resize: none;
}
.contact .right form .button {
  height: 50px;
  width: 180px;
}
.contact .right form .button button {
  width: 100%;
  height: 100%;
  background:black;
  color: white;
  font-size: 18px;
  border-radius: 6px;
 
  cursor: pointer;
}
.contact .right form .button button:hover {
  background: black;
  color:white;
  transform: scale(1.1);
  
}
/*Footer Style*/
footer {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  background: black;
  color: white;
  padding: 50px 25px;
}

footer span a {
  color: red;
}
footer span a:hover {
  text-decoration: underline;
}

/* Responsive Media Query */
@media (max-width: 1920px) {
  .home .max-width {
    margin-left: 0px;
  }
  .menu-btn {
    display: none;
    z-index: 999;
  }
}
@media (max-width: 1104px) {
  .about .about-content .left img {
    height: 350px;
    width: 350px;
  }
  .menu-btn {
    display: none;
    z-index: 999;
  }
}
@media (max-width: 991px) {
  .max-width {
    padding: 0 50px;
  }
  .menu-btn {
    display: none;
    z-index: 999;
  }
}
@media (max-width: 947px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }
  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: black;
    opacity: 70%;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }
  .navbar .menu.active{
    left:0;
  }
  .navbar .menu li {
    display: block;
  }
  .navbar .menu li a{
   display:inline-block;
   margin:20px;
   font-size:25px;
  }
  .home .home-content .text-2 {
    font-size: 35px;
  }
  .home .home-content a {
    font-size: 18px;
    padding: 10px 30px;
  }
  .max-width {
    max-width: 930px;
  }
  .about .about-content .column {
    width: 100%;
  }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .right {
    flex: 100%;
  }
  .services .services-content .card {
    width: calc(50% - 10px);
    margin-bottom: 35px;
  }
  .skills .skills-content .column,
  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 35px;
  }
}
@media (max-width: 690px) {
  .max-width {
    padding: 0 23px;
  }
  .services .services-content .card {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .contact .right form .fields {
    flex-direction: column;
  }
  .contact .right form .name,
  .contact .right form .email {
    margin: 0;
  }
}
