.windowContent {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  color: #e1e5f2;
  overflow: hidden;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  contain: layout style paint;
  overscroll-behavior: contain;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #0f172a; /* Dark blue background for content */
  color: #e0e0e0; /* Light text color */
  overflow-y: auto; /* Enable scrolling for content */
  border-radius: 0 0 8px 8px; /* Match window border radius */
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5); /* Inner shadow for depth */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #00bfff #0f172a; /* For Firefox */
}

.windowContent::-webkit-scrollbar {
  width: 8px;
}

.windowContent::-webkit-scrollbar-track {
  background: #0f172a; /* Dark background for track */
  border-radius: 10px;
}

.windowContent::-webkit-scrollbar-thumb {
  background-color: #00bfff; /* Blue thumb */
  border-radius: 10px;
  border: 2px solid #0f172a; /* Padding around thumb */
}

.contentArea {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.6) rgba(30, 41, 59, 0.3);
}

/* Custom scrollbar for webkit browsers */
.contentArea::-webkit-scrollbar {
  width: 12px;
}

.contentArea::-webkit-scrollbar-track {
  background-color: rgba(15, 23, 42, 0.9); /* Match content background */
  border-radius: 6px;
}

.contentArea::-webkit-scrollbar-thumb {
  background-color: rgba(59, 130, 246, 0.6); /* Blue thumb */
  border-radius: 6px;
  border: 3px solid rgba(15, 23, 42, 0.9); /* Border to match background */
  transition: all 0.3s ease;
}

.contentArea::-webkit-scrollbar-thumb:hover {
  background-color: rgba(59, 130, 246, 0.8); /* Lighter blue on hover */
}

.contentSection {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.contentSection:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contentSection h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #00bfff;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.contentSection p,
.contentSection li {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 10px;
  color: #c0c0c0;
}

.contentSection ul {
  list-style: none;
  padding: 0;
}

.contentSection ul li {
  position: relative;
  padding-left: 25px;
}

.contentSection ul li::before {
  content: "•";
  color: #00bfff;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.smoothScroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.6) rgba(15, 23, 42, 0.3);
}

.smoothScroll::-webkit-scrollbar {
  width: 8px;
}

.smoothScroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 4px;
}

.smoothScroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(37, 99, 235, 0.8));
  border-radius: 4px;
  transition: all 0.3s ease;
}

.smoothScroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 1));
  transform: scaleY(1.1);
}

.contentContainer {
  width: 100%;
  max-width: 900px;
  margin: 0 auto; /* Center content within the window */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.contentHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2rem 2rem 1.5rem;
  margin-bottom: 0;
  scroll-margin-top: 0;
}

.contentBody {
  padding: 0 2rem 2rem;
  scroll-padding-top: 120px;
}

.pageTitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.pageSubtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
}

.profileSection {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.profileInfo {
  flex: 1;
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.section {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  background-color: rgba(30, 64, 175, 0.5); /* Darker blue for cards */
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.1);
}

.sectionTitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  color: #3b82f6;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #3b82f6; /* Blue heading */
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  padding-bottom: 10px;
}

.sectionContent {
  color: #cbd5e1;
  line-height: 1.6;
}

.card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: rgba(30, 64, 175, 0.5); /* Darker blue for cards */
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 0 15px rgba(59, 130, 246, 0.7);
}

.cardTitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  color: #e1e5f2;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.cardText {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #94a3b8;
  text-align: center;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: #c0c0c0;
  line-height: 1.5;
}

