/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700&display=swap');

/* ===== GLOBAL STYLES ===== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Inter', 'Unbounded', 'Arial', sans-serif;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    text-overflow: ellipsis;
    overflow: hidden;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
    padding: 40px 40px 40px 40px;
    scroll-behavior: auto;
}

/* ===== SECTIONS ===== */
section{
    min-height: 100vh;
    padding: 2rem 9% 2rem;
    position: relative;
    z-index: 1;
}

/* ===== HOME SECTION ===== */
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}

.home-content {
  opacity: 0;
  transform: translateX(-100%);
  animation: fadeInLeft 1s ease forwards;
  animation-delay: 1s; 
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
}

/* ===== COMMON ELEMENTS ===== */
span{
    color: #b74b4b;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

.social-icons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2s; 
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

/* ===== TIMELINE SECTION ===== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background-color: #b74b4b;
  z-index: 0; 
}

.timeline-item {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1; 
  transition: 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item.visible.left {
  animation: fadeInLeft 1s ease-out forwards;
}

.timeline-item.visible.right {
  animation: fadeInUpLogo 1s ease-out forwards;
}

.timeline-item.visible .timeline-icon i {
  animation: zoomIcon 0.8s ease-out forwards;
}

.timeline-item.visible .content {
  animation: float 2.2s ease-in-out infinite;
}

.timeline-item.left .timeline-icon,
.timeline-item.right .timeline-icon {
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-icon {
  position: absolute;
  left: 45%;
  z-index: 2;
  background-color: #111;
  border: 3px solid #b74b4b;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  position: relative;
  z-index: 2; 
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
  color: #b74b4b;
}

.timeline-icon:hover {
  color: black;
  transform: scale(1.3) translateY(-5px);
  background-color: #b74b4b;
  box-shadow: 0 0 25px #b74b4b;
}

.content {
  width: 35%;
  background-color: #1e1e1e;
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(183, 75, 75, 0.2);
  font-size: 1.1rem;
}

.content.left {
  margin-right: auto;
  margin-left: 50px;
  text-align: right;
  padding-right: auto;
}

.content.right {
  margin-left: auto;
  margin-right: -59px;
  text-align: left;
  padding-left: 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #b74b4b;
  margin-bottom: 3rem;
}

.skills-timeline {
    position: relative;
    max-width: 1000px;
    padding: 0 0 50px 0; 
    margin-bottom: 100px;
    margin-top: -80px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.between-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInBetween 1s ease forwards;
  animation-delay: 3.5s; 
}




/* ===== KEYFRAMES ===== */
@keyframes fadeInUpLogo {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIcon {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes navbarSlideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes navItemSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes navLinkSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInBetween {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes atmFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes screenPop {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(40px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

@keyframes skillFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes navFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 2.5rem 5rem 2.5rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  min-height: 650px;
  margin: 0 auto 4rem auto;
  font-size: 2.4rem;
}

.about-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.06) 0%,
    transparent 70%
  );
  filter: blur(40px);
  top: 10%;
  right: -10%;
  z-index: -1;
  opacity: 0.6;
}

.about-section::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.05) 0%,
    transparent 70%
  );
  filter: blur(40px);
  bottom: 10%;
  left: -10%;
  z-index: -1;
  opacity: 0.6;
}

.about-title {
  font-size: 4.2rem;
  color: #b74b4b;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.2), 0 0 15px rgba(56, 189, 248, 0.1);
  margin-bottom: 3.5rem;
  letter-spacing: 2px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: none;
}

.about-card {
  background: transparent;
  border-radius: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  border: none;
  backdrop-filter: none;
  padding: 4rem 3rem;
  margin-bottom: 2rem;
  max-width: 1100px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 2.2rem;
}

.about-card:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.about-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.08) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.about-grid {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 1.2rem;
  z-index: 1;
  position: relative;
  width: 100%;
}

.about-grid > div {
  flex: 1;
  background: rgba(30, 41, 59, 0.35);
  border-radius: 0.75rem;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.5);
  font-size: 1.7rem;
}

