/* Browser Default CSS Reseter*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: black;
  font-family: Montserrat, sans-serif;
}



html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(87px);
}

#initial_nav_container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eeeeee;
}



#main_container {
  max-width: 1440px;
  margin: 0 auto;
  width: 75%;
}


#navigation_container {
  width: 75%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
}

#navigation_container .user_name_logo_container {
  width: 237px;
}

/* HAMBURGER BUTTON */
#navToggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

#navToggle .hamburger {
  width: 24px;
  height: 3px;
  background: #000;
  display: block;
  position: relative;
  transition: .3s;
}

#navToggle .hamburger::before,
#navToggle .hamburger::after {
  content: "";
  width: 24px;
  height: 3px;
  background: #000;
  position: absolute;
  left: 0;
  transition: .3s;
}

#navToggle .hamburger::before {
  top: -7px;
}

#navToggle .hamburger::after {
  top: 7px;
}

/* When menu open → turn into X */
#navToggle.open .hamburger {
  background: transparent;
}

#navToggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

#navToggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* RESPONSIVE NAV — 1525px */
@media (max-width: 1525px) {

  /* Show hamburger */
  #navToggle {
    display: block;
  }

  /* Initially hide nav */
  #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: .3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  /* When opened */
  #mainNav.open {
    max-height: 500px;
    opacity: 1;
  }

  /* Vertical menu style */
  #mainNav ul {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }

  #mainNav ul li {
    width: 100%;
  }

  #mainNav ul li a {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
  }

  /* Space fix */
  #navigation_container {
    position: relative;
  }
}

#navigation_container .user_name_logo_container img {
  width: 100%;
  vertical-align: bottom;
}

#navigation_container .nav_buttons_container ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style-type: none;
}

#navigation_container .nav_buttons_container ul>li {
  padding: 4px 7px;
}

#navigation_container .nav_buttons_container ul>li>a>span {
  font-size: 14px;
  font-weight: 500;
}

#navigation_container .nav_buttons_container ul>li:hover {
  color: #1ea155;
  /* rotate: calc(360); */
  background: #eaeaea;
  animation: vibrate 0.3s linear;
}

@keyframes vibrate {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-2px);
  }

  40% {
    transform: translateX(2px);
  }

  60% {
    transform: translateX(-2px);
  }

  80% {
    transform: translateX(2px);
  }

  100% {
    transform: translateX(0);
  }
}



#hero_area {
  display: flex;
  align-items: center;
  gap: 120px;
  padding: 22px;
  margin-top: 35px;
}

#hero_area .text_section {
  max-width: 860px;
}

#hero_area .text_section>* {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.text_section h1 {
  animation-delay: 0.1s;
}

.text_section .p1 {
  animation-delay: 0.2s;
}

.text_section .p2 {
  animation-delay: 0.3s;
}

.social_media_section {
  animation-delay: 0.4s;
}

.main_btn {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero_area .text_section h1 {
  color: #000 !important;
  font-size: 64px;
  line-height: 1.2;
  margin-block: 42px;
}

#hero_area .text_section p {
  color: #000 !important;
  font-weight: 500;
  margin-bottom: .6rem !important;
  opacity: .75;
  font-size: 22px;
  margin-top: 35px;
  line-height: 1.6;
}

#hero_area .text_section .p1 {
  max-width: 755px;
}

#hero_area .text_section .p2 {
  max-width: 791.67px;
}

#hero_area .text_section .social_media_section ul {
  display: flex;
  gap: 10px;
  list-style-type: none;
}

.hero_image {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.social_media_section {
  margin-block: 24px;
}

.social_media_section ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.social_media_section>ul {
  display: flex;
  flex-wrap: wrap;
}

.social_media_section>ul>li>a {
  /* background-color: #0b7e3b; */
  padding: 20px;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.social_media_section>ul>li.github {
  background-color: #000;
  border-radius: 50%;
}

.social_media_section>ul>li.linkedin {
  background-color: #0e76a8;
  border-radius: 50%;
}

.social_media_section>ul>li.envelope {
  background-color: #ea4335;
  border-radius: 50%;
}

.social_media_section>ul>li.facebook {
  background-color: #3b5998;
  border-radius: 50%;
}

.social_media_section>ul>li.twitter {
  background-color: #1da1f2;
  border-radius: 50%;
}

/* #333 */
.social_media_section>ul>li.discord {
  background-color: #333;
  border-radius: 50%;
}

.social_media_section ul>li>a>i {
  color: white;
}


.main_btn {
  background-color: #0645ad;
  border: 1px solid #0645ad;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-right: 50px;
  margin-top: 20px;
  padding: 13px 22px;
  text-align: center;
}

.main_btn:hover {
  background-color: #8c43ce;
  color: #fff;
  transform: translateY(-3px);
  transition: all .3s ease 0s;
}

.hero_image_section {
  width: 328px;
  min-width: 250px;
}

#work_experience {
  /* margin: 2rem auto 0; */
  padding: 22px;

}

#work_experience>.we_title {
  font-size: 40px;
  font-weight: 400;
  line-height: normal;
}

