*{
    margin :0;
    padding :0;
    box-sizing :border-box;
    font-family:'Poppins';
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
    
    
}
header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: min(95vw, 1200px);
    background-color: rgba(0, 0, 0, 0.802);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
}
.typewriter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 2rem;
}

.typewriter {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 500;
    color: #555;
    min-height: 1.5rem;
    white-space: nowrap;
    border-right: 3px solid;
    padding-right: 5px;
    animation: blink 0.5s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}
.logo{
    font-size: 2rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0,157,255),rgb(255,0,255));
    background-clip:text;
    -webkit-background-clip:text;
    color:transparent;
}
.logo:hover{
    transform: scale(1.1); /*bigger*/
     color:white
    
}
.nav-links{
    display:flex;
    gap:2rem;
}
li a{
    position:relative;
    color:white;
    font-weight:300;
}
li a::before{
    position:absolute;
    content:'';
    width:0;
    left:0;
    height:5px;
    top:25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0,157,255),rgb(255,0,255));
}
li a:hover::before{
    width:100%; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.visit-btn{
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0,157,255), rgb(255,0,255));
}
.visit-btn:hover{
    background: linear-gradient(to right, rgb(255,0,255), rgb(0,157,255));
    transform: scale(1.03);
}
#menu-icon{
    font-size:2rem;
    display:none;
}
section{
    min-height: 100vh;
      scroll-margin-top: 100px;

    /* padding: 8rem 12%; */
    width:100%;
    position:relative;

}
#home {
    min-height: 100vh;       /* max height*/
    display: flex;
    align-items: center;     
    justify-content: center; 
    padding-top: 80px;       
    box-sizing: border-box;
    background: radial-gradient(circle at center,
    rgba(59,130,246,0.15),
    transparent 60%
    );
}

/* Update your home container to handle the 40:60 layout */
.home-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Pushes photo and text out nicely */
    flex-direction: row;
    width: 100%;
    max-width: 1200px; /* Optional: Keeps it from stretching too wide on massive screens */
    margin: 0 auto;
    padding: 2rem;
    gap: 7rem; /* Adds nice space between the picture and your content */
}

/* 40% side: The photo */
.home-container img {
    width: 25vw; 
    max-width: 600vx; 
    aspect-ratio: 1 / 1; /* Forces a perfect square so border-radius makes a perfect circle */
    object-fit: cover; 
    border-radius: 50%; /* Makes it perfectly round */
    flex: 0 0 40%; /* Tells it to take up exactly 40% of the layout */
    
}
.home-container img:hover{
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 60% side: The contents */
.info-box {
    display: flex;
    flex-direction: column;
    text-align: left; 
    align-items: flex-start; /* Aligns text and buttons to the left */
    justify-content: center;
    gap: 1.5rem;
    flex: 0 0 60%; 
}
.info-box h3,h2{
    font-size:1.8rem;
    font-weight:500;
    opacity:0.8;

}
.info-box h1{
    font-size:4.75rem;
    font-weight:600;
    color:rgb(63, 35, 18);
    background:linear-gradient(to right, rgb(0,157,255),rgb(255,0,255));
    background-clip:text;
    color:transparent;
    
}
.info-box:hover{
    backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 20px;
}
.btn-group{
    display:flex;
    gap:1.75rem;
}
.btn{
    border-radius: 3rem;
    padding:0.5rem 1.5rem;
    border:2px solid black;
    cursor:pointer;
    font-weight:500;
    text-wrap:nowrap;
    transition:0.2s ease-in-out;
}
.btn:hover{
    background-color:black;
    color:white;
}
.socials{
    display:flex;
    gap:1.5rem;

}
.socials i{
    font-size:2rem;
    cursor:pointer;
    transition:0.2s ease-in-out;
    
}
.socials a {
    color: inherit;         /* Takes the color of the parent container or text */
    text-decoration: none; 
    display: inline-block; 
}
.socials a:hover {
    color: #0077b5;        /* Change this to whatever color you want on hover (e.g., LinkedIn Blue) */
    transform: translateY(-3px); 
    transition: all 0.3s ease;   
}

.about-section{
    min-height:100vh;
    padding:8rem 12%;
    background: radial-gradient(
circle at center,
rgba(59,130,246,0.15),
transparent 60%
);
}

.section-title{
    text-align:center;
    font-size:3rem;
    margin-bottom:4rem;
}

.about-section:hover{
 backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 20px;
}

.about-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8rem;
}