.about-grid > div:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  border-color: #b74b4b;
}

.about-grid > div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(56, 189, 248, 0.08),
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  z-index: -1;
}

.about-grid > div:hover::before {
  opacity: 1;
  transform: scale(1);
}

.big-label, .skill-modern-label, .footer-slogan, .footer-update {
  text-shadow: 0 0 6px rgba(0,255,255,0.10), 0 0 12px rgba(0,255,255,0.07);
}

.about-link {
  color: #38c6ff;
  text-decoration: underline;
  cursor: pointer;
  z-index: 2;
  position: relative;
  pointer-events: auto;
  transition: color 0.2s;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.about-link:hover {
  color: #b74b4b;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    min-height: 100vh;
    padding: 6rem 9% 2rem;
    background: #000 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.projects-section .about-heading {
    margin-bottom: 2.5rem;
}

.projects-section h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #b74b4b;
    letter-spacing: 0.07em;
    text-align: center;
    margin-bottom: 2.2rem;
    transition: color 0.5s;
    text-shadow: 0 2px 12px #b74b4b33;
    color: #fff;
    margin-top: 10px;
}

.projects-section .about-container {
    background: #232323;
    border-radius: 20px;
    box-shadow: 0 6px 32px 0 rgba(183, 75, 75, 0.22);
    padding: 48px 36px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    transition: box-shadow 0.3s, background 0.3s, transform 0.2s;
}

.projects-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.project-card {
    display: block;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(28, 28, 28, 0.8) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(183, 75, 75, 0.2);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(183, 75, 75, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.6rem;
    padding: 2.8rem 2.4rem;
    margin: 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    outline: none;
    overflow: hidden;
    font-weight: 500;
}

/* Animated gradient border effect */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(183, 75, 75, 0.3), 
        transparent, 
        rgba(183, 75, 75, 0.5),
        transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Shimmer effect */
.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
}

.project-card:focus {
    border-color: rgba(183, 75, 75, 0.6);
    box-shadow: 
        0 0 0 3px rgba(183, 75, 75, 0.3),
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.95) 0%, rgba(38, 38, 38, 0.9) 100%);
    border-color: rgba(183, 75, 75, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(183, 75, 75, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-8px) scale(1.02);
    color: #fff;
    text-decoration: none;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.project-card .project-title {
    color: #b74b4b;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: block;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(183, 75, 75, 0.3);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #b74b4b 0%, #d65555 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.project-card:hover .project-title {
    transform: translateY(-2px);
    text-shadow: 0 4px 16px rgba(183, 75, 75, 0.4);
}

.project-card .project-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-top: 0.6rem;
    display: block;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-weight: 400;
    transition: all 0.3s ease;
}

