@import url("https://fonts.googleapis.com/css2?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 {
  /* Main theme color */
  --first-color: #0e2431;
  --second-color: #6a59d1;
  --third-color: #777;

  /* Hover Colors */
  --hover-color: #7366ca;

  /* Background Colors  */
  --body-bg-color: #fefefe;
  --card-bg-color: #fff;
  --modal-bg-color: #fff;
  --bg-transparent-color: rgba(0, 0, 0, 0.1);
  --transparent-color-01: rgba(0, 0, 0, 0.1);
  --transparent-color-02: rgba(106, 89, 209, 0.1);
  --line-color: #d7d7d7;

  /* Coolor Filters */
  --color-filter: invert(1);

  /* Box Shadow */
  --box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
  --box-shadow-hover: 0px 0px 30px rgba(0 0 0 /30%);

  /* Font size */
  --small-font-size: 0.9em;
  --normal-font-size: 1em;

  /* Scroll Bar colors */
  --scroll-bar-color: #c5cadf;
  --scroll-bar-thumb-color: #70768a;
  --scrolll-bar-hover-color: #454f6b;
}

.dark-theme{
  /* Main theme color */
  --first-color: #fff;
  --second-color: #6a59d1;
  --third-color: #a9afc3;

  /* Background Colors  */
  --body-bg-color: #0e1b31;
  --card-bg-color: #132347;
  --modal-bg-color: #102048;
  --bg-transparent-color: rgba(255, 255, 255, 0.1);
  --transparent-color-01: rgba(255, 255, 255, 0.1);
  --line-color: #454f6b;

  /* Coolor Filters */
  --color-filter: invert(0);

  /* Scroll Bar colors */
  --scroll-bar-color: #c1ceff;
  --scroll-bar-thumb-color: #282f4e;
  --scrolll-bar-hover-color: #454f6b;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  color: var(--first-color);
  background: var(--body-bg-color);
  margin: 2rem 0 0 0;
  transition: 0.5s ease;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}
.scrollToTop-btn{
  z-index: 9999;
  position: fixed;
  right: 0;
  bottom: 55px;
  width: 45px;
  height: 45px;
  background:var(--second-color);
  color: #fff;
  font-size: var(--small-font-size);
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: .5s ease;
}

.scrollToTop-btn.active{
  right: 20px;
  pointer-events: all;
  opacity: 1;

}

/* Light/Dark theme button  */
.theme-btn{
  z-index: 99999;
  position: fixed;
  right: 0;
  top: 100px;
  background:var(--transparent-color-02);
  backdrop-filter: blur(20px);
  width: 50px;
  height: 50px;
  font-size: 1.2em;
  border-radius: 5px 0 0 5px;
  box-shadow: var(--box-shadow);
  cursor: pointer;

}

.theme-btn .fa-sun, .theme-btn.sun .fa-moon{
  display: none;
}

.theme-btn.sun .fa-sun{
  display: block;
}


/* Scroll bar */
::-webkit-scrollbar {
  width: 10px;
  background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll-bar-thumb-color);
  border-radius: 2em;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrolll-bar-hover-color);
}

/* Header  */
header {
  z-index: 9999;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 15px;
  /* padding-bottom: 10px; */
  backdrop-filter: blur(20px);
  transition: 0.6s ease;
}
header.sticky {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--box-shadow);
}

.nav-bar {
  position: relative;
  height: calc(3rem + 1rem);
  max-width: 1250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  transition: 0.6s ease;
}
header.sticky .nav-bar {
  height: calc(2rem + 1rem);
}

.nav-bar .logo {
  color: var(--first-color);
  font-size: 1.3em;
  font-weight: 600;
}
.nav-items a{
  color: var(--first-color);
  font-size: var(--normal-font-size);
  font-weight: 500;
}

.nav-items a.active{
  color: var(--second-color);
}
.nav-items a:not(:last-child) {
  margin-right: 20px;
}
.nav-items a:hover {
  color: var(--second-color);
}

.nav-menu-btn{
  display: none;
  
}
.navigation i{
  display: none;
}

