:root {

  /**
   * colors
   */

  --cadet-blue-crayola: hsl(240, 10%, 70%);
  --gold-web-golden: hsl(50, 100%, 54%);
  --vivid-sky-blue: hsl(196, 84%, 63%);
  --midnight-blue: hsl(231, 83%, 25%);
  --minion-yellow: hsl(50, 100%, 64%);
  --independence: hsl(225, 24%, 27%);
  --orange-soda: hsl(7, 96%, 61%);
  --space-cadet: hsl(243, 23%, 18%);
  --fiery-rose: hsl(353, 83%, 65%);
  --klein-blue: hsl(230, 80%, 39%);
  --bluetiful: hsl(222, 88%, 55%);
  --glaucous: hsl(230, 52%, 63%);
  --manatee: hsl(254, 7%, 65%);
  --rufous: hsl(2, 85%, 35%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --green: hsla(103, 100%, 39%, 0.829);
  --orange: hsla(34, 100%, 50%, 0.829);

  /**
   * typography
   */

  --ff-open-sans: 'Open Sans', sans-serif;
  --ff-barlow: 'Barlow', sans-serif;
  --ff-poppins: 'Poppins', sans-serif;

  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.4rem;
  --fs-4: 2rem;
  --fs-5: 1.8rem;
  --fs-6: 1.3rem;

  --fw-600: 600;
  --fw-700: 700;

  /**
   * border radius
   */

  --radius-5: 5px;
  --radius-10: 10px;
  --radius-15: 15px;
  --radius-20: 20px;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow: 0 -5px 10px var(--manatee);

  /**
   * transition
   */

  --transition-1: 0.05s ease;
  --transition-2: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

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

a,
img,
span,
input,
strong,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

ion-icon {
  pointer-events: none;
  color: var(--white);
}

button,
input,
textarea {
  background: none;
  border: none;
  font: inherit;
}

button { cursor: pointer; }

input,
textarea { width: 100%; }

address { font-style: normal; }

html {
  font-size: 10px;
  font-family: var(--ff-open-sans);
  scroll-behavior: smooth;
}

body {
  background-color: var(--space-cadet);
  color: var(--cadet-blue-crayola);
  font-size: 1.6rem;
  line-height: 1.6;
  overflow-x: hidden;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 15px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 95%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 20px; }

.btn {
  color: var(--white);
  font-family: var(--ff-barlow);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  max-width: max-content;
  padding: var(--padding, 10px 40px);
  border-radius: 50px;
  transition: var(--transition-2);
}

.btn-primary.blue { background-color: var(--klein-blue); }

.btn-primary1.green { background-color: var(--green); }

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section { padding-block: var(--section-padding); }

.section-subtitle {
  color: var(--orange-soda);
  font-family: var(--ff-barlow);
  font-size: var(--fs-4);
  text-align: center;
}

.h2,
.h3 {
  color: var(--white);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-600);
  line-height: 1.3;
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.section-title,
.section-text { text-align: center; }





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  padding-block: 15px;
  width: 100%;
  background-color: var(--space-cadet);
  height: 65px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.25s var(--cubic-out);
  z-index: 4;
}

.header.nav-active {
  height: 335px;
  transition-duration: 0.35s;
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--white);
  font-family: var(--ff-poppins);
  font-size: 2.4rem;
}

.nav-toggle-btn { font-size: 3rem; }

.nav-toggle-btn .close-icon,
.nav-toggle-btn.active .menu-icon { display: none; }

.nav-toggle-btn.active .close-icon,
.nav-toggle-btn .menu-icon { display: block; }

.navbar {
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  padding-inline: 20px;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-2);
}

.header.nav-active .navbar {
  visibility: visible;
  opacity: 1;
}

