* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, Helvetica, sans-serif;
  }
  
html {
        scroll-behavior: smooth;
        zoom: 0.85;
    }

body {
      background: #f2f2e6;

    }

 .button-home {
    position: fixed;
    top: 20px;
    right: 385px;
    background-color: #ffcc33;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border: 3px solid black;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 4px 4px 0 black;
    transition: all 0.2s ease;
    z-index: 1000;

    }
    .button-home:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 rgb(116, 116, 116);
    }

    .button-about {
    position: fixed;
    top: 20px;
    right: 277px;
    background-color: #ffcc33;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 4px 4px 0 black;
    transition: all 0.2s ease;
    z-index: 1000;

    }
    .button-about:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 rgb(116, 116, 116);
    }

 .button-skills {
    position: fixed;
    top: 20px;
    right: 175px;
    background-color: #ffcc33;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border: 3px solid black;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 4px 4px 0 black;
    transition: all 0.2s ease;
    z-index: 1000;

    }
    .button-skills:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 rgb(116, 116, 116);
    }

     .button-touch {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ffcc33;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border: 3px solid black;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 4px 4px 0 black;
    transition: all 0.2s ease;
    z-index: 1000;

    }
    .button-touch:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 rgb(116, 116, 116);
    }



.card {
    margin-top:80px;
    background: #ffcc33;
    width: 1000px;
    height: 500px;
    padding: 40px;
    border-radius: 20px;
    border: 6px solid black;
    box-shadow: 12px 12px 0 black;
    }

.top {
    text-align: center;
    margin-bottom: 30px;
    }

.top h1 {
    font-size: 64px;
    font-weight: 800;
        }

.top p {
        font-size: 20px;
        font-weight: 600;
    }

    
.name-box {
        background: #f2f2e6;
        border: 5px solid black;
        border-radius: 16px;
        height: 200px;
        width: 800px;
        padding: 40px;
        text-align: center;
        margin: 0 auto;      
    }

.name-box h2 {
         font-size: 72px;
          font-weight: 900;
          line-height: 1.1;
    }

.about {
    
      max-width: 800px;
      padding: 80px 40px;
}

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-h2{
      color: #FFD43B;
      font-size: 35px;
      margin-bottom: 20px;
}

.about-section{
    margin-top: 100px;
    min-height: 100vh;
    padding: 100px 80px;

}

.about-left {
    display: flex;
    flex-direction: column;
    gap:20px;
    justify-content: space-between;
    height: 350px;
    /* margin-top: -280px; */
     margin-left: 80px; 
    
}

.about-p{
    line-height: 1.3;
    color: #374151;
    font-size: 28px;
    font-weight: 200;
    max-width: 500px;
    margin-top:50px;
    margin-left: 50px;
}

.about-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 48px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.25s ease;

    color: transparent;                 
    -webkit-text-stroke: 2.5px #202b3b;  

}

.about-title:hover {
    -webkit-text-stroke: 2px #494949;
    text-shadow:
        2px 2px 0 #272727,
        0 0 10px #00bfff,
        0 0 20px #1e90ff,
        0 0 40px #66ccff;

    transform: scale(1.05);
}


#about {
    scroll-margin-top: 100px;
}

.about {

    height: auto;
    max-width: 800px;
    margin-left: 30px;
    margin-bottom: 120px;
    padding: 60px 40px;
}



.about-heading-row{
    display: flex;
    align-items: baseline;
    gap: 15px;


}

.open-brace {
    color: #ff9e02;
    font-size: 60px;
    position: relative;
    top: -10px;
}

.close-brace {
    color: #ff9e02;
    font-size: 60px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 80px;

}

.close-brace2 {
    color: #ff9e02;
    font-size: 60px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 80px;

}


/* ===== SKILLS GRID ===== */

/* #skills {
    grid-template-columns: 1fr;  /* remove 2-column layout */
 */

#skills {
    padding: 120px 0;
    scroll-margin-top: 100px;
    padding-bottom: 200px;

}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    justify-items: center;
}

.skill-card {
    background: #ffcc33;
    border: 4px solid black;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    box-shadow: 4px 4px 0 rgb(171, 171, 171);
    transition: all 0.2s ease;
    position: relative;       
    overflow: visible;  
    width: 100%;
    max-width: 270px;
}

.skill-card:hover {
    transform: translate(4px, 4px);
    box-shadow: 3px 3px 0 black;
}


.skill-card p {
    font-weight: 600;
    font-size: 20px;
}

.skill-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px auto;
}


/* ===== CONTACT SECTION ===== */

.contact-section {
    padding: 120px 80px;
    margin-bottom: 220px;
    scroll-margin-top: 100px;
    margin-top: 250px;
}

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

.contact-left h1 {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    margin-left: 100px;
}

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

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 3px solid black;
    background: #e5e5e5;
    font-size: 16px;
    resize: none;
}

.contact-form button {
    margin-top: 20px;
    background: #ffcc33;
    border: 4px solid black;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 5px 5px 0 black;
    transition: all 0.2s ease;
}

.contact-form button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
}

.marquee {
    margin-top: 20px;
    font-size: 28px;
    color: #fc1c33;
    font-weight: 400;
}



/* for mobile interface */
@media (max-width: 768px) {
    
    /* 1. Fix the Navigation Buttons */
    /* They are currently fixed with 'right' pixels, which overlaps on mobile */
    .button-home, .button-about, .button-skills, .button-touch {
        position: static; /* Let them flow naturally in a row/stack */
        display: inline-block;
        margin: 5px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    /* Optional: Wrap buttons in a container if you want them centered at the top */
    body {
        text-align: center; /* Centers the buttons and text on mobile */
        zoom: 1.0; /* Reset the zoom for mobile devices */
    }

    /* 2. Hero Card Adjustment */
    .card {
        width: 90%; /* Instead of 1000px */
        height: auto;
        padding: 20px;
        margin-top: 40px;
    }

    .top h1 {
        font-size: 40px; /* Smaller for mobile screens */
    }

    .name-box {
        width: 100%; /* Instead of 800px */
        height: auto;
        padding: 20px;
    }

    .name-box h2 {
        font-size: 32px; /* Scale down the big DARSHAN text */
    }

    /* 3. About Section */
    .about-section {
        padding: 40px 20px;
        margin-top: 50px;
    }

    .about-left {
        margin-left: 0;
        height: auto;
    }

    .about-title {
        font-size: 28px;
    }

    .about-p {
        font-size: 18px;
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }

    /* 4. Skills Grid */
    .skills-grid {
        grid-template-columns: 1fr; /* Force one card per row */
        gap: 30px;
    }

    /* 5. Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack "Let's Talk" on top of the Form */
        gap: 40px;
    }

    .contact-left h1 {
        font-size: 36px;
    }
    
    .contact-section {
        padding: 40px 20px;
        margin-top: 100px;
    }
}