@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
:root {
  --main-color: #d9b38c;
}
body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: black;
  color: white;
  font-family: "Inter", sans-serif;
}
.intro-tag {
  color: var(--main-color);
  font-size: 1.4rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
header {
  position: fixed;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 9%;
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 179, 140, 0.15);
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3.4rem;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: 0.5s ease;
  letter-spacing: 0.08rem;
  position: relative;
  font-family: "Cormorant Garamond", sans-serif;
}
.logo span {
  color: var(--main-color);
  font-weight: 700;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}

.logo::after {
  content: "</>";
  font-size: 1.5rem;
  color: var(--main-color);
  position: absolute;
  top: -0.8rem;
  right: -3.2rem;
}
.logo:hover {
  transform: scale(1.1);
}
#menu-icon {
  font-size: 3rem;
  color: white;
  display: none;
  cursor: pointer;
}
nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}
nav a:hover,
nav a.active {
  color: bisque;
  border-bottom: 3px solid wheat;
}

@media (max-width: 995px) {
  #menu-icon {
    display: block;
  }
  nav {
    position: absolute;
    display: none;
    top: 100%;
    right: 9%;
    width: 30rem;
    background-color: black;
    border: 2px solid wheat;
    border-radius: 1.5rem;
    padding: 1rem 0;
  }
  nav.active {
    display: block;
  }
  nav a {
    display: block;
    font-size: 2rem;
    margin: 0;
    padding: 1.5rem 2rem;
    color: white;
  }

  nav a:hover,
  nav a.active {
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid wheat;
  }
}
section {
  min-height: 100vh;
  padding: 5rem 9% 5rem;
}
.home {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  background-color: black;
  min-height: 100vh;
  padding: 12rem 0 6rem;
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}
.home-content {
  max-width: 600px;
  padding-left: 1.8rem;
  border-left: 1px solid rgba(217, 179, 140, 0.25);
}
h1,
h2,
h4,
nav a,
.btn {
  font-family: "Poppins", sans-serif;
}

.home-content p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin: 2rem 0 3rem;
}
.home .home-content h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
}
.home .home-content h1 span {
  color: var(--main-color);
}
.home .home-content h1 span,
.tab-contents ul li span,
.logo span {
  color: var(--main-color);
}
.home-content h3 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.home-img {
  position: relative;
}
.home-img img {
  width: 100vh;
  max-width: 420px;
  min-width: 280px;
  display: block;
  border-radius: 3rem;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(217, 179, 140, 0.1);
  mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.home-img::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(
    circle,
    rgba(217, 179, 140, 0.18),
    transparent 65%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(30px);
}
.home-img img:hover {
  font-size: 1.8rem;
  font-weight: 500;
}
.action-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4.8rem;
  height: 4.8rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(217, 179, 140, 0.5);
  font-size: 2rem;
  border-radius: 50%;
  color: white;
  transition: 0.3s ease;
  backdrop-filter: blur(6px);
}