/* home Section */
.home {
  position: relative;
  max-width: 1250px;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem;
  flex-direction: column;
}
.home .home-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.home-container .media-icons {
  display: flex;
  flex-direction: column;
  margin-right: 40px;
}
.home-container .media-icons a {
  color: var(--second-color);
  font-size: 1.5em;
  margin: 10px 0;
}
.home-container .media-icons a:hover {
  color: var(--hover-color);
}

.home-container .info h2 {
  font-size: 3em;
  font-weight: 600;
  line-height: 70px;
}
.home-container .info h3 {
  color: var(--third-color);
  font-feature-settings: 1.3em;
  font-weight: 600;
  line-height: 50px;
}
.home-container .info h3 span {
  color: var(--second-color);
  font-size: 1.2em;
}
.home-container .info p {
  color: var(--third-color);
  font-size: var(--normal-font-size);
}

.btn {
  background: var(--second-color);
  color: #fff;
  font-size: var(--normal-font-size);
  font-weight: 500;
  display: inline-block;
  margin-top: 25px;
  padding: 17px 20px;
  letter-spacing: 1px;
  border-radius: 10px;
}
.btn:hover {
  background: var(--hover-color);
}
.home-container .home-img {
  position: relative;
}
.home-container .home-img img {
  width: 90%;
  transform: translate(0, 0);
}

.home .scroll-down {
  color: var(--first-color);
  font-size: var(--normal-font-size);
  font-weight: 500;
  margin-top: 0px;
}

.home .scroll-down i {
  color: var(--second-color);
  font-size: 1.3em;
}
.home .scroll-down i.fas {
  animation: arrow-down ease 2s infinite;
}

@keyframes arrow-down {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(10px);
  }
}

/* Common Style for all sections */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: red; */
}

.section {
  position: relative;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding: 6rem 0;
  scroll-margin-top: 50px;

  /* background-color: red; */
}
.section-title-02 {
  font-size: 2.3em;
  font-weight: 700;
  transform: translateY(-80px);
}
.section-title-02::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 5px;
  right: 0;
  bottom: 0;
  background: var(--second-color);
}

.container {
  position: relative;
  flex-direction: column;
  /* background-color: red; */
}
.about .container .content {
  column-gap: 50px;
  width: 100%;
  padding: 3px 30px;

  /* background-color: red; */
}

.about-img {
  position: relative;
 height: auto; /*For dynamic purpose*/

}
.about-img img {
  max-width: 350px;
  min-width: 350px;
  object-fit: cover;
  transform: scaleX(-1);
  border-radius: 10px;
}

.about-info .description {
  max-width: 700px;
}
.about-info .description h3 {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 10px;
}
.about-info .description h4 {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}
.about-info .description h4 span {
  color: var(--second-color);
}
.about-info .description p {
  color: var(--third-color);
  font-size: var(--normal-font-size);
  margin-bottom: 15px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--line-color);
}

.about-info .professional-list {
  display: flex;
  column-gap: 30px;
}

.about-info .professional-list .list-item{
  display: flex;
  justify-content:center;
  align-items: center;
  column-gap: 15px;
  margin-bottom: 20px;
}
.about-info .professional-list .list-item h3 {
  font-size: 2.3em;
  font-weight: 700;
}

.about-info .professional-list .list-item span {
  color: var(--third-color);
  font-size: var(--small-font-size);
}

/* SKills section */
.skills .container .content {
  width: 100%;
  /* background-color: red; */
  padding: 3px 30px;
}
.skills-description {
  /* max-width: 800px; */
  margin-bottom: 50px;
}
.skills-description h3 {
  font-size: 2em;
  margin-bottom: 5px;
}

.skills-set {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.developement-skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 100px;
  width: 100%;
  padding: 0 15px;
}

.skills-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.front-end,
.seo {
  grid-column: span 1;
}

.back-end {
  grid-column: span 2; /* Makes the Back-end Development section span across both columns */
}

