/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /** 
   * colors
   */

  --sonic-silver: hsl(0, 0%, 46%);
  --spanish-gray: hsl(0, 0%, 60%);
  --theme-color: hsl(10, 100%, 57%);
  --light-gray: hsl(0, 0%, 80%);
  --gray-x-11: hsl(0, 0%, 73%);
  --dim-gray: hsl(0, 0%, 44%);
  --cultured: hsl(0, 0%, 98%);
  --black_10: hsl(0, 0%, 0%, 0.1);
  --black_20: hsl(0, 0%, 0%, 0.2);
  --black_30: hsl(0, 0%, 0%, 0.3);
  --black_70: hsl(0, 0%, 0%, 0.7);
  --white_10: hsl(0, 0%, 100%, 0.1);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */

  --ff-poppins: 'Poppins', sans-serif;
  --ff-mulish: 'Mulish', sans-serif;

  --fs-35: 3.5rem;
  --fs-30: 3rem;
  --fs-25: 2.5rem;
  --fs-18: 1.8rem;
  --fs-17: 1.7rem;
  --fs-13: 1.3rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;
  --fw-400: 400;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * shadow
   */

  --shadow: 0 0 20px hsla(0, 0%, 0%, 0.08);

  /**
   * radius
   */

  --radius-10: 10px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #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,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

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

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

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

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.2px;
}

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

::placeholder { color: var(--dim-gray); }

::-webkit-scrollbar {
  width: 12px;
  height: 2px;
}

body::-webkit-scrollbar-track { background-color: var(--white); }

body::-webkit-scrollbar-thumb {
  background-color: var(--spanish-gray);
  border: 3px solid var(--white);
  border-radius: 50px;
}





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

.container { padding-inline: 30px; }

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

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  position: absolute;
  content: "";
}

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

.section-subtitle {
  color: var(--theme-color);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
  margin-block-end: 6px;
}

.h1,
.h2,
.h3 {
  color: var(--black);
  font-family: var(--ff-poppins);
}

.h1 { font-size: var(--fs-30); }

.h1,
.h2 {
  font-weight: var(--fw-800);
  text-transform: uppercase;
}

.h2 {
  font-size: var(--fs-25);
  line-height: 1.2;
}

.h1,
.h3 { line-height: 1.4; }

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

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

:is(.portfolio, .news) .section-title { margin-block-end: 60px; }

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-10);
}

.card-content {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  background-color: var(--white);
  border-radius: var(--radius-8);
  padding: 20px 25px;
  display: grid;
  align-content: flex-end;
  opacity: 0;
  transition: var(--transition);
}

.card:is(:hover, :focus-within, :active) .card-content { opacity: 1; }

.card-content > ion-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--black);
  font-size: 40px;
  transform: rotate(-45deg);
}

.card-text { font-family: var(--ff-poppins); }

.has-scrollbar {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-block-end: 30px;
  margin-block-end: -15px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar-track { background-color: var(--black_20); }

.has-scrollbar::-webkit-scrollbar-thumb { background-color: var(--black_70); }

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 25px); }




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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-block: 15px;
  border-block-end: 1px solid var(--black_10);
  z-index: 4;
}

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

.logo {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: 3.2rem;
  line-height: 0.9;
  font-weight: var(--fw-700);
}

.nav-toggle-btn .line {
  width: 30px;
  height: 2px;
  background-color: var(--black);
  transition: var(--transition);
}

.nav-toggle-btn .line:not(:last-child) { margin-block-end: 8px; }

.nav-toggle-btn.active .line-1 { transform: translateY(10px) rotate(45deg); }

.nav-toggle-btn.active .line-2 {
  transform: translateX(-100%);
  opacity: 0;
}

.nav-toggle-btn.active .line-3 { transform: translateY(-10px) rotate(-45deg); }

.navbar {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-inline: 30px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.3s var(--cubic-out);
}

