@import url(https://fonts.googleapis.com/css2?family=Nunito&display=swap);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Nunito', sans-serif;
}

:root {
    --bg-colour: #1e1936;
    --snd-bf-colour: #262B40;
    --text-colour: white;
    --main-colour: #59B2F4;
}

html {
    font-size: 62.5%;
    overflow: hidden;
}

body {
    background: var(--bg-colour);
    color: var(--text-colour);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-colour);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 2.5rem;
    color: var(--text-colour);
    font-weight: 700;
    cursor: default;
}

.navbar a {
    font-size: 1.5rem;
    color: var(--text-colour);
    margin-left: 4rem;
    font-weight: 700;
} 

.navbar a:hover,
.navbar a.active {
    color: var(--text-colour);
}

/* Home Section Styling */
.home {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #f0f4f8;
  flex-wrap: wrap;
}

/* Image Section */
.home-img img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 20px;
}

/* Content Section */
.home-content {
  max-width: 600px;
  padding: 20px;
  text-align: center;
}

.home-content h1 {
  font-size: 3rem;
  color: #1e1e2f;
  margin-bottom: 10px;
}

.home-content h3 {
  font-size: 2rem;
  color: #ff6f00;
  margin-bottom: 15px;
}

.home-content p {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.6;
}

/* Social Icons */
.social-icons {
  margin-top: 15px;
}

.social-icons a img {
  width: 40px;
  margin: 0 10px;
  transition: transform 0.3s;
}

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

/* Button Styling */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #1e1e2f;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #ff6f00;
}

/* ABOUT SECTION */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.about-img img {
  width: 300px;
  border-radius: 10px;
  margin: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-content {
  max-width: 600px;
  padding: 20px;
}

.about-content .heading {
  font-size: 3rem;
  color: #1e1e2f;
  margin-bottom: 15px;
}

.about-content h3 {
  font-size: 2rem;
  color: #ff6f00;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
}

.about-content .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #1e1e2f;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.about-content .btn:hover {
  background-color: #ff6f00;
}

/* Skills Section */
#skills {
    text-align: center;
    margin-top: 50px;
    font-family: Arial, sans-serif;
}

#skills h2 {
    font-size: 28px;
    color: #ff6b6b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.skills-list {
    list-style: none;  /* Removes default numbers */
    padding: 0;
}

.skills-list li {
    background: #f4f4f4;
    margin: 10px auto;
    padding: 12px 20px;
    width: 200px;
    border-radius: 8px;
    font-size: 20px;
    color: #555555;
    transition: 0.3s ease;
}

.skills-list li:hover {
    background: #4CAF50;
    color: #fff;
    cursor: pointer;
}

/* Education section heading */
.heading {
  text-align: center;
  color: #ff4500;
  font-size: 28px;
  margin-top: 80px;
  margin-bottom: 30px;
}

/* Table container */
.education-table-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Table styling */
.education-table {
  width: 100%;
  border-collapse: collapse;
  background: hsl(0, 0%, 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.education-table th {
  background: #ff4500;
  color: white;
  padding: 30px;
  text-align: left;
  font-size: 20px;
}

.education-table td {
  padding: 10px;
  border-bottom: 1px solid #dddd;
  color: #333;
  font-size: 18px;
}

.education-table tr:hover {
  background-color: #f9f9f9;
}

.education-table tr:last-child td {
  border-bottom: none;
}

/* PROJECT SECTION */
.project {
  background-color: #f8f9fa;
  padding: 100px;
  text-align: center;
}

.project h1 {
  font-size: 3rem;
  color: #1e1e2f;
  margin-bottom: 30px;
}

.project-details {
  max-width: 800px;
  margin: 50px auto;
  text-align: left;
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-details h2 {
  color: #ff6f00;
  font-size: 26px;
  margin-bottom: 10px;
  text-align: left;
}

.project-details p {
  margin: 8px;
  color: #333;
  line-height: 1.6;
  font-size: medium;
}

.project-details strong {
  color: #1e1e2f;
}

.project-details ul {
  margin-top: 10px;
  padding-left: 20px;
}

.project-details ul li {
  margin-bottom: 6px;
  font-size: medium;
  color: #444;
  line-height: 1.5;
}

/* Contact Section */
.contact {
    background: #f9f9f9;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
}

.contact-form label {
    display: block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
    font-size: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #45a049;
}