/** Reset **/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/** Project Stlyes **/
:root {
    --primary: #F77F00;
    --secondary: #531CB3;
    --light-dark: #1E1E1D;
    --dark: #161513;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    /* 1. Define the gradient */
    background: linear-gradient(to right, var(--primary), var(--secondary));

    /* 2. Clip the background to the text shapes */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. Make the actual text color transparent so the background shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */

    /* Optional: Makes the text stand out */
    font-size: 3rem;
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

section,
footer {
    /* If you have a fixed top nav, this prevents the 
       header from covering the section title */
    scroll-margin-top: 80px;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 27px;
    background-color: var(--dark);
    color: #ffffff;
}

h4 {
    font-size: 24px;
    font-weight: bold;
}

header {
    background-color: var(--light-dark);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;

    position: sticky;
    top: 0;
    transition: all 0.3s ease;
    /* Smooth transition for the effect */
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
}

header .site-logo {
    display: inline-block;
    width: 100px;
    height: auto;
}

header .site-logo img {
    width: 100%;
}

header .menu {
    display: flex;
    column-gap: 40px;
    flex-grow: 1;
    justify-content: flex-end;
}

header .menu a {
    text-decoration: none;
    /* font-weight: 600; */
    color: #ffffff;
    transition: color 0.3s linear;
}

header .menu a:hover, header .menu a.active {
    color: var(--primary);
}

footer {
    padding: 40px 0;
    background-color: var(--light-dark);
}

footer h4 {
    margin-bottom: 35px;
}

footer p {
    font-size: 14px;
}

footer .email {
    margin-top: 22px;
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    column-gap: 10px;
    text-decoration: none;
    transition: color 0.3s linear;
}

footer .email:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    column-gap: 20px;
}

.social-icons a {
    color: #ffffff;
    transition: color 0.3s linear;
}

.social-icons a:hover {
    color: var(--primary);
}

.about-block {
    padding-top: 100px;
    padding-bottom: 80px;
}

.about-block .container {
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
    row-gap: 40px;
}

.about-block .profile-image {
    display: block;
    width: 210px;
    height: 210px;
    border-radius: 105px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    ;
}

.about-block .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-block h2 {
    font-size: 55px;
    font-weight: 700;
    line-height: 63px;
}

.btn-wrap {
    display: inline-flex;
    column-gap: 40px;
}

.btn {
    font-size: 22px;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
}

.btn--light.btn--bg {
    background-color: white;
    color: var(--dark);
}

.btn--light.btn--bg:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn--light.btn--outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn--light.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/** Expertise Block **/
.expertise-block .container {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    align-items: center;
}

.expertise-block h3 {
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 20px;
}

.expertises {
    display: inline-flex;
    flex-wrap: wrap;
    column-gap: 60px
}

.expertises img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/** Projects Block **/
.projects-block {
    padding: 100px 0;
}

.projects-block h2 {
    font-size: 35px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}

.projects a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    transition: color 0.3s linear;
}

.projects a:hover {
    color: var(--primary);
}

.projects li {
    border-radius: 20px;
    background-color: var(--light-dark);
    /* Formula: (Total Width - Total Gaps) / Number of Columns */
    width: calc((100% - 30px) / 2);
    flex-shrink: 0;
    /* Prevents items from squishing smaller than the calc */
}

.projects img {
    width: 100%;
}

.projects .content {
    padding: 12px 24px;
}

.projects .content span {
    font-size: 10px;
}

/** Experiences Block **/
.experience-block {
    padding-bottom: 100px;
    font-size: 14px;
}

.experience-block h2 {
    font-size: 35px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 55px;
}

.experiences li:not(:last-child) {
    margin-bottom: 50px;
}

.experiences .info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}

.experiences .info img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-right: 10px;
}

.experiences .info h3 {
    flex-grow: 1;
    font-size: 22px;
    font-weight: 600;
}

/** Responsive Design **/
@media only screen and (max-width: 600px) {
    header .container {
        flex-direction: column;
    }

    header .site-logo {
        width: 60px;
    }

    header .menu {
        margin-bottom: 30px;
    }

  .projects {
    flex-direction: column;
    row-gap: 30px;
  }

  .projects li {
    width: 100%;
  }
}