@import "normalize.css";
@import "grid.css";
@import "fonts.css";

:root {
  --text-color: #333333;
  --app-bg-color: #fff;
  --section-bg-color: #fff;
  --primary-color: #0abead;
}
:root.dark-theme {
  --text-color: #95a5c6;
  --app-bg-color: #161d26;
  --section-bg-color: #1f2935;
}

:root.dark-theme .header,
:root.dark-theme .home__photo,
:root.dark-theme .about,
:root.dark-theme .resume,
:root.dark-theme .resume-list,
:root.dark-theme .pricing,
:root.dark-theme .package {
  /* box-shadow: none; */
}

:root.dark-theme .home {
  background-image: url("../images/shapes/header-shape-dark.svg");
}
:root.dark-theme .resume-content__title {
  color: #f57f17;
}
/*

-- Reset Styles

*/
a {
  text-decoration: none;
}

ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

/*

-- Components

*/
.app-btn {
  width: 18rem;
  height: 5.2rem;
  border-radius: 4rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  box-shadow: 0 1.5rem 4rem rgba(11, 190, 173, 40%);
  font-family: "Poppins SemiBold";
}

.app-btn--orange {
  background-color: #f57f17;
  box-shadow: 0 1.5rem 4rem rgba(245, 127, 23, 24%);
}

.section-head {
  text-align: center;
  margin-bottom: 5rem;
  padding-top: 2rem;
}

.section-head__title {
  font-family: "Poppins Bold";
  font-size: 4.5rem;
  color: var(--primary-color);
  margin: 0;
}

.section-head__caption {
  color: var(--text-color);
  margin: 0.5rem 0 2rem 0;
  letter-spacing: 0.25rem;
}

.section-head__line {
  display: block;
  width: 20rem;
  height: 0.2rem;
  background-color: var(--primary-color);
  margin: 0 auto;
  position: relative;
}

.section-head__line::after {
  content: "";
  position: absolute;
  width: 3rem;
  height: 0.8rem;
  background-color: var(--primary-color);
  border-radius: 2rem;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/*

-- Helper Classes

*/
.align-items-center {
  align-items: center;
}

.skew-reset {
  transform: translateZ(0) skewY(6deg);
}

.h-full {
  height: 100%;
}

/*

-- App

*/
html {
  font-size: 10px;
}

body {
  font-family: "Poppins";
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--app-bg-color);
  padding-top: 12rem;
}

/*

 - Header -

*/

