/*========= Variables CSS =========*/

:root {
  --header-height: 3.5rem;

  /*========== Golden Lux Palette ==========*/

  /* خلفية عامة */
  --body-color: #ede7c7; /* الخلفية الفاتحة */

  /* النصوص + navbar + footer */
  --text-color: #200e00; /* البني الداكن */
  --black-color: #220e02; /* ليتوافق مع الأكواد القديمة */

  /* الألوان الأساسية */
  --first-color: #8b0101; /* الأحمر القوي – أزرار + عناوين + Hover */
  --first-color-dark: #5b0302; /* أحمر غامق – Borders + Hover backgrounds */

  /* الأبيض لو احتجته */
  --white-color: #ede7c7;

  /* الظلال */
  --box-shadow: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.25));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Playfair Display", serif;
  --biggest-font-size: 2.25rem;
  --bigger-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4rem;
    --bigger-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color 0.4s;
}

input,
button {
  border: none;
  outline: none;
}

h1,
h2,
h3,
h4 {
  font-weight: var(--font-bold);
  font-family: var(--second-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
.dark-theme {
  --body-color: #1a0a00;

  /* النصوص + العناوين */
  --text-color: #ede7c7;
  --white-color: #ede7c7;

  /* الألوان الأساسية */
  --first-color: #8b0101;
  --first-color-dark: #5b0302;

  /* الأسود الجديد (داكن راقي) */
  --black-color: #200e00;

  /* الظلال */
  --shadow-img: drop-shadow(0 16px 24px rgba(255, 255, 255, 0.08));
}

/*========== 
	Color changes in some parts of 
	the website, in dark theme
==========*/
.dark-theme .nav-logo {
  color: var(--white-color);
}
.dark-theme .burger span {
  background-color: var(--white-color);
}
.dark-theme .home-link:hover,
.dark-theme .contact-link:hover {
  background-color: var(--white-color);
  color: var(--first-color);
}
.dark-theme .btn:hover {
  color: var(--white-color);
  background-color: transparent;
  box-shadow: none;
}
.dark-theme .progress-line span::after {
  color: var(--black-color);
}
.dark-theme .progress-line span::before {
  border-top-color: var(--white-color);
}
.dark-theme .scrollup {
  background-color: var(--black-color);
  color: var(--white-color);
}
.dark-theme .contact-form input,
.dark-theme .contact-form textarea {
  background-color: #301402;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--bigger-font-size);
  margin-bottom: 2rem;
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--first-color);
  margin-bottom: 0.25rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition:
    background-color 0.4s,
    box-shadow 0.4s;
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--second-font);
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--black-color);
}

/*===Toggle Button===*/
.burger {
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
  display: block;
}

.burger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: black;
  border-radius: 9px;
  left: 0;
  transition: 0.25s ease-in-out;
}

.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 8px;
}
.burger span:nth-child(3) {
  top: 16px;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav-menu {
    position: fixed;
    top: 5rem;
    left: -200%;
    right: 0;
    margin: 0 auto;
    width: 75%;
    box-shadow: 0 0 20px var(--first-color);
    background-color: var(--body-color);
    padding: 3.5rem;
    border-radius: 3rem;
    border: 3px solid var(--first-color);
    transition:
      left 0.4s,
      background-color 0.4s,
      box-shadow 0.4s;
  }
}

.nav-list {
  font-size: var(--h3-font-size);
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  width: max-content;
  margin: 0 auto;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2.5px;
  background: var(--first-color-dark);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--first-color);
}

.nav-theme {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}
/* Show menu */
.show-menu {
  left: 0;
}