.social-icons a:hover {
  background-color: var(--main-color);
  color: black;
  transform: translateY(-3px);
}
.btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  border-radius: 999px;
  font-size: 1.6rem;
  color: black;
  background-color: var(--main-color);
  font-weight: 600;
  border: 1.5px solid var(--main-color);
  transition: 0.3s ease;
}
.btn:hover {
  background-color: transparent;
  color: var(--main-color);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(217, 179, 140, 0.25);
}
.typing-text {
  font-size: 34px;
  font-weight: 600;
  min-width: 180px;
}
.typing-text span {
  position: relative;
}
.typing-text span::before {
  content: "Software Development";
  color: bisque;
  animation: words 20s infinite;
}
.typing-text span::after {
  content: "";
  background-color: black;
  position: absolute;
  width: 2px;
  height: 100%;
  border-left: 3px solid balck;
  animation: cursor 0.6s infinite;
}
@keyframes cursor {
  to {
    border-left: 3px solid;
    color: beige;
  }
}
@keyframes words {
  0%,
  20% {
    content: "Full Stack Developer";
  }
  21%,
  40% {
    content: "Mobile App Developer";
  }
  41%,
  60% {
    content: "UX/UI Designer";
  }
  61%,
  80% {
    content: "Web Developer";
  }
  81%,
  100% {
    content: "Java Developer";
  }
}
@media (max-width: 1000px) {
  .home {
    gap: 4rem;
  }
}
@media (max-width: 995px) {
  .home {
    flex-direction: column;
    margin: 0 auto;
    width: min(1180px, 100% - 32px);
  }
  .home .home-content h3 {
    font-size: 2.5rem;
  }
  .home-content h1 {
    font-size: 5rem;
  }
  .home-img img {
    margin-top: 4rem;
  }
}
/* .........education.......... */
#education {
  padding: 6rem 8% 8rem;
  border-top: 1px solid rgba(217, 179, 140, 0.12);
  position: relative;
}
#education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(217, 179, 140, 0.35),
    transparent
  );
}
.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.edu-1 {
  flex-basis: 35%;
}
.edu-1 img {
  width: 100%;
  border-radius: 15px;
}
.edu-2 {
  flex-basis: 60%;
  padding-left: 1.5rem;
}
.edu-2 > p {
  font-size: 1.7rem;
  line-height: 1.8;
  max-width: 70rem;
  color: rgba(255, 255, 255, 0.9);
}
.sub-title {
  font-size: 5.6rem;
  line-height: 1;
  font-weight: 600;
  font-family: "Cormorant Garamond", sans-serif;
  color: var(--main-color);
}
.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}
.tab-links {
  margin-right: 4rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.3rem;
  cursor: pointer;
  position: relative;
}
.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--main-color);
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after {
  width: 50%;
}
.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}
.tab-contents ul li span {
  color: var(--main-color);
  font-size: 14px;
}
.tab-contents {
  display: none;
}
.tab-contents.active-tab {
  display: block;
}
@media (max-width: 995px) {
  #education {
    padding: 6rem 2rem;
  }

  .row {
    flex-direction: column;
    gap: 2.5rem;
  }

  .edu-1,
  .edu-2 {
    flex-basis: 100%;
    width: 100%;
  }

  .edu-1 img {
    width: 100%;
    max-width: 46rem;
    display: block;
    margin: 0 auto 1rem;
    border-radius: 2rem;
  }
  .edu-2 {
    flex-basis: 60%;
    padding-left: 0;
    width: 100%;
  }

  .sub-title {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .edu-2 p {
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .tab-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 2rem 0 3rem;
  }

  .tab-links {
    margin-right: 0;
    font-size: 1.8rem;
    font-weight: 600;
  }

  .tab-contents ul li {
    margin: 0 0 2.2rem;
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .tab-contents ul li span {
    display: inline-block;
    margin-bottom: 1.7rem;
    font-size: 1.5rem;
  }
}
/* ..............skills............... */
#skills {
  padding: 6rem 8% 8rem;
  border-top: 1px solid rgba(217, 179, 140, 0.12);
  position: relative;
}

#skills::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(217, 179, 140, 0.35),
    transparent
  );
}
.container {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  padding: 0;
}
.skills-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 4rem;
}

.skills-content {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-group {
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-group h2 {
  color: var(--main-color);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tags span {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #ddd;
  font-size: 1.4rem;
  line-height: 1.4;
  transition: 0.3s ease;
}

.skill-tags span:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  transform: translateY(-2px);
}

.skills-img {
  flex: 1 1 38%;
  display: flex;
  justify-content: flex-end;
}

.skills-img img {
  width: 100%;
  max-width: 80rem;
  border-radius: 2rem;
  display: block;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

@media (max-width: 995px) {
  #skills {
    padding: 6rem 2rem;
  }

  .skills-row {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .skills-content,
  .skills-img {
    width: 100%;
  }

  .skills-img {
    justify-content: center;
  }

  .skills-img img {
    max-width: 48rem;
  }
}

@media (max-width: 700px) {
  #skills {
    padding: 5rem 2rem;
  }

  .skill-group h2 {
    font-size: 1.8rem;
  }

  .skill-tags span {
    font-size: 1.3rem;
    padding: 0.7rem 1.2rem;
  }

  .skills-img img {
    max-width: 100%;
    border-radius: 1.8rem;
  }
}
/* .............experience.............. */
#experience {
  padding: 6rem 8% 8rem;
  border-top: 1px solid rgba(217, 179, 140, 0.12);
  position: relative;
}

#experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(217, 179, 140, 0.35),
    transparent
  );
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.experience-list div {
  background: rgba(255, 255, 255, 0.03);
  padding: 3.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(217, 179, 140, 0.2);
  transition: 0.35s ease;
  min-height: 30rem;
}

