:root {
  --primary: #4f8cff;
  --primary-light: #eaf2ff;
  --bg: #f7f9fb;
  --card-bg: #fff;
  --text: #222;
  --muted: #666;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --font: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  background-color: #b4d9f0;
}

.container {
  max-width: 1100px;
  margin: 70px auto;
  padding: 32px 16px 0 16px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
width: 85%;
  height: 50%;
  background: #3890fc;
  z-index: 1000;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    margin: 24px auto 32px auto;
    max-width: 1100px;
    padding: 24px;
    display: flex;
    align-items: left;
    justify-content: left;
    column-gap: 50px;
    height: 64px;
  margin: 0;
}

.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.2s, color 0.2s
  
}
.navbar a:hover,
.navbar a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.hero {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-img {
  width: 200px;
  height: 300px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), #fff 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  flex: 1;
  min-width: 260px;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero-content .role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.hero-content .tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  
}

.btn:hover {
  background: #2563eb;
  transform: translateY(-2px) scale(1.03);
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 32px;
}

.about card{
  margin-bottom: 32px;
  text-align: center;
}

.section-title {
  font-size: 50;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--primary);
  text-align: center;
}

.skills-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.skill-card {
  flex: 1 1 180px;
  min-width: 180px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  text-align: center;
}

.skill-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.progress-bar {
  background: #e5eaf1;
  border-radius: 8px;
  height: 12px;
  width: 100%;
  margin: 10px 0 0 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary), #a0c4ff 90%);
  transition: width 0.4s;
}

.projects-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.project-card {
  flex: 1 1 260px;
  min-width: 260px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 16px;
}

.project-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.project-desc {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 8px;
}

.project-tech {
  font-size: 0.95rem;
  color: #444;
}

.exp-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.exp-card {
  flex: 1 1 340px;
  min-width: 180px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 16px;
}

.exp-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
  font-size: 50px;
}

.exp-list {
  list-style: none;
  padding-left: 0;
  text-align: center;

}

.exp-list li {
  margin-bottom: 8px;
  color: var(--muted);

}

.exp-role {
  font-weight: 500;
  margin-bottom: 6px;
}

.exp-bullets {
  margin-left: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-form-card,
.contact-info-card {
  flex: 1 1 320px;
  min-width: 260px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1.5px solid #e5eaf1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f9fbfd;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px #eaf2ff;
}

.contact-form button {
  width: 100%;
}

.contact-info {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-info .info-label {
  color: var(--muted);
  font-size: 0.98rem;
}

footer {
  margin: 40px 0 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  margin-left: 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .container {
    padding: 24px 8px 0 8px;
  }

  .hero {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .skills-list,
  .projects-list,
  .exp-grid,
  .contact-grid {
    flex-direction: column;
    gap: 0;
  }
}


/* Contact page title spacing (if you add h1/h2) */
.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0 22px;
}

/* Make contact cards look slightly more premium */
.contact-form-card,
.contact-info-card {
  border: 1px solid #eef2f7;
}

/* Form heading */
.contact-form-card .section-title {
  margin-bottom: 14px;
}

/* Better textarea height */
.contact-form textarea {
  min-height: 140px;
}

/* Button polish (still uses your .btn style if applied) */
.contact-form button,
.contact-form .btn {
  border-radius: 10px;
}

/* Contact details row style */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.5;
}

.contact-info div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid #eef2f7;
}

/* Make links inside contact info look nice */
.contact-info a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Small student note styling */
.student-note {
  margin-top: 14px;
  padding: 12px 12px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  color: #1f2a44;
  font-size: 0.98rem;
}

/* Mobile: keep same stacking but add spacing */
@media (max-width: 900px) {
  .contact-grid {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 8px;
    height: 56px;
  }

  .container {
    padding: 16px 2vw 0 2vw;
  }

  .card,
  .exp-card,
  .project-card,
  .skill-card,
  .contact-form-card,
  .contact-info-card {
    padding: 18px 8px;
  }

  .hero-img {
    width: 110px;
    height: 110px;
  }
}