/* This is the universal selector, which applies the specified styles to all elements on the page. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* These variables help maintain a consistent design and make it easier to update styles globally. */
:root {
  --white-color: #fff;
  --bg-black-color: #000;
  --gray-color: #ccc;
  --black-color: #1a1a1a;
  --gray-light: #eee;
  --btn-color: #a72a2a;
  --bg-black: #3d3d3d;
  --white-text: #fefefe;
  --bg-graph: #e0dfdb;
  --pc-bgColor: #020024cc;
}

/* This rule applies to all elements on the page from html to container*/
html {
  font-size: 62.5%;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style-type: none;
}

.h2 {
  font-size: 5rem;
  font-weight: 600;
  color: var(--black-color);
}

.para {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  line-height: 1.5;
  color: var(--black-color);
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 2rem;
}

/* Let's code with passion and make our project shine!" */
/* ********** Start Hero Section Styling ********** */
.hero-container {
  max-width: 100%;
  height: 95vh;
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 53%, rgba(16, 17, 17, 1) 92%);
  text-align: center;
  padding: 0;
}

/* Hero Top Styling */
.hero-top-img {
  height: auto;
}

/* Swiper Styling  */
.swiper {
  width: 48.2rem;
  height: 29.3rem;
  position: absolute;
  background-color: black;
  border-radius: .5rem;
  margin-top: -35.3rem;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

/* Hero bottom Styling */
.hero-bottom {
  max-width: 65rem;
  text-align: center;
  margin: 4rem auto auto;
  padding: .5rem;
  /* border: .2rem solid green; */
  padding: 1.5rem;
}

.hero-bottom-heading {
  font-size: 2.6rem;
  color: var(--gray-color);
  font-weight: bold;
}

.hero-bottom-heading::first-letter {
  font-size: 3.2rem;
}

.hero-bottom-para {
  font-size: 1.6rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-bottom-btns {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bottom-btns-para {
  width: 10rem;
  font-size: 1.6rem;
  color: var(--gray-color);
  margin-right: 1rem;
  font-weight: 600;
}

.hero-bottom-btns-span {
  font-size: 2rem;
  color: #b4b4b4;
}

.hero-bottom-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1.5rem;
  cursor: pointer;
}

.HL-icon {
  font-size: 2rem;
  color: var(--btn-color);
  transition: all 0.3s ease-in;
}

.hero-bottom-btn:hover .HL-icon {
  color: var(--black-color);
}

/* Shap Divider Styling*/
.shape-divider {
  position: relative;
  max-width: 100%;
  height: 15vh;
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 53%, rgba(16, 17, 17, 1) 92%);
}

.custom-shape-divider-bottom-1731079480 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1731079480 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 104px;
  transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1731079480 .shape-fill {
  fill: var(--bg-graph);
}

/* ********** Start About Section Styling ********** */
.about-section {
  background: var(--bg-graph);
}

.about-container {
  display: grid;
  align-items: center;
  justify-content: center;
  padding: 2rem 8rem;
  margin-top: 3rem;
}

.about-para {
  margin: 0 0 1.5rem;
}

.about-btn {
  max-width: 22rem;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: .5rem;
  background-color: var(--btn-color);
  color: var(--white-text);
  outline: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.about-btn:hover {
  background-color: #c72a2a;
}

.about-btn-anchor {}

/* ********** Start Skill Section Styling ********** */
.skill-section {
  max-width: 100vw;
  background-color: var(--bg-black);
}

/* Skill Styling*/
.skill-container {
  text-align: center;
  padding: 2rem 8rem;
}

/* Skill Top Styling */
.skill-top-heading {
  color: var(--white-text);
}

.skill-top-para {
  margin: 1.5rem 0;
  color: var(--white-text);
}

/* Skill Bottom Styling*/
.skill-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: inherit;
  gap: 3rem;
}

/* Skill Left Styling */
.skill-left-heading {
  width: 17rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--white-text);
  padding: 0 1rem 1rem;
  border-bottom: .2rem solid var(--gray-color);
  margin-bottom: 1rem;
}

