* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --dark: #1E1E1E;
  --light: #fff;

  --bg-input: #ebf4f2;
  --text-span: #0087ca;
  --text-primary: var(--dark);
  --bg-color: var(--light);
  --bg-invert: var(--dark);
}
body {
  background-color: var(--bg-color);
}
h2 {
  text-align: center;
  font-size: 40px;
  letter-spacing: 3px;
  /* text-shadow: 3px 3px #b6b6b6, 6px 6px #016fa2; */
  font-weight: 600;
  color: var(--text-primary);
  /* color: #444343; */
}
@media screen and (min-width: 600px) {
  h2 {
    font-size: 50px;
  }
}

.highlight-skill {
  color: #007acc;
  font-weight: 600;
}

/* ################ Nav Bar ################## */
.navigation {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 8vh;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  background: var(--bg-color);
  border-bottom: 1px solid #c2c2c2;
}
.brand img {
  width: 40px;
  filter: drop-shadow(2px 2px 4px #d3d3d3);
}
.brand img:hover {
  cursor: pointer;
}
.nav_list {
  display: flex;
  list-style: none;
  align-items: center;
}
.nav_list li {
  padding: 10px 20px;
}
.nav_list li a {
  text-decoration: none;
  /* color: var(--dark); */
  font-weight: 600;
  display: inline-block;
  position: relative;
}
.nav_list li a,
.nav_list span i {
  color: var(--text-primary);
}
.nav_list li a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background: #0087ca;
  transform-origin: bottom right;
  transition: transform 0.2s ease-out;
}
.nav_list li a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media screen and (max-width: 768px) {
  .nav_list {
    position: fixed;
    top: 8vh;
    left: 0;
    width: 100%;
    transform-origin: top;
    transform: scaleY(0);
    transition: 0.3s;
    background: var(--bg-color);
  }
  .nav_list {
    flex-direction: column;
    align-items: center;
  }
  .nav_list li,
  .nav_list span {
    margin: 10px 0;
  }
  .burger {
    cursor: pointer;
    padding: 3px;
    border: 2px solid transparent;
    transition: 0.2s;
    border-radius: 5px;
  }
  .bar {
    width: 30px;
    height: 5px;
    margin: 5px;
    background: var(--text-primary);
    transition: 0.2s;
    border-radius: 20px;
  }
}

.nav_slider {
  transform: scaleY(1);
}
.switch .bar1 {
  transform: rotate(45deg) translate(6px, 8px);
}
.switch .bar2 {
  opacity: 0;
}
.switch .bar3 {
  transform: rotate(-45deg) translate(6px, -8px);
}
/* ################ Nav Bar ################## */
/* ################ Hero Section ################## */
.main {
  margin-top: 8vh;
  object-fit: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5vh 0;
  /* height: 100vh; */
}
.main_content {
  text-align: center;
  width: 400px;
}
.main_content h1 {
  color: var(--text-primary);
}
.main_content h1 span {
  /* color: #3ebfff; */
  color: var(--text-span);
}
.btn_primary {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #1A2A80, #3B38A0);
  padding: 14px 48px;
  margin-top: 2vh;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  color: var(--light);
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease-out;
}
.btn_primary:hover {
  cursor: pointer;
  padding: 14px 68px;
}
.profile_pic {
  display: none;
}
.profile_pic_img {
  width: 100%;
  border-radius: 50%;
}
@media screen and (min-width: 900px) {
  .main {
    justify-content: space-around;
    flex-direction: row;
    height: 100vh;
  }
  .main_content {
    text-align: left;
  }
  .main_content h1 {
    font-size: 40px;
  }
  .profile_pic {
    display: block;
  }
}

/* ################ Hero Section ################## */
/* ################ About Section ################## */
.about {
  margin-top: 10vh;
  margin-bottom: 10vh;
  padding: 0 20px 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f7f9fc;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.about:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,0.1);
}

