@font-face {
  font-family: 'Work Sans';
  src: url('fonts/WorkSans-Black.ttf') format('ttf'); 
  font-weight: normal;
  font-style: normal;
}

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

/* Background behind everything */
body {
  background:
    linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(30, 30, 30, 0.95)),
    url('https://www.transparenttextures.com/patterns/black-linen.png');
  background-repeat: repeat;
  background-size: auto;
  font-family: 'Times New Roman', Times, serif;
  color: #ccc;
  margin: 0;
  padding: 0;
}

/* Container with frosted glass effect */
.frosted-container {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 217px;
  height: 100vh;
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-family: 'Inter', sans-serif;
}


.sidebar h1 {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 40px;
  line-height: 1.5;
  text-transform: uppercase;
  font-family: 'Times New Roman', Times, serif;
  color: white;
  text-align: left;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: #bbb;
  font-family: 'Times New Roman', Times, serif;
  transition: 0.3s;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase
}

.sidebar ul li a.active,
.sidebar ul li a:hover {
  color: white;
  text-decoration: none;
}

.sidebar .socials {
  margin-top: 50px;
}

.sidebar .socials a {
  color: #eee;
  text-decoration: none;
}

.sidebar .socials img {
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
  width: 24px;
  height: 24px;
}

.sidebar .socials img:hover {
  opacity: 0.7;
}

.content {
  padding: 60px;
  max-width: 1000px;
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
  font-family: 'Times New Roman', Times, serif;
  text-align: justify;
  animation: fadeInGlass 0.6s ease-out;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 6px; 
  object-fit: cover;
  margin-bottom: 30px;
}

.story-text p {
  margin-bottom: 20px;
  text-align: justify !important;
}

.content h2 {
  font-size: 22px;
  color: white;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}

.content p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
  text-align: justify;
}
/* Resume Page Layout */
.resume-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 20px;
}

.resume-block img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
  background-color: white;
}

.resume-text h2 {
  font-size: 18px;
  margin-bottom: 5px;
}

.resume-text h4 {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
  font-weight: normal;
}

.resume-text p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
}
.resume-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4); /* increased opacity */
  width: 100%;
  margin: 40px 0;
}
.glass-wrapper {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 40px;
  margin: 40px auto;
  margin-left: 220px; /* leave space for sidebar */
  max-width: calc(100% - 260px); /* full width minus sidebar and margins */
}
.story-text p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}
animation: fadeInGlass 0.5s ease-out;

@keyframes fadeInGlass {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-content {
  display: flex;
  justify-content: space-between;
  padding: 50px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin: 40px auto;
  max-width: 900px;
}

.contact-left {
  flex: 1;
  color: #fff;
  font-family: 'Winner Sans', sans-serif;
  padding-right: 40px;
}

.contact-left h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-left .subhead {
  color: #ccc;
  margin-bottom: 20px;
}

.contact-left a {
  color: #fff;
  text-decoration: underline;
}

.contact-right {
  flex: 1;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-right .row {
  display: flex;
  gap: 10px;
}

.contact-right input,
.contact-right textarea {
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid #555;
  color: #fff;
  border-radius: 6px;
  font-family: 'Times New Roman', serif;
}

.contact-right button {
  padding: 10px;
  border: none;
  background: #e67e22;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.linkedin-icon {
  width: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(1.1);
}
/* Dotted underline style for 'here' links */
.dotted-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  cursor: pointer;
}

.dotted-link:hover {
  opacity: 0.8;
}
.ps-box {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.03); /* subtle frosted look */
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 15px;
}

.ps-box p {
  margin-bottom: 10px;
  color: #ccc;
  line-height: 1.6;
}
.company-desc {
  font-size: 14px;
  color: #aaa;
  font-style: italic;
  margin: -8px 0 12px 0;
}
/* Interests page list + heading alignment */
.story-text h3 {
  /* same style for both section subheads */
  margin: 1.25rem 0 0.5rem;   /* even spacing above/below heading */
  color: inherit;             /* same color */
  font-weight: 700;           /* match your current h3 weight */
  /* font-size inherits your existing h3 size; keep consistent site-wide */
}