/* Animation of burger when active */
.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* Add shadow header */
.shadow-header {
  box-shadow: 0 0 10px var(--first-color-dark);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home-container {
  padding-block: 1.5rem;
  row-gap: 3rem;
}
.home-data {
  text-align: center;
  display: grid;
  row-gap: 2rem;
}
.home-title {
  font-size: var(--biggest-font-size);
  margin-bottom: 0.5rem;
}
.home-subtitle {
  font-size: var(--bigger-font-size);
  margin-bottom: 0.75rem;
}
.home-subtitle span {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 0.7px var(--first-color);
  animation: show-text 16s linear infinite;
  animation-delay: calc(-4s * (var(--i)));
}
@keyframes show-text {
  25%,
  100% {
    display: none;
  }
}
.home-subtitle span::before {
  content: attr(data-text);
  position: absolute;
  width: 0;
  border-right: 2px solid var(--first-color);
  color: var(--first-color);
  white-space: nowrap;
  overflow: hidden;
  animation: fit-text 4s linear infinite;
}
@keyframes fit-text {
  10%,
  100% {
    width: 0;
  }
  70%,
  90% {
    width: 100%;
  }
}
.home-sci {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}
.sci {
  display: flex;
  justify-content: center;
  column-gap: 0.75rem;
}
.home-link {
  width: 40px;
  height: 40px;
  background-color: var(--first-color-dark);
  box-shadow: 0 0 10px var(--first-color);
  border-radius: 2rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--white-color);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.home-link:hover {
  background-color: var(--body-color);
  color: var(--first-color);
}
.home-img {
  justify-self: center;
  margin-top: 3rem;
}
.img-box {
  position: relative;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.img-box::before,
.img-box::after {
  content: "";
  position: absolute;
  height: 500px;
  width: 500px;
  background: conic-gradient(transparent, transparent, transparent, #8b0101);
  transform: rotate(0deg);
  animation: rotete-border 10s linear infinite;
}
.img-box::after {
  animation-delay: -5s;
}
@keyframes rotete-border {
  100% {
    transform: rotate(360deg);
  }
}
.img-item {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--body-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}
.img-item img {
  display: block;
  object-fit: cover;
}
/*=============== BUTTON ===============*/
.btn {
  display: inline-block;
  border: 2px solid var(--first-color);
  border-radius: 2rem;
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  background-color: var(--first-color-dark);
  color: var(--white-color);
  box-shadow: 0 0 16px var(--first-color);
  transition: all 0.3s;
}
.btn:hover {
  color: var(--black-color);
  background-color: transparent;
  box-shadow: none;
}

/*=============== ABOUT ===============*/
.about-container {
  justify-content: center;
  row-gap: 3rem;
}
.section__title span {
  color: var(--first-color);
}
.about-description {
  text-align: center;
}
.about-image {
  width: 100%;
  height: 100%;
  background: var(--body-color);
  display: grid;
  justify-content: center;
}
.about-img {
  display: block;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid var(--first-color);
  object-fit: cover;
  box-shadow:
    0 0 10px var(--first-color),
    0 0 40px var(--first-color-dark);
  transition: all 0.3s;
}
.about-img:hover {
  box-shadow:
    0 0 50px var(--first-color-dark),
    0 0 40px var(--first-color-dark);
}

/*=============== SERVICE ===============*/
.service .section__title {
  margin-bottom: 3rem;
}
.service-container {
  grid-template-columns: 300px;
  justify-content: center;
  row-gap: 2.5rem;
}
.service-card {
  justify-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  background-color: transparent;
  box-shadow:
    0 0 10px var(--first-color),
    0 0 40px var(--first-color-dark);
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 30px var(--first-color),
    0 0 50px var(--first-color);
}
.service-card i {
  font-size: 2rem;
  color: var(--first-color);
}
.service-title {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}
/*=============== SKILLS ===============*/
/* تعديل على الحاوية الأساسية */
/* الحاوية الرئيسية */
.skills-container.container {
  display: flex;
  flex-wrap: wrap; /* لضمان التجاوب على الشاشات الصغيرة */
  justify-content: center;
  align-items: flex-start; /* يضمن محاذاة العناوين من الأعلى */
  gap: 3rem;
  margin-top: 2rem;
}
/* توحيد الأقسام */
.Technical-Skills,
.Professional-Skills {
  flex: 1; /* جعل القسمين بنفس العرض */
  min-width: 300px; /* لمنع الانضغاط الزائد */
  padding: 0; /* تصفير البادينج لضمان المحاذاة */
}
/* ضبط العناوين */
.title {
  margin-top: 0; /* هام جداً لجعل الكلمات على نفس الخط */
  margin-bottom: 3rem;
  text-align: center;
  font-size: var(--h1-font-size);
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
}
.bar {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
}
.technical-bars .bar:first-child {
  margin-top: 0;
}
.technical-bars .bar:last-child {
  margin-top: 0;
}
.info-bar {
  margin-bottom: 5px;
}
.info-bar span {
  font-weight: 500;
  animation: showtext 0.5s 1s linear forwards;
  opacity: 0;
}
.progress-line {
  position: relative;
  border-radius: 10px;
  width: 0%;
  height: 5px;
  background-color: black;
  animation: filload 1s forwards;
}
@keyframes filload {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.progress-line span {
  height: 100%;
  background-color: var(--first-color);
  position: absolute;
  border-radius: 10px;
}
.progress-line.html span {
  width: 90%;
}
.progress-line.css span {
  width: 85%;
}
.progress-line.javascript span {
  width: 75%;
}
.progress-line.react span {
  width: 30%;
}
.progress-line.php span {
  width: 75%;
}
.progress-line.mysql span {
  width: 80%;
}
.progress-line span::after {
  position: absolute;
  padding: 1px 8px;
  background-color: var(--text-color);
  color: var(--white-color);
  font-size: 12px;
  border-radius: 3px;
  top: -23px;
  right: -23px;
  animation: showtext 0.5s 1.5s linear forwards;
  opacity: 0;
}
.progress-line.html span::after {
  content: "90%";
}
.progress-line.css span::after {
  content: "85%";
}
.progress-line.javascript span::after {
  content: "75%";
}
.progress-line.react span::after {
  content: "30%";
}
.progress-line.php span::after {
  content: "75%";
}
.progress-line.mysql span::after {
  content: "80%";
}
.progress-line span::before {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  transform: translateX(50%);
  border: 7px solid transparent;
  border-top-color: black;
  opacity: 0;
  animation: showtext 0.8s 1.2s forwards;
}
@keyframes showtext {
  100% {
    opacity: 1;
  }
}

.redial-bars {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1rem; /* موازنة المسافة مع قسم الخطوط */
}
.redial-bar {
  width: 50%;
  height: 170px;
  margin-bottom: 10px;
  position: relative;
}
.redial-bar svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 120px;
  height: 160px;
}
.progress-bar {
  stroke-width: 10;
  stop-color: black;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
  animation: animate-bar 1s linear forwards;
}
@keyframes animate-bar {
  100% {
    stroke-dashoffset: -1;
  }
}
.path {
  stroke-width: 10;
  stroke: var(--first-color);
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  stroke-linecap: round;
}
.path-1 {
  animation: animate-path1 1s 1s linear forwards;
}
.path-2 {
  animation: animate-path2 1s 1s linear forwards;
}
.path-3 {
  animation: animate-path3 1s 1s linear forwards;
}
.path-4 {
  animation: animate-path4 1s 1s linear forwards;
}
@keyframes animate-path1 {
  100% {
    stroke-dashoffset: 50;
  }
}
@keyframes animate-path2 {
  100% {
    stroke-dashoffset: 125;
  }
}
@keyframes animate-path3 {
  100% {
    stroke-dashoffset: 175;
  }
}
@keyframes animate-path4 {
  100% {
    stroke-dashoffset: 80;
  }
}
.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--text-color);
  animation: showtext 0.5s 1s linear forwards;
  opacity: 0;
}
.text {
  width: 100%;
  position: absolute;
  text-align: center;
  left: 23%;
  bottom: -5px;
  transform: translateX(-50px);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  animation: showtext 0.5s 1s linear forwards;
  opacity: 0;
}
/* Swiper class */

/*=============== PROJECT ===============*/
.project .section__title {
  margin-bottom: 4rem;
}
.project-container {
  grid-template-columns: 1fr;
  justify-items: center;
  row-gap: 3rem;
}
.project-card {
  width: 360px;
  height: 220px;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
}
.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layer {
  width: 100%;
  height: 0;
  background: rgba(0, 0, 0, 0.65); /* خلفية شفافة داكنة */
  backdrop-filter: blur(4px); /* تأثير احترافي */
  position: absolute;
  border-radius: 8px;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  transition: height 0.5s;
}
.project-card:hover .layer {
  height: 100%;
}
.layer h5 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 7px;
}
.layer p {
   color: #f1f1f1;
  font-size: 14px;
}
.layer a {
  display: grid;
  place-items: center;
  color: var(--first-color);
  font-size: 17px;
  margin-top: 15px;
  background: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
/*=============== CONTACT ===============*/
.contact-container {
  padding-block: 4rem 3rem;
  row-gap: 3rem;
  justify-content: center;
}
.contact-title {
  text-align: center;
  font-size: var(--bigger-font-size);
  margin-bottom: 2rem;
}
.contact-title span {
  color: var(--first-color);
}
.contact-subtitle {
  font-size: var(--h2-font-size);
  margin-bottom: 1.25rem;
}
.my-contact {
  margin: 1.5rem 0;
}
.email-contact,
.phone-contact {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}
.my-contact i {
  color: var(--first-color);
  font-size: 1.25rem;
}
.sci-contact {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  margin-top: 3rem;
}
.contact-link {
  width: 40px;
  height: 40px;
  background-color: var(--first-color-dark);
  box-shadow: 0 0 10px var(--first-color);
  border-radius: 2rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--white-color);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.contact-link:hover {
  background-color: var(--body-color);
  color: var(--first-color);
}

.contact-form {
  width: 100%;
  height: 100%;
}
.contact-form input {
  display: block;
  margin-bottom: 6px;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  border-radius: 10px;
  width: 100%;
  padding: 15px;
  background-color: #b1ad99;
  border: none;
  outline: none;
}
.contact-form textarea {
  font-size: 16px;
  font-family: var(--body-font);
  color: var(--text-color);
  border-radius: 10px;
  width: 100%;
  padding: 15px;
  background-color: #b1ad99;
  border: none;
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: var(--white-color);
}
input:focus,
textarea:focus {
  border: var(--first-color) solid;
}
.send {
  margin-top: 10px;
  font-size: 20px;
  width: 100%;
  background: var(--first-color);
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 0 10px var(--first-color);
}

.send span {
  color: #ede7c7;
  text-align: center;
  display: block;
  margin-left: 0.8em;
  transition: all 0.3s ease-in-out;
}

.send svg {
  color: var(--white-color);
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}
.send:hover {
  box-shadow: none;
}

.send:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.send:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.send:hover span {
  transform: translateX(5em);
}

.send:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}
/*=============== FOOTER ===============*/
.footer {
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  color: var(--white-color);
  background-color: var(--first-color-dark);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 1rem;
  background-color: #b1ad99;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: var(--first-color-dark);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--first-color);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--white-color);
  box-shadow: 0 0 16px var(--first-color);
  color: var(--black-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: 0.75rem;
  z-index: var(--z-tooltip);
  transition:
    bottom 0.4s,
    transform 0.4s,
    background-color 0.4s,
    color 0.4s;
}
.scrollup:hover {
  transform: translateY(-0.5rem);
}
/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 360px) {
  .container {
    margin-inline: 1rem;
  }
  .about-img {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 430px) {
  .home-sci {
    flex-direction: column;
    row-gap: 1.5rem;
  }
  .about-img {
    width: 250px;
    height: 250px;
  }
  .project-container {
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 3rem;
  }
}
/* For medium devices */
@media screen and (min-width: 540px) and (max-width: 1150px) {
  .img-box {
    width: 55vw;
    height: 55vw;
  }
  .nav-menu {
    width: 50%;
  }
}
@media screen and (min-width: 768px) {
  .img-box {
    width: 45vw;
    height: 45vw;
  }
  .service-container {
    grid-template-columns: repeat(2, 350px);
  }
  .skills-container {
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 1fr;
  }
  .project-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 925px) {
  .img-box {
    width: 40vw;
    height: 40vw;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }
  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .burger {
    display: none;
  }
  .nav-list {
    flex-direction: row;
    column-gap: 2.7rem;
  }
  .nav-theme {
    position: initial;
    font-size: 1.5rem;
  }
  .nav-menu {
    position: initial;
    display: flex;
    column-gap: 4rem;
    align-items: center;
  }

  .section {
    padding-block: 8rem 2rem;
  }
  .home-container {
    grid-template-columns: 500px 500px;
    justify-content: center;
    align-items: center;
    column-gap: 5rem;
    padding-block: 0.25rem;
  }
  .home-data {
    text-align: initial;
    width: 100%;
    row-gap: 3rem;
  }
  .home-subtitle {
    font-size: 2.75rem;
  }
  .home-description,
  .about-description {
    font-size: var(--h3-font-size);
  }
  .home-sci {
    justify-content: initial;
  }
  .img-box {
    width: 32vw;
    height: 32vw;
  }

  .about-container {
    grid-template-columns: 500px 500px;
    align-items: center;
    column-gap: 11rem;
    padding-block: 4rem 2rem;
  }
  .about-data {
    order: 1;
  }
  .about-data .section__title,
  .about-description {
    text-align: initial;
  }
  .about-img {
    width: 450px;
    height: 450px;
  }

  .section__title {
    margin-bottom: 3rem;
  }
  .service-container {
    grid-template-columns: repeat(3, 360px);
    column-gap: 3rem;
    padding-block: 3rem;
  }
  .service-card,
  .service-title {
    text-align: initial;
    justify-items: flex-start;
  }

  .skills-container {
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(2, 500px);
  }
  .redial-bars {
    padding-block: 1.75rem;
  }

  .project-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-container {
    grid-template-columns: 560px 450px;
    column-gap: 3.5rem;
  }

  .scrollup {
    right: 3rem;
  }
}



/* For 2K resolutions (2048 x 1152, 2048 x 1536) */
