/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

/* Colors */
:root {
  --primary: #1a253f;
  --dark: #151a33;
  --secondary: #2b55cc;
  --info: #4d79f6;
  --ternary: #848db3;
  --pure: #eff2f9;
  --fade: #7081b9;
  --mild: #8997bd;
  --footer: #212a4a;
  --black: #060b1b;
  --twitter: #4ac7ec;
  --dribbble: #ff5da0;
  --success: #1ecab8;
  --danger: #f1646c;
  --dark-blue: #28365f;
  --dark-grey: #171f33;
  --yellow: #f3c74d;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

html.js-enabled .reveal {
  opacity: 0;
  filter: blur(6px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.75s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.js-enabled .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
}

html.js-enabled .reveal-left {
  transform: translate3d(-56px, 0, 0);
}

html.js-enabled .reveal-right {
  transform: translate3d(56px, 0, 0);
}

html.js-enabled .reveal-up {
  transform: translate3d(0, 42px, 0);
}

html.js-enabled .reveal-down {
  transform: translate3d(0, -42px, 0);
}

html.js-enabled .reveal-scale {
  transform: scale(0.96);
}

html.js-enabled .reveal.is-visible,
html.js-enabled .reveal.is-visible.reveal-left,
html.js-enabled .reveal.is-visible.reveal-right,
html.js-enabled .reveal.is-visible.reveal-up,
html.js-enabled .reveal.is-visible.reveal-down,
html.js-enabled .reveal.is-visible.reveal-scale {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-enabled .reveal,
  html.js-enabled .reveal.is-visible,
  html.js-enabled .reveal-left,
  html.js-enabled .reveal-right,
  html.js-enabled .reveal-up,
  html.js-enabled .reveal-down,
  html.js-enabled .reveal-scale {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* Navigation */
.sticky {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 15, 34, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(77, 121, 246, 0.14);
  z-index: 999;
}

nav {
  padding: 1rem 0;
}

nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  color: var(--pure);
  font-size: 15px;
  letter-spacing: 2.2px;
  font-weight: 700;
  white-space: nowrap;
}

nav .logo i {
  color: var(--info);
  font-size: 18px;
  filter: drop-shadow(0 0 12px rgba(77, 121, 246, 0.35));
}

nav .menu-toggle {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  color: var(--pure);
  background: rgba(32, 41, 74, 0.72);
  border: 1px solid rgba(77, 121, 246, 0.18);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

nav .menu-toggle i {
  font-size: 22px;
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

nav .nav-links a {
  margin-left: 0;
  text-decoration: none;
}

nav .nav-links button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(43, 85, 204, 0.95), rgba(25, 49, 121, 0.95));
  border: 1px solid rgba(77, 121, 246, 0.18);
  padding: 0.72rem 1rem;
  color: var(--pure);
  font-size: 13px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

nav .nav-links button:hover {
  background: linear-gradient(180deg, rgba(77, 121, 246, 1), rgba(43, 85, 204, 1));
  border-color: rgba(130, 163, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(43, 85, 204, 0.25);
}

nav .nav-links button i {
  font-size: 15px;
}

/* Profile Section */
section.profile {
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 3rem;
  margin-top: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 25% 100%, 0 80%);
  padding-bottom: 4rem;
}

section.profile .left {
  flex: 2;
  display: flex;
  align-items: center;
}

section.profile .right {
  flex: 1;
}

section.profile .left h2 {
  color: var(--fade);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
}

section.profile .left p {
  color: var(--mild);
  font-size: 14px;
}

section.profile .left .cd-headline.loading-bar .cd-words-wrapper::after {
  background: linear-gradient(to right, var(--secondary), var(--success));
}

section.profile .left p b {
  padding-bottom: 1rem;
  font-weight: 400;
}

section.profile .left img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

section.profile .left img:hover {
  transform: scale(1.1);
}

section.profile .left .avatar__block {
  position: relative;
  margin-right: 2rem;
}

section.profile .left .avatar__block span {
  position: absolute;
  right: 0;
  bottom: 4px;
  background: var(--info);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure);
  box-shadow: 0px 0px 20px 0px rgba(32, 41, 54, 0.05);
  cursor: pointer;
}

section.profile .right ul.contact {
  list-style-type: none;
  margin-bottom: 1.6rem;
}

section.profile .right ul.contact li {
  color: var(--ternary);
  margin-bottom: 0.7rem;
  font-size: 14px;
}

section.profile .right ul.contact li i {
  font-size: 18px;
  margin-right: 0.3rem;
}

section.profile .right ul.socials {
  display: flex;
  align-items: center;
  list-style-type: none;
}

section.profile .right ul.socials li a {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--pure);
  line-height: 36px;
  text-align: center;
  transition: all 0.3s ease;
}

section.profile .right ul.socials li a:hover {
  transform: scale(1.2);
}

section.profile .right ul.socials li:nth-child(1) a {
  background: var(--secondary);
}

section.profile .right ul.socials li:nth-child(2) a {
  background: var(--twitter);
}

section.profile .right ul.socials li:nth-child(3) a {
  background: var(--dribbble);
}

section.profile .right ul.socials li:nth-child(4) a {
  background: var(--info);
}

section.profile .right ul.socials li:nth-child(5) a {
  background: rgb(68, 68, 68);
}

.avatar__block span i {
  color: var(--pure);
  transition: transform 0.25s ease;
}

.avatar__block span i:hover {
  transform: scale(1.15);
}

section.profile .right ul.socials li {
  margin-right: 0.8rem;
}

/* General Section Styling */
section {
  padding: 3rem;
}

main {
  background: var(--primary);
}

.section__heading {
  font-size: 16px;
  font-weight: 500;
  color: var(--pure);
  margin-bottom: 3rem;
  text-shadow: 0 0 1px rgba(40, 54, 95, 0.1);
  position: relative;
}

.section__heading:after {
  content: '';
  height: 1px;
  width: 80px;
  position: absolute;
  top: 20px;
  left: 0;
  border: 1px solid var(--danger);
}

/* About Section */
section.about .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16rem;
}

section.about .content h2 {
  color: var(--info);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

section.about .content p {
  color: var(--ternary);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.1px;
  margin-bottom: 1rem;
}

section.about .content .left button {
  background: rgba(77, 121, 246, 0.1);
  color: var(--info);
  padding: 4px 8px;
  font-size: 12px;
  border: none;
  line-height: 24px;
  outline: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

section.about .content .left button:hover {
  color: var(--secondary);
}

section.about .content .right p {
  line-height: 1.6;
  font-size: 14px;
  color: var(--ternary);
  letter-spacing: 0.1px;
  margin-bottom: 1rem;
}

section.about .content .right p span:nth-child(1) {
  width: 130px;
  float: left;
  font-weight: 500;
  padding-right: 10px;
  display: block;
  position: relative;
}

section.about .content .right p span:nth-child(2) {
  padding-left: 150px;
  display: block;
}

section.about .content .right p span:nth-child(1)::after {
  content: ":";
  position: absolute;
  right: 0;
  top: 0;
}

/* Skills Section */
section.skills .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

section.skills .content .left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
}

section.skills .content .left .heading {
  margin-bottom: 2rem;
}

section.skills .content .left .heading i {
  color: var(--fade);
  font-size: 52px;
}

section.skills .content .left .heading h5 {
  font-size: 16px;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  color: var(--mild);
}

section.skills .content .left p {
  font-size: 14px;
  color: var(--ternary);
  line-height: 1.7;
}

section.skills .content .left p.center {
  color: var(--fade);
}

section.skills .content .left .item {
  margin-bottom: 2.6rem;
  margin-left: 15px;
  position: relative;
}

section.skills .content .left .timeline__wrapper {
  border-left: 2px dotted var(--dark-blue);
}

section.skills .content .left .item:after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 12px;
  border: 2.5px solid var(--info);
  border-radius: 50%;
  margin-left: -21px;
}

section.skills .skills__wrapper .skill-box h4 {
  color: var(--pure);
  font-size: 16px;
  text-transform: none;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

section.skills .skills__wrapper .skill-box {
  margin-bottom: 2rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 16px;
  background: rgba(32, 41, 74, 0.38);
  border: 1px solid rgba(77, 121, 246, 0.1);
}

section.skills .skills__wrapper .skill-box .progress__wrap {
  background: rgba(18, 23, 44, 0.95);
  height: 9px;
  width: 100%;
  box-shadow: inset 0 0 0 1px rgba(77, 121, 246, 0.18), 0 8px 20px rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(77, 121, 246, 0.16);
  overflow: hidden;
}

section.skills .skills__wrapper .skill-box .progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--info), #7c9dff);
  width: 0;
  position: relative;
  transition: width 1.5s ease-in-out;
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(77, 121, 246, 0.45);
}