#work_experience .exp_details {
  border-radius: 14px;
  overflow: hidden;
  margin-block-start: 15px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#work_experience .exp_details .current_pos {
  display: flex;
  background: linear-gradient(135deg, #6c63ff0d, #6c63ff05);
  padding: 32px;
  gap: 20px;
}

#work_experience .exp_details .current_pos .company_logo_part {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: auto;
}

#work_experience .exp_details .current_pos .company_logo_part .cl_img {
  width: 54px;
  height: 54px;
}

#work_experience .exp_details .current_pos .cp_details .cp_company_name {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

#work_experience .exp_details .current_pos .cp_details .cp_company_my_pos {
  color: #6c63ff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 4px 0 0;
}

#work_experience .exp_details .current_pos .cp_details .duration>i,
#work_experience .exp_details .current_pos .cp_details .job_type>i {
  color: #0645ad;
  font-size: 12px;

}

#work_experience .exp_details .current_pos .cp_details .duration,
#work_experience .exp_details .current_pos .cp_details .job_type {
  align-items: center;
  color: #868e96;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  gap: .5rem;
  margin: 4px 0 0;
}

#work_experience .exp_details>.exp {
  border-left: 4px solid rgb(98, 9, 207);
  border-bottom: 3px solid #d3d3d333;
  padding: 1.5rem 2rem;
}

#work_experience .exp_details>.exp>.job_position {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

#work_experience .exp_details>.exp>.project_name {
  align-items: center;
  background: linear-gradient(135deg, #6c63ff1a, #6c63ff0d);
  border: 1px solid #6c63ff33;
  border-radius: 6px;
  color: #0645ad;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: .5rem;
  letter-spacing: .3px;
  margin: 8px 0 6px;
  padding: .4rem .8rem;
}



#work_experience .exp_details>.exp i {
  color: #0645ad;
  font-size: 12px;
}

#work_experience .exp_details>.exp .job_duration {
  align-items: center;
  color: #868e96;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: .5rem;
  margin: 6px 0 0;
}

#work_experience .exp_details .exp ul {
  list-style-type: disc;
  list-style-position: inside;
  margin-top: 1rem;
}

#work_experience .exp_details .exp ul li {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: .75rem;
}

#work_experience .exp_details .exp .working_company_name {
  align-items: center;
  background-color: #6c63ff1a;
  border: 1px solid #6c63ff33;
  border-radius: 20px;
  color: #0645ad;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: .5rem;
  padding: .5rem 1rem;
  text-decoration: none;
  transition: all .3s ease;
}

#work_experience .exp_details .exp .working_company_name:hover {
  background-color: #30363f;
  box-shadow: 0 4px 8px #6c63ff4d;
  color: #fff;
}

#work_experience .exp_details .exp .working_company_name:hover i {
  box-shadow: 0 4px 8px #6c63ff4d;
  color: #fff;
}


#achievements,
#problem_solving,
#skills,
#projects {
  padding: 22px;
  margin-top: 1.5rem;
}

#achievements .a_title,
#problem_solving .ps_title,
#skills .s_title,
#projects .ps_title,
#education .edu_title {
  font-size: 40px;
  font-weight: 400;
  line-height: normal;
}

#achievements .a_gallary,
#problem_solving .ps_gallary,
#projects .ps_gallary {
  /* display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px; */

  /* display: flex;
  justify-content: center; */
  /* flex-wrap: wrap; */
  /* margin-top: 50px; */
  /* align-items: center;
  gap: 20px; */
  display: grid;
  /* width: 100%; */
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  margin-block-start: 15px;

}

#achievements .a_gallary .a_box,
#problem_solving .ps_gallary .ps_box,
#projects .ps_gallary .ps_box {
  background-color: #fff;
  border: 1px solid hsla(0, 0%, 83%, .397);
  border-radius: 10px;
  box-shadow: 0 10px 30px -15px #0003;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 24px;
  flex: 1 1 400px;
  gap: 20px;
}

#achievements .a_gallary .a_box .image,
#problem_solving .ps_gallary .ps_box .image,
#projects .ps_gallary .ps_box .image {
  display: flex;
  justify-content: center;
  align-items: center;
}

#achievements .a_gallary .a_box .image>img,
#problem_solving .ps_gallary .ps_box .image>img,
#projects .ps_gallary .ps_box .image>img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  object-position: center;
}

