@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
}
header h1 {
    font-size: 40px;
    color: white;
    font-family: 'Sacramento', cursive;
}
header nav {
    display: flex;
    gap: 30px;
}
header nav a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 99px;
    transition: 0.3s;
    color: white;
}
header nav a.active {
    background-color: #2a2a7a;
}
header nav a:hover {
    background-color: #2a2a7a;
}
header nav:hover > a:not(:hover) {
    background: none;
}

@media (max-width: 1024px) {
    header {
        height: auto;
        padding: 15px 5%;
        justify-content: space-between; 
    }
    header h1 {
        font-size: 30px;
        display: inline-block;
    }
    header nav {
        flex-direction: row;
        gap: 15px;
        margin-top: 0;
    }
    header nav a {
        padding: 10px 20px;
        font-size: 16px;
    }
    .home .title   { font-size: 60px; }
    .home .subtitle { font-size: 1.1rem; letter-spacing: 3px; }
}

/* ── Hamburger button ──────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ── Drawer overlay ────────────────────────────────────── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Drawer panel ──────────────────────────────────────── */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 270px;
    height: 100%;
    background: linear-gradient(160deg, #0d0d40 0%, #1a1260 50%, #2c1978 100%);
    z-index: 400;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 72px 36px 40px;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.6);
    border-left: 1px solid rgba(184, 117, 255, 0.15);
}
.drawer.open {
    transform: translateX(0);
}

/* Close button (✕ made from two spans) */
.drawer-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.drawer-close span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(220, 210, 255, 0.8);
    border-radius: 2px;
    transition: background 0.2s;
}
.drawer-close span:nth-child(1) { transform: translateY(-50%) rotate(45deg); }
.drawer-close span:nth-child(2) { transform: translateY(-50%) rotate(-45deg); }
.drawer-close:hover span { background: #c38bff; }

/* Brand name inside drawer */
.drawer-brand {
    font-family: 'Sacramento', cursive;
    font-size: 2.2rem;
    color: rgba(220, 210, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(180, 120, 255, 0.5);
}

/* Drawer nav links */
.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.drawer-link {
    color: rgba(200, 185, 255, 0.8);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    letter-spacing: 1px;
    transition: color 0.2s ease, padding-left 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.drawer-link::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b875ff;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    transform: scale(0.5);
}
.drawer-link:hover {
    color: #d4aaff;
    padding-left: 8px;
}
.drawer-link:hover::before {
    opacity: 1;
    transform: scale(1);
}
.drawer-link:last-child { border-bottom: none; }

/* ── Mobile header tweaks ──────────────────────────────── */
@media (max-width: 700px) {
    header {
        justify-content: space-between;
        align-items: center;
        height: auto;
        padding: 16px 5%;
    }
    header h1 {
        display: inline-block;
        font-size: 28px;
    }
    header nav { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 480px) {
    header { padding: 14px 4%; }
    header h1 { font-size: 24px; }
}

.home {
    display: flex;
    height: 100dvh;
    background: linear-gradient(to top, #0a0a2e 0%, #1a1a5e 40%, #2d4a8a 70%, #4a7ab5 100%);
    position: relative;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.home img {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    animation: fadeInDown 1s ease both;
    will-change: transform, opacity;
    padding: 0 20px;
    width: 100%;
}

.home .title {
    color: white;
    font-size: 80px;
    text-shadow: 0 0 30px rgba(140, 180, 255, 0.8), 0 0 60px rgba(100, 150, 255, 0.4);
    letter-spacing: 2px;
}

.home .subtitle {
    color: rgba(210, 230, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 8px;
    text-shadow: 0 0 20px rgba(140, 180, 255, 0.6);
    animation: fadeInUp 1.2s ease both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.about {
    padding: 50px;
    background-color: #2a2a7a;
    color: white;
    position: relative;
    z-index: 100;
}
.about h1 {
    font-size: 40px;
}

.about p {
    font-size: 1.2em; 
}


.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0d0a5e; 
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #261452; 
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2a2a7a;
}

.skills {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #2f2f80;
    color: white;
    border-radius: 10px;
}

.heading h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: center;
}


/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
  background-color: #0f0080;   /* Normal background */
  color: #ccc;              /* Normal text */
  border: none;
  padding: 10px 18px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.7s ease;
}

.tab-btn:hover {
  background-color: #0124a0;
  color: #fff;
}

.tab-btn.active {
  background-color: #270497;  /* Highlight color */
  color: white;
  box-shadow: 0 0 8px rgba(36, 202, 235, 0.6);
}

/* Skills List */
.tab-content {
    display: none;
   
}

.tab-content.active {
    display: block;
}

.skill {
    margin-bottom: 15px;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 15px;
    font-family: serif;
}

.skill-name span {
    color: white;
}


.skill-name i {
    font-size: 20px;
    color: white;
}

.heading h1{
    color: white;
}
/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #a7aec4;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #3350b1;
    border-radius: 10px;
    transition: width 0.7s ease;
}

.progress::after {
    content: attr(data-progress);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(15, 7, 85); 
    font-size: 10px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills {
        max-width: 90%;
    }

    .tabs {
        flex-direction: row;
        gap: 5px;
    }

    .tab-btn {
        flex: none;
        font-size: 14px;
        padding: 8px;
    }

    .skill-name {
        font-size: 14px;
    }

    .progress-bar {
        height: 16px;
    }
}

@media (max-width: 480px) {
    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 100%;
    }

    .skill-name {
        font-size: 14px;
    }

    .progress-bar {
        height: 14px;
    }
}

/* General Styles */
#projects {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #2a2a7a; /* Purple background */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
  }
  
  .heading-project h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff; /* White text for better contrast */
  }
  
  /* Projects Grid */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #4a54ad; /* White background for the grid */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(231, 84, 84, 0.1); /* Add shadow for depth */
    padding: 20px; /* Add padding inside the grid */
    margin-bottom: 20px; /* Space at the bottom */
  }
  
  /* Project Item */
  .project-item {
    background: #433e94;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .project-info {
    padding: 20px;
  }
  
  .project-info h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: whitesmoke;
  }
  
  .project-info p {
    font-size: 1rem;
    color: #beb9cf;
    line-height: 1.5;
  }
  
 /* Project Image Container */
