
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
}
/* SCROLL BAR DESIGN  */
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #7ff0f0;
}
::-webkit-scrollbar-thumb{
    background: #7ff0f0;
}
::-webkit-scrollbar-thumb:hover{
    background: #17aa03;
    background:-webkit-linear-gradient( #150aa5,#7ff0f0,#7ff0f0,#150aa5);
    border-radius: 1rem;
    border-top-left-radius: 0px;
}
/*  VARIABLES  */
:root{
    --body-color: rgb(250, 250, 250);
    --color-white: rgb(255, 255, 255);
    --text-color-second: rgb(68, 68, 68);
    --text-color-third: rgb(30, 159, 171);
    --first-color: rgb(110, 87, 224);
    --first-color-hover: rgb(40, 91, 212);
    --second-color: rgb(0, 201, 255);
    --third-color: rgb(192, 166, 49);
    --first-shadow-color: rgba(0, 0, 0, 0.1);

}

/*Light & Dark Theme Variables */
:root[data-theme="light"] {
    --body-color: rgb(250, 250, 250);
    --color-white: rgb(255, 255, 255);
    --text-color-second: rgb(68, 68, 68);
    --text-color-third: rgb(30, 159, 171);
    --first-color: rgb(110, 87, 224);
    --first-color-hover: rgb(40, 91, 212);
    --second-color: rgb(0, 201, 255);
    --third-color: rgb(192, 166, 49);
    --first-shadow-color: rgba(0, 0, 0, 0.1);
}

:root[data-theme="dark"] {
    --body-color: rgb(17, 17, 17);
    --color-white: rgb(30, 30, 30);
    --text-color-second: rgb(230, 230, 230);
    --text-color-third: rgb(0, 201, 255);
    --first-color: rgb(0, 201, 255);
    --first-color-hover: rgb(0, 162, 212);
    --second-color: rgb(255, 179, 71);
    --third-color: rgb(255, 255, 255);
    --first-shadow-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--body-color);
    color: var(--text-color-second);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Toggle button styles */
.theme-toggle {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.6rem;
    transition: transform 0.2s ease;
}
.theme-toggle:hover {
    transform: scale(1.1);
}

.container{
    width: 100%;
    position: relative;
}

/* ALL BUTTON DESIGN  */
.btn{
    font-weight: 500;
    padding: 12px 20px;
    background: #efefef;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s;
}
.btn>i{
    margin-left: 10px;
}
.btn:hover{
    background: var(--second-color);
    color: var(--color-white);
}

/* ALL ICONS DESIGN  */
i{
    font-size: 16px;
}

/*  NAVIGATION BAR */
nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    line-height: 90px;
    background: var(--body-color);
    padding-inline: 9vw;
    transition: .3s;
    z-index: 100;
}
.nav-logo{
   position: relative;
}
.nav-name{
    font-size: 30px;
    font-weight: 600;
    color: var(--text-color-third);
}
.nav-logo span{
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 5em;
    color: var(--text-color-second);
}
.nav-menu, .nav_menu_list{
    display: flex;
    align-items: center;
}
.nav-menu .nav_list{
    list-style: none;
    position: relative;
}
.nav-link{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    padding-inline: 15px;
    margin-inline: 20px;
}
.nav-menu-btn{
    display: none;
}
.nav-menu-btn i{
    font-size: 28px;
    cursor: pointer;
}
.active-link{
    position: relative;
    color: var(--first-color);
    transition: .3;
}
.active-link::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background: var(--first-color);
    border-radius: 50%;
}


/*  WRAPPER DESIGN */
.wrapper{
    padding-inline: 10vw;
}

/* FEATURED BOX */
.featured-box{
    position: relative;
    display: flex;
    height: 100vh;
    min-height: 700px;
}

