/* GENERAL */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Ubuntu", sans-serif;
    color: #F1F5F9;
    background: linear-gradient(135deg,#1E293B,#0F172A);
    margin: 0 auto;
    padding: 0;
    line-height: 1.5;
    min-height: 100vh;
}

h1, h2 {
    color: #3B82F6;
}

h2 {
    font-size: 2.5rem;
}

a {
    color: #3B82F6;
    text-decoration: none;
}

main li {
    list-style: none;
    align-items: center;
}

/* NAV */
#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0F172A;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    position:relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease-in-out;
    color: #FCFCFC;
    font-weight: bold;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #3B82F6;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #60A5FA;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* HERO */
.hero {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    color: #F1F5F9;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 700px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FCFCFC;
    align-items: center;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-top: 0;
}

.hero-text p {
    margin-top: 1rem;
    font-size: 1.5rem;
}

.location {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 1.25rem;
    color:#F1F5F9;
}


/* SOCIALS */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.social-links img {
    width: 32px;
    height: 32px;
}

.social-links a:hover {
    transform: scale(1.2);
}


/* SECTION */
section {
    padding: 4rem 2rem;
    text-align: center;
}

/* ABOUT */

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-section {
    padding: 4rem 2rem;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    color: #3B82F6;
    margin-bottom: 2rem;
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}

.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #334155;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 120px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.about-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #3B82F6;
}

.about-card span {
    font-size: 1rem;
    font-weight: bold;
    color: #F1F5F9;
}

/* SKILLS */
.skills-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.skills-section {
    padding: 4rem 2rem;
    text-align: center;
}

.skills-section h2 {
    font-size: 2rem;
    color: #3B82F6;
    margin-bottom: 2rem;
}

.skills-text {
    margin-bottom: 2.5rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}

.skills-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #334155; /* Darker slate */
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 120px;
}

.skills-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.skills-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #3B82F6;
}

.skills-card span {
    font-size: 1rem;
    font-weight: bold;
    color: #F1F5F9;
}

/* PROJECT */
.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    background-color: #334155;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 800px;
    min-height: 200px;
    text-align: center;
    position: relative;

}

.project-item h3 {
    font-size: 2rem;
    color: #F1F5F9;
    margin-bottom: 0.5rem;
    text-align: left;
}

.project-text h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #60A5FA;
    margin: 0 0 0.5rem 0;
}

.project-card p {
    font-size: 1rem;
    color: #CBD5E1;
    margin: 0.5rem 0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.project-card-content {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.project-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #60A5FA;
}

.project-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.project-text p {
    font-size: 1rem;
    color: #CBD5E1;
    margin: 0;
}

.project-subtext {
    color: white;
    font-weight: 500;
}

/* EDUCATION */
.education-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.education-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    flex-direction: column;
    background-color: #334155;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 800px;
    min-height: 100px;
    text-align: center;
    position: relative;
}

.education-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #60A5FA;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.education-card p {
    font-size: 1rem;
    color: #CBD5E1;
    margin: 0.25rem 0;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.education-card-content {
    display: flex;
    align-items: center;
    gap: 5.5rem;
}

.education-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #60A5FA;
    margin-left: 4rem;
}

.education-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* EXPERIENCE */
.experience-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.experience-text {
    margin-bottom: 2.5rem;
}

/* BUTTON */

.btn {
    display: inline-block;
    background: #3B82F6;
    color: #FCFCFC;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2563EB;
}

/* CONTACT */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #1E293B;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.form-group label {
    font-weight: bold;
    color: #F1F5F9;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 16px);
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    background: #334155;
    color: #F1F5F9;
    font-size: 1rem;
    margin: 0 auto;
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #3B82F6;
    background: #475569;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 1rem 0;
    color: #F1F5F9;
}