.about h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222831;
  text-align: center;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.about p {
  margin-top: 5vh;
  font-size: 20px;
  color: #333333;
  line-height: 1.75;
  font-family: 'Open Sans', sans-serif;
  padding: 0 20px;
  text-align: justify;
}

.about p span {
  font-weight: 600;
  font-style: normal;
}

.highlight-name {
  color: #007acc;
}

.highlight-skill {
  color: #d6336c;
  background-color: rgba(214, 51, 108, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.highlight-cta {
  color: #22863a;
  font-weight: 700;
  font-style: italic;
}

/* Responsive padding scaling */
@media screen and (min-width: 600px) {
  .about p {
    padding: 0 40px;
    font-size: 22px;
  }
}
@media screen and (min-width: 900px) {
  .about p {
    padding: 0 60px;
    font-size: 24px;
  }
}
@media screen and (min-width: 1024px) {
  .about {
    max-width: 1200px;
  }
  .about p {
    padding: 0 80px;
  }
}
@media screen and (min-width: 1280px) {
  .about p {
    padding: 0 120px;
  }
}
@media screen and (min-width: 1500px) {
  .about p {
    padding: 0 200px;
  }
}
/* ################ About Section ################## */

/* ################ Services Section ################## */

.services_title {
  text-align: center;
  color: var(--bg-invert);
  padding: 0 10px;
}
.services_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.services_wrapper {
  margin-top: 20px;
  background-color: #fff;
  width: 250px;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.services_wrapper h3 {
  margin-top: 10px;
}
.services_wrapper p {
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
}
/* ################ Services Section ################## */

/* ################ Tech & Tools Section ################## */
.tech_tools {
  margin-top: 30px;
}
.tech_container {
  margin-top: 2rem;
  display: inline-grid;
  width: 100%;
  justify-content: center;
  grid-template-columns: 80px 80px 80px;
  gap: 0.8rem;
  padding: 0.8rem;
}
.tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 4px;
  background: #413f3f;
  padding: 0.7rem;
  width: 80px;
  height: 80px;
  transition: all 0.3s ease;
}
.tools:hover {
  background: #3c3b3b;
  transform: scale(1.1);
  cursor: pointer;
}
.tools img {
  width: 50px;
  padding: 0.7rem;
}
.tools p {
  font-size: 0.6rem;
  letter-spacing: 1px;
  font-weight: 500;
  color: #18cdca;
}
@media screen and (min-width: 600px) {
  .tech_container {
    grid-template-columns: 80px 80px 80px 80px 80px 80px;
  }
}
@media screen and (min-width: 768px) {
  .tech_container {
    grid-template-columns: 100px 100px 100px 100px 100px 100px;
    gap: 1rem;
  }
  .tools {
    width: 100px;
    height: 100px;
  }
  .tools img {
    width: 55px;
  }
  .tools p {
    font-size: 0.7rem;
  }
}
@media screen and (min-width: 1096px) {
  .tech_container {
    grid-template-columns: 120px 120px 120px 120px 120px 120px;
    gap: 1.2rem;
  }
  .tools {
    width: 120px;
    height: 120px;
  }
  .tools img {
    width: 65px;
  }
  .tools p {
    font-size: 0.9rem;
  }
}
@media screen and (min-width: 1450px) {
  .tech_container {
    grid-template-columns: 150px 150px 150px 150px 150px 150px;
    gap: 1.4rem;
  }
  .tools {
    width: 150px;
    height: 150px;
    border-radius: 6px;
  }
  .tools img {
    width: 80px;
  }
  .tools p {
    font-size: 1rem;
  }
}
@media screen and (min-width: 560px) {
  .tech_content {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  .tech_content img {
    width: 70px;
  }
}
@media screen and (min-width: 900px) {
  .tech_content img {
    width: 96px;
  }
}
*/
/* ################ Tech & Tools Section ################## */

/* ################ Projects Section ################## */
.project {
  margin-top: 10vh;
}
.project_wrapper {
  margin-top: 5vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* display: inline-grid;
  grid-template-columns: 1fr; */
}
.cards {
  width: 380px;
  height: 360px;
  margin: 20px;
  border: 1px solid rgba(204, 204, 204, 0.6);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* transition: 0.4s ease-out; */
}
.card_img {
  padding: 20px;
}
.card_img img {
  width: 100%;
  border-radius: 8px;
}
.card_element {
  padding: 0 20px 20px;
}
.card_element a,
.card_element a i,
.card_element li,
.card_element p {
  color: var(--text-primary);
}
.card_element_heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card_element_heading a {
  color: var(--dark);
}
.card_element_heading i {
  font-size: 24px;
  margin-left: 15px;
}
.card_element p:nth-child(1) {
  font-size: 20px;
  font-weight: 600;
}
.card_element p:nth-child(2) {
  /* text-align: justify; */
  margin-top: 20px;
  font-size: 12px;
}
.card_element ul {
  display: flex;
  list-style: none;
  margin-top: 15px;
}
.card_element ul li {
  margin-right: 20px;
}
@media screen and (min-width: 600px) {
  .project_wrapper {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 1280px) {
  .project_wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
/* ################ Projects Section ################## */

/* ################ Contact Section ################## */
.contact {
  margin-top: 5vh;
  padding: 0 20px 40px;
}
.form_container {
  margin-top: 5vh;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 6px 10px rgba(0, 0, 0, 0.19),
    0 8px 18px rgba(0, 0, 0, 0.22); */
  border: 1px solid rgba(204, 204, 204, 0.6);
  border-radius: 8px;
}
.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  padding: 20px;
}
.form input,
.form textarea {
  padding: 15px;
  margin: 10px;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 6px;
  background: var(--bg-input);
  color: var(--text-primary);
}
.form textarea {
  height: 140px;
}
.submit_btn {
  margin-top: 20px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  outline: none;
  border-radius: 30px;
  color: var(--light);
  background: linear-gradient(to right, #00bcca, #0087ca);
  cursor: pointer;
}
@media screen and (min-width: 600px) {
  .contact {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}
@media screen and (min-width: 768px) {
  .contact {
    padding-left: 20vw;
    padding-right: 20vw;
  }
}
@media screen and (min-width: 1050px) {
  .contact {
    padding-left: 25vw;
    padding-right: 25vw;
  }
  .form input,
  .form textarea,
  .submit_btn {
    font-size: 20px;
  }
}
@media screen and (min-width: 1320px) {
  .contact {
    padding-left: 30vw;
    padding-right: 30vw;
  }
}

/* ################ Contact Section ################## */
/* ################ Socials Section ################## */
.socials {
  text-align: center;
  font-size: 20px;
}
.socials a {
  padding: 10px;
  color: var(--dark);
}
.fa-facebook-square {
  color: #4064ac;
}
.fa-instagram {
  font-weight: 600;
  background: -webkit-linear-gradient(
    45deg,
    #bc2a8d 0%,
    #fccc63 60%,
    #fbad50 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fa-twitter {
  color: #1da1f2;
}
.fa-linkedin {
  color: #2868b2;
}

/* ################ Socials Section ################## */

/* ################ Copyright Section ################## */
.copyright {
  padding: 20px 0;
  text-align: center;
}
.copyright p {
  color: var(--text-primary);
}
@media screen and (min-width: 736px) {
  .socials,
  .copyright {
    font-size: 24px;
  }
}

/* ################ Copyright Section ################## */

.animated-text {
  display: inline-block;
  height: 60px;
  border-right: 2px solid #007acc;
  white-space: nowrap;
  overflow: hidden;
  animation: blink-caret 0.7s step-end infinite;
  font-weight: 600;
  color: #007acc;
}

@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #007acc;
  }
}