.project-img {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Prevent image overflow */
    height: 200px; /* Set a fixed height for the image container */
  }
  
  /* Image Styling */
  .project-img img {
    width: 100%; /* Make the image fill the container width */
    height: 100%; /* Make the image fill the container height */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    border-radius: 10px; /* Optional: Add rounded corners to the image */
  }
  

#Contact{
    padding: 40px 15%;
    background-color: #2a2a7a;
    height: 100%;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2,2fr);
    align-items: center;
    grid-gap: 6rem; 
}

.contact-img img{
    max-width: 100%;
    width: 720px; 
    height: auto;
    border-radius: 20px;

}

.contact-form h1{
    font-size: 50px;
    color:#fff;
    margin-bottom: 30px;
}

span{
    color:#230931; 
}

.contact-form p{
    color:#c6c7d8bf; 
    letter-spacing: 1px;
    line-height: 26px;
    font-size: 1.1rem;
    margin-bottom: 3.8rem;
}

.contact-form form{
    position: relative;
}

.contact-form form input, form textarea{
    width: 100%; 
    padding:17px; 
    border:none; 
    outline:none; 
    background:rgba(0, 0, 0, 0.5); 
    color:#fff;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;

}

.contact-form form .btn{
    display: inline-block;
    background-color: transparent;
    border: 2px solid #858d96; 
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 10px; 
    width: 220px; 
    transition: ease .20s;
    cursor: pointer; 
    color: #a29eb1; 
}

.contact-form form .btn:hover{
    border: 2px solid #c0bec9; 
    background:transparent; 
    transform: scale(1.01); 
    color: whitesmoke;
}

@media (max-width: 1024px) {
    #Contact {
        padding: 40px 5%; 
        grid-template-columns: 1fr; 
        align-items: start;
        grid-gap: 3rem; 
    }

    .contact-img {
        grid-column: 1; 
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-img img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form h1 {
        font-size: 30px;
    }

    .contact-form p {
        font-size: 1rem; 
        line-height: 1.4; 
    }

    .contact-form form .btn {
        width: 180px; 
        font-size: 1rem; 
    }
}
footer{
    background-color: #291c57;
}
.footerContainer{
    width: 100%;
    padding: 70px 30px 20px ;
}
.socialIcons{
    display: flex;
    justify-content: center;
}
.socialIcons a{
    text-decoration: none;
    padding:  10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i{
    font-size: 2em;
    color: black;
    opacity: 0,9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
    background-color: #111;
    transition: 0.5s;
}
.socialIcons a:hover i{
    color: white;
    transition: 0.5s;
}
.footerNav{
    margin: 30px 0;
}
.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a{
    color:white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;

}
.footerNav ul li a:hover{
    opacity: 1;
}

.footerBottom p{
    color: white;
}
.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

   #container{
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
   }

   button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more {
    width: 12rem;
    height: auto;
}

