/* === Global Defaults === */

/* === Section Titles === */
.title {
  width: 100%;
  color: #2898c1;
  text-transform: uppercase;
  text-align: left;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

p{
  color:#ffffff;
}
.about-me {
  margin: 0 auto;
  max-width: 850px;
width: 100%;
font-stretch: expanded;
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: #ffffff;
  font-weight: 400px;
  text-align: justify;
  text-justify: inter-word;
}

h3{
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.25rem;
}
body,
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(0, 0%, 11%);
  color: #b8b4b5;
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.5;
  width: 100%;
  height: 100%;
}

.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

strong {
  color: #2898c1;
}

p {
  max-width: 600px;
}
img {
  max-width: 55%;
  max-height: 59%;
  margin: auto; /* Top, Right, Bottom, Left */
  border-radius: 16px;
  display: block;
  float: right; /* Pushes text to the right */
}

img {
  border: 2px solid #e0e0e0;
}

/* === Navbar === */
.navbar {
  background-color: hsl(205, 65%, 32%);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-list li a:hover {
  text-decoration: underline;
}

/* === Header & Footer === */
header {
  color: #ffffff;
  padding: 30px;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  text-align: right;
}

header nav ul li {
  display: inline-block;
  margin-right: 30px;
}

header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 25px;
}

.footer {
  background-color: hsl(205, 65%, 32%);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* optional: lets it break gracefully on smaller screens */
  font-size: 0.95rem;
}

.footer a {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #52a9ff;
}


.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 10px;
}

.contact {
  color: #fff;
  text-align: center;
  padding: 20px;
  flex-shrink: 0;
}

/* === Icons === */
.linkedin-icon {
  color: #2898c1;
  font-size: 50px;
  margin-top: 10px;
  text-decoration: none;
  margin-right: 20px;
}

.github-icon {
  color: #2898c1;
  font-size: 50px;
  margin-top: 10px;
  text-decoration: none;
  margin-right: 20px;
}

.email-icon {
  color: #2898c1;
  font-size: 50px;
  margin-top: 10px;
  text-decoration: none;
  margin-right: 20px;
}

/* === Sections === */
.section {
  display: flex;
  justify-content: center;
  padding: 20px 170px 100px;
}

@media screen and (max-width: 1280px) {
  .section {
    padding: 100px;
  }
}

@media screen and (max-width: 1024px) {
  .section {
    padding: 50px;
  }
}

@media screen and (max-width: 768px) {
  .section {
    display: block;
    padding: 50px;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 50px 35px;
  }
}

/* === Job Cards === */
.section-content {
  display: inline;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  inline-size: 3fr;
}

@media (min-width: 768px) {
  .section-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .section-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

.job {
  background-color: #070707;
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 19px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  width: 100%;
  margin-left: auto;
}

.job:hover {
  transform: translateY(-4px);
}

.job-links {
  margin-top: 15px;
}

.job-link-button {
  display: inline-block;
  background-color: #1e1e1e;
  color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 14px;
  margin-right: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.job-link-button i {
  margin-right: 6px;
}

.job-link-button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.job-links a {
  display: inline-block;
  margin-right: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.job-links a i {
  margin-right: 6px;
}

.job-links a:hover {
  color: #52a9ff;
}

.job-tools {
  margin-top: 15px;
}

.job-tool {
  background-color: #64afe1;
  text-decoration: none;
  color: #ffffff;
  border-radius: 20px;
  padding: 6px 12px;
  margin-bottom: 20px;
  margin-right: 10px;
  font-size: 0.85rem;
  display: inline-block;
}

.jobs .job-title {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

@media screen and (max-width: 480px) {
  .jobs .job-title {
    font-size: 1.05rem;
  }
}

.jobs .job-info .job-company-date {
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media screen and (max-width: 480px) {
  .jobs .job-info .job-company-date {
    display: block;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .experience .job-date {
    font-size: 0.8rem;
  }
}
.jobs .job-info .job-company-date .job-company {
  font-weight: 700;
}

.jobs {
  margin-right: 50px;
}

.jobs .job {
  max-width: 600px;
  margin-bottom: 50px;
}

.jobs .job-info {
  margin-bottom: 10px;
  color: #2898c1;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 480px) {
  .jobs .job-info {
    display: block;
    font-size: 0.9rem;
  }
}

.jobs .job-title {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

@media screen and (max-width: 480px) {
  .jobs .job-title {
    font-size: 1.05rem;
  }
}

.jobs .job-info .job-company-date {
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media screen and (max-width: 480px) {
  .jobs .job-info .job-company-date {
    display: block;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .experience .job-date {
    font-size: 0.8rem;
  }
}

.jobs .job p {
  margin-bottom: 20px;
}

.job-grid-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-title {
  color: #2898c1;
  text-transform: uppercase;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(380px,1fr)); /* 3-column layout */
  gap: 60px;
  width: 100%;
  align-items: stretch;
}
.job-grid {
  row-gap: 0px;
  column-gap: 60px;
}


@media (max-width: 1024px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .job-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* === Intro === */
.intro {
  padding: 50px 100px;
  min-height: 45vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b8b4b5;
  max-width: 1100px;
  margin: 0 auto;
  flex-direction: row; /* 💥 Make it side-by-side (text left, image right) */
  gap: 2rem;
}

.intro-hello {
  font-size: 2.6rem;
  color: #ffff;
}
.intro-description {
  font-size: 2.5rem;
  color: #ffff;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.5;

}

.intro-content {
  font-size: 0.25rem;
}

.intro-content .name {
  color: #2898c1;
  font-weight: bolder;
}

.intro-hello .name {
  color: #2898c1;
  font-weight: bolder;
}

/* Container for text */
.intro-text {
  flex: 1;
}

/* Container for image */
.intro-image {
  flex: 0 0 700px;
  text-align: right;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* === Responsive Media Queries === */

@media screen and (max-width: 1024px) {
  .intro-hello,
  .intro-content {
    font-size: 2.25rem;
  }
}

@media screen and (max-width: 768px) {
  .intro-hello,
  .intro-content {
    font-size: 2rem;
  }
}

@media screen and (max-width: 630px) {
  .intro {
    flex-direction: column; /* 💥 Stack on top of each other for small screens */
    padding: 50px 30px;
  }
  .intro-image {
    text-align: center;
    margin-top: 20px;
  }
}

@media screen and (max-width: 550px) {
  .intro-hello,
  .intro-content {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 480px) {
  .intro {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 360px) {
  .intro-hello,
  .intro-content {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 330px) {
  .intro-hello,
  .intro-content {
    font-size: 1.4rem;
  }
}

/* === Section Titles === */
.section-title {
  width: 200px;
  margin-left: 0px;
  color: #2898c1;
  text-transform: uppercase;
  text-align: right;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.25rem;

}

@media screen and (max-width: 1024px) {
  .section-title {
    margin-right: 50px;
  }
}

@media screen and (max-width: 850px) {
  .section-title {
    width: 150px;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    text-align: ri;
    width: auto;
  }
}

/* === Skills === */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.skill-card {
  background-color: #0e0e0e;
  border-radius: 16px;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(43, 147, 226, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(43, 177, 226, 0.6);
}

.skill-card span {
  font-size: 0.75rem;
  margin-top: 8px;
  color: #b8b4b5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