#achievements .a_gallary .a_box .title,
#problem_solving .ps_gallary .ps_box .title,
#projects .ps_gallary .ps_box .title {
  /* margin-top: 20px; */
  text-align: center;
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 24px;
}

#achievements .a_gallary .a_box .description,
#problem_solving .ps_gallary .ps_box .description,
#projects .ps_gallary .ps_box .description {
  text-align: center;
  font-size: 14px;
  margin-top: 0;
  color: #666;
  font-size: 17px;
  line-height: 1.5rem;

}

#achievements .a_gallary .a_box .btns,
#problem_solving .ps_gallary .ps_box .btns,
#projects .ps_gallary .ps_box .btns {
  display: flex;
  justify-content: center;
}

#achievements .a_gallary .a_box .btns button,
#problem_solving .ps_gallary .ps_box .btns button,
#projects .ps_gallary .ps_box .btns button {
  align-items: center;
  background: #0645ad;
  border-radius: 4px;
  color: #f5f2f4;
  cursor: pointer;
  display: inline-flex;
  font-size: .75rem;
  height: 2em;
  justify-content: center;
  line-height: 1.5;
  margin: 0 .5rem .5rem 0;
  padding: 0 .75em;
  vertical-align: middle;
  white-space: nowrap;
}


#skills .all_skills {
  display: flex;
  margin-top: 25px;
}

.com_skills_box {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.com_skills_title {
  font-weight: 500;
  color: blue;
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.com_skills_title i {
  color: blue;
}

.com_all_sub_skills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 8px 4px 0px;
  padding: 8px 16px;
  background-color: rgb(247, 250, 252);
  border: 1px solid rgb(226, 232, 240);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(45, 55, 72);
}


#problem_solving .small_description,
#projects .small_description,
#skills .all_skills {
  color: #868e96 !important;
  color: #868e96 !important;
  margin-block-start: 15px;
}

#projects .project-technologies {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  /* <-- added */
}

#projects .tech-tag {
  background-color: #f1f3f4;
  border-radius: 12px;
  color: #5f6368;
  font-size: 12px;
  font-weight: 500;
  padding: .25rem .5rem;
  white-space: nowrap;
  /* <-- added */
}

/* education section */
#education {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

/* #education .edu_title {
  font-size: 56px;
  font-weight: 400;
} */

#education .edu_gallary {
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
  width: 100%;
}

#education .edu_image {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#education img {
  width: 100%;
  height: auto;
}

#education .edu_box {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 16px;
}

#education .edu_details {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  gap: 5px;
}

#education .institution {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 24px;
}


#education .degree_name {
  color: #000;
  font-size: 19px;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  padding-top: 0.2rem;
}

#education .duration,
#education .location {
color: #000;
    font-size: 19px;
    margin: 0;
    padding-top: 0.2rem;
}

/* HR base style */
.edu_gallary hr.animated {
  border: none;
  height: 3px;
  width: 0%;
  background: #ccc;
  transition: width 1s ease, background-color 1s ease;
  margin: 15px 0;
}

/* Expand animation */
.edu_gallary hr.animated.active {
  width: 100%;
}

/* Assign custom hover colors for each box */
.edu_box:nth-of-type(1):hover~hr.animated:nth-of-type(1),
.edu_box:nth-of-type(1):hover+hr.animated {
  background: rgb(162, 94, 245);
  /* Blue for first box */
  width: 100%;
}

.edu_box:nth-of-type(2):hover~hr.animated:nth-of-type(2),
.edu_box:nth-of-type(2):hover+hr.animated {
  background: rgb(162, 94, 245);
  /* Red for second box */
  width: 100%;
}

#contact {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

#contact .c_upper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#contact .c_links .c_title {
  font-size: 65px;
  font-weight: 400;
}

#contact .c_links .c_description {
  color: #868e96 !important;
}

#contact .c_links>a {
  color: #868e96;
  font-size: 40px;
  font-weight: 400;
  margin-top: 20px;
}



#contact .c_lower {
  text-align: center;
  color: #868e96 !important;
  text-align: center;
}

.btn_grid_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(163px, 1fr));
  gap: 10px;

}

#contact .btn_grid_container a.c_btn {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: flex;
  padding: 12px 16px;
  text-decoration: none;
  transition: all .3s ease;
  gap: 6px;
  background-color: #666;
  justify-content: center;
}




.special_btn {
  position: relative;
}




.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(245, 245, 255, 0.75));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(20, 20, 40, 0.04);
  padding: 40px 18px 20px;
  color: #0b1220;
  /* font-family: inherit; */
  font-family: Montserrat, sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 240px 300px;
  gap: 28px;
  align-items: start;
}

