/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #f0f4f8, #dbeafe);
  color: #1e293b;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Header ===== */
header {
  background: linear-gradient(90deg, #ffd900, #ffd900);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

nav a {
  margin-left: 20px;
  font-weight: 600;
  color: #fff;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #fef08a;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ===== Hero / Bio Section ===== */
.hero {
  text-align: center;
  padding: 70px 20px;
  margin: 20px;
  border-radius: 20px;
  background: linear-gradient(to right, #fef08a, #fbbf24);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  position: relative;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid #fff;
  margin-bottom: 20px;
  transition: transform 0.4s;
}

.profile-img:hover {
  transform: scale(1.1) rotate(5deg);
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 10px auto 20px;
  line-height: 1.6;
}

.btn {
  background: #3b82f6;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* ===== Content Sections ===== */
.content {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

.content h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 4px;
  background: #fbbf24;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table td, table th {
  padding: 10px 15px;
  border-bottom: 1px solid #e2e8f0;
}

table th {
  background: #f3f4f6;
  font-weight: 600;
  text-align: left;
}

.skills li {
  display: inline-block;
  margin: 5px 8px;
  background: linear-gradient(to right, #fbbf24, #f97316);
  color: #fff;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
}

.skills li:hover {
  transform: scale(1.1);
}

/* ===== Resume Two-Column Layout ===== */
.resume-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.left-column, .right-column {
  flex: 1;
  min-width: 300px;
}

/* ===== Contact Form ===== */
/* ===== Contact Page Specific ===== */
.contact {
  background: linear-gradient(135deg, #e0f7fa, #ffe082);
  padding: 60px 20px;
  border-radius: 20px;
  max-width: 700px;
  margin: 50px auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  position: relative;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #0c4a6e;
  position: relative;
}

.contact h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: #f97316;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.contact p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.contact form {
  background: #fff;
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.contact form:hover {
  transform: translateY(-5px);
}

.contact input,
.contact textarea {
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  transition: 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59,130,246,0.3);
}

.contact button {
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