.developement-skills .skills_heading {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.developement-skills .skills_heading i {
  color: var(--second-color);
  font-size: 1.5em;
}
.skills_heading .arrow-down {
  position: absolute;
  right: 70px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bxs-chevron-up {
  transform: rotate(360deg); /*Rotate the arrow when pointing up */
}

.developement-skills h2 {
  text-align: center;
  margin-top: 10px;
  font-size: 1.32em;
  margin-bottom: 10px;
  font-weight: 500;
  padding: 0 10px;
}

.bars {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.5s ease-out;
  padding: 0; /* Initial padding when hidden */
}

.bars.show {
  max-height: 500px; /* Adjust this based on the content height */
  padding: 10px 0; /* Padding when visible */
  transition: max-height 0.3s ease-in, padding 0.5s ease-in;
}

.bar {
  margin-bottom: 10px;
  padding: 10px 70px 20px 10px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.bar .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: var(--small-font-size);
}
.bar .info span {
  font-weight: 500;
}
.bar .line {
  position: relative;
  width: 90%;
  height: 7px;
  background: #c5cadf;
  border-radius: 2px;
}
.bar .line:before {
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--second-color);
  border-radius: 2px;
  width: 95%;
}

/* Qualification section */
.qualification .container .content {
  width: 100%;
  padding: 3px 30px;
}
.qualification-description {
  /* max-width: 1000px; */
  margin-bottom: 50px;
}
.qualification-description h3 {
  font-size: 2em;
  margin-bottom: 5px;
}

.education-info {
  max-width: 100%;
  display: flex;
  /* justify-content: space-around; */
  flex-wrap: wrap;
  gap: 100px;
  margin: 0 auto;
}

.education-info h4 {
  margin-bottom: 20px;
  padding-bottom: 15px;
}
.education-info h4 label {
  background: var(--second-color);
  color: #fff;
  font-size: var(--normal-font-size);
  font-weight: 400;
  padding: 5px 15px;
  border-radius: 5px;
}

/* .education-all{
    margin-bottom: 80px;
} */

.edu-list {
  padding: 0px 30px;
  border-left: 2px solid var(--second-color);
}

.edu-list .item {
  background: var(--card-bg-color);
  box-shadow: var(--box-shadow);
  border-bottom: 3px solid var(--second-color);
  position: relative;
  padding: 20px;
  margin-top: 15px;
  border-radius: 6px;
  transition: 0.3s ease;
}
.edu-list .item .year {
  font-size: var(--small-font-size);
  margin-bottom: 5px;
}
.edu-list .item p {
  color: var(--third-color);
  font-size: var(--small-font-size);
}
.edu-list .item p span {
  color: var(--first-color);
  font-size: var(--normal-font-size);
  font-weight: 500;
}

.edu-list .item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  right: calc(100% + 22px);
  top: 0;
  background-color: var(--second-color);
  border: 2px solid white;
}

/* Service section */
.services .container .content {
  width: 100%;
  padding: 3px 30px;
  /* background-color: red; */
}

.services-description h3 {
  font-size: 2em;
  margin-bottom: 50px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  max-width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.service-card {
  background: var(--card-bg-color);
  border-bottom: 3px solid var(--second-color);
  padding: 50px 40px;
  border-radius: 6px;
  box-shadow: var(--box-shadow);
  height: 250px;
  position: relative;
  transition: 0.7s ease;
}

.service-card > i {
  display: flex;
  justify-content: center;
  color: var(--second-color);
  font-size: 3em;
  margin-bottom: 30px;
  transition: 0.3s ease;
}

.service-card h3 {
  text-align: center;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 20px;
}

.service-card .learn-more-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: var(--third-color);
  cursor: pointer;
  transition: 0.3s ease;
}