button.learn-more .circle {
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #918cd8; /* Black background color */
    border-radius: 1.625rem;
    transition: all 0.45s cubic-bezier(0.65, 0, .076, 1);
}

button.learn-more .circle .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff; /* White icon color */
    transition: all 0.45s cubic-bezier(0.65, 0, .076, 1);
}

button.learn-more .circle .icon.arrow {
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff; /* White border color */
    border-right: 0.125rem solid #fff; /* White border color */
    transform: rotate(45deg);
}

button.learn-more .button-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #e1e0ee; /* Black text color */
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.45s cubic-bezier(0.65, 0, .076, 1);
}

button.learn-more:hover .circle {
    width: 100%;
}

button.learn-more:hover .circle .icon.arrow {
    background: #fff; /* White icon color */
    transform: translate(1rem, 0);
}

button.learn-more:hover .button-text {
    color: #fff; /* White text color */
}

@media (max-width: 700px){
    .footerNav ul{
        flex-direction: column;
    } 
    .footerNav ul li{
        width:100%;
        text-align: center;
        margin: 10px;
    }
    .socialIcons a{
        padding: 8px;
        margin: 4px;
    }
}


@media (max-width: 768px) {
    .heading-project h1 {
      font-size: 2rem; /* Smaller font size for mobile */
    }
  
    .projects-grid {
      grid-template-columns: 1fr; /* Single column for mobile */
      gap: 15px; /* Smaller gap for mobile */
      padding: 0 10px; /* Smaller padding for mobile */
    }
  
    .project-item {
      margin-bottom: 15px; /* Add space between items */
    }
  
    .project-info h2 {
      font-size: 1.25rem; /* Smaller heading for mobile */
    }
  
    .project-info p {
      font-size: 0.9rem; /* Smaller text for mobile */
    }
  
    .project-img {
      height: 150px; /* Smaller image container for mobile */
    }
  }

   