.navbar.active {
  max-height: 250px;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list { margin-block: 25px; }

.navbar-link {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
/* Mobile Slide Down Button Styles */

/* Show and center the slide-down-btn on mobile */
@media (max-width: 768px) {
  .slide-down-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 30px auto 0;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--theme-color, #007bff);
    border-radius: 50%;
    color: var(--theme-color, #007bff);
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: bounce 2s infinite;
  }
  
  .slide-down-btn:hover {
    background: var(--theme-color, #007bff);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .slide-down-btn ion-icon {
    transition: transform 0.3s ease;
  }
  
  .slide-down-btn:hover ion-icon {
    transform: translateY(2px);
  }
  
  /* Center the entire hero content on mobile */
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Adjust hero elements for better mobile centering */
  .hero-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .hero-list .list-link {
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 200px;
    transition: all 0.3s ease;
  }
  
  .hero-list .list-link:hover {
    background: var(--theme-color, #007bff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Center social links */
  .exp-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
  }
  
  .exp-list .list-item {
    justify-content: center;
    text-align: center;
  }
  
  .social-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
  }
  
  .social-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* Center resume download button */
  .resume-download {
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--theme-color, #007bff);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 200px;
  }
  
  .resume-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: var(--theme-color-dark, #0056b3);
  }
}

/* Bounce animation for slide-down button */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Tablet view adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .slide-down-btn {
    display: flex !important;
    margin: 20px auto 0;
  }
  
  .hero-content {
    text-align: center;
  }
}

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

.skills-banner { display: none; }

.skills { background-color: var(--black); }

.skills .section-title { color: var(--white); }

.skills .section-text {
  color: var(--gray-x-11);
  margin-block: 40px 45px;
}

.skills-item:not(:last-child) { margin-block-end: 25px; }

.skills-list .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-family: var(--ff-poppins);
  margin-block-end: 10px;
}

.skill-title {
  font-size: unset;
  font-weight: unset;
}

.skills .progress-box { background-color: var(--white_10); }

.skills .progress {
  background-color: var(--theme-color);
  height: 8px;
}





/*-----------------------------------*\
  #TIMELINE
\*-----------------------------------*/

.timeline-item {
  padding-block: 20px;
  font-size: var(--fs-18);
  display: grid;
  gap: 15px;
}

.timeline-item:not(:last-child) { border-block-end: 1px solid var(--black_10); }

.timeline-item .item-period { font: unset; }

.timeline-item .item-title { color: var(--black); }





/*-----------------------------------*\
  #PRICEING
\*-----------------------------------*/

.pricing { background-color: var(--cultured); }

.pricing .section-text { margin-block-end: 60px; }

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

.pricing-card {
  --color: var(--black);
  --icon-color: var(--theme-color);

  background-color: var(--white);
  border-radius: var(--radius-10);
  box-shadow: var(--shadow);
  line-height: 1.2;
  padding: 30px;
  transition: var(--transition);
}

.pricing-card ion-icon {
  color: var(--icon-color);
  flex-shrink: 0;
  font-size: 25px;
  transition: var(--transition);
}

.pricing-card .card-title {
  color: var(--color);
  font: unset;
  font-family: var(--ff-poppins);
  margin-block: 14px 10px;
  transition: var(--transition);
}

.pricing-card .card-price {
  color: var(--color);
  font-family: var(--ff-poppins);
  transition: var(--transition);
}

.pricing-card:is(:hover, :focus-within) {
  background-color: var(--theme-color);
  --color: var(--white);
  --icon-color: var(--white);
}





/*-----------------------------------*\
  #NEWS
\*-----------------------------------*/

.news-card .card-text { margin-block-end: 5px; }





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

.contact { background-color: var(--cultured); }

.contact-list { margin-block: 40px 50px; }

.contact-item:not(:last-child) { margin-block-end: 22px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item ion-icon {
  color: var(--theme-color);
  font-size: 22px;
  flex-shrink: 0;
  --ionicon-stroke-width: 25px;
}

.contact-link {
  color: var(--black);
  font-family: var(--ff-poppins);
}

.input-field {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: var(--fs-13);
  letter-spacing: 1.4px;
  border: 1px solid var(--black_10);
  padding: 10px;
  margin-block-end: 30px;
  outline: none;
  transition: border var(--transition);
}

.input-field:focus { border-color: var(--black_30); }

textarea.input-field {
  resize: vertical;
  min-height: 45px;
  height: 45px;
  max-height: 100px;
}

.submit-btn {
  background-color: var(--theme-color);
  color: var(--white);
  width: 100%;
  font-size: var(--fs-17);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  transition: var(--transition);
}

.submit-btn:is(:hover, :focus) { background-color: var(--black); }

.submit-btn ion-icon { transition: var(--transition); }

.submit-btn:is(:hover, :focus) ion-icon { transform: rotate(-45deg); }





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

.footer {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding-block: 30px;
}

.copyright { margin-block-end: 10px; }

.copyright-link { display: inline-block; }

.copyright-link:is(:hover, :focus) { text-decoration: underline; }

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

.social-link { font-size: 17px; }





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

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

@media (min-width: 576px) {

  /**
   * REUSED STYLE
   */

  .scrollbar-item { min-width: calc(50% - 20px); }



  /**
   * HERO
   */

  .exp-list {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
  }

  .exp-list .list-item:not(:last-child) { margin-block-end: 0; }



  /**
   * PRICING
   */

  .pricing-card {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .pricing-card .card-title {
    margin-block: 0;
    margin-inline-end: auto;
  }

}





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

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-30: 3.5rem;
    --fs-25: 3rem;

  }



  /**
   * REUSED STYLE
   */

  .h3 { --fs-18: 2rem; }

  .card-content { padding: 30px 35px; }

  .card-content > ion-icon {
    top: 30px;
    right: 30px;
  }



  /**
   * TIMELINE
   */

  .timeline-item {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }



  /**
   * PRICING, CONTACT
   */

  .pricing-card,
  .contact-link { font-size: var(--fs-18); }



  /**
   * FOOTER
   */

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

  .copyright { margin-block-end: 0; }

}





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

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-35: 4.5rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }
  


  /**
   * REUSED STYLE
   */

  .container { padding-inline: 50px; }



  /**
   * HEADER
   */

  .header {
    background-color: transparent;
    border-block-end: none;
    padding-block: 25px;
    transition: var(--transition);
  }

  .header.active {
    background-color: var(--white);
    padding-block: 20px;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
    transition: var(--transition);
  }

  .navbar { visibility: hidden; }

  .navbar.active { visibility: visible; }

  .navbar-list {
    display: flex;
    gap: 20px;
    margin-block: 0;
  }

  .navbar-link {
    opacity: 0;
    transform: translateX(20px);
    font-weight: var(--fw-400);
    transition: var(--transition);
  }

  .navbar.active .navbar-link {
    opacity: 1;
    transform: translateX(0);
  }

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



  /**
   * HERO
   */

  .hero {
    --section-padding: 70px;
    padding-block-start: calc(var(--section-padding) + 60px);
    min-height: 100vh;
    display: grid;
    align-items: center;
  }

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

  .hero-banner {
    order: 1;
    width: 250px;
    margin-inline: auto 80px;
    margin-block-end: 0;
    overflow: visible;
    transform: rotate(7deg);
  }

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

  .hero-banner::before {
    bottom: -40px;
    left: -95px;
    width: 90%;
    height: 100%;
    background-color: var(--theme-color);
    z-index: -1;
    transform: rotate(-15deg);
    border-radius: var(--radius-10);
  }

  .exp-list .span { --fs-13: 1.4rem; }

  .slide-down-btn {
    display: block;
    color: var(--black);
    font-size: 40px;
    max-width: max-content;
    margin-block-start: 40px;
    transition: var(--transition);
    animation: scrollDown 2s ease infinite;
  }

  .slide-down-btn:is(:hover, :focus) { color: var(--theme-color); }

  @keyframes scrollDown {
    0% { transform: translateY(0); }
    30% { transform: translateY(20px); }
  }



  /**
   * SKILLS
   */

  .skills .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
  }

  .skills-banner {
    display: block;
    position: absolute;
    top: 0;
    right: 50px;
    width: 410px;
    height: 620px;
    background-image: url('../images/portfolio-2.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 105%;
    background-attachment: fixed;
    overflow: hidden;
  }



  /**
   * TIMELINE
   */

  .timeline-item { padding-block: 30px; }



  /**
   * PRICING
   */

  .pricing .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 200px;
  }

  .pricing-content {
    position: sticky;
    top: 120px;
  }

  .pricing .section-text { margin-block-end: 0; }



  /**
   * CONTACT
   */

  .contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 200px;
  }

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

}





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

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1170px;
    width: 100%;
    margin-inline: auto;
  }

  .has-scrollbar { gap: 40px; }

  .scrollbar-item { min-width: calc(33.33% - 26.66px); }

  :is(.portfolio, .news) .section-title { margin-block-end: 80px; }



  /**
   * HEADER
   */

  .header .container { max-width: unset; }

  

  /**
   * HERO
   */

  .hero-banner { width: 275px; }

}