section.skills .skills__wrapper .skill-box .progress__bar.active {
  width: var(--percent);
}

section.skills .skills__wrapper .skill-box .progress__bar .tooltip {
  position: absolute;
  right: 0;
  top: -34px;
  margin-bottom: 10px;
  color: var(--pure);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(77, 121, 246, 0.14);
  border: 1px solid rgba(77, 121, 246, 0.2);
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  transform: translateX(40%);
}

section.skills .skills__wrapper .skill-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

section.skills .skills__wrapper .skill-box__head span {
  color: var(--mild);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  max-width: 70%;
}

/* Counter Section */
section.counter__section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--dark-grey);
}

section.counter__section > div {
  display: flex;
  align-items: center;
}

section.counter__section > div i {
  font-size: 42px;
  margin-right: 5px;
}

section.counter__section > div:nth-child(1) i {
  color: rgb(184, 15, 15);
}

section.counter__section > div:nth-child(2) i {
  color: rgb(68, 68, 201);
}

section.counter__section > div:nth-child(3) i {
  color: rgb(197, 137, 25);
}

section.counter__section > div h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--fade);
  margin-bottom: 8px;
}

section.counter__section > div h5 {
  font-size: 14px;
  color: var(--fade);
}

/* Work Section */
section.work .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  grid-gap: 60px;
}

