@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --primary-color :#ff7613;
    --text-color: #727171;
}
html{
    font-size: 10px;
}

body{
    font-family: Inter, sans-serif;
    background-color: black;
    color: white;
}

/* ------------common styles--------------------*/
img{
    width: 100%;
}

a{
    text-decoration: none;
    color: white;
}
.profile_description{
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
}
.title{
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
}
.content{
    font-weight: 600;
    margin: 0.8rem 0;
    color: white;
    font-size: 1.6rem;
}
.skill_list li:hover {
    color: var(--primary-color);
    font-weight: bold;
    cursor: default;
  }
  
/* ================= NAVIGATION ================= */

nav {
  background-color: #070707;   /* same dark bg as resume */
  padding: 1rem 2rem;
  position: sticky;            /* stays visible on scroll */
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--text-color);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding: 0.5rem 0;
}

nav ul li a:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Mobile-friendly nav */
@media only screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  nav ul li a {
    font-size: 1.4rem;
  }
}



/* -------------layout--------------------- */

header{
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    /* display: grid; */
    padding: 5rem;
    background: #070707;
    /* grid-template-columns: 1fr 1fr; */
    gap: 4rem;
}
@media only screen and (max-width: 768px) {
    header{
        width: 100%;
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 7rem;
    }
}


.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* left and right columns */
    gap: 4rem;  /* spacing between columns */
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 5rem 0;
}

@media only screen and (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr; /* stack columns on mobile */
        padding: 3rem 1rem;
        gap: 3rem;
    }
}



.profile {
    grid-column: auto;
    margin-bottom: 2rem;
}

/* profile */
.profile_container {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center; /* centers horizontally */
}
@media only screen and (max-width: 768px) {
    .profile_container {
        flex-direction: column;
        text-align: center;
    }
}

.profile_image{
    width: 450px;
}
.firstname{
    color: white;
    font-weight: 200;
    font-size: clamp(2rem, 8vw, 4rem);
    text-transform: uppercase;
    display: block;
    margin-bottom: -0.8rem;
}

.lastname{
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(2.5rem, 15vw, 7rem);
    text-transform: uppercase;
    display: block;

}
.profile_title{
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
}
.downloadbtn{
    display: block;
    /* text-decoration: underline; */
    font-size: 1.6rem;
    margin-top: 1rem;
}
.downloadbtn:hover{
    color: var(--primary-color);
}
.circle-image {
    width: 300px;     
    height: 300px;     
    border-radius: 50%; 
    object-fit: cover;  
   

}
@media only screen and (max-width:768px) {
    .profile_container{
        flex-direction: column;

    }
    
}

/* skills */
.skill_list{
    margin-top: 1rem;
    margin-left: 2rem;
    line-height: 2;
}
.skills{
    margin-bottom: 2rem;
}

/* education */
.edu_item{
    margin-bottom: 2.5rem;
}



/* projects */
.projects{
    margin-top: 2.5rem;
}

.pro_items{
    margin-bottom: 2.5rem;
}


/* -------------interests------------------ */

.int_items{
    margin-top: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;

}
.int_item{
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-color);

}
.int_item svg{
    width: 2rem;
}


h1, h2, h3, .title {
    font-family: 'Roboto', sans-serif;
  }
  body {
    font-family: 'Inter', sans-serif;
  }


/* -------------download-button------ */
.downloadbtn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
  }
  .downloadbtn:hover {
    background: var(--primary-color);
    color: black;
}
  




  /* -----------------------footer÷ ------------------------------*/

  


.footer {
  grid-column: 1 / -1;   /* full width */
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #444;
  text-align: center;
}

.footer_left {
  margin-bottom: 1rem;
}

.footer_left h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #ff9800;
}

.contact_info a {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #aaa; /* accessible gray */
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.contact_info a:hover {
  color: #ff9800; /* highlight on hover */
  transform: translateX(5px);
}

.footer_bottom {
  margin-top: 1.5rem;
}

.footer_bottom p {
  font-size: 1rem;
  color: #aaa;
}







/* --------------CONTACTS----------------------  */

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  color: #0a66c2;
  font-weight: bold;
}
.linkedin-link:hover {
  text-decoration: underline;
}
.linkedin-icon {
  width: 20px;
  height: 20px;
}



/* -------------------interest design---------------------- */

.int_item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
  
.int_item:hover {
    background-color: var(--primary-color); /* gold highlight */
    color: black; /* make text readable */
    transform: scale(1.05); /* slight zoom effect */
    cursor: pointer;
}
  
.int_item:hover i {
    color: black; /* icon turns black on hover */
}

/* -------------- git ------------ */

.btm_l a {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease-in-out;
}
  
.btm_l a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}


.skill_list {
    list-style-type: disc; /* or none for custom bullets */
    padding-left: 2rem;
    margin-top: 0.5rem;
    line-height: 1.8;
  }
  
  .skill_list li {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    transition: transform 0.3s, color 0.3s;
  }
  
  .skill_list li:hover {
    color: var(--primary-color);
    transform: scale(1.05);
    cursor: pointer;
  }
  

/* ----------------Mobile Responsive --------------------------*/
@media only screen and (max-width: 768px) {

    /* Container */
    .container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 4rem;
    }

    /* Profile section */
    .profile_container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile_image {
        width: 200px; /* smaller image on mobile */
    }

    .circle-image {
        width: 150px;
        height: 150px;
    }

    .firstname {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 0.5rem;
    }

    .lastname {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .profile_title {
        font-size: 1.4rem;
    }

    .profile_description {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .downloadbtn {
        font-size: 1.4rem;
        padding: 0.5rem 1rem;
    }

    /* Left & Right columns */
    .left, .right {
        grid-column: 1;
    }

    /* Skills */
    .skill_list {
        padding-left: 1.5rem;
    }

    .skill_list li {
        font-size: 1.3rem;
    }

    /* Projects */
    .pro_items p, .pro_items h4 {
        font-size: 1.4rem;
    }

    /* Footer */
    .footer {
        text-align: center;
        padding: 2rem 1rem;
    }

    .footer_left, .footer_bottom {
        text-align: center;
    }

    /* Interests */
    .int_items {
        justify-content: center;
    }

    .int_item {
        font-size: 1.3rem;
        padding: 5px 8px;
        gap: 5px;
    }
}