.header {
  background-color: var(--section-bg-color);
  box-shadow: 0 0.5rem 4rem rgba(4, 195, 255, 16%);
  z-index: 100;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.nav__logo {
  color: var(--primary-color);
  font-family: "Poppins Black";
  font-size: 6rem;
  margin: 0;
}

.menu {
  display: flex;
  z-index: 100;
}

.menu__item {
  margin-right: 4rem;
}

.menu__item:last-child {
  margin-right: 0;
}
.menu__item--active {
  color: var(--primary-color);
}

.menu__link {
  display: inline-block;
  color: inherit;
  font-family: "Poppins Medium";
  transition: color 120ms ease-in;
}

.menu__link:hover {
  color: var(--primary-color);
}

.nav__toggle-icon {
  display: none;
  width: 5rem;
  height: 5rem;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav__toggle-line {
  position: relative;
  transition: all 100ms ease-in;
}

.nav__toggle-line,
.nav__toggle-line::before,
.nav__toggle-line::after {
  content: " ";
  width: 4.5rem;
  height: 0.4rem;
  background-color: var(--primary-color);
  border-radius: 2rem;
}

.nav__toggle-line::before {
  position: absolute;
  top: 1.2rem;
  transition: all 120ms ease-in;
}

.nav__toggle-line::after {
  position: absolute;
  bottom: 1.2rem;
  transition: all 120ms ease-in;
}

.nav__toggle-icon--open .nav__toggle-line {
  background-color: transparent;
}

.nav__toggle-icon--open .nav__toggle-line::before {
  transform: translateY(-1.2rem) rotate(-45deg);
}

.nav__toggle-icon--open .nav__toggle-line::after {
  transform: translateY(1.2rem) rotate(45deg);
}

/*

 - Main -

*/

.resume-cont {
  margin-top: 4rem;
}
/*

 - Home Section -

*/

.home {
  margin-top: 8rem;
  background-image: url("../images/shapes/header-shape.svg");
  background-repeat: no-repeat;
  background-position: bottom;
  height: 82rem;
}
.home__name {
  font-family: "Poppins SemiBold";
  color: var(--primary-color);
  font-size: 2.8rem;
  margin: 0;
}

.home__name span {
  color: #f57f17;
}

.home__title {
  font-family: "Poppins Bold";
  color: var(--primary-color);
  font-size: 5rem;
  margin: 0;
}

.home__caption {
  margin-top: 1rem;
  margin-bottom: 3rem;
  opacity: 0.7;
}

.home__links-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.home__photo {
  width: 45rem;
  height: 45rem;
  border-radius: 100%;
  background-image: url("../images/photo_2024-01-11\ 15.36.33.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: 0 0 4rem rgba(96, 233, 255, 27%);
  border: 2rem solid var(--section-bg-color);
}

/*

 - About us Section -

*/
.aboutus {
  margin-top: 6rem;
}

.about {
  display: flex;
  background-color: var(--section-bg-color);
  box-shadow: 0 0 4rem rgb(96 233 255 / 27%);
  min-height: 62rem;
}

.about__cover {
  flex-basis: 48%;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content {
  flex-basis: 52%;
  padding: 4rem;
}

.about__title {
  font-family: "Poppins SemiBold";
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.about__description {
  margin-top: 0;
  margin-bottom: 7rem;
}

.about__list-title {
  color: var(--primary-color);
  font-family: "Poppins SemiBold";
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.about-list {
  margin-bottom: 3rem;
  margin-left: 1rem;
}

.about-list__item {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}

.about-list__item:last-child {
  margin-bottom: 0;
}

.about-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #f57f17;
  border-radius: 100%;
}

.about__links-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  width: 100%;
}

/*

 - Resume Section -

*/

.resume {
  padding-bottom: 3rem;
  transform: translateZ(0) skewY(-6deg);
  background-color: var(--section-bg-color);
}

.resume-list {
  background-color: var(--app-bg-color);
  box-shadow: 0 0 4rem rgb(96 233 255 / 27%);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 40rem;
  margin-right: 3rem;
}

.resume-list::before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  background-color: var(--primary-color);
  width: 4rem;
  z-index: -1;
}

.resume-list__item {
  margin-bottom: 5.5rem;
  display: flex;
  align-items: center;
  position: relative;
  padding: 1rem 0;
  cursor: pointer;
}

.resume-list__item:last-child {
  margin-bottom: 0;
}

.resume-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: var(--primary-color);
  width: 5.4rem;
  z-index: -1;
  border-radius: 3rem;
  transition: all 0.2s ease-in;
  max-width: 27rem;
  box-shadow: 0 0 4rem rgba(96, 233, 255, 27%);
}

.resume-list__item--active {
  color: #fff;
}

.resume-list__item--active::before {
  width: 100%;
}

.resume-list__icon {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 0.8rem;
}

.resume-list__text {
  font-family: "Poppins SemiBold";
  font-size: 1.8rem;
  margin-left: 2.5rem;
  transition: all 120ms ease-in;
}

.resume-content {
  border-left: 0.2rem solid var(--primary-color);
  padding-left: 3rem;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 120ms ease-in;
}

.resume-content--show {
  height: auto;
  overflow: visible;
  opacity: 1;
}

.resume-content__item {
  margin-bottom: 3rem;
}

.resume-content__item:last-child {
  margin-bottom: 0;
}

.resume-content__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.resume-content__title_only {
  color: #f57f17;
  font-family: "Poppins SemiBold";
  font-size: 1.8rem;
  margin: 0;
  position: relative;
}
.resume-content__title_only::before {
  content: "";
  position: absolute;
  left: -4rem;
  top: 0;
  bottom: 0;
  width: 1.8rem;
  height: 1.8rem;
  background-color: var(--primary-color);
  border-radius: 100%;
  margin: auto;
}

.resume-content__title {
  color: #f57f17;
  font-family: "Poppins SemiBold";
  font-size: 1.8rem;
  margin: 0;
  position: relative;
}

.resume-content__title::before {
  content: "";
  position: absolute;
  left: -4rem;
  top: 0;
  bottom: 0;
  width: 1.8rem;
  height: 1.8rem;
  background-color: var(--primary-color);
  border-radius: 100%;
  margin: auto;
}

.resume-content__date {
  background-color: #f57f17;
  border-radius: 2rem;
  padding: 0.2rem 1.5rem;
  color: #fff;
  box-shadow: 0 0 4rem rgba(245, 127, 23, 24%);
}

.resume-content__subtitle {
  font-family: "Poppins SemiBold";
  font-size: 1.6rem;
  margin: 1rem 0;
}

.resume-content__description {
  margin: 0;
}

/*

 - Portfolio Section -

*/

.portfolio {
  padding: 8rem 0;
}

.portfolio-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-list__item {
  padding: 1.2rem 3rem;
  border-radius: 4rem;
  cursor: pointer;
  transition: all 120ms ease-in;
}

.portfolio-list__item--active {
  color: #fff;
  background-color: var(--primary-color);
}

.portfolio-content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 120ms ease-in;
}

.portfolio-content--show {
  height: auto;
  opacity: 1;
}

.portfolio-content__img {
  width: 100%;
  transition: all 500ms ease-in;
  cursor: pointer;
}
.portfolio-content__img:hover {
  transform: scale(1.05);
}

.swiper-pagination {
  position: static !important;
  margin-top: 1rem;
}

.swiper-pagination-bullet {
  width: 1.8rem !important;
  height: 1.8rem !important;
  border: 0.3rem solid #bfbebe !important;
  background: #fff !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  border-color: var(--primary-color) !important;
}
.swiper-slide2 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.portfolio-content__img2 {
  max-width: 65%; /* Ensure the image doesn't exceed the container's width */
  max-height: 65%; /* Ensure the image doesn't exceed the container's height */
  display: block; /* Remove any default inline styles */
  margin: 0 auto;
  cursor: pointer;
  transition: all 500ms ease-in;
}
.portfolio-content__img2:hover {
  transform: scale(1.05);
}

/*

 - Footer -

*/

.footer {
  padding: 6rem 0;
  background-color: var(--app-bg-color);
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy-right {
  font-family: "Poppins SemiBold";
  letter-spacing: 0.4rem;
}
.footer__socials {
  display: flex;
  gap: 1rem;
}
.footer__social,
.change-theme {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 100%;
  background-color: #1f2935;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.footer__icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.footer__social:hover {
  background-color: var(--primary-color);
}
.footer__social svg,
.change-theme svg {
  height: 3rem;
  width: 3rem;
  fill: var(--app-bg-color);
}
.change-theme svg {
  fill: #fff;
}