.skill-left-content {
  text-align: start;
}

.skill-left-list {
  padding: 1rem;
  font-size: 1.6rem;
  color: var(--white-text);
}

/* Skill Right Styling */
.skill-right {
  text-align: start;
  margin-left: 5rem;
}

.skill-right-graph {
  width: 50rem;
  background-color: var(--white-color);
  margin: 1rem 0;
}

.skill-right-graph-para {
  width: 12rem;
  padding: .7rem 1rem;
  background-color: #959188;
  color: var(--white-text);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Skill Right Graph Color Styling */
.skill-right-graph-color.html {
  width: calc(95%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.css {
  width: calc(90%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.javascript {
  width: calc(85%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.react {
  width: calc(90%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.nodejs {
  width: calc(60%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.tailwind {
  width: calc(85%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.bootstrap {
  width: calc(80%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.swip {
  width: calc(92%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.git {
  width: calc(75%);
  background-color: var(--bg-graph);
}

.skill-right-graph-color.github {
  width: calc(85%);
  background-color: var(--bg-graph);
}

/* ********** Start Portfolio Section Styling ********** */
.portfolio-section {
  background: var(--bg-graph);
}

.portfolio-container {
  padding: 2rem 8rem;
}

/* Portfolio Projects Styling */
.portfolio-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.portfolio-project {
  border-radius: .8rem;
  margin: 1rem;
  padding: .5rem;
  flex: 1 40rem;
  text-align: center;
  transition: 0.2s;
  position: relative;
}

.portfolio-project:hover {
  transform: scale(1.035);
}

.portfolio-img img {
  max-width: 100%;
  height: 100%;
  border-radius: .5rem;
}

/* Portfolio Caption Styling */
.portfolio-caption {
  border-radius: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pc-bgColor);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  padding-top: 70%;
  transition: 0.4s;
}

.portfolio-caption .caption-icon {
  font-size: 3.2rem;
  color: var(--white-color);
  margin-bottom: 1rem;

}

.portfolio-caption-heading {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white-color);
  margin-bottom: .5rem;
}

.portfolio-caption-description {
  font-size: 1.4rem;
  color: var(--white-color);
  padding: 0 1rem;
  text-align: center;
}

.portfolio-project:hover .portfolio-caption {
  opacity: 1;
  padding-top: 0;
}

/* ********** Start Contact Section Styling ********** */
.contact-section {
  width: 100%;
  min-height: 70vh;
  background: linear-gradient(90deg, rgba(57, 56, 56, 0.9) 0%, rgba(57, 56, 56, 0.9) 53%, rgba(57, 56, 56, 0.9) 92%), url('../images/other/contact-img.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
}

/* Contact Top Styling */
.contact-top-heading {
  text-align: center;
  color: var(--white-text);
}

.contact-top-para {
  text-align: center;
  margin: 1rem auto;
  width: 55rem;
  color: var(--white-text);
}

/* Contact Bottom Styling */
.contact-bottom {
  display: flex;
  column-gap: 4rem;
  padding: 1rem;
}

/* Contact Left Styling */
.contact-left {
  padding: 1.5rem;
  margin: auto;
}

.contact-left-heading {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--white-text);
  margin-bottom: 2rem;
}

.contact-left-contant {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  margin: 1.5rem 0;
}

.contact-left-contant-icon {
  width: 2.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--gray-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-left-contant-icon .icon {
  font-size: 1.8rem;
  color: var(--btn-color);
}

.contact-left-contant-para {
  font-size: 1.5rem;
  display: flex;
  column-gap: 1rem;
  color: var(--white-text);
}

/* Contact Right Styling */
.contact-right {
  width: auto;
  padding: 1.5rem;
}

.form-data {
  margin: 1rem 0;
  height: 4rem;
  padding: .5rem .8rem;
  font-size: 1.5rem;
  background-color: #eee;
  outline: none;
  border: .2rem solid black;
  border-radius: .5rem;
}

.form-data:focus {
  border: .2rem solid var(--btn-color);
}

.contact-right-form-input {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.textarea {
  width: 100%;
  height: 10rem;
}

.form-btn {
  width: 12rem;
  margin-top: 1.5rem;
  padding: .5rem 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: .5rem;
  outline: none;
  color: var(--white-text);
  cursor: pointer;
  background-color: var(--btn-color);
  transition: all 0.3s ease-in;
}

.form-btn:hover {
  background-color: #c72a2a;
}

/* ********** Start Footer Section Styling ********** */
.footer-section {
  max-width: 100vw;
  background-color: var(--bg-black);
  height: 20rem;
}

/* Footer Container Styling */
.footer-container {
  text-align: center;
}

.footer-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.footer-btn {
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--gray-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon {
  font-size: 2rem;
  color: var(--btn-color);
  transition: all 0.3s ease-in;
}

.footer-btn:hover .footer-icon {
  color: var(--black-color);
}

.footer-heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--white-text);
  margin: .8rem 0;
}

.footer-copy {
  font-size: 1.4rem;
  color: var(--white-text);
  margin-bottom: 1rem;
}

.footer-copy-anchor {
  text-transform: uppercase;
  transition: all 0.25s ease-in;
}

.footer-copy-anchor:hover {
  color: #c72a2a;
  text-decoration: underline;
}

.footer-ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.footer-link {
  font-size: 1.6rem;
  color: var(--white-text);
  border-bottom: .2rem solid var(--gray-light);
  transition: all 0.3s ease-in;
}

.footer-link:hover {
  color: var(--btn-color);
  border-bottom: .2rem solid var(--btn-color);
}

/* Media Queries for Responsiveness */
/* Max Width 480px */
@media screen and (max-width: 480px) {

  /* Hero Styling */
  .hero-section .container.hero-container {
    height: 73vh;
    padding: 2.5rem 0;
  }

  .hero-container .hero-top .hero-top-img {
    width: 28rem;
  }

  /* Swiper Styling  */
  .hero-container .hero-top .swiper {
    width: 21rem;
    height: 12.8rem;
    margin-top: -15.8rem;
  }

  .hero-bottom .hero-bottom-heading {
    font-size: 2rem;
  }

  .hero-bottom .hero-bottom-heading::first-letter {
    font-size: 2.6rem;
  }

  .hero-bottom-para {
    font-size: 1.5rem;
  }

  .hero-bottom-btns-para,
  .hero-bottom-btns-span {
    display: none;
  }

  /* About Styling */
  .about-container .about-heading.h2 {
    font-size: 3rem;
  }

  /* Skill Styling*/
  .skill-top .skill-top-heading.h2 {
    font-size: 3rem;
  }

  /* Portfolio Styling*/
  .container.portfolio-container {
    margin-top: 0rem;
  }

  .portfolio-container .portfolio-heading.h2 {
    font-size: 3rem;
  }

  .portfolio-project .portfolio-caption .caption-icon {
    display: none;
  }

  /* Contact Styling */
  .contact-top .contact-top-heading.h2 {
    font-size: 3rem;
  }

  .contact-left-contant-icon {
    display: none;
  }

  .contact-left-contant-para {
    display: grid;
  }

  .form-btn {
    margin-top: .5rem;
  }
}

/* Max Width 590px */
@media screen and (max-width: 590px) {

  /* Hero Styling */
  .container.hero-container {
    height: 78vh;
    padding: 2.5rem 0;
  }

  .hero-top .hero-top-img {
    width: 35rem;
  }

  /* Swiper Styling  */
  .hero-top .swiper {
    width: 26.5rem;
    height: 16.2rem;
    margin-top: -19.8rem;
  }

  .hero-container .hero-bottom {
    margin-top: 1.5rem;
  }

  .hero-bottom-heading {
    font-size: 2.2rem;
  }

  .hero-bottom-heading::first-letter {
    font-size: 2.8rem;
  }

  /* About Styling */
  .about-heading.h2 {
    font-size: 3.2rem;
    margin-bottom: .5rem;
  }

  /* Skill Styling */
  .skill-top-heading.h2 {
    font-size: 3.2rem;
  }

  .skill-right-graph {
    width: 85vw;
    background-color: var(--white-color);
    margin: 1rem 0;
  }


  /* Portfolio Styling */
  .portfolio-heading.h2 {
    font-size: 3.2rem;
  }

  /* Contact Styling */
  .contact-container {
    width: 100%;
    padding: 1rem;
    margin: 0 0;
  }

  .contact-bottom {
    padding: 0;
  }

  .contact-top-heading.h2 {
    font-size: 3.2rem;
  }

  .contact-top-para.para {
    width: auto;
  }

  .contact-left .contact-left-contants {
    padding-left: 0;
  }

  .contact-right-form .contact-right-form-input {
    display: grid;
  }
}

/* Max Width 768px */
@media screen and (max-width: 768px) {

  /* Container Styling */
  .container {
    padding: 1rem;
  }

  /* Hero Styling */
  .hero-container {
    height: 88vh;
    padding: 1rem 0;
  }

  .hero-top-img {
    width: 50rem;
  }

  .hero-bottom {
    margin-top: 2.5rem;
  }

  /* Swiper Styling  */
  .swiper {
    width: 37.8rem;
    height: 23rem;
    margin-top: -28rem;
  }

  /* About Styling */
  .about-container {
    margin-top: 0rem;
    padding: 4rem 1rem 2rem;
  }

  /* Skill Styling */
  .skill-bottom .skill-left {
    border-bottom: inherit;
  }

  .skill-bottom .skill-left-content {
    display: grid;
    align-content: center;
    justify-content: center;

  }

  .skill-bottom .skill-left-heading {
    width: 15rem;
    padding-bottom: .5rem;
    border-bottom: .2rem solid var(--gray-color);
  }

  .skill-right-graph-para {
    padding: .4rem 1rem;
  }
}

/* Max Width 992px */
@media screen and (max-width: 992px) {

  /* About Styling*/
  .about-container {
    text-align: center;
  }

  .about-heading {
    font-size: 3.6rem;
    margin-bottom: 1rem;
  }

  .about-para {
    font-size: 1.6rem;
  }

  .about-btn {
    margin: auto;
    padding: .7rem 1rem;
    font-size: 1.4rem;
  }


  /* Skill Styling */
  .skill-top-heading {
    font-size: 3.6rem;
    margin-bottom: 1rem;
  }

  .skill-top-para {
    margin: 0 auto 1.5rem;
  }

  .skill-bottom {
    display: grid;
    margin-top: 4rem;
    gap: 0;
  }

  .skill-left {
    margin-bottom: 2rem;
    border-bottom: .2rem solid var(--gray-color);
  }

  .skill-left-heading {
    margin: auto;
    width: inherit;
    font-weight: 600;
    padding: 0 1rem;
    border-bottom: none;
    margin-bottom: .5rem;
  }

  .skill-left-content {
    display: flex;
  }

  .skill-right {
    margin: auto;
  }

  /* Portfolio Styling */
  .portfolio-heading {
    text-align: center;
    font-size: 3.6rem;
  }

  .portfolio-project {
    flex: 1 28rem;
  }

  .portfolio-caption .caption-icon {
    font-size: 2.2rem;
  }

  .portfolio-caption-heading {
    font-size: 1.4rem;
  }

  .portfolio-caption-description {
    font-size: 1.2rem;
  }

  /* Contact Styling */
  .contact-top-heading {
    font-size: 3.6rem;
    margin-bottom: 1rem;
  }

  .contact-top-para {
    margin: 0 auto 1.5rem;
  }

  .contact-bottom {
    display: grid;
  }

  .contact-left {
    width: 100%;
    border-bottom: .2rem solid var(--gray-color);
    padding: 1rem;
  }

  .contact-left-heading {
    text-align: center;
    font-weight: 600;
  }

  .contact-left-contants {
    padding-left: 12rem;
  }

  .contact-right {
    padding: 1rem 0;
  }

  .contact-right-form-input .form-data {
    width: 100%;
  }
}