.social-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.social-link-item:hover {
  transform: translateY(-2px);
}

.social-link-item ion-icon {
  transition: var(--transition);
}

.social-link-item:hover ion-icon {
  transform: scale(1.1);
}

.tech-card {
  background-color: var(--white);
  border-radius: var(--radius-10);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.15);
}

.tech-icon-wrapper {
  margin-bottom: 20px;
}

.tech-content {
  text-align: center;
}

.tech-title {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: var(--fs-18);
  font-weight: var(--fw-600);
  margin-bottom: 8px;
}

.tech-description {
  color: var(--sonic-silver);
  font-size: var(--fs-13);
  font-weight: var(--fw-400);
}


.project-card {
  cursor: pointer;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.15);
}

.project-tech-preview {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tech-tag {
  background-color: var(--theme-color);
  color: var(--white);
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: var(--fw-500);
}

/* Modal Styles */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-10);
  max-width: 900px;
  max-height: 90vh;
  width: 90%;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--light-gray);
}

.modal-title {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: var(--fs-25);
  font-weight: var(--fw-700);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--sonic-silver);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--theme-color);
}

.modal-body {
  padding: 30px;
}

.project-image {
  margin-bottom: 30px;
}

.modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-8);
}

.project-details h3 {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: var(--fs-18);
  font-weight: var(--fw-600);
  margin-bottom: 15px;
}