/*  FEATURED TEXT BOX */
.featured-text{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
}
.featured-text-card span{
    background: var(--third-color);
    color: var(--color-white);
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 5px;
}
.featured-name{
    font-size: 50px;
    font-weight: 600;
    color: var(--text-color-second);
    margin-block: 10px;
}
.typedText{
    text-transform: capitalize;
    color: var(--text-color-third);
}
.featured-text-info{
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--text-color-second);
}
.featured-text-btn{
    display: flex;
    gap: 20px;
}
.featured-text-btn>.blue-btn{
    background: var(--first-color);
    color: var(--color-white);
}
.featured-text-btn>.blue-btn:hover{
    background: var(--first-color-hover);
}
.social_icons{
    display: flex;
    margin-top: 2em;
    gap: 30px;
}
.social_icons :hover{
    transform: translateY(-8px) scale(1.02);
    transform: scale(1.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.icon:hover{
    color: var(--first-color);
}

/* FEATURED IMAGE BOX */
.featured-image{
    display: flex;
    justify-content: right;
    align-content: center;
    min-height: 80vh;
    width: 50%;
}
.image{
    margin: auto 0;
    width: 380px;
    height: 380px;
    border-radius: 25%;
    overflow: hidden;
    animation: imgFloat 7s ease-in-out infinite;
}
.image img{
    width: 380px;
    height: 380px;
    object-fit: cover;
}
.scroll-btn{
   position: absolute;
   bottom: 0;
   left: 50%;
   translate: -50%;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 150px;
   height: 50px;
   gap: 5px;
   text-decoration: none;
   color: var(--text-color-second);
   background: var(--color-white);
   border-radius: 30px;
   box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}
.scroll-btn i{
    font-size: 20px;
}

/*  MAIN BOX  */
.section{
    padding-block: 5em;
}
.row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.col{
    display: flex;
    width: 50%;
}

/*  RESUABLE CSS  */
.top-header{
    text-align: center;
    margin-bottom: 5em;
}
.top-header h1{
    font-weight: 600;
    color: var(--text-color-second);
    margin-bottom: 10px;
}
.top-header span{
    color: #999;
}
.contact{
    padding-bottom: 0em;
}
h3{
    font-size: 16px;
    font-weight: 1000;
    color: var(--text-color-second);
    margin-bottom: 5px;
    margin-top: 5px;
}

/* ABOUT INFO */
.about-info,.experience-info{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    padding-inline: 20px;
    width: 100%;
    background: var(--color-white);
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
}
.about-info p,.experience-info p{
    text-align: center;
    font-size: 15px;
    color: #777;
}
.about-btn button{
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: var(--first-color);
    color: var(--color-white);
    border-radius: 30px;
}
.about-btn button:hover{
    background: var(--first-color-hover);
}

/* ABOUT AND SKILLS BOX */
.skills-box{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    padding-inline: 20px;
    width: 100%;
    background: var(--color-white);
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
}
.skills-box{
    margin: 10px;
}

.skills-header{
    margin-bottom: 30px;
}
.skills-list{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.skills-list span{
    font-size: 15px;
    background: var(--first-color);
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 5px;
}

/* PROJECTS BOX */
.project-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.project-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 250px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}
.project-img{
    width: 300px;
    height: 120px;
    border-radius: .5rem;
}
.project-box h3{
    margin-bottom: 0px;
    margin-top: 5px;
}
.project-box label{
    font-size: 15px;
    color: #777;
    margin-bottom: 5px;
}
.project-box:hover.project-box::after,
.contact-info:hover.contact-info::after{
    bottom: 0;
}
.project-box.project-box i,
.project-box.project-box>h3,
.project-box.project-box>label{
    color:var(--text-color-third);
}
.project-box:hover.project-box i,
.project-box:hover.project-box>h3
{
    color: var(--first-color);
    transition: transform 0.4s ease;
    transform: scaleX(1.3);
}
.btn-color-2:hover{
    background-color: var(--text-color-third);
}

/* CONTACT BOX */
.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 315px;
    background: var(--second-color);
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}
.contact-info::after{
    content: "";
    position: absolute;
    bottom: -100%;
    background: var(--second-color);
    width: 100%;
    height: 100%;
    transition: .4s;
    z-index: 1;
}
.contact-info>h2{
    color: var(--color-white);
    margin-bottom: 20px;
}
.contact-info>p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    margin-block: 5px;
}
.contact-info p>i{
    font-size: 18px;
}
.contact-info::after{
    background: var(--color-white);
}
.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i{
    color: #777;
    z-index: 2;
}

/* CONTACT FORM */
.form-control{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.form-inputs{
    display: flex;
    gap: 10px;
    width: 100%;
}
.input-field{
    width: 50%;
    height: 55px;
    background: transparent;
    border: 2px solid #AAA;
    border-radius: 10px;
    padding-inline: 20px;
    outline: none;
}
textarea{
    width: 100%;
    min-height: 200px;
    background: transparent;
    border: 2px solid #AAA;
    border-radius: 10px;
    padding: 15px 20px;
    outline: none;
    resize: none;
}
.form-button>.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--second-color);
    color: var(--color-white);
}
.form-button>.btn:hover{
    background: #00B5E7;
}
.form-button i{
    font-size: 18px;
    rotate: -45deg;
}

/* FOOTER BOX */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
}
footer a,.bottom-footer{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* General Form Styling */
.form-control {
  max-width: 600px;
  margin: auto;
  padding: 1rem;
}

.input-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-container input {
  width: 100%;
  padding: 0.75rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 0.5rem;
  color: #888;
  font-size: 1rem;
  pointer-events: none;
  transform: translateY(-50%);
  transition: 0.3s ease all;
}

/* Floating label effect */
.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
  top: -0.1rem;
  left: 1rem;
  font-size: 1rem;
  color: #000000;
  background-color: whitesmoke;
  padding: 0 .5rem;
  border-radius: .5rem;
}

.text-area {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: #555;
  font-style: italic;
  text-align: left;
}

.form-button {
  margin-top: 1rem;
}

/* Success or Error msg */
#form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

#form-status.success {
  color: green;
}

#form-status.error {
  color: red;
}