.navbar-link {
  color: var(--white);
  font-family: var(--ff-barlow);
  padding-block: 3px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { color: var(--orange-soda); }

.navbar .btn {
  background-color: var(--orange-soda);
  margin-block-start: 15px;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.elem,
.rotate-img { display: none; }

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 100px var(--section-padding);
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero-banner {
  width: 150px;
  height: 172px;
  background-color: var(--independence);
  border-radius: var(--radius-10);
  margin-inline: auto;
  margin-block-end: 30px;
}

.hero-banner img { border-radius: inherit; }

.hero-content {
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-family: var(--ff-barlow);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  line-height: 1.3;
  margin-block-end: 14px;
}

.hero-title strong {
  font-size: var(--fs-1);
  font-weight: inherit;
  margin-block-end: 8px;
}

.hero-text { margin-block-end: 25px; }

/* --- HERO BADGES: mobile-first base styles --- */
.hero-badges {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-block-start: 20px;
  margin-block-end: 25px;
}

.hero-badges img {
  width: 100px;
  height: auto;
  display: block;
  object-fit: contain;
}
/* --- END HERO BADGES mobile-first --- */

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { 
  padding-block: 80px;
}

.about-content {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-20);
  padding: 50px;
  backdrop-filter: blur(10px);
}

.about-content .section-title { 
  margin-block-end: 24px;
}

.about-content .section-text { 
  margin-block-end: 20px;
  line-height: 1.8;
}

.about-content .section-text:last-of-type {
  margin-block-end: 30px;
}





/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.portfolio .section-title { margin-block-end: 18px; }

.portfolio .section-text { margin-block-end: 80px; }

.portfolio-list {
  display: grid;
  gap: 60px;
}

.portfolio-card {
  background-color: var(--independence);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  border-radius: var(--radius-20);
  font-family: var(--ff-barlow);
  color: var(--white);
  font-weight: var(--fw-600);
  transition: var(--transition-2);
}

.portfolio-list > li:nth-child(even) .card-content { margin-inline-start: auto; }

.portfolio-card .card-subtitle {
  color: var(--orange-soda);
  margin-block-end: 5px;
}

.portfolio-card .card-title {
  max-width: 20ch;
  margin-block-end: 20px;
}

.portfolio-card .btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-6);
  text-transform: uppercase;
}

.portfolio-card .btn-link ion-icon {
  color: var(--orange-soda);
  font-size: 1.6rem;
}


.project-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.project-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


.certifications-header {
  text-align: center;
  margin-bottom: 40px;
}

.certifications-banner {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.certifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.certification-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 300px;
  width: 100%;
  text-align: center;
}

.certification-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.certification-details {
  padding: 0 10px;
}

.certification-navigation {
  text-align: center;
  margin-top: 40px;
}






/*-----------------------------------*\
  #EXPERIENCE
\*-----------------------------------*/

.experience { 
  padding-block: 60px;
}

.timeline {
  position: relative;
  padding-inline: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-soda), var(--vivid-sky-blue));
}

.timeline-item {
  position: relative;
  padding-inline-start: 40px;
  margin-block-end: 35px;
}

.timeline-marker {
  position: absolute;
  left: -10px;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--orange-soda);
  border: 3px solid var(--raisin-black);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  width: 28px;
  height: 28px;
  left: -14px;
  background-color: var(--vivid-sky-blue);
  box-shadow: 0 0 15px rgba(72, 219, 251, 0.4);
}

.timeline-content {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-15);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.timeline-header {
  margin-block-end: 12px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: var(--fw-700);
  color: var(--white);
  margin-block-end: 6px;
}

.timeline-company {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--orange-soda);
  font-weight: var(--fw-600);
  margin-block-end: 6px;
}

.timeline-date {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--ff-barlow);
}

.timeline-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}


/*-----------------------------------*\
  #SKILLS
\*-----------------------------------*/

.skills .section-title { 
  margin-block-end: 16px; 
}

.skills .section-text { 
  margin-block-end: 50px;
  max-width: 65ch;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.skill-category {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-15);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.skill-category:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.skill-category-title {
  font-size: 1rem;
  font-weight: var(--fw-700);
  color: var(--orange-soda);
  margin-block-end: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(72, 219, 251, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: var(--fw-600);
  transition: all 0.3s ease;
  cursor: default;
}

.skill-tag:hover {
  background: linear-gradient(135deg, var(--orange-soda), var(--vivid-sky-blue));
  border-color: var(--orange-soda);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(248, 113, 113, 0.3);
}





/*-----------------------------------*\
  #ACHIEVEMENTS
\*-----------------------------------*/

.achievements {
  padding-block: 80px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.achievement-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-15);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
}

.achievement-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(72, 219, 251, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-soda);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
  background: linear-gradient(135deg, var(--orange-soda), var(--vivid-sky-blue));
  border-color: var(--orange-soda);
  color: var(--white);
  transform: scale(1.1);
}

.achievement-content {
  flex: 1;
}

.achievement-title {
  font-size: 1.1rem;
  font-weight: var(--fw-700);
  color: var(--white);
  margin-block-end: 6px;
}

.achievement-venue {
  color: var(--orange-soda);
  font-weight: var(--fw-600);
  font-size: 0.9rem;
  margin-block-end: 2px;
}

.achievement-date {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-block-end: 12px;
  font-family: var(--ff-barlow);
}

.achievement-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact { 
  padding-block: 80px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px;
  border-radius: var(--radius-20);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-card .card-subtitle {
  color: var(--orange-soda);
  font-family: var(--ff-barlow);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-block-end: 10px;
}

.contact .section-title {
  text-align: left;
  margin-block-end: 40px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form { 
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
}

.contact-input {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-10);
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--orange-soda);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.2);
}

.contact-input::placeholder { 
  color: rgba(255, 255, 255, 0.5);
}

