*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior:smooth;
    font-family: -apple-system,sans-serif;
}

:root {
    --bg-color: #0f172a; /* Deep Navy Blue (Background) */
    --text-color: #f8fafc; /* Soft White (Text) */
    --main-color: #1dd1f5; /* Sky Blue (Primary) */
    --snd-bg-color: #1e293b; /* Dark Blue-Gray (Secondary) */
    --accent-color: #d64e65; /* Vivid Pink-Red (Accent) */
}



html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
}

section{
    min-height:100vh;
    padding: 10rem 9% 2rem;
}
/* header section code  */
.header{
    position:fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    background-color: var(--main-color);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    flex-wrap: wrap;
}

.logo{
    font-size: 3rem;
    color: var(--bg-color);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover{
    transform: scale(1.05);
}

.navbar a {
    font-size: 1.9rem;
    color: var(--bg-color);
    margin-left: 4rem;
    font-weight: 700;
    transition: 0.3s ease;

}

.navbar a:hover,
.navbar a:active{
    color: var(--text-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--bg-color);
    cursor: pointer;
    display: none;
}

/*Home section code   */

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img{
    width: 25vw;
    border-radius: 70%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    animation: floatImage 4s ease-in-out infinite;
    transition: 0.4s ease;
}

.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 35px var(--main-color),
                0 0 45px var(--main-color);
}

@keyframes floatImage {
    0%{
        transform: translateY(0) ;
    }
    50%{
        transform: translateY(-2.4rem) ;
    }
    100%{
        transform: translateY(0) ;
    }
}

.home-content {
    margin-left: 5rem;
}

.home-content h3 {
    font-size: 3.7rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}

span{
    color: var(--main-color);
}

.home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2) translateY(-10px);
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing:0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 1.6rem;
    
}
/*About section Code  */

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--snd-bg-color);
}

.about-img img {
    width: 25vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease;
}

.about-img img:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 35px var(--main-color),
                0 0 45px var(--main-color);
}

.heading {
    font-size: 6rem;
    text-align: left;
}

.about-content {
    padding: 0 4rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 3rem;
}

.about-content p {
    font-size: 1.6rem;
    margin:2rem 0 3rem;

}
/* Skills Section Code */

.skills h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.skills-container .skills-box {
    flex: 1 1 30rem;
    background: var(--snd-bg-color);
    padding: 4rem 2rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.3rem solid var(--bg-color);
    transition: 0.3s ease;
}

.skills-container .skills-box:hover {
    border-color: var(--main-color);
    transform: scale(1.05);
}

.skills-box i {
    font-size: 6rem;
    color: var(--main-color);
}

.skills-box h3 {
    font-size: 2.4rem;
    margin-top: 1rem;
}

.skills-box p {
    font-size: 1.6rem;
    margin: 1rem 0;
}
/* Education Section */
.education {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background: var(--snd-bg-color);
    padding: 5rem 10%;
}

.education .heading {
    font-size: 6rem;
    text-align: left;
    color: var(--main-color);
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
}

.education-box {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
}

.education-box:hover {
    box-shadow: 0 0 20px var(--main-color),
                0 0 30px var(--main-color),
                0 0 40px var(--main-color);
}

.education-box h3 {
    font-size: 3rem;
    color: var(--main-color);
}

.education-box p {
    font-size: 1.6rem;
    margin-top: 1rem;
    color: #ddd;
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background: var(--snd-bg-color);
    text-align: center;
}

.projects .heading {
    font-size: 6rem;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 5rem;
}

/* Project Container */
.projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background: var(--bg-color); /* Matches Skills Section background */
    text-align: center;
}

.projects .heading {
    font-size: 6rem;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 5rem;
}

/* Project Container */
.projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Project Box */
.projects-container .project-box {
    flex: 1 1 30rem;
    background: var(--snd-bg-color); /* Changed to match Skills Section */
    padding: 4rem 2rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.3rem solid var(--bg-color);
    transition: 0.3s ease;
}

.projects-container .project-box:hover {
    border-color: var(--main-color);
    transform: scale(1.05);
}

.project-box h3 {
    font-size: 2.4rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.project-box p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.project-box .btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.6rem;
    transition: 0.3s ease;
}

.project-box .btn:hover {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}


/* Contact Section */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10rem 9% 2rem;
    min-height: 100vh;
    background: var(--snd-bg-color); /* Same as Home section */
    color: var(--text-color);
}

.contact .heading {
    font-size: 6rem;
    margin-bottom: 4rem;
    font-weight: bold;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--snd-bg-color); /* Matching the Home Section */
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 0 15px var(--main-color);
    width: 50%;
    max-width: 600px;
}

.input-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.input-box input,
textarea {
    width: 100%;
    padding: 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1.6rem;
    background: var(--bg-color);
    color: var(--text-color);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

textarea {
    height: 150px;
    resize: none;
}

.contact .btn {
    margin-top: 2rem;
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.contact .btn:hover {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}


  @media screen and (max-width:760px) {
    .about-content{
        grid: template columns 1fr; ;
    }

    .education-box:hover{
        
    }
  }