section.work .wrapper .portfolio .tabs ul {
  list-style-type: none;
  display: flex;
  justify-content: space-evenly;
}

section.work .wrapper .portfolio .tabs ul li a {
  color: var(--fade);
  border-bottom: 1px solid transparent;
  padding: 10px 15px;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

section.work .wrapper .portfolio .tabs ul li a.active {
  border-color: var(--info);
  color: var(--info);
}

section.work .wrapper .portfolio .portfolio__wrapper {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

section.work .wrapper .portfolio .portfolio__wrapper .item {
  width: 100%;
}

section.work .wrapper .portfolio .portfolio__wrapper a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

section.work .wrapper .portfolio .portfolio__wrapper a img:hover {
  transform: scale(1.05);
}

section.work .wrapper .slider__wrapper .icon__wrap {
  color: var(--info);
  font-size: 26px;
  text-align: center;
}

section.work .wrapper .slider {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

section.work .wrapper .slider__wrapper .slider .slide p {
  color: var(--ternary);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0.8rem;
  padding-top: 0;
  width: 100%;
}

section.work .wrapper .slider__wrapper .slider .slide img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

section.work .wrapper .slider__wrapper .slider .slide h2 {
  font-size: 16px;
  color: var(--info);
  margin-top: 0;
  text-align: center;
  width: 100%;
}

section.work .wrapper .slider__wrapper .slider .slide h6 {
  color: var(--ternary);
  margin-top: 0.4rem;
  text-align: center;
  width: 100%;
}

section.work .wrapper .slider__wrapper .slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(32, 41, 74, 0.55);
  border: 1px solid rgba(77, 121, 246, 0.12);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  text-align: center;
}

section.work .wrapper .slider__wrapper .slider .slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

section.work .wrapper .slider__wrapper {
  overflow: hidden;
}

section.work .wrapper .highlights {
  background: linear-gradient(180deg, rgba(18, 23, 44, 0.95), rgba(6, 11, 27, 0.95));
  border: 1px solid rgba(77, 121, 246, 0.18);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

section.work .wrapper .highlights .highlights__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

section.work .wrapper .highlights .highlights__head i {
  color: var(--info);
  font-size: 22px;
}

section.work .wrapper .highlights .highlights__head h3 {
  color: var(--pure);
  font-size: 18px;
  font-weight: 600;
}

section.work .wrapper .highlights .highlights__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

section.work .wrapper .highlight-card {
  background: rgba(32, 41, 74, 0.75);
  border: 1px solid rgba(77, 121, 246, 0.14);
  border-radius: 14px;
  padding: 1rem;
}

section.work .wrapper .highlight-card h4 {
  color: var(--pure);
  font-size: 15px;
  margin-bottom: 0.5rem;
}

section.work .wrapper .highlight-card p {
  color: var(--ternary);
  font-size: 13px;
  line-height: 1.6;
  padding-top: 0;
  margin-bottom: 0;
  text-align: left;
}

/* Projects Section */
section.projects .projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

section.projects .project-card {
  background: linear-gradient(180deg, rgba(18, 23, 44, 0.95), rgba(8, 13, 28, 0.95));
  border: 1px solid rgba(77, 121, 246, 0.18);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

section.projects .project-card--accent {
  background: linear-gradient(180deg, rgba(43, 85, 204, 0.2), rgba(8, 13, 28, 0.95));
}

section.projects .project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

section.projects .project-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(77, 121, 246, 0.12);
  color: var(--info);
  font-size: 12px;
  letter-spacing: 0.4px;
}

section.projects .project-card h3 {
  color: var(--pure);
  font-size: 18px;
  margin-bottom: 0.8rem;
}

section.projects .project-card p {
  color: var(--ternary);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 0.9rem;
}

section.projects .project-card ul {
  margin: 0 0 1rem 1.15rem;
  color: var(--mild);
  line-height: 1.7;
  font-size: 13px;
}

section.projects .project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

section.projects .project-card__tags span {
  border: 1px solid rgba(77, 121, 246, 0.18);
  background: rgba(32, 41, 74, 0.8);
  color: var(--fade);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 12px;
}

section.profile .right ul.contact li a,
section.contact .wrapper .left a {
  color: var(--info);
  text-decoration: none;
}

section.profile .right ul.contact li a:hover,
section.contact .wrapper .left a:hover {
  text-decoration: underline;
}

/* Partners Section */
section.partners .brands__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* Contact Section */
section.contact .wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-gap: 60px;
  margin-top: 40px;
  align-items: start;
}

section.contact .wrapper .left {
  color: var(--ternary);
}

section.contact .wrapper .left .contact__intro {
  margin-bottom: 1.5rem;
}

section.contact .wrapper .left .contact__intro h2 {
  color: var(--pure);
  font-size: 22px;
  margin-bottom: 0.8rem;
}

section.contact .wrapper .left .contact__intro p {
  color: var(--ternary);
  line-height: 1.7;
  font-size: 14px;
}

section.contact .wrapper .left .contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

section.contact .wrapper .left .contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(32, 41, 74, 0.65);
  border: 1px solid rgba(77, 121, 246, 0.14);
  border-radius: 16px;
  padding: 1rem;
  min-height: 92px;
}

section.contact .wrapper .left .contact-card i {
  font-size: 26px;
  color: var(--info);
  min-width: 28px;
  margin-top: 2px;
}

section.contact .wrapper .left .contact-card div {
  min-width: 0;
}

section.contact .wrapper .left .contact-card h4 {
  font-weight: 700;
  font-size: 14px;
  color: var(--pure);
  margin-bottom: 0.3rem;
}

section.contact .wrapper .left .contact-card a,
section.contact .wrapper .left .contact-card span {
  color: var(--mild);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

section.contact .wrapper .left .contact-card a[href^="mailto:"] {
  display: block;
  white-space: nowrap;
  word-break: normal;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

section.contact .wrapper .left .contact-card a:hover {
  color: var(--info);
  text-decoration: underline;
}

section.contact .wrapper .right .contact__panel {
  background: linear-gradient(180deg, rgba(18, 23, 44, 0.98), rgba(8, 13, 28, 0.98));
  border: 1px solid rgba(77, 121, 246, 0.18);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  min-width: 0;
}

section.contact .wrapper .right .contact__panel-head .eyebrow {
  display: inline-block;
  color: var(--info);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 0.8rem;
}

section.contact .wrapper .right .contact__panel-head h3 {
  color: var(--pure);
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

section.contact .wrapper .right .contact__panel-head p {
  color: var(--ternary);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 1.5rem;
}

section.contact .wrapper .right .contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

section.contact .wrapper .right .contact__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 121, 246, 0.2);
  background: rgba(32, 41, 74, 0.65);
  color: var(--pure);
  text-decoration: none;
  font-size: 13px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

section.contact .wrapper .right .contact__links a:hover {
  transform: translateY(-2px);
  background: rgba(43, 85, 204, 0.35);
  border-color: rgba(77, 121, 246, 0.45);
}

/* Underline */
.underline {
  margin-top: 100px;
  border: 1px solid var(--dark);
}

/* Footer */
footer {
  background: var(--footer);
  text-align: center;
  padding: 2rem 0;
  font-size: 14px;
  color: var(--ternary);
}

/* Media Queries */
@media (max-width: 1280px) {
  .container {
    max-width: 90%;
  }
}

@media (max-width: 1024px) {
  section.profile {
    flex-direction: column;
    align-items: flex-start;
    clip-path: none;
  }

  section.profile .left {
    margin-bottom: 2rem;
  }

  section.profile .right {
    align-self: flex-end;
  }

  section.work .wrapper {
    display: block;
  }

  section.work .wrapper .slider__wrapper {
    margin-bottom: 4rem;
  }

  section.partners {
    margin-top: 4rem;
  }
}

@media (max-width: 970px) {
  section.skills .content {
    display: block;
  }

  section.skills .content .left {
    margin-bottom: 6rem;
  }

  section.partners .brands__wrapper {
    flex-wrap: wrap;
  }

  section.partners .brands__wrapper img {
    margin-bottom: 2rem;
  }

  section.projects .projects__grid {
    grid-template-columns: 1fr;
  }

  section.work .wrapper .highlights .highlights__grid {
    grid-template-columns: 1fr;
  }

  section.contact .wrapper {
    grid-template-columns: 1fr;
  }

  section.contact .wrapper .left .contact__cards {
    grid-template-columns: 1fr;
  }

  section.contact .wrapper .right .contact__panel {
    padding: 1.5rem;
  }

  section.about .content {
    grid-gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 1.25rem;
  }

  nav .inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  nav .logo {
    margin-right: auto;
    font-size: 14px;
  }

  nav .menu-toggle {
    display: inline-flex;
  }

  nav .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12, 17, 38, 0.96);
    padding: 1rem;
    margin-top: 0.85rem;
    border: 1px solid rgba(77, 121, 246, 0.16);
    border-radius: 18px;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
  }

  nav .nav-links.active {
    display: flex;
    gap: 0.7rem;
  }

  nav .nav-links a {
    width: 100%;
  }

  nav .nav-links button {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
  }

  section.profile {
    flex-direction: column;
    padding: 2rem 1.25rem;
    clip-path: none;
  }

  section.profile .left {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }

  section.profile .left .avatar__block {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  section.profile .right {
    width: 100%;
    text-align: center;
  }

  section.profile .right ul.socials {
    justify-content: center;
  }

  section.about .content {
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  section.skills .content {
    grid-template-columns: 1fr;
  }

  section.skills .content .left {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  section.skills .skills__wrapper .skill-box__head {
    align-items: flex-start;
  }

  section.skills .skills__wrapper .skill-box__head span {
    max-width: 100%;
    text-align: left;
  }

  section.work .wrapper {
    grid-template-columns: 1fr;
  }

  section.work .wrapper .portfolio .portfolio__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  section.contact .wrapper {
    grid-template-columns: 1fr;
  }

  section.counter__section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section.counter__section > div {
    justify-content: center;
    margin-bottom: 2rem;
  }

  section.projects .project-card {
    padding: 1.2rem;
  }

  section.contact .wrapper .right .contact__links a {
    width: 100%;
  }

  section.work .wrapper .slider {
    min-height: 260px;
  }

  section.work .wrapper .highlights,
  section.work .wrapper .slider__wrapper,
  section.projects .project-card,
  section.contact .wrapper .right .contact__panel {
    border-radius: 16px;
  }
}

@media (max-width: 576px) {
  section.profile {
    align-items: center;
  }

  section.profile .right {
    align-self: center;
  }

  section.profile .left {
    margin-bottom: 6rem;
  }

  section.work .wrapper .portfolio .tabs ul {
    flex-wrap: wrap;
  }

  section.work .wrapper .portfolio .tabs ul li {
    margin-bottom: 1rem;
  }

  section.work .wrapper .portfolio .portfolio__wrapper {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  section.work .wrapper .slider__wrapper {
    margin-bottom: 3rem;
  }

  nav .nav-links {
    padding: 0.9rem;
  }

  nav .nav-links button {
    padding: 0.85rem 1rem;
  }

  section.about .content p,
  section.contact .wrapper .left .contact__intro p,
  section.contact .wrapper .right .contact__panel-head p {
    font-size: 13px;
  }

  section.work .wrapper {
    gap: 1.5rem;
  }

  section.work .wrapper .slider__wrapper {
    overflow: visible;
  }

  section.work .wrapper .slider {
    min-height: auto;
    overflow: hidden;
    transition: height 0.35s ease;
  }

section.work .wrapper .slider__wrapper .slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  min-height: 0;
  opacity: 0;
  transform: translateY(14px);
  overflow: hidden;
  pointer-events: none;
  padding: 0;
  margin-top: 0;
  transition:
      opacity 0.45s ease,
      transform 0.45s ease;
}

section.work .wrapper .slider__wrapper .slider .slide__body {
  width: 100%;
  padding: 1rem 1rem 1.1rem;
  box-sizing: border-box;
}

section.work .wrapper .slider__wrapper .slider .slide__body > * {
  width: 100%;
}

section.work .wrapper .slider__wrapper .slider .slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

  section.work .wrapper .slider__wrapper .slider .slide h2 {
    font-size: 15px;
  }

  section.work .wrapper .slider__wrapper .slider .slide h6 {
    font-size: 13px;
    line-height: 1.45;
  }

  section.work .wrapper .slider__wrapper .slider .slide p {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 0.7rem;
  }

  section.work .wrapper .slider__wrapper .slider .slide__body {
    padding: 0.9rem 0.9rem 1rem;
  }

  section.work .wrapper .slider__wrapper .slider .slide h2,
  section.work .wrapper .slider__wrapper .slider .slide h6,
  section.work .wrapper .slider__wrapper .slider .slide p {
    text-align: left;
  }

  section.work .wrapper .highlights {
    padding: 1.1rem;
  }

  section.work .wrapper .highlights .highlights__head h3 {
    font-size: 16px;
  }

  section.work .wrapper .highlights .highlights__grid {
    grid-template-columns: 1fr;
  }

  section.work .wrapper .highlight-card {
    padding: 0.9rem;
  }

  section.work .wrapper .highlight-card h4 {
    font-size: 14px;
  }

  section.work .wrapper .highlight-card p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  section.work .wrapper .portfolio .portfolio__wrapper {
    grid-template-columns: 1fr;
  }

  section.work .wrapper .portfolio .portfolio__wrapper .item {
    width: 100%;
  }

  section.profile .left h2 {
    font-size: 20px;
  }

  section.profile .left {
    margin-bottom: 4rem;
  }

  section.profile .left .avatar__block img {
    width: 96px;
    height: 96px;
  }

  section.skills .skills__wrapper .skill-box {
    padding: 0.9rem 0.95rem 1rem;
  }

  section.skills .skills__wrapper .skill-box__head {
    flex-direction: column;
    gap: 0.35rem;
  }

  section.skills .skills__wrapper .skill-box .progress__bar .tooltip {
    transform: translateX(0);
  }

  .section__heading {
    font-size: 14px;
    margin-bottom: 2rem;
  }

  section.contact .wrapper .left .contact-card {
    min-height: auto;
    padding: 0.9rem;
  }

  section.contact .wrapper .right .contact__panel {
    padding: 1.1rem;
  }

  section.work .wrapper .slider {
    min-height: auto;
  }
}

@media (max-width: 360px) {
  nav .logo {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  nav .nav-links button {
    font-size: 12px;
  }

  section.profile .left h2 {
    font-size: 18px;
  }

  section.skills .skills__wrapper .skill-box__head h4 {
    font-size: 15px;
  }
}
