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

/* Page layout */
body {
    font-family: system-ui, sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
    padding: 40px;
}

/* Centered container */
.container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Name styling */
.name {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

/* Section headers */
.qualifications h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #444;
}

/* List styling */
.qualifications ul {
    list-style: disc;
    padding-left: 20px;
}

.qualifications li {
    margin-bottom: 8px;
}

/* Header layout */
/* Header layout - Updated for Sticky Scrolling */
.site-header {
    position: fixed; /* This is the magic property that makes it sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Increased z-index so it stays above all other content */
    
    /* Added a semi-transparent dark background so text is readable when scrolling */
    background-color: rgba(20, 20, 20, 0.9); 
    backdrop-filter: blur(8px); /* Adds a modern frosted glass effect */
    color: white;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px; /* Slightly reduced padding so it takes up less screen space while reading */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border to separate it from content */
}

/* Name / logo */
.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #70d4e6;
}

/* Navigation links */
.header-nav a {
    margin-left: 24px;
    text-decoration: none;
    font-size: 1rem;
    color: #ffffff;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: #000;
}


/* Full-width image background section */
.hero-section {
    width: 100%;
    height: 350px;
    background-image: url('banner.jpg'); /* Replace with your image file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
}

/* Optional dark overlay for readability */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Text content */
.hero-content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    margin: 60px 0;
    padding: 40px;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

/* Contact links layout */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual contact item */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: #000;
}

/* Icon styling */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.project-card {
  width: 350px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Inter', sans-serif; /* Or any clean sans-serif */
  border: 1px solid #f0f0f0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  width: 100%;
  height: 200px;
  background-color: #e0e7ff; /* Placeholder color */
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 24px;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-title {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  color: #1e293b;
}

.project-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.project-link {
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.project-link:hover {
  color: #1d4ed8;
}

/* --- Resume Page Styles --- */

.resume-container {
    /* Push content down to account for the fixed header */
    padding-top: 80px; 
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pdf-viewer {
    width: 100%;
    max-width: 1000px; /* Keeps the PDF from looking ridiculously wide on large monitors */
    height: calc(100vh - 80px); /* Fills the exact remaining height of the screen */
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}