/* SAME SIZE AS HOMEPAGE PHOTO */

.about-photo img{
    width:30vw;
    border-radius:50%;
    position:relative;
    aspect-ratio: 1 / 1; /* Forces a perfect square so border-radius makes a perfect circle */
    object-fit: cover; 
    flex: 0 0 40%; /* Tells it to take up exactly 40% of the layout */
    
}
.about-photo img:hover{
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* RIGHT SIDE */

.about-content{
    flex:1;
    order: 1;
    backdrop-filter: blur(10px);

}
.about-content:hover{
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-photo{
    order: 2;
}

.about-heading{
    font-size:4.5rem;
    margin-bottom:1.5rem;

    background:linear-gradient(
        to right,
        rgb(60, 20, 90),
        rgb(255, 0, 200)
    );

    background-clip:text;
    -webkit-background-clip:text;
    color:transparent;
}

.about-box{
    background:white;
    padding:2rem;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.about-box p{
    line-height:1.9;
    color:#5b5757;
    margin-bottom:1rem;
}

/* EDUCATION */

.education-section{
    margin-top:5rem;
     min-height:100vh;
    padding:8rem 12%;
}
.about-heading{
    text-align:center;
    font-size:4rem;
    margin-bottom:2rem;

    background:linear-gradient(
        to right,
        rgb(0, 37, 246),
        rgb(220, 82, 191)
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.education-card{
    display:flex;
    align-items:center;
    gap:1rem;

    padding:1rem;
    margin-bottom:1rem;

    background:white;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}
.education-card:hover{
   
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform:scale(1.005);
}



.edu-logo{
    width:90px;
    height:90px;
    border-radius:15px;
    overflow:hidden;
    flex-shrink:0;
}

.edu-logo img{
    width:100%;
    height:100%;
    object-fit:contain; /* shows full logo */
}

.edu-info h3{
    margin-bottom:0.5rem;
}

.edu-info p{
    color:#555;
    margin-bottom:0.5rem;
}

.edu-info span{
    color:#777;
}

.about-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4rem;
}

    .about-image{
        text-align:center;
    }

    .about-image img{
        width:280px;
    }

.skill-container{
    display:flex;
    justify-content:center;
   
    padding:8rem 12%;
    gap:26px;
    background: radial-gradient(
    circle at center,
  rgba(59,130,246,0.15),
    transparent 60%
);
    
}

.skill-card{
    width:300px;
    background:white;
    border-radius:15px;
    padding:25px;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    cursor:pointer;
    transition:0.4s;
}

.skill-card:hover{
    transform:scale(1.08);
   
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
    


.skill-card h3{
    text-align:center;
    margin-bottom:20px;
}
.skill-heading{
    text-align:center;
    font-size:3.75rem;
    margin-bottom:2rem;

    background:linear-gradient(
        to right,
        rgb(0, 37, 246),
        rgb(220, 82, 191));

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
   

}

.skill-item{
    display:flex;
    align-items:center;
    gap:12px;
    margin:15px 0;
}
.skill-item:hover{
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.skill-item img{
    width:35px;
    height:35px;
}
.section-title{
    text-align:center;
    font-size:5rem;
    font-weight: 600;
    margin-bottom: 3rem;

}
/* Fix navbar scrolling issue */
#experience {
  scroll-margin-top: 100px;
  padding: 6rem 10%;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

/* Cards Container */
.experience-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: auto;
  
}

/* Individual Card */
.experience-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #eaeaea;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border:2px solid black;
  cursor:pointer;
  
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
 
}
.section-title{
    text-align:center;
    font-size:7rem;
    font-weight:200;
    margin-bottom:2rem;
    background:linear-gradient(
        to right,
        rgb(0, 37, 246),
        rgb(220, 82, 191));

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Logo */
.card-header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f5f5;
  padding: 8px;
  flex-shrink: 0;
}
.card-header:hover{
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Position */
.card-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #111;
}

.card-header span {
  color: #666;
  font-size: 0.95rem;
}

/* List */
.experience-card ul {
  padding-left: 1.2rem;
}

.experience-card li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
  color: #555;
   list-style-type: disc;  
}
  .card-header img {
    width: 70px;
    height: 70px;
  }

  .section-title {
    font-size: 3.5rem;
  }

.input-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    text-align: center;
    gap:2rem;
    margin-top:1rem;

}
.input-box input:hover{
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.input{
    position:relative;
    
}

.input i{
    position:absolute;
    font-size:4rem;
    top:50%;
    left:10px;
    transform:translate(50%,-50%); /*-50% to right*/

}

.input-box input{
    border-radius:3rem;
    border:2px solid black;
    padding:2rem 8rem;
    font-size:3rem;
    
}
.input-box input::placeholder{
    font-size:3rem;
}
footer{
    bottom:0;
    left:0;
    height:10rem;
    width:100%;
    display:flex;
    flex-direction:column;
    gap:1rem;
    align-items:center;
    justify-content:center;

}
footer ul{
    display:flex;
    align-items:center;
    gap:3rem;

}
footer ul li a{
    color:black;
    font-weight:600;
}
.copyrights{
    font-size:300;
    margin-top:2rem;
    
}
@media (max-width: 1024px){

    .home-container{
        gap:3rem;
        padding:2rem;
    }

    .home-container img{
        width:35vw;
    }

    .info-box h1{
        font-size:3.5rem;
    }

    .about-wrapper{
        gap:2rem;
    }

    .about-photo img{
        width:35vw;
    }

    .skill-container{
        flex-wrap:wrap;
    }

    .skill-card{
        width:45%;
    }

}
@media (max-width:768px){

    header{
        padding:0.8rem 1rem;
    }

    .nav-links{
        display:none;
    }

    .visit-btn{
        display:none;
    }

    #menu-icon{
        display:block;
        color:white;
        cursor:pointer;
    }

    /* HOME */

    .home-container{
        flex-direction:column;
        text-align:center;
        gap:2rem;
    }

    .home-container img{
        width:60vw;
        max-width:280px;
    }

    .info-box{
        align-items:center;
        text-align:center;
    }

    .info-box h1{
        font-size:3rem;
    }

    .info-box h3{
        font-size:1.3rem;
    }

    .btn-group{
        flex-wrap:wrap;
        justify-content:center;
    }

    /* ABOUT */

    .about-wrapper{
        flex-direction:column;
        gap:2rem;
    }

    .about-photo{
        order:1;
    }

    .about-content{
        order:2;
    }

    .about-photo img{
        width:60vw;
        max-width:280px;
    }

    .about-heading{
        font-size:3rem;
        text-align:center;
    }

    /* EDUCATION */

    .education-card{
        flex-direction:column;
        text-align:center;
    }

    /* SKILLS */

    .skill-container{
        flex-direction:column;
        align-items:center;
        padding:4rem 5%;
    }

    .skill-card{
        width:100%;
        max-width:400px;
    }

    /* EXPERIENCE */

    .card-header{
        flex-direction:column;
        text-align:center;
    }

    /* CONTACT */

    .input-box input{
        width:100%;
        max-width:400px;
        padding:1rem 3rem;
        font-size:1rem;
    }

    .input-box input::placeholder{
        font-size:1rem;
    }

    .input i{
        font-size:1.5rem;
        left:0;
    }

    footer ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:1rem;
    }
}
@media (max-width:480px){

    section{
        padding-left:5%;
        padding-right:5%;
    }

    .info-box h1{
        font-size:2.3rem;
    }

    .about-heading,
    .skill-heading,
    .section-title{
        font-size:2rem;
    }

    .typewriter{
        font-size:1rem;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .btn-group{
        flex-direction:column;
        width:100%;
    }

    .home-container img,
    .about-photo img{
        width:70vw;
    }

    .education-card{
        padding:1rem;
    }

    .card-header img{
        width:60px;
        height:60px;
    }
}

.nav-links.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    gap: 1.5rem;
    width: 90%;
    max-width: 300px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 999;
}

.nav-links.active li a {
    text-align: center;
    padding: 0.5rem 0;
}

#menu-icon {
    position: relative;
    z-index: 9999;
    cursor: pointer;
}

/* Contact Form Styling */
.contact {
    padding: 6rem 12%;
    background: radial-gradient(
        circle at center,
        rgba(59,130,246,0.15),
        transparent 60%
    );
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.form-group textarea {
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(0,157,255);
    box-shadow: 0 0 10px rgba(0,157,255,0.3);
}

.contact-form button {
    padding: 1rem 2rem;
    background: linear-gradient(to right, rgb(0,157,255), rgb(255,0,255));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,157,255,0.3);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }
  
    .contact {
        padding: 4rem 5%;
    }
}