:root {
  /* --text-color: #1a1c20; */
  --link-color: #eea44a;
  /* --background-color: #eeeff1; */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #eeeff1;
  /* color: var(--text-color); */
  /* background-color: var(--background-color); */
  max-width: 1400px;
  margin: 0 auto;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 50px;
  height: 80px;
}

nav .left a {
  /* color: var(--text-color); */
  font-size: 22px;
  font-weight: 600;
}

nav .right a {
  /* color: var(--text-color); */
  margin: 0 10px;
}

nav .right a:last-child {
  color: var(--background-color);
  background-color: var(--text-color);
  padding: 5px 15px;
  border-radius: 5px;
}

nav .right a span {
  margin-left: 5px;
}

/* SECTION 1: Hero */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  margin: 50px 0;
  margin-bottom: 100px;
  gap: 40px;
}

.hero-section .text {
  flex: 5;
  
}

.hero-section .text h2 {
  font-size: 45px;
}

.hero-section .text .links {
  
    margin-top: 25px;
    margin-bottom: 10px;
    gap:10px;
   
  }
  
  


.hero-section .text  a {
  
    display: block; /* Ensures each link appears on a new line */
    width:50%;
    justify-content: center;
    text-align: center;
    padding: 5px 10px;
    color:#fff;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    background-color: #1a3a54;;
    margin-bottom: 10px;
    transition: 0.1s;
  }


.hero-section .text .links a:hover {
  color: white;
  border: 2px solid whitesmoke;
}

.hero-section .headshot {
  flex: 2;
  display: flex;
  justify-content: right;
}

.hero-section .headshot img {
  width: 350px;
  /* height: 400px; */
   border-radius: 50%;
}


/* Section education */



.education-section {
  background-color: #1a3a54;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 100%;
  margin: 20px auto;
}

.education-section h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.education-card {
  background: #2b4c68;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  text-align: left;
}

.education-card h3 {
  margin: 0;
  font-size: 18px;
  color: #ffcc00;
}

.education-card p {
  margin: 5px 0;
}


/* SECTION 2: Skills */
.skills-section {
  padding: 0 50px;
  margin-bottom: 100px;
}

.skills-section h2 {
  text-align: center;
  font-size: 35px;
}

.skills-section .text {
  text-align: center;
  margin-bottom: 20px;
}

.skills-section .cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.skills-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 200px;
  padding: 10px 20px;
  margin: 10px;
  border: 1.5px solid #d3d3d3;
  border-radius: 5px;
}

.skills-section .cells .cell img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 2px;
}

.skills-section .cells .cell span {
  font-size: 18px;
}

/* section for internship */
/* SECTION: Internship Experience */
#experience {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  max-width: 900px;
  margin: 50px auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

#experience h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffcc00; /* Matching the project section text */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Individual Internship Cards */
.internship {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease-in-out;
}

.internship:hover {
  transform: scale(1.02);
}

.internship h3 {
  color: #ffdd57; /* Highlighted yellow for better contrast */
  font-size: 22px;
  margin-bottom: 8px;
}

.internship p {
  font-weight: bold;
  margin-bottom: 5px;
  color: #f1f1f1;
}

.internship ul {
  list-style-type: none;
  padding-left: 0;
}

.internship ul li {
  padding-left: 20px;
  position: relative;
  font-size: 16px;
  color: #d3d3d3;
  line-height: 1.5;
}

.internship ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffcc00;
  font-weight: bold;
}








/* section for projects */


/* General Page Styling */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  text-align: center;
  margin: 0;
  padding: 20px;
}

/* Projects Section */
.projects-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  max-width: 900px;
  margin: 20px auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Section Heading */
.projects-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Project Card */
.project-card {
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 20px; /* Space between image & text */
  text-align: left;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out;
}

.project-card:hover {
  transform: scale(1.03);
}

/* Project Image */
.project-card img {
  width: 250px;  /* Increased Image Size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Project Info */
.project-info {
  flex: 1;
}

/* Headings */
.project-card h3 {
  margin: 0;
  font-size: 22px;
  color: #ffdd57;
}

/* Project Description */
.project-card p {
  margin: 8px 0;
  font-size: 16px;
  color: #f1f1f1;
}

/* GitHub Button */
.project-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #ffcc00;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.project-card a:hover {
  background: #ff9900;
}















/* SECTION 3: Testimony */
.testimony-section {
  padding: 0 50px;
  margin-bottom: 100px;
}

.testimony-section h2 {
  font-size: 35px;
  margin-bottom: 30px;
}

.testimony-section .group {
  display: flex;
  align-items: center;
  gap: 50px;
}

.testimony-section .group .person-details {
  text-align: center;
  flex: 2;
}

.testimony-section .group .person-details img {
  width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimony-section .group .person-details p {
  font-weight: 600;
}

.testimony-section .group .person-details p:last-child {
  font-weight: normal;
}

.testimony-section .group .text {
  flex: 8;
}

/* SECTION 4: Contact */
.contact-section {
  padding: 0 50px;
  margin-bottom: 100px;
}

.contact-section h2 {
  font-size: 35px;
}

.contact-section .group {
  display: flex;
  gap: 50px;
}

.contact-section .group .text {
  flex: 3;
  margin-top: 20px;
}

.contact-section .group form {
  flex: 3;
  display: flex;
  flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
  font-family: 'Poppins', sans-serif;
  border: 2px solid var(--link-color);
  background-color: transparent;
  padding: 10px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
}

.contact-section .group form button {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: var(--link-color);
  border: none;
  height: 50px;
  cursor: pointer;
  transition: .1s;
}

.contact-section .group form button:hover {
  filter: brightness(.9);
}

@media (max-width: 850px) {
  /* SECTION 1: Hero */
  .hero-section .text h2 {
    font-size: 35px;
  }
}

@media (max-width: 740px) {
  /* SECTION 1: Hero */
  .hero-section {
    flex-direction: column-reverse;
  }

  .hero-section .headshot img {
    width: 300px;
  }

  /* SECTION 3: Testimony */
  .testimony-section {
    text-align: center;
  }

  .testimony-section .group {
    flex-direction: column;
  }

  /* SECTION 4: Contact */
  .contact-section .group {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  /* NAVBAR */
  nav {
    padding: 0 20px;
  }

  nav .right a {
    font-size: 22px;
  }

  nav .right a:last-child {
    color: var(--text-color);
    background-color: transparent;
    padding: 0;
  }

  nav .right a span {
    display: none;
  }

  /* SECTION 1: Hero */
  .hero-section {
    padding: 0 20px;
  }

  .hero-section .text h2 {
    font-size: 30px;
  }

  /* SECTION 2: Skills */
  .skills-section {
    padding: 0 20px;
  }

  .skills-section .cells .cell span {
    font-size: 16px;
  }

  /* SECTION 3: Testimony */
  .testimony-section {
    padding: 0 20px;
  }

  /* SECTION 4: Contact */
  .contact-section {
    padding: 0 20px;
  }
}