.project-description,
.project-features,
.project-technologies {
  margin-bottom: 25px;
}

.project-description p {
  color: var(--sonic-silver);
  line-height: 1.8;
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  color: var(--sonic-silver);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.project-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--theme-color);
  font-weight: bold;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list .tech-tag {
  padding: 8px 12px;
  font-size: 13px;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.project-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-8);
  font-size: var(--fs-13);
  font-weight: var(--fw-600);
  text-decoration: none;
  transition: var(--transition);
}

.live-btn {
  background-color: var(--theme-color);
  color: var(--white);
}

.live-btn:hover {
  background-color: var(--black);
}

.github-btn {
  background-color: var(--black);
  color: var(--white);
}

.github-btn:hover {
  background-color: var(--theme-color);
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  
  .project-links {
    flex-direction: column;
  }
}

.card-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10; /* Landscape ratio instead of portrait */
    overflow: hidden;
}

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

/* Resume Download Button */
.resume-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.resume-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.resume-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(238, 90, 36, 0.6);
}

.resume-download:hover::before {
    left: 100%;
}

.resume-download ion-icon {
    font-size: 20px;
}
.exp-list {
    margin-bottom: 40px; /* Increase space after social icons */
}

/* Skills Icons Styling */
.skill-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.skill-icon {
  font-size: 24px;
  color: #007bff;
  transition: all 0.3s ease;
}

/* Specific icon colors */
.aws-icon {
  color: #ff9900;
}

.docker-icon {
  color: #2496ed;
}

/* Enhanced skills item */
.skills-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.skills-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skills-item:hover .skill-icon {
  transform: scale(1.1);
}