.project-card:hover .project-desc {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.project-card .project-meta {
    margin-top: 1.8rem;
    font-size: 1.1rem;
    color: rgba(183, 75, 75, 0.8);
    display: flex;
    gap: 1.6rem;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.project-card:hover .project-meta {
    color: rgba(183, 75, 75, 0.9);
    transform: translateY(-1px);
}

.project-card .project-meta i {
    margin-right: 0.5rem;
    color: #b74b4b;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-meta i {
    transform: scale(1.1);
}

/* ===== ATM SECTION ===== */
.atm-container {
    background: #181818;
    border-radius: 1.5rem;
    box-shadow: 0 0 20px #b74b4b44;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: atmFadeIn 1.2s cubic-bezier(0.4,0,0.2,1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.atm-screen {
    background: #222;
    border-radius: 1rem;
    padding: 2.2rem;
    width: 100%;
    min-height: 7rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #b74b4b;
    text-align: center;
    animation: screenPop 1.1s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 24px #b74b4b33;
}

form {
    width: 100%;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
    animation: fadeUp 1.1s cubic-bezier(0.4,0,0.2,1);
}

input[type="password"],
input[type="number"] {
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
    background: #222;
    color: #fff;
    border: 1px solid #b74b4b;
    width: 60%;
}

button {
    padding: 1.2rem 2.2rem;
    border-radius: 0.7rem;
    background: #b74b4b;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 0.3rem 0;
}

button:hover {
    background: #fff;
    color: #b74b4b;
    transform: scale(1.07) translateY(-2px);
}

#atm-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.safety-tips {
    background: #232323;
    color: #fff;
    border-radius: 0.8rem;
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    box-shadow: 0 0 10px #b74b4b22;
    width: 100%;
    max-width: 420px;
    animation: fadeUp 1.2s cubic-bezier(0.4,0,0.2,1);
}

.safety-tips ul {
    margin: 0;
    padding-left: 1.2rem;
}

.safety-tips li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* ===== TODO SECTION ===== */
.todo-container {
  background: #232323;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(183, 75, 75, 0.25), 0 1.5px 6px 0 #b74b4b33;
  padding: 44px 36px 36px 36px;
  margin-top: 60px;
  width: 100%;
  max-width: 440px;
  animation: fadeIn 1s;
  transition: box-shadow 0.3s, transform 0.2s, background 0.3s;
}

.todo-container:hover {
  box-shadow: 0 12px 40px 0 rgba(183, 75, 75, 0.38), 0 3px 12px 0 #b74b4b55;
  background: #242121;
  transform: translateY(-4px) scale(1.015);
}

.hint {
  color: #b74b4b;
  font-size: 1.08rem;
  margin-bottom: 20px;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.04em;
}

#taskInput {
  padding: 13px;
  font-size: 1.18rem;
  border-radius: 7px;
  border: 2px solid #b74b4b;
  margin-right: 10px;
  background: #181818;
  color: #fff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
  width: 62%;
  box-shadow: 0 1px 4px #b74b4b22;
}

#taskInput:hover, #taskInput:focus {
  border: 2px solid #b74b4b;
  background: #232323;
  box-shadow: 0 0 0 2px #b74b4b88;
}

#addBtn {
  padding: 13px 26px;
  background: linear-gradient(90deg, #b74b4b 60%, #a13a3a 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #b74b4b33;
  transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}

#addBtn:hover {
  background: #833535;
  color: #fff;
  border: 2px solid #b74b4b;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 16px #3a101044;
}

#taskList {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  width: 100%;
}

.task-item {
  background: #181818;
  margin-bottom: 13px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: 0 1px 6px #b74b4b22;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
}

.task-item:hover {
  background: #232323;
  box-shadow: 0 2px 12px #b74b4b33;
  border-left: 4px solid #b74b4b;
  transform: scale(1.01);
}

.task-checkbox {
  accent-color: #b74b4b;
  margin-right: 16px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: accent-color 0.2s;
}

.task-text {
  flex: 1;
  color: #fff;
  font-size: 1.22rem;
  transition: color 0.2s;
  user-select: text;
  word-break: break-word;
  letter-spacing: 0.01em;
}

.task-item.done .task-text {
  text-decoration: line-through;
  color: #b74b4b;
  opacity: 0.7;
}

.remove {
  color: #b74b4b;
  font-size: 1.4rem;
  margin-left: 18px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s, transform 0.1s, background 0.2s;
  padding: 2px 10px;
  border-radius: 5px;
}

.remove:hover {
  color: #b74b4b;
  background: transparent;
  transform: scale(1.18);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #232323;
}

::-webkit-scrollbar-thumb {
  background: #b74b4b;
  border-radius: 8px;
}

/* ===== MEDIA QUERIES ===== */

/* Max width 1200px */
@media (max-width: 1200px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-col {
    gap: 1.5rem;
  }

    nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1.9rem;
    background: transparent;
    position: 0;
    padding: 0;
    width: auto;
    border: none;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    white-space: normal;
  }

  .info-item label,
  .info-item span,
  .info-item a {
    font-size: 1.6rem;
    width: auto;
    min-width: unset;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .info-item label {
    font-weight: 600;
    color: #b74b4b;
  }
}

/* Max width 1000px */
@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }

    .logo a{
    font-size: 3.5rem;
  }
}

