/* -------------------------
   Reset & Base Styles
-------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a202c;
  --secondary-color: #507292;
  --light-color: #dbf1f4;
  --text-color: #2d3748;
  --border-radius: 8px;
  --transition: 0.3s ease-in-out;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* -------------------------
   Header & Navbar
-------------------------- */
header {
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav h1 {
  font-size: 1.2rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  font-size: small;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

nav ul li a:hover {
  background: var(--secondary-color);
}

/* Hamburger (for mobile later if needed) */
.hamburger {
  display: none;
}

/* -------------------------
   Sections
-------------------------- */
section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: auto;
}

h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* -------------------------
   Personal
-------------------------- */

.personal-content {
  position: relative;
  z-index: 1; /* keeps text above the overlay */
  text-align: center;
  font-size: medium;
}

.personal-content {
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center horizontally */
  text-align: center;       /* center text */
  gap: 1rem;
}

.personal-content img {
  width: 200px;
  height: 200px;
  object-fit: cover;        /* ensures image fits nicely in circle */
  border-radius: 50%;       /* makes it a perfect circle */
  border: 3px solid var(--secondary-color);
}

.personal-content img:hover {
  transform: scale(1.10); /* bigger zoom */
  box-shadow: 0 10px 20px rgb(235, 186, 96), 
              0 0  10px var(--accent-color); /* deeper + glowing shadow */
  border-color: var(--accent-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}


/* -------------------------
   Education
-------------------------- */
.education-list {
  list-style: disc inside;
  padding: 1rem;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.education-list li {
  margin: 0.6rem 0;
}

/* -------------------------
   Projects
-------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.project-card img {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.project-card h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* -------------------------
   Tools
-------------------------- */
.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.tool {
  /*background: var(--secondary-color); */
  background-color: antiquewhite;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.tool:hover {
  background: #bcc8d4;
  transform: scale(1.05);
}

/* -------------------------
   Skills
-------------------------- */
.skills .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.skills .item {
  background: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.skills .item:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-5px);
}

/* -------------------------
   Internships, Certificates, Activities
-------------------------- */
.list {
  list-style: square inside;
  padding: 1rem;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.list li {
  margin: 0.6rem 0;
}

/* -------------------------
   Languages
-------------------------- */
.language-list {
  list-style: square inside;
  padding: 1rem;
  background: #f9f9f9; /* subtle background */
  border-radius: var(--border-radius);
  box-shadow:  0 2px 6px rgba(0,0,0,0.1);
}


.language-list li {
  margin: 0.6rem 0;
}


/* -------------------------
   Interests
-------------------------- */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  text-align: center;
}

.interest-item {
  background: #fff;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.interest-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius);
}

.interest-item:hover {
  transform: scale(1.05);
  /*background: var(--secondary-color);*/
  background-color: rgb(131, 183, 183);
  color: white;
}

/* -------------------------
   Contact
-------------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  padding: 0.8rem;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

form input:focus,
form textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 5px rgba(49,130,206,0.5);
}

form button {
  background: var(--secondary-color);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

form button:hover {
  background: #2b6cb0;
}

/* -------------------------
   Footer
-------------------------- */
footer {
  text-align: center;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  margin-top: 2rem;
}