/* Project Link Styling */
.project-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    display: block; /* Make the link fill the entire project item */
    cursor: pointer; /* Show pointer cursor on hover */
  }
  
  .project-link:hover {
    text-decoration: none; /* Ensure no underline on hover */
  }

  .footerContainer{
    background-color: #242466;/* Blue background */
  }

  .footerBottom{
    padding: 20px;
    text-align: center;
    background-color: #242466;/* Blue background */
  }

  section.experience {
      max-width: 850px;
      margin: 80px auto;
      padding: 40px;
      background: #2c1978;
      border-radius: 20px;
      box-shadow: 0 0 25px rgba(204, 231, 228, 0.2);
      backdrop-filter: blur(10px);
      font-size: large;
      position: relative;
    }

    .experience h2 {
      text-align: center;
      color: #ffffff;
      font-size: 2.2rem;
      margin-bottom: 50px;
      letter-spacing: 1px;
    }

    /* Vertical line */
    .vertical-line {
      position: absolute;
      left: 30px;
      top: 90px;
      bottom: 40px;
      width: 3px;
      background: linear-gradient(to bottom, #b875ff, rgba(184, 117, 255, 0));
      box-shadow: 0 0 15px rgba(184, 117, 255, 0.6);
      border-radius: 10px;
    }

    /* Each experience item */
    .exp-item {
      position: relative;
      display: flex;
      align-items: center;
      margin-bottom: 40px;
      margin-left: 60px;
    }

    /* Purple glowing bullet */
    .exp-item::before {
      content: '';
      position: absolute;
      left: -34px;
      top: 8px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background-color: #b875ff;
      box-shadow: 0 0 15px rgba(184, 117, 255, 0.7);
      transition: 0.5s;
    }

    .exp-content {
      flex-grow: 1;
      padding-right: 10px;
      transition: 0.5s;
    }

    .exp-item h3 {
      margin: 0;
      font-size: 1.3rem;
      color: #e5d1ff;
    }

    .exp-item span {
      font-size: 0.9rem;
      color: #bca6ff;
      display: block;
      margin-top: 4px;
    }

    .exp-item p {
      margin-top: 10px;
      color: #d5c3ff;
      line-height: 1.6;
    }

    /* Horizontal glowing line after text */
    .exp-line {
      height: 2px;
      flex: 1;
      background: linear-gradient(to right, #b875ff, rgba(184, 117, 255, 0));
      box-shadow: 0 0 10px rgba(184, 117, 255, 0.5);
      margin-left: 15px;
      opacity: 0.6;
      transition: all 0.3s ease;
    }

    /* Hover effects */
    .exp-item:hover::before {
      background-color: #d9aaff;
      box-shadow: 0 0 25px rgba(217, 170, 255, 1);
      transform: scale(1.3);
    }

    .exp-item:hover .exp-line {
      opacity: 1;
      background: linear-gradient(to right, #d9aaff, rgba(217, 170, 255, 0));
    }

    /* Current role badge */
    .exp-badge {
      display: inline-block;
      background: linear-gradient(135deg, #7c3aed, #4f46e5);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 2px 8px;
      border-radius: 20px;
      margin-left: 10px;
      vertical-align: middle;
      box-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
      animation: pulseBadge 2s ease-in-out infinite;
    }

    @keyframes pulseBadge {
      0%, 100% { box-shadow: 0 0 8px rgba(124, 58, 237, 0.6); }
      50%       { box-shadow: 0 0 20px rgba(124, 58, 237, 1); }
    }

    /* Glow the first (current) experience item */
    .exp-item:first-of-type .exp-content {
      border-left: 3px solid rgba(184, 117, 255, 0.5);
      padding-left: 12px;
      border-radius: 4px;
    }

    /* Smooth section fade-in on scroll */
    section.experience {
      animation: sectionFadeIn 0.8s ease both;
    }

    @keyframes sectionFadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }

/* ── Tablet (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {
    /* Hero text */
    .home .title   { font-size: 48px; letter-spacing: 1px; }
    .home .subtitle { font-size: 0.9rem; letter-spacing: 2px; }

    /* About */
    .about { padding: 30px 24px; }
    .about h1 { font-size: 28px; }
    .about p  { font-size: 1rem; }

    /* Experience */
    section.experience {
        margin: 40px 16px;
        padding: 28px 16px 28px 16px;
    }
    .experience h2 { font-size: 1.7rem; margin-bottom: 36px; }
    .vertical-line { left: 18px; top: 80px; }
    .exp-item {
        margin-left: 44px;
        margin-bottom: 28px;
        flex-direction: column;
        align-items: flex-start;
    }
    .exp-item::before { left: -28px; width: 14px; height: 14px; }
    .exp-line { display: none; }
    .exp-item h3   { font-size: 1.05rem; }
    .exp-item span { font-size: 0.8rem; }
    .exp-item p    { font-size: 0.88rem; }
    .exp-item:first-of-type .exp-content { padding-left: 10px; }
}

/* ── Mobile (≤480px) ─────────────────────────────────── */
@media (max-width: 480px) {
    /* Hero text */
    .home .title   { font-size: 34px; }
    .home .subtitle { font-size: 0.72rem; letter-spacing: 1.5px; }

    /* About */
    .about { padding: 24px 16px; }
    .about h1 { font-size: 24px; }
    .about p  { font-size: 0.95rem; }

    /* Experience */
    section.experience {
        margin: 24px 10px;
        padding: 20px 12px 20px 12px;
    }
    .experience h2 { font-size: 1.4rem; margin-bottom: 28px; }
    .vertical-line { left: 14px; top: 72px; }
    .exp-item {
        margin-left: 34px;
        margin-bottom: 22px;
    }
    .exp-item::before { left: -22px; width: 12px; height: 12px; top: 6px; }
    .exp-item h3   { font-size: 0.95rem; }
    .exp-item span { font-size: 0.75rem; }
    .exp-item p    { font-size: 0.83rem; }
    .exp-badge { font-size: 0.58rem; padding: 2px 6px; margin-left: 6px; }

    /* Skills */
    .skills { padding: 14px; }

    /* Projects */
    .projects-grid { padding: 12px; gap: 12px; }
    .project-img   { height: 140px; }
}