@import url("responsive.css");

:root {
    --hue: 255;
    --first-color: hsl(var(--hue), 60%, 64%);
    --first-color-alt: hsl(var(--hue), 80%, 56%);
    --first-color-alt-2: hsl(var(--hue), 60%, 56%);
    --first-color-light: hsl(var(--hue), 60%, 74%);
    --title-color: hsl(240, 8%, 95%);
    --text-color: hsl(240, 8%, 70%);
    --text-color-light: hsl(240, 8%, 50%);
    --body-color: hsl(240, 100%, 2%);
    --container-color: hsl(240, 8%, 6%);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0e;
    color: #fff;
}

/* genral */
h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.cont {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid {
    /* display: grid; */
    display: flex;
    gap: 2.5rem;

}

.section {
    padding-block: 5rem 1rem;
}

.sec_title {
    text-align: center;

    margin-bottom: 3rem;
}

.sec_title span {
    color: var(--first-color);
}

.blob {
    width: 250px;
    height: 250px;
    background: linear-gradient(180deg, var(--first-color) 0%, var(--first-color-alt) 100%);
    border-radius: 50%;
    filter: blur(50px);
    position: absolute;
    z-index: -1;
}

header {
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 10, 14, 0.6);
    backdrop-filter: blur(10px);
}

header h2 {
    font-size: 28px;
    font-weight: 600;
}

nav a {
    margin-left: 35px;
    color: #d0d0d0;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #8e63ff;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

.hero-text {
    max-width: 50%;
}

.hero-text h3 {
    font-size: 26px;
    color: #af9bff;
}

.hero-text h1 {
    font-size: 60px;
    margin: 10px 0;
    line-height: 1;
}

.hero-text span {
    color: #8e63ff;
}

.hero-text p {
    margin: 20px 0;
    font-size: 18px;
    color: #c9c9c9;
}

.hero-img img {
    width: 350px;
    border-radius: 50px;
    filter: drop-shadow(0 0 40px #6a32ff80);
}

.home_cv {
    z-index: 2;
    right: -2.5rem;
    bottom: 2.5rem;
    /* rotate: -90deg; */
    color: var(--text-color);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    border: 1px solid #8e63ff;
    border-radius: 10px;
    width: 150px;
    padding: 10px;

}

.home_cv i {
    font-size: 1rem;
}

.home_cv:hover {
    color: var(--first-color);
}

section {
    padding: 100px 8%;
}

.section-title {
    font-size: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.section-title span {
    color: #8e63ff;
}

.about {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about img {
    width: 300px;
    border-radius: 12px;
    filter: drop-shadow(0 0 40px #6a32ff80);
}

.about p {
    font-size: 20px;
    color: #c9c9c9;
}

.serv {
    margin-top: 150px;
}

.serv_card {
    position: relative;
    background-color: var(--container-color);
    padding: 2rem 1.5rem;
    display: grid;
    column-gap: 1.5rem;
    border-radius: 3rem;
    overflow: hidden;
    width: 50%;
}

.serv_card .blob {
    z-index: 0;
    top: -7.75rem;
    left: -7.75rem;
}

.serv_card .blob-2 {
    left: initial;
    right: -7.57rem;
}

.serc_data,
.serv_info {
    position: relative;
    z-index: 1;
}

.serv_title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.sub_title {
    font-size: .813rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: .5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .25rem;

}

.serv_skill {
    background-color: var(--container-color);
    color: var(--title-color);
    border: 1px solid var(--title-color);
    padding: 4px 10px;
    border-radius: 4rem;
    font-size: .813rem;
}

/* .skills-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 20px;
     margin-top: 40px;
 }

 .skill {
     padding: 20px;
     background: #13131a;
     border-radius: 12px;
     text-align: center;
     border: 1px solid #242437;
     transition: 0.3s;
 }

 .skill:hover {
     transform: translateY(-5px);
     border-color: #8e63ff;
 } */

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: #13131a;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #1f1f2e;
    transition: 0.3s;
}

.project-card:hover {
    border-color: #8e63ff;
    transform: translateY(-6px);
}

.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-top: 15px;
}

.contact {
    text-align: center;
}

.contact form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    max-width: 450px;
    margin-inline: auto;
}

.contact input,
.contact textarea {
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    background: #1a1a25;
    color: #fff;
    font-size: 16px;
}

.contact button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #8e63ff;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.contact button:hover {
    background: #aa82ff;
}

/* ==================== End Responsive Media Queries ==================== */