/* Max width 995px */
@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
         flex-direction: column;
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 0rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }

    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }

    .atm-container {
        padding: 1.5rem 0.5rem;
        max-width: 98vw;
    }
    h1 {
        font-size: 2rem;
    }
    .atm-screen {
        font-size: 1.1rem;
    }
    .logo {
        font-size: 1.5rem;
    }
}

/* Max width 970px */
@media (min-width: 950px) and (max-width: 970px) {
  .logo {
    font-size: 3.2rem; 
  }
}

/* Max width 900px */
@media (max-width: 900px) {
  .about-heading {
    margin-bottom: 3rem;
  }

  .about-heading h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .about-container {
    padding: 20px 5vw;
    width: 100%;
  }

  .about-box {
    width: 100%;
    padding: 30px 20px;
    margin-top: 0.5rem;
    height: auto;
  }

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

  .about-col {
    gap: 1rem;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    white-space: normal;
  }

  .info-item label,
  .info-item span,
  .info-item a {
    font-size: 1.2rem;
    width: auto;
    min-width: unset;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .info-item label {
    font-weight: 600;
    color: #b74b4b;
  }

  .about-box p {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .about-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}

/* Navigation responsive styles */
@media (max-width: 820px) {
  .container {
    width: 480px;
    height: 70px;
    top: 1.5rem;
    padding: 0.8em 1em;
  }
  
  .btn {
    font-size: 1.4rem;
    padding: 0.8em 1.2em;
    min-width: 70px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 420px;
    height: 65px;
    top: 1rem;
    padding: 0.6em 0.8em;
  }
  
  .btn {
    font-size: 1.2rem;
    padding: 0.6em 1em;
    min-width: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 360px;
    height: 60px;
    top: 0.5rem;
    padding: 0.5em 0.6em;
  }
  
  .btn {
    font-size: 1rem;
    padding: 0.5em 0.8em;
    min-width: 50px;
  }
}

/* Max width 768px */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .about-card {
    padding: 1.5rem 1rem;
    flex-direction: column;
    width: 100%;
    padding: 18px 8px;
  }
  
  .about-title {
    font-size: 2rem;
  }
  
  .about-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-grid > div {
    padding: 0.9rem 1.2rem;
  }

  .left-column, .right-column {
    width: 100%;
    gap: 15px;
  }

  .right-column {
    margin-top: 18px;
  }
}

/* Max width 700px */
@media (max-width: 700px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5vw;
  }

  .logo {
    font-size: 1.8rem; 
    white-space: nowrap;
  }

  nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    position: static;
    padding: 0;
    width: auto;
    border: none;
  }

  nav a {
    font-size: 1.8rem; 
    margin: 0;
    padding: 0.3rem 0;
    color: white;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
  }

  nav a:hover,
  nav a.active {
    color: #b74b4b;
    border-bottom: 2px solid #b74b4b;
  }

  .nav-toggle {
    display: none;
  }

  .about-box {
    padding: 18px 4vw;
    max-width: 98vw;
  }
  
  .about-box h2 {
    font-size: 1.2rem;
  }
  
  .about-box p,
  .about-box span,
  .about-box a {
    font-size: 0.95rem;
  }

  .projects-section .about-container {
        padding: 18px 4vw;
        max-width: 98vw;
    }
    
    .projects-section h1 {
        font-size: 2.2rem;
    }
    
    .project-card {
        font-size: 1.2rem;
        padding: 2.2rem 1.8rem;
        border-radius: 20px;
    }
    
    .project-card .project-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .project-card .project-desc {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .project-card .project-meta {
        margin-top: 1.4rem;
        font-size: 1rem;
        gap: 1.2rem;
    }
    
    .project-card .project-meta i {
        font-size: 1.1rem;
    }
}

/* Max width 600px */
@media (max-width: 600px) {
  .about-card {
    padding: 1.2rem 0.7rem;
  }
  
  .about-grid > div {
    padding: 0.8rem 1rem;
  }
}