/* Enhanced progress bar */
.progress-box {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  height: 8px;
  margin-top: 15px;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #ee5a24);
  border-radius: 10px;
  transition: width 0.8s ease;
  position: relative;
}

.progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Wrapper improvements */
.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.skill-value {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}


/* Tech Orbit Animation */
.tech-orbit {
  position: relative;
  width: 300px;
  height: 300px;
}

.tech-icon-float {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: orbit 12s linear infinite;
  animation-delay: var(--delay);
  transform-origin: var(--radius) 0;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
}

.tech-icon-float.inner {
  width: 40px;
  height: 40px;
  animation-duration: 8s;
  animation-direction: reverse;
}

.tech-icon-float ion-icon {
  font-size: 24px;
  color: #fff;
  transition: all 0.3s ease;
}

.tech-icon-float:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))) scale(1.2);
}

/* Central Hub */
.central-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.central-hub ion-icon {
  font-size: 32px;
  color: #fff;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 3s infinite;
}

/* Floating Particles */
.particle {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
  animation-delay: var(--delay);
}

/* Animations */
@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
  }
  to {
    transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg)) translateX(var(--radius)) rotate(calc(-1 * (var(--angle) + 360deg)));
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-banner {
    min-height: 300px;
  }
  
  .tech-orbit {
    width: 200px;
    height: 200px;
  }
  
  .tech-icon-float {
    width: 40px;
    height: 40px;
  }
  
  .tech-icon-float ion-icon {
    font-size: 20px;
  }
}

/* Right Side Skills Banner - Animated Tech Visualization */
.skills-banner {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Floating Tech Icons Container */
.skills-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  animation: rotate 20s linear infinite;
}

.skills-banner::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: rotate 15s linear infinite reverse;
}

/* Add this to your HTML inside .skills-banner div */



/* Light Theme Timeline Styling */
.section.timeline {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.section-subtitle {
  color: #ff6b6b;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  color: #212529;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 2px;
}

/* Timeline List */
.timeline-list {
  position: relative;
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #007bff, #6c757d);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  animation: slideInTimeline 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

.timeline-item:nth-child(odd) {
  justify-content: flex-end;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 40px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 40px;
}

/* Timeline Icon */
.timeline-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-icon:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.timeline-icon ion-icon {
  font-size: 24px;
  color: white;
}

/* Education vs Experience Icons */
.education-item .timeline-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.experience-item .timeline-icon {
  background: linear-gradient(135deg, #007bff, #6f42c1);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Timeline Content */
.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  width: 100%;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 15px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent white;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Content Styling */
.item-period {
  color: #007bff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.item-title {
  color: #212529;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.item-address {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-item:nth-child(odd) .item-address {
  justify-content: flex-end;
}

.address-icon {
  font-size: 16px;
  color: #007bff;
}

/* Description Styling */
.item-description {
  margin-top: 15px;
}

.description-title {
  color: #495057;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
}

.item-description-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item-description-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  color: #c08542;
  font-size: 14px;
  line-height: 1.5;
}

.timeline-item:nth-child(odd) .item-description-list li {
  justify-content: flex-end;
  text-align: right;
  flex-direction: row-reverse;
}

.check-icon {
  font-size: 16px;
  color: #28a745;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Animations */
@keyframes slideInTimeline {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-list::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start !important;
    text-align: left !important;
  }
  
  .timeline-item .timeline-content {
    margin-left: 70px !important;
    margin-right: 0 !important;
    max-width: calc(100% - 90px);
  }
  
  .timeline-icon {
    left: 30px !important;
    transform: translateX(-50%) !important;
  }
  
  .timeline-content::before {
    left: -15px !important;
    right: auto !important;
    border-width: 10px 15px 10px 0 !important;
    border-color: transparent white transparent transparent !important;
  }
  
  .item-address {
    justify-content: flex-start !important;
  }
  
  .item-description-list li {
    justify-content: flex-start !important;
    text-align: left !important;
    flex-direction: row !important;
  }
}