textarea.contact-input {
  resize: vertical;
  min-height: 120px;
  max-height: 250px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--orange-soda), #ff8c42);
  color: var(--white);
  font-family: var(--ff-barlow);
  font-size: 0.95rem;
  font-weight: var(--fw-600);
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-10);
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-block-start: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(248, 113, 113, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(72, 219, 251, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  color: var(--orange-soda);
  padding: 16px;
  border-radius: var(--radius-10);
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--orange-soda), var(--vivid-sky-blue));
  border-color: var(--orange-soda);
  color: var(--white);
  transform: scale(1.08);
}

.contact-item-title {
  color: var(--white);
  font-family: var(--ff-barlow);
  font-size: 0.95rem;
  font-weight: var(--fw-600);
  margin-block-end: 6px;
}

.contact-item-link { 
  transition: color 0.3s ease;
  font-size: 0.9rem;
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item-link:not(address):hover { 
  color: var(--orange-soda);
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog { 
  padding-block: 80px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-block-end: 50px;
}

.blog .section-title { 
  margin-block-end: 0;
}

.blog-view-all {
  color: var(--orange-soda);
  font-weight: var(--fw-600);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-view-all:hover {
  gap: 12px;
  color: var(--vivid-sky-blue);
}

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card { 
  font-family: var(--ff-barlow);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-15);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.blog-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-card .card-banner {
  background-color: var(--independence);
  border-radius: 0;
  overflow: hidden;
  margin-block-end: 0;
  height: 220px;
}

.blog-card .card-banner img { 
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card:hover .card-banner img { 
  transform: scale(1.08);
}

.blog-card-content {
  padding: 24px;
}

.blog-card .card-tag {
  color: var(--orange-soda);
  margin-block-end: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: var(--fw-700);
  display: inline-block;
  transition: color 0.3s ease;
}

.blog-card:hover .card-tag {
  color: var(--vivid-sky-blue);
}

.blog-card .card-title {
  color: var(--white);
  font-weight: var(--fw-600);
  line-height: 1.4;
  font-size: 1.1rem;
}

.blog-card .card-title a { 
  transition: color 0.3s ease;
  color: var(--white);
}

.blog-card:hover .card-title a { 
  color: var(--orange-soda);
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--independence);
  padding-block: 60px;
}

.copyright {
  max-width: max-content;
  margin-inline: auto;
  margin-block-end: 10px;
}

.copyright-link {
  display: inline-block;
  transition: var(--transition-2);
  font-weight: var(--fw-600);
}

.copyright-link:is(:hover, :focus) { color: var(--white); }

.footer-list {
  max-width: max-content;
  margin-inline: auto;
}

.footer-list * { display: inline-block; }

.footer-list > li:not(:last-child) { margin-inline-end: 40px; }

.footer-link { transition: var(--transition-2); }

.footer-link:is(:hover, :focus) { color: var(--white); }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-to-top {
  color: var(--white);
  font-size: 1.3rem;
  position: fixed;
  bottom: 160px;
  right: -30px;
  transform: rotate(0.25turn);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 1;
}

.back-to-top.active {
  right: -5px;
  opacity: 1;
  visibility: visible;
}

.back-to-top::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(100% + 7px);
  width: 100px;
  height: 1px;
  background-color: var(--white);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 600px screen
 */

@media (min-width: 600px) {

  /**
   * ABOUT
   */

  .about-content {
    padding: 40px;
  }

  /**
   * EXPERIENCE
   */

  .timeline-item {
    padding-inline-start: 50px;
  }

  .timeline-marker {
    width: 24px;
    height: 24px;
    left: -12px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-title {
    font-size: 1.15rem;
  }

  /**
   * BLOG
   */

  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-card .card-banner {
    height: 250px;
  }

  /**
   * CONTACT
   */

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .contact-card {
    padding: 40px;
  }

  /**
   * SKILLS
   */

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

  .skill-category {
    padding: 20px;
  }

  /**
   * PORTFOLIO
   */

  .portfolio-list li:nth-child(even) .card-content { margin-inline-start: 50%; }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * PORTFOLIO
   */

  .portfolio-card {
    background-size: 115%;
    padding-inline: 80px;
  }

  .portfolio-card:is(:hover, :focus) { background-size: 130%; }



  /**
   * EXPERIENCE
   */

  .timeline {
    padding-inline-start: 20px;
  }

  .timeline-item {
    margin-block-end: 40px;
  }

  .timeline-content {
    padding: 28px;
  }

  /**
   * BLOG
   */

  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .blog-card .card-banner {
    height: 200px;
  }

  /**
   * CONTACT
   */

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  /**
   * SKILLS, BLOG
   */

  .skills-list,
  .blog-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 6.4rem;
    --fs-2: 3.5rem;
    --fs-3: 3.6rem;

    /**
     * spacing
     */

    --section-padding: 80px;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1050px;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .nav-toggle-btn { display: none; }

  .header,
  .header.nav-active {
    background-color: transparent;
    box-shadow: none;
    height: unset;
    padding-block: 30px;
  }

  .header.active {
    background-color: var(--space-cadet);
    box-shadow: var(--shadow);
    padding-block: 20px;
  }

  .navbar { all: unset; }

  .navbar-list {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar .btn {
    margin-block-start: 0;
    --padding: 7px 30px;
  }



  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-content { text-align: left; }

  .btn-group { justify-content: flex-start; }

  .hero-title span { font-size: 3rem; }

  .hero-title {
    --fs-5: 2.2rem;
    margin-block-end: 25px;
  }

  .hero-text {
    margin-block-end: 25px;
    font-size: var(--fs-5);
  }

  .hero-banner {
    position: relative;
    margin-block-end: 0;
    order: 1;
    width: 340px;
    height: 390px;
    margin-inline: 0;
    margin-inline-start: auto;
  }

  /* Desktop hero badges override */
  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
    margin-block-start: 20px;
    margin-block-end: 35px;
  }

  .hero-badges img {
    width: 70px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .hero-badges img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
  }

  .elem {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    border-radius: var(--radius-10);
    padding: 20px;
  }

  .elem-1 {
    top: 20px;
    left: -130px;
  }

  .elem-1 .elem-title { color: var(--vivid-sky-blue); }

  .elem-2 {
    bottom: 30px;
    right: -80px;
  }

  .elem-2 .elem-title { color: var(--fiery-rose); }

  .elem-title {
    font-size: 4.5rem;
    line-height: 1.1;
  }

  .elem-text {
    max-width: 10ch;
    color: var(--black);
    font-weight: var(--fw-700);
    line-height: 1.1;
  }

  .elem-3 {
    top: -40px;
    right: -30px;
  }

  .elem-3 ion-icon {
    color: var(--minion-yellow);
    font-size: 6rem;
  }

  .rotate-img {
    display: block;
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 120px;
    animation: rotate360 15s linear infinite reverse;
  }

  @keyframes rotate360 {
    0% { transform: rotate(0); }
    100% { transform: rotate(1turn); }
  }



  /**
   * ABOUT
   */

  .about { 
    padding-block: 120px; 
  }

  .about-content {
    padding: 60px;
  }



  /**
   * PORTFOLIO
   */

  .portfolio-card .card-subtitle { font-size: var(--fs-5); }

  .portfolio-card .btn-link { --fs-6: 1.6rem; }



  /**
   * BLOG
   */

  .blog {
    padding-block: 100px;
  }

  .blog-header {
    margin-block-end: 60px;
  }

  .blog-list { 
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .blog-card .card-banner {
    height: 220px;
  }

  .blog-card-content {
    padding: 28px;
  }


  /**
   * ACHIEVEMENTS
   */

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievement-card {
    padding: 28px;
  }

  /**
   * BLOG
   */

  .blog {
    padding-block: 100px;
  }

  .blog-header {
    margin-block-end: 60px;
  }

  .blog-list { 
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .blog-card .card-banner {
    height: 220px;
  }

  .blog-card-content {
    padding: 28px;
  }


  /**
   * CONTACT
   */

  .contact-card { 
    padding: 80px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .contact-form { 
    margin-block-end: 0; 
  }

  .contact-item { 
    gap: 25px; 
  }

  .contact-icon { 
    padding: 20px;
    min-width: 80px;
    height: 80px;
  }


  /**
   * SKILLS
   */

  .skills-list { column-gap: 100px; }

  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .skill-category {
    padding: 32px;
  }



  /**
   * EXPERIENCE
   */

  .experience {
    padding-block: 100px;
  }

  .timeline {
    padding-inline-start: 60px;
  }

  .timeline::before {
    left: 20px;
    width: 3px;
  }

  .timeline-item {
    padding-inline-start: 60px;
    margin-block-end: 50px;
  }

  .timeline-marker {
    left: 8px;
    width: 24px;
    height: 24px;
  }

  .timeline-item:hover .timeline-marker {
    left: 4px;
    width: 32px;
    height: 32px;
  }

  .timeline-content {
    padding: 32px;
  }

  .timeline-title {
    font-size: 1.25rem;
  }

  .timeline-description {
    font-size: 1rem;
    margin-block-start: 12px;
  }

  /**
   * SKILLS
   */

  .skills {
    padding-block: 100px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .skill-category {
    padding: 28px;
  }

  .skill-category:hover {
    transform: translateY(-6px);
  }

  
  /**
   * BLOG
   */

  .blog { padding-block-end: 180px; }

  .blog-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  

  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright,
  .footer-list { margin-inline: 0; }

}