/* Max width 500px */
@media (max-width: 500px) {
  nav a {
    font-size: 1.2rem;
    margin-left: 1rem;
    padding: 0.2rem 0.3rem;
  }
  
  nav a.active {
    font-size: 1.2rem;
  }
  
  .header{
    font-size: sma;
  }
  
  .about-heading {
    margin-bottom: 3rem; 
  }

 .home-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .home-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .about-heading h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .about-container {
    padding: 12px 3vw;
    width: 100%;
  }

  .about-box {
    width: 100%;
    padding: 24px 16px;
    margin-top: 0.5rem; 
    height: auto; 
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .about-col {
    gap: 0.7rem;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    white-space: normal;
  }

  .info-item label,
  .info-item span,
  .info-item a {
    font-size: 1rem;
    width: auto;
    min-width: unset;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .info-item label {
    font-weight: 600;
    color: #b74b4b;
  }

  .about-box p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .about-box h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
}

/* ===== MODERN PROJECTS PAGE ===== */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(183, 75, 75, 0.05) 0%, transparent 70%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(183, 75, 75, 0.1);
  border: 1px solid rgba(183, 75, 75, 0.2);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  color: #b74b4b;
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1.6rem;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 800;
}

.title-main {
  display: block;
  color: #fff;
}

.title-accent {
  display: block;
  color: #b74b4b;
  background: linear-gradient(135deg, #b74b4b 0%, #d65555 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(183, 75, 75, 0.1), rgba(183, 75, 75, 0.05));
  border: 1px solid rgba(183, 75, 75, 0.2);
  backdrop-filter: blur(20px);
}

.element-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 20%;
  animation: float 6s ease-in-out infinite;
}

.element-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

.element-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 60%;
  animation: float 4s ease-in-out infinite;
}

/* Projects Grid Section */
.projects-grid-section {
  padding: 8rem 2rem;
  min-height: 100vh;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 8rem;
}

/* Modern Project Cards */
.modern-card {
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(28, 28, 28, 0.8) 100%);
  border-radius: 24px;
  border: 1px solid rgba(183, 75, 75, 0.15);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(183, 75, 75, 0.1);
}

.modern-card:hover {
  transform: translateY(-10px);
  border-color: rgba(183, 75, 75, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(183, 75, 75, 0.2);
}

/* Clickable card styles */
.clickable-card {
  cursor: pointer;
  user-select: none;
}

.clickable-card:hover {
  transform: translateY(-10px);
}

.clickable-card:active {
  transform: translateY(-5px);
  transition: all 0.1s ease;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
}

.project-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(183, 75, 75, 0.2), rgba(183, 75, 75, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #b74b4b;
  border: 1px solid rgba(183, 75, 75, 0.2);
}

.project-status {
  display: flex;
  align-items: center;
}

.status-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.live {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.card-content {
  padding: 0 2rem 1rem;
}

.modern-card .project-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.modern-card .project-description {
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: rgba(183, 75, 75, 0.15);
  color: #b74b4b;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  border: 1px solid rgba(183, 75, 75, 0.2);
}

.card-footer {
  padding: 0 2rem 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #b74b4b, #a13a3a);
  color: white;
  padding: 1.2rem 2.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(183, 75, 75, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a13a3a, #8b2f2f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 75, 75, 0.4);
  color: white;
  text-decoration: none;
}

.btn-primary i {
  font-size: 1.2rem;
}

/* Projects Info Section */
.projects-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.info-card {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(183, 75, 75, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(183, 75, 75, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(183, 75, 75, 0.1);
  border-color: rgba(183, 75, 75, 0.2);
  transform: translateY(-4px);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(183, 75, 75, 0.2), rgba(183, 75, 75, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #b74b4b;
  margin: 0 auto 2rem;
  border: 1px solid rgba(183, 75, 75, 0.2);
}

.info-card h4 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.info-card p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for Modern Projects */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 6rem 1rem 4rem;
  }
  
  .hero-visual {
    height: 300px;
    margin-top: 4rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .projects-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  
  .hero-description {
    font-size: 1.6rem;
  }
}
