/* =========================
   RESET
========================= */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #222222;
  background-color: #f5f5f5;
  line-height: 1.6;
}

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

a {
  color: #1f7899;
}

a:hover {
  color: #15556d;
}


/* =========================
   GLOBAL
========================= */

section {
  padding: 80px 24px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

h2 {
  margin-bottom: 40px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}

h3 {
  font-size: 1.7rem;
}

h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

ul {
  padding-left: 22px;
}
/* =========================
   TOP BAR
========================= */

.top-bar-content{
    max-width:1150px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.header-left h1{
    margin:0;
}

.header-left p{
    margin-top:8px;
}

.header-icons{
    display:flex;
    gap:22px;
}

.header-icons a{
    color:black;
    font-size:1.6rem;
    transition:.25s ease;
}

.header-icons a:hover{
    color:#d5a996;
    transform:translateY(-2px);
}
.header-left {
    padding-top: 1rem;
}


/* =========================
   ABOUT
========================= */

#about {
  background-color: #ffffff;
}

.about-text {
  display: grid;
  grid-template-columns: minmax(250px, 400px) minmax(0, 650px);
  gap: 64px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.about-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.about-p h1 {
  margin-bottom: 24px;
}

.about-p p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.highlighted {
  font-size: 1.25rem;
  font-weight: 700;
}


/* =========================
   RESUME
========================= */

#my-resume {
  background-color: #2596be;
  color: #ffffff;
}

#my-resume h2,
#my-resume h3,
#my-resume h4 {
  color: #ffffff;
}

.contact-info-wrapper {
  max-width: 1100px;
  margin: 0 auto 40px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.contact-info a {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-info a:hover {
  color: #102f3a;
}

.doc-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.resumes-sec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.sec-one,
.sec-two {
  min-width: 0;
}

#my-resume h3 {
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

#my-resume h4 {
  margin-top: 24px;
}

#my-resume p,
#my-resume li {
  font-size: 1rem;
}

#my-resume ul {
  margin-top: 10px;
  margin-bottom: 26px;
}

#my-resume li {
  margin-bottom: 8px;
}

.style {
  font-weight: 400;
  font-style: italic;
}

.award-s {
  font-weight: 700;
}


/* =========================
   SELECTED WORK
========================= */

#projects {
  background-color: #f5f5f5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card-link:hover {
    color: inherit;
}

.project-card-link .project-card {
    height: 100%;
}

.project-card {
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #dddddd;
}

.project-card-content {
  padding: 26px;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-role {
  margin-bottom: 18px;
  color: #555555;
  font-weight: 700;
}

.project-tools {
  margin-top: 22px;
  margin-bottom: 0;
  color: #1f7899;
  font-weight: 700;
}


/* =========================
   CONTACT
========================= */

#contact {
  background-color: #1f1f1f;
  color: #ffffff;
}

.contact-container {
  max-width: 760px;
  margin: 0 auto;
}

#contact h2 {
  color: #ffffff;
}

.contact-intro {
  max-width: 620px;
  margin: -18px auto 32px;
  text-align: center;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px;
  background-color: #000000;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.contact-form label {
  margin-top: 10px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font: inherit;
  background-color: #ffffff;
  color: #222222;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(37, 150, 190, 0.35);
  border-color: #2596be;
}

.contact-form button {
  margin-top: 16px;
  padding: 15px 20px;
  border: 0;
  border-radius: 8px;
  background-color: #2596be;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #1f7899;
  transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:40px 20px;
}

.back-to-top{
    display:inline-block;
    margin-top:15px;
    color:#d5a996;
    text-decoration:none;
    font-weight:600;
    transition:.25s ease;
}

.back-to-top:hover{
    color:#fff;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  section {
    padding: 64px 24px;
  }

  .about-text {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 700px;
  }

  .about-image {
    width: min(100%, 400px);
    margin: 0 auto;
  }

  .about-p {
    text-align: center;
  }

  .resumes-sec {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .project-card img {
    height: 300px;
  }
}


/* =========================
   MOBILE
========================= */

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .top-bar-content{
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-icons{
        justify-content: center;
    }

    h2{
        margin-bottom: 30px;
    }

    .about-text{
        gap: 28px;
    }

    .about-p{
        text-align: left;
    }

    .contact-info{
        flex-direction: column;
        align-items: center;
    }

    .project-card img{
        height: 210px;
    }

    .project-card-content{
        padding: 22px;
    }

    .contact-form{
        padding: 24px 18px;
    }

}