.service-card .learn-more-btn i {
  transition: 0.3s ease;
}
.service-card:hover {
  background: var(--hover-color);
  color: #fff;
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover i {
  color: #fff;
}
.service-card:hover .learn-more-btn {
  color: #fff;
}

.service-card:hover .learn-more-btn i {
  transform: translateX(10px);
}

.service-modal {
  z-index: 99999;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: var(--bg-transparent-color);
  backdrop-filter: blur(10px);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease;
}
.service-modal.active {
  visibility: visible;
  opacity: 1;
}
.service-modal-body {
  position: relative;
  background: var(--modal-bg-color);
  max-width: 600px;
  margin: 20px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transform: translateY(-50px);
  transition: 0.5s ease;
}

.service-modal.active .service-modal-body {
  transform: translateY(0);
}

.service-modal-body .modal-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  cursor: pointer;
  font-size: 1.5em;
}

.service-modal-body h3 {
  font-size: 2em;
}

.service-modal-body h4 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 15px 0 10px;
}

.service-modal-body ul li {
  margin-top: 15px;
}
.service-modal-body ul li i {
  color: var(--second-color);
}

/* Projects Section */
.project .container .content {
  width: 100%;
  padding: 3px 30px;
  /* background-color: red; */
}

.project-description h3 {
  font-size: 2em;
  margin-bottom: 50px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  max-width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.project-box {
  position: relative;
  background: var(--card-bg-color);
  border-bottom: 3px solid var(--second-color);
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: var(--box-shadow);
  height: 400px;
  transition: 0.7s ease;
  overflow: hidden;
}
.project-box:hover {
  box-shadow: var(--box-shadow-hover);
}
.project-image-container {
  height: 70%;
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
  border: 1px solid var(--third-color);
  border-radius: 10px;
  overflow: hidden;
}
.project-image-container img {
  height: 100%;
  width: 100%;
}

.project-title {
  margin: 15px 0;
  text-align: center;
}
.project-title h3 {
  font-size: 1.5em;
}

.project-box .project-btn {
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  position: absolute;
  left: 8%;
  bottom: 20px;
}
.project-box .project-btn .btn-btn {
  /* background-color: var(--second-color); */
  border: 2px solid var(--second-color);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  margin: 0 20px;
  /* color: #fff; */
}

.project-box .project-btn .btn-btn p {
  font-size: var(--normal-font-size);
}
.project-btn .btn-btn:hover {
  background-color: var(--second-color);
  color: #fff;
  /* background-color: var(--hover-color); */
  /* box-shadow: var(--box-shadow-hover); */
}

/* Get in touch section */
.get-in-touch {
  /* margin-top: 70px; */
}

.get-in-touch .container .content {
  width: 100%;
  padding: 3px 30px;
  margin-bottom: 50px;
}

.get-in-touch .contact-card {
  position: relative;
  width: 70%;
  background: var(--card-bg-color);
  box-shadow: var(--box-shadow);
  padding: 50px;
  border-radius: 10px;
  column-gap: 50px;
}

.contact-card .title {
  text-transform: uppercase;
  line-height: 60px;
}

.contact-card .title h4 {
  font-size: 1.2em;
  font-weight: 300;
  line-height: 20px;
}

.contact-card .title h3 {
  font-size: 2.3em;
  font-weight: 400;
}

.contact-card .title h2 {
  font-size: 4.2em;
  font-weight: 700;
  background: linear-gradient(to top, transparent 0%, var(--first-color) 30%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

/* our client section */

/* Contact Section */
.contact .container .content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 3px 30px;
}

.contact-left h2 {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 40px;
}
.contact-list {
  margin-bottom: 40px;
}
.contact-list li {
  margin-bottom: 40px;
}

.contact-list li h3 {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-list li h3 i {
  color: var(--second-color);
  font-size: 1.3em;
  margin-right: 10px;
}

.contact-list li span {
  color: var(--second-color);
  margin-left: 40px;
}

.contact-list li span a {
  color: var(--second-color);
}


.contact-right p {
  color: var(--third-color);
  font-size: 1.6em;
  margin-bottom: 30px;
  padding: 10px;
}

.contact-right p span {
  color: var(--first-color);
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  border: none;
  color: var(--first-color);
  background: var(--transparent-color-02);
  font-size: var(--normal-font-size);
  margin-bottom: 20px;
  padding: 15px 40px 15px;
  border-radius: 5px;
  outline: none;
}
.contact-form input:hover,
textarea:hover {
  outline: 1px solid var(--second-color);
}
.contact-form textarea {
  width: 100%;
  resize: none;
}
::placeholder {
  color: var(--first-color);
}

.contact-form .first-row input {
  width: 100%;
}
.contact-form .second-row {
  display: flex;
  justify-content: space-between;
}

.contact-form .second-row input {
  width: 48%;
}

.contact-form .btn {
  border: none;
  margin-top: 0;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer Section */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--second-color);
  width: 100%;
  margin-top: 50px;
  padding: 3rem 2rem;
  color: #fff;
}
footer a {
  color: #fff;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1150px;
}

.footer-container .about h2 {
  font-size: 3em;
  font-weight: 600;
  background: linear-gradient(to top, transparent 0%, #fff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}
.footer-container .about p {
  font-size: var(--normal-font-size);
  font-weight: 300;
  margin-bottom: 30px;
}

.footer-container .info,
.footer-container .follow {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.footer-container .info h3,
.footer-container .follow h3 {
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 30px;
}

.footer-container .info ul,
.footer-container .follow ul {
  display: flex;
}

.footer-container .info a {
  margin: 20px;
}

.footer-container .follow a {
  font-size: 1.5em;
  margin: 20px;
}

.footer-copyright p {
  font-size: var(--normal-font-size);
  font-weight: 300;
  margin-top: 50px;
}

/* Media Query max-width 1070px */
@media screen and (max-width: 1070px) {
   .nav-bar{
    max-width: 1070px;
    margin-left: 1.5px;
    margin-right: 1.5px;
    position: relative;
    }  

   .navigation{
    position:absolute;
    left: 0;
    width: 100%;
    /* height: 100vh; */
    top: 0;
    display: flex;
    background: var(--transparent-color-01);
    
   }

   .navigation i{
    display: block;
       
   }

   /* Base Styles */
.grid{
  background-color: var(--modal-bg-color);
  position: absolute;
  bottom: 20px;
  left:100px;
  max-width: 1070px;
  padding: 10px;
  border-radius: 8px;
  transform: translateX(-50%,-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  grid-template-rows: auto auto;        /* 2 rows */
  gap: 0.5em;
  text-align: center;
  visibility: hidden; /* Initially hidden */
  opacity: 0;  
  box-shadow: var(--box-shadow);
 
  transform: translateY(50px);       /* Fully transparent */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.grid.visible {

  visibility: visible; /* Make it visible */
  opacity: 1;         /* Fully visible */
  transform: translateY(0); /* Slide up from bottom */
}

/* Animate Grid Items */
.grid a {
  transform: translateY(50px); /* Start below */
  opacity: 0; /* Invisible initially */
  transition: transform 0.5s ease, opacity 0.5s ease;
  font-size: var(--small-font-size);
  color: var(--first-color);
}

.grid.visible a {
  transform: translateY(0); /* Move into position */
  opacity: 1; /* Fully visible */
}
   .nav-items i{
    font-size: 20px;
    margin-bottom: 3px;

   }
  header {
    position: fixed;
    top:unset;
    bottom: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    z-index: 9999;
    /* margin-bottom: 20px; */
  }
  
  .nav-menu-btn{
    z-index: 999;
    display: block;
    height: 40px;
    width: 40px;
    padding: 2px;
    align-content: center;
    display: flex;
    justify-content: end;
    align-items: center;
    cursor: pointer !important;
  }
  .nav-menu-btn i{
    font-size: 30px;
    color: var(--first-color);
    cursor: pointer;
  }

  /* Home section */
  .home .home-container .info{
    font-size: 0.85rem;
  }

  /* About section */
  .about .container .content {
    display: grid;
    width: 100%;
    row-gap: 20px;
  }
  .about .container .content .about-img {
    margin: auto;
  }
  .about-img img{
    min-width: 0;
    width: 100%;
  }

  .about-info{
    min-width: 0;
    width: 100%;
  }

  .about-info .professional-list{
    flex-direction: column;
  }

  .about-info .professional-list .list-item{
    justify-content: start;
  }


}
  
  
 