.formGroup {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.label {
  display: block;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  color: #e1e5f2;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.input,
.textarea {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: #e1e5f2;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  min-height: 44px;
  background-color: rgba(15, 23, 42, 0.7); /* Darker input background */
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 5px;
  padding: 10px;
  color: #e0e0e0;
  font-size: 1rem;
  min-height: 40px; /* Ensure minimum height for inputs */
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.input::placeholder,
.textarea::placeholder {
  color: #64748b;
}

.button {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  border-radius: 8px;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: clamp(0.5rem, 1.5vw, 1rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  background-color: #3b82f6; /* Blue button */
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.button:active {
  transform: translateY(0);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin: clamp(1rem, 3vw, 2rem) 0;
  width: 100%;
}

.gridCols2 {
  grid-template-columns: repeat(2, 1fr);
}

.gridCols3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Projects specific styles */
.projectsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.projectCard {
  background-color: rgba(0, 191, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.projectCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 191, 255, 0.4);
}

.projectImage {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
}

.projectContent {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.projectContent h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #00bfff;
  margin-bottom: 10px;
}

.projectContent p {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: #c0c0c0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.techStack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.techTag {
  background-color: rgba(0, 191, 255, 0.2);
  color: #00bfff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.projectLink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #00bfff;
  text-decoration: none;
  margin-top: 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.projectLink:hover {
  color: #007bff;
}

/* Specific styles for SkillsContent */
.skillsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.skillCategory {
  background-color: rgba(0, 191, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skillCategory h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: #00bfff;
  margin-bottom: 15px;
  text-align: center;
}

.skillList {
  list-style: none;
  padding: 0;
}

.skillItem {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #c0c0c0;
}

.skillItem svg {
  color: #00bfff;
  margin-right: 10px;
  min-width: 18px;
  min-height: 18px;
}

/* Specific styles for ContactContent */
.contactForm {
  display: grid;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.formGroup {
  display: flex;
  flex-direction: column;
}

.formGroup label {
  font-size: 1rem;
  color: #00bfff;
  margin-bottom: 8px;
}

.formGroup input,
.formGroup textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 191, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.3);
  color: #e0e0e0;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.formGroup input:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: #00bfff;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.formGroup textarea {
  min-height: 120px;
  resize: vertical;
}

.submitButton {
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: center;
}

.submitButton:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.contactMethods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.methodCard {
  background-color: rgba(0, 191, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.methodCard:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 191, 255, 0.1);
}

.methodCard svg {
  color: #00bfff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.methodCard p {
  font-size: 1rem;
  color: #c0c0c0;
}

.methodCard a {
  color: #00bfff;
  text-decoration: none;
  font-weight: bold;
}

.methodCard a:hover {
  text-decoration: underline;
}

/* Specific styles for ResumeContent */
.resumeContainer {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.resumeSection {
  background-color: rgba(0, 191, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.resumeSection h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #00bfff;
  margin-bottom: 15px;
  text-align: center;
}

.experienceItem {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(0, 191, 255, 0.1);
}

.experienceItem:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.experienceItem h4 {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: #e0e0e0;
  margin-bottom: 5px;
}

.experienceItem p {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: #c0c0c0;
  margin-bottom: 5px;
}

.experienceItem ul {
  list-style: disc;
  margin-left: 20px;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: #c0c0c0;
}

.experienceItem ul li {
  margin-bottom: 5px;
}

.downloadButton {
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;
  width: fit-content;
  margin: 20px auto 0;
}

.downloadButton:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Specific styles for BrowserContent */
.browserWindow {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  color: #e1e5f2;
  overflow: hidden;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  contain: layout style paint;
  overscroll-behavior: contain;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 2rem);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  background-color: #1a202c; /* Dark blue background for content */
  color: #e2e8f0; /* Light text color */
  overflow-y: auto; /* Enable scrolling for content */
  border-radius: 0 0 8px 8px;
  position: relative;
  z-index: 1;
}

.browserContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #1a1a1a;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.browserToolbar {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  background-color: #2a2a2a;
  border-bottom: 1px solid #3a3a3a;
  gap: 10px;
}

.browserToolbar button {
  background: none;
  border: none;
  color: #e0e0e0;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.browserToolbar button:hover {
  background-color: #3a3a3a;
}

.browserToolbar input {
  flex-grow: 1;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #4a4a4a;
  background-color: #3a3a3a;
  color: #e0e0e0;
  font-size: 0.9rem;
  outline: none;
}

.browserToolbar input:focus {
  border-color: #00bfff;
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}

.browserFrame {
  flex-grow: 1;
  border: none;
  width: 100%;
  height: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .windowContent {
    padding: clamp(0.75rem, 2.5vw, 1.5rem);
  }

  .contentArea {
    padding: 16px;
  }

  .section {
    padding: 16px;
    margin-bottom: 20px;
  }

  .sectionTitle {
    font-size: 1.3rem;
  }

  .gridCols3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .aboutGrid {
    grid-template-columns: 1fr;
  }

  .profileImage {
    max-width: 150px;
  }

  .contactInfo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .windowContent {
    padding: 15px;
  }

  .contentArea {
    padding: 12px;
  }

  .section {
    padding: 12px;
    margin-bottom: 16px;
  }

  .sectionTitle {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .card {
    padding: 12px;
    margin-bottom: 12px;
  }

  .gridCols2,
  .gridCols3 {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 12px;
  }

  .input,
  .textarea {
    padding: 10px 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .button {
    padding: 12px 20px;
    width: 100%;
  }

  .windowContent {
    padding: 15px;
    gap: 15px;
  }

  .sectionTitle {
    margin-bottom: 10px;
  }

  .gridContainer {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .card {
    padding: 15px;
  }

  .contactForm {
    padding: 15px;
  }

  .contactMethods {
    gap: 15px;
  }

  .methodCard {
    width: 150px;
    padding: 10px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timelineItem {
    padding-left: 15px;
    margin-bottom: 20px;
  }

  .timelineItem::before {
    left: 0;
    width: 8px;
    height: 8px;
  }

  .projectImage {
    height: 150px;
  }

  .projectContent {
    padding: 15px;
  }

  .projectContent h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  }

  .techTag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .formGroup input,
  .formGroup textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  .submitButton,
  .downloadButton {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .methodCard {
    padding: 15px;
  }

  .methodCard svg {
    font-size: 2rem;
  }

  .methodCard p {
    font-size: 0.9rem;
  }

  .experienceItem h4 {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  }

  .experienceItem p,
  .experienceItem ul {
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  }
}

@media (max-width: 480px) {
  .windowContent {
    padding: 10px;
    gap: 10px;
  }

  .sectionTitle {
    margin-bottom: 8px;
  }

  .gridContainer {
    grid-template-columns: 1fr; /* Stack cards on very small screens */
    gap: 10px;
  }

  .card {
    padding: 10px;
  }

  .contactForm {
    padding: 10px;
  }

  .contactMethods {
    flex-direction: column; /* Stack contact methods */
    align-items: center;
    gap: 10px;
  }

  .methodCard {
    width: 90%; /* Full width on mobile */
  }

  .timeline {
    padding-left: 15px;
  }

  .timelineItem {
    padding-left: 10px;
    margin-bottom: 15px;
  }

  .timelineItem::before {
    left: 0;
    width: 6px;
    height: 6px;
  }

  .browserToolbar {
    padding: 5px;
  }

  .browserToolbar input {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .aboutGrid {
    grid-template-columns: 1fr;
  }

  .profileImage {
    max-width: 120px;
  }

  .projectsGrid {
    grid-template-columns: 1fr;
  }

  .skillsGrid {
    grid-template-columns: 1fr;
  }

  .contactMethods {
    grid-template-columns: 1fr;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .windowContent {
    border-color: #3b82f6;
  }

  .windowContent::-webkit-scrollbar-thumb {
    background: #3b82f6;
  }

  .windowContent::-webkit-scrollbar-track {
    background: #1e293b;
  }

  .section {
    border-color: rgba(59, 130, 246, 0.6);
  }

  .card {
    border-color: rgba(59, 130, 246, 0.5);
  }

  .input,
  .textarea {
    border-color: rgba(59, 130, 246, 0.5);
  }

  .text,
  .cardText {
    color: #e1e5f2;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .windowContent,
  .browserContent {
    scroll-behavior: auto;
  }

  .projectCard,
  .contactCard,
  .repoItem {
    transition: none;
  }

  .card,
  .button,
  .input,
  .textarea {
    transition: none;
  }

  .card:hover {
    transform: none;
  }

  .button:hover {
    transform: none;
  }
}

.textBlock {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
  color: #c0c0c0; /* Slightly darker text for readability */
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.listItem {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  color: #d0d0d0;
}

.listItem::before {
  content: "•";
  color: #3b82f6; /* Blue bullet point */
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  margin-right: 0.5em;
}

.gridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 10px;
  justify-content: center; /* Center grid items */
}

.tagContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.tag {
  background-color: rgba(59, 130, 246, 0.3); /* Light blue transparent tag */
  color: #e0e0e0;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #3b82f6; /* Blue icon */
}

.progressContainer {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  height: 8px;
  margin-top: 5px;
  overflow: hidden;
}

.progressBar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #0078d4); /* Blue gradient */
  border-radius: 5px;
}

.aboutGrid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

.profileImage {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  border: 2px solid #00bfff;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
  display: block;
  margin: 0 auto;
}

.contactInfo {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.contactInfo li {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(0, 191, 255, 0.05);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(0, 191, 255, 0.1);
  transition: background-color 0.3s ease;
}

.contactInfo li:hover {
  background-color: rgba(0, 191, 255, 0.15);
}

.contactInfo li svg {
  color: #00bfff;
  min-width: 20px;
  min-height: 20px;
}