.experience-list div i {
  font-size: 4.2rem;
  margin-bottom: 2.5rem;
  color: white;
  transition: 0.35s ease;
}

.experience-list div h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  transition: 0.35s ease;
}

.experience-list div p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #d7d7d7;
  transition: 0.35s ease;
}

.experience-list div a {
  text-decoration: none;
  color: var(--main-color);
  font-size: 1.4rem;
  margin-top: 2.4rem;
  display: inline-block;
  transition: 0.35s ease;
}

.experience-list div:hover {
  background: var(--main-color);
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(217, 179, 140, 0.22);
}

.experience-list div:hover i,
.experience-list div:hover h2,
.experience-list div:hover p,
.experience-list div:hover a {
  color: black;
}
@media (max-width: 700px) {
  #experience {
    padding: 6rem 5%;
  }

  .experience-list {
    gap: 2rem;
  }

  .experience-list div {
    padding: 2.2rem;
    min-height: auto;
  }

  .experience-list div h2 {
    font-size: 2.2rem;
  }

  .experience-list div p {
    font-size: 1.4rem;
  }

  .experience-list div i {
    font-size: 3.5rem;
  }
}
/* ..............contact............. */
#contact {
  padding: 6rem 0 4rem;
  border-top: 1px solid rgba(217, 179, 140, 0.12);
  position: relative;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(217, 179, 140, 0.35),
    transparent
  );
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 2.2rem;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
  color: white;
}

.contact-text {
  font-size: 1.8rem;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.92);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.8rem;
  margin: 0;
}

.contact-item i {
  color: var(--main-color);
  font-size: 24px;
  min-width: 24px;
}

.contact-left {
  flex: 1 1 320px;
  max-width: 550px;
}

.contact-right {
  flex: 1 1 600px;
}
.contact-left a {
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-left a:hover {
  color: var(--main-color);
}

.contact-left p {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  word-break: break-word;
  line-height: 1.7;
  max-width: 42ch;
}

.contact-left p i {
  color: var(--main-color);
  font-size: 24px;
  min-width: 24px;
}

.contact-icons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-icons a {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 140, 0.45);
  background: transparent;
  color: var(--main-color);
  font-size: 30px;
  transition: 0.3s ease;
}

.contact-icons a:hover {
  background: var(--main-color);
  color: black;
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(217, 179, 140, 0.28);
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn.btn2 {
  display: inline-block;
  margin-top: 30px;
  background: transparent;
  color: var(--main-color);
  border: 1.5px solid var(--main-color);
}

.btn.btn2:hover {
  background: var(--main-color);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(212, 175, 140, 0.35);
}

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.contact-quote {
  font-size: 2.8rem;
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  max-width: 420px;
  position: relative;
  font-family: 'Playfair Display', serif;
}
.contact-quote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 6rem;
  color: var(--main-color);
  opacity: 0.2;
}

.contact-quote::after {
  content: "”";
  position: absolute;
  bottom: -40px;
  font-size: 6rem;
  color: var(--main-color);
  opacity: 0.2;
}
.contact-quote span {
  color: var(--main-color);
}
.copyright {
  text-align: center;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright p {
  font-size: 1.35rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.copyright p:hover {
  color: var(--main-color);
}

.copyright i {
  color: var(--main-color);
}
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: flex-start; 
  }

  .contact-left,
  .contact-right {
    width: 100%;
    max-width: 100%;
  }

  .contact-right {
    margin-top: 40px;
  }

  .contact-quote {
    text-align: left; 
  }
}
#education,
#skills,
#experience,
#contact {
  padding: 6rem 0 8rem;
}
#home,
#education,
#skills,
#experience,
#contact {
  scroll-margin-top: 9rem;
  min-height: 100vh;
}