.footer-about h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.muted {
  color: #475569;
}

.contact-line {
  margin: 10px 0 12px;
  font-size: 14px;
}

.sep {
  margin: 0 8px;
  color: #cbd5e1;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: #0b1220;
  font-size: 16px;
}

.socials a:hover {
  transform: translateY(-3px);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.footer-links a {
  color: #0b1220;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 0.95;
}

.footer-newsletter h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.small {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6e9ef;
  font-size: 14px;
  outline: none;
}

.subscribe-form input:focus {
  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.06);
  border-color: #6c63ff;
}

.btn {
  background: #0645ad;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
}

.built-with {
  margin-top: 12px;
  color: #475569;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/*Transition like things for specific part*/
/* extra: ensure hover animation doesn't break mobile */
@media (hover: none) {
  #navigation_container .nav_buttons_container ul>li:hover {
    transform: none;
    background: transparent;
  }
}

/*Responsive media query*/
@media (max-width:1380px) {

  body,
  html {
    font-size: 16px;
    line-height: normal;
  }

  #hero_area .text_section h1 {
    font-size: 50px;
  }

  #hero_area .text_section p {
    font-size: 20px;
  }
}
@media (max-width:1060px){
  #skills .all_skills{
    display: block;
  }
}
@media (max-width: 1024px) {

  #hero_area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  #hero_area .text_section {
    text-align: center;
    order: 2;

  }

  #hero_area .hero_image_section {
    order: 1;
    width: 300px;
    height: 300px;
  }

  #hero_area .social_media_section ul {
    align-items: center;
    justify-content: center;
  }

  #hero_area .text_section button {
    margin: 0 auto;
  }


  #achievements .a_gallary,
  #problem_solving .ps_gallary,
  #projects .ps_gallary {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  }

}
@media (max-width:999px){
  #education .edu_box{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #education .edu_details{
    justify-content: center;
    align-items: center;
  }
  #education .edu_details>*{
    text-align: center;
  }
}
@media (max-width: 880px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-links ul {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width:768px) {
  #navigation_container {
    max-width: 730px;
    width: 100%;
  }

  #main_container {
    max-width: 730px;
    width: 100%;
  }

  /*
  =========================================
        Hero Area responsive Part
  =========================================
  */
  #hero_area .text_section h1 {
    font-size: 36px;
  }

  #hero_area .text_section p {
    font-size: 16px;
    line-height: 24px !important;
  }

  #hero_area .text_section button {
    font-size: 15px;
    padding: 12px 18px;
  }

  /*
=========================================
      Work Experience responsive Part
=========================================
*/
  #work_experience,
  #achievements,
  #skills,
  #problem_solving,
  #education,
  #projects {
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  #work_experience .we_title {
    font-size: 30px;
  }

  #work_experience .exp_details .current_pos {
    padding: 1rem 1.5rem;
  }

  #work_experience .exp_details .current_pos .cp_details .cp_company_name {
    font-size: 20px;
  }

  #work_experience .exp_details .current_pos .company_logo_part .cl_img {
    width: 50px;
    height: 50px;
  }

  #work_experience .exp_details .current_pos .cp_details .cp_company_my_pos {
    font-size: 18px;
  }

  #work_experience .exp_details .current_pos .cp_details .duration,
  #work_experience .exp_details .current_pos .cp_details .job_type {
    font-size: 14px;
  }

  #work_experience .exp_details>.exp>.job_position {
    font-size: 18px;
  }

  #work_experience .exp_details>.exp>.project_name {
    font-size: 13px;
  }

  #work_experience .exp_details>.exp .job_duration {
    font-size: 13px;
  }

  #work_experience .exp_details .exp ul li {
    font-size: 14px;
  }

  #achievements .a_title,
  #problem_solving .ps_title,
  #skills .s_title,
  #projects .ps_title,
  #education .edu_title {
    font-size: 30px;
  }

  #problem_solving .small_description,
  #projects .small_description,
  #skills .all_skills #skills .all_skills {
    text-align: center;
  }

}




/* Responsive footer */
@media (max-width: 520px) {
  .footer-links ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .socials a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}


/* MODAL OVERLAY */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* MODAL BOX */
.modal-content {
  background: white;
  width: 90%;
  max-width: 480px;
  padding: 30px;
  border-radius: 16px;
  animation: popIn .3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close {
  float: right;
  font-size: 30px;
  cursor: pointer;
  color: #444;
}

/* FORM INPUTS */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 12px;
  border-radius: 8px;
  border: 1px solid #d1d1d1;
  font-size: 15px;
}

#contactForm textarea {
  resize: vertical;
  height: 120px;
}

#contactForm button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background: #0645ad;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

#contactForm button:hover {
  background: #043c97;
}