/* Make both lists use bullets and align with the h3 text */
.story-text ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0 0 1rem 0;         /* remove extra left margin */
  padding-left: 1.25rem;      /* controls bullet start; tweak to align perfectly */
}

/* Optional: tighten list item spacing a touch if needed */
.story-text li {
  margin: 0.35rem 0;
}
.story-text ul li,
.story-text ul li a { font-size: inherit; line-height: 1.6; }
/* === Interests page list normalization (scoped) === */
.story-text ul { 
  list-style-type: disc; 
  list-style-position: outside; 
  margin: 0 0 1rem 0; 
  padding-left: 1.25rem; 
}
.story-text li { 
  margin: 0.35rem 0; 
}
.story-text ul li,
.story-text ul li a { 
  font-size: 15px !important; 
  line-height: 1.6 !important; 
  letter-spacing: normal !important; 
  text-transform: none !important; 
  font-family: inherit !important; 
}
/* ================================================ */
/* ===== Mobile layout fixes ===== */
@media (max-width: 820px) {
  /* Stack the layout */
  .sidebar {
    position: static;     /* no longer fixed */
    width: 100%;
    height: auto;
    padding: 20px 16px;
    align-items: center;  /* center avatar + name + nav */
  }

  .profile-pic {          /* smaller avatar on mobile */
    width: 128px;
    height: 128px;
    margin-bottom: 16px;
  }

  .glass-wrapper {
    margin: 16px auto;    /* no left offset */
    max-width: 100%;
    padding: 20px;
  }

  .content {
    padding: 16px;
    text-align: left;     /* avoid narrow justified rivers */
  }

  /* Contact page: put form under the text */
  .contact-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .contact-right .row {   /* first/last name on separate lines */
    flex-direction: column;
  }

  /* Keep everything inside the viewport */
  img, video, iframe { max-width: 100%; height: auto; }
  html, body { overflow-x: hidden; }
}
/* ——— Education section ——— */
.section-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 32px 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
}

.edu-section { margin-top: 16px; }

.edu-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  margin: 22px 0 36px;
}

.edu-logo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.edu-body h3 { margin: 0 0 4px; font-weight: 700; }
.edu-meta    { margin: 0 0 8px; opacity: 0.85; }
.edu-tagline { margin: 0 0 8px; }
.edu-bullets { margin: 8px 0 0; padding-left: 18px; }
.edu-bullets li { margin: 4px 0; }

/* Mobile: tighten spacing & icon size */
@media (max-width: 700px) {
  .edu-item { grid-template-columns: 56px 1fr; gap: 14px; }
  .edu-logo img { width: 56px; height: 56px; border-radius: 10px; }
}
/* ==== Make Education look exactly like Work entries ==== */
.section-title { margin: 0 0 10px; font-size: 1.6rem; font-weight: 700; }
.section-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 32px 0; }

/* Shared layout for work & education cards */
.resume-item{
  display: grid;
  grid-template-columns: 72px 1fr;  /* logo column + text column */
  gap: 18px;
  align-items: start;
  margin: 28px 0 36px;
}
.resume-logo{ width:72px; }
.resume-logo img{
  width:72px;              /* force same size as company logos */
  height:72px;
  object-fit: cover;       /* crop to square if the source is round/rect */
  border-radius:12px;
  display:block;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.resume-body{ min-width:0; }
.resume-role{ margin:0 0 2px; font-weight:700; }
.resume-meta{ margin:0 0 8px; opacity:.85; }
.resume-tagline{ margin:0 0 10px; }

.resume-bullets{ margin:8px 0 0; padding-left:18px; }
.resume-bullets li{ margin:4px 0; }

/* Mobile tweak to match work cards */
@media (max-width:700px){
  .resume-item{ grid-template-columns:56px 1fr; gap:14px; }
  .resume-logo, .resume-logo img{ width:56px; height:56px; border-radius:10px; }
}
.resume-bullets {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 15px;        /* matches normal paragraph size */
  line-height: 1.6;       /* same spacing as body text */
  list-style: disc;       /* keep bullet dots */
}

.resume-bullets li {
  margin: 4px 0;
}
.sidebar h1 {
  text-align: center;
}
