/* Light/Dark Theme Variables */
:root {
  /* Light theme variables (default) */
  --bg-primary: #ffffff;
  --text-primary: #333;
  --text-secondary: rgb(80, 80, 80);
  --headline-color: #080808;
  --card-bg: #f0f0f0;
  --card-text: #373737;
  --gradient-1: linear-gradient(90deg, #ff4747, #242424, #222222);
  --bento-bg-1: #eeeeee;
  --bento-color-1: #333;
  --bento-bg-2: #333333;
  --bento-color-2: #fff;
  --bento-bg-3: #d94c44;
  --bento-color-3: #fff;
  --contact-bg: linear-gradient(145deg, #f6f6f6, #ffffff);
  --contact-border: solid;
  --footer-bg: #f5f5f5;
  --footer-text: #333;
  --email-container-bg: #f5f5f5;
  --card-border: solid black 1.2px;
  --active-nav-color: white; /* Added new variable for active nav item */

  /* Scroll animation variables - faster duration */
  --reveal-distance: 50px;
  --reveal-duration: 0.6s;
}

[data-theme="dark"] {
  /* Dark theme variables */
  --bg-primary: #121212;
  --text-primary: #e0e0e0;
  --text-secondary: rgb(180, 180, 180);
  --headline-color: #f0f0f0;
  --card-bg: #2d2d2d;
  --card-text: #e0e0e0;
  --gradient-1: linear-gradient(90deg, #d94c44, #121212, #000000);
  --bento-bg-1: #292929;
  --bento-color-1: #e0e0e0;
  --bento-bg-2: #e0e0e0;
  --bento-color-2: #292929;
  --bento-bg-3: #d94c44;
  --bento-color-3: #e0e0e0;
  --contact-bg: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  --contact-border: solid 1px #333;
  --footer-bg: #1a1a1a;
  --footer-text: #e0e0e0;
  --email-container-bg: #2d2d2d;
  --card-border: solid #444 1.2px;
}

[data-theme="dark"] .tick {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1 {
  font-size: 15.5vw;
  font-weight: 600;
  letter-spacing: -0.05em;
  margin: 0;
  color: var(--headline-color);
}

h2 {
  font-size: 7vw;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--headline-color);
}

h3 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}

.img_container {
  width: 30%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.img_container img {
  width: 100%;
  height: auto;
}

.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gradient-block-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* Added to properly position layover text */
}

.gradient-block {
  background: var(--gradient-1);
  background-size: 300% 100%;
  height: 31vw;
  width: 95%;
  position: relative;
  border: solid 1px #4a4a4a;
  border-top: none;
  overflow: hidden;
  animation: gradientShift 4s ease infinite;
}

[data-theme="dark"] .skills_text {
  margin-top: 60px;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 30%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 20%;
  }
}

/* Adding noise texture overlay */
.gradient-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.layover-text {
  position: absolute;
  top: 78%;
  left: 8%;
  width: 25%;
  transform: translateY(-50%);
  color: white;
  font-size: 3vw;
  text-align: left;
  font-weight: 600;
  letter-spacing: -0.04em;
  z-index: 2; /* Ensure text stays on top */
}

.sub-text {
  text-align: end;
  margin-right: 10vw;
  margin-top: -0.5vw;
}

.sub-text h3 {
  font-size: 2.5vw;
  color: var(--text-secondary);
}

.taskbar__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.taskbar {
  font-weight: 500;
  letter-spacing: -0.02em;
  border-radius: 24px;
  position: fixed;
  top: 10px;
  height: 44px;
  width: 14%;
  background: linear-gradient(90deg, #2b2b2b, #1f1f1f, #2b2b2b);
  color: rgb(189, 189, 189);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1.2rem;
  font-size: 2vw;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  border: solid 1px #7a7a7a;
}

.taskbar__item {
  color: rgb(189, 189, 189);
  text-decoration: none;
  font-size: 1.4vw;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: 0.2s ease-in-out;
}

.taskbar__item:hover {
  color: white;
}

/* New styles for active taskbar item - removing the dot */
.taskbar__item.active {
  color: var(--active-nav-color);
  position: relative;
}

/* Also add styles for mobile menu active items */
.mobile-menu-item.active {
  background-color: var(--card-bg);
  font-weight: 600;
  transform: translateX(10px);
}

.tick {
  width: 40%;
  margin-left: 5vw;
  margin-top: -4vw;
}

.container2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1vw;
  margin-bottom: 7vw;
}

/* Skills Section Styles - Now First */
.skills_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skills_section {
  width: 100%;
  margin: 3rem auto 6rem;
  padding: 0;
  overflow: hidden;
}

/* Skills Carousel Styles */
.skills_carousel {
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
  padding: 1rem 0;
}

.skills_track {
  display: flex;
  transition: transform 1.5s ease; /* Slower transition for smoother scrolling */
  gap: 1.5rem;
  padding: 0 1rem;
}

.skill_item {
  flex: 0 0 auto;
  background-color: var(--card-bg);
  color: var(--card-text);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: var(--card-border);
  min-width: 150px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.skill_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.skill_item .skill_icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.skill_icon img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.skill_item:hover .skill_icon img {
  transform: scale(1.1);
}

/* Skills Description Styles */
.skills_description {
  max-width: 800px;
  margin: 30px auto 30px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

.skill-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Responsive Carousel Styles */
@media (max-width: 768px) {
  .skills_track {
    gap: 1rem;
  }

  .skill_item {
    min-width: 120px;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 576px) {
  .skill_item {
    min-width: 100px;
  }
}

/* Work Experience Section Styles */
.experience_section {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.experience_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 4rem;
}

.experience_description {
  max-width: 800px;
  margin: 30px auto 30px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.experience_timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.experience_timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #d94c44, rgba(217, 76, 68, 0.3));
}

.experience_item {
  position: relative;
  padding-left: 80px;
}

.experience_item::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 20px;
  width: 18px;
  height: 18px;
  background-color: #d94c44;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 2px #d94c44;
}

.experience_content {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: var(--card-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.experience_content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.experience_header {
  margin-bottom: 1rem;
}

.experience_header h3 {
  color: var(--headline-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.experience_company {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #d94c44;
  margin-bottom: 0.25rem;
}

.experience_duration {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

.experience_meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.experience_status {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.experience_status.completed {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.experience_status.active {
  background-color: rgba(217, 76, 68, 0.1);
  color: #d94c44;
  border: 1px solid rgba(217, 76, 68, 0.2);
  animation: pulse-active 2s infinite;
}

@keyframes pulse-active {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.experience_achievements {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.achievement_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background-color: rgba(217, 76, 68, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(217, 76, 68, 0.1);
  min-width: 80px;
  transition: all 0.3s ease;
}

.achievement_item:hover {
  transform: translateY(-3px);
  background-color: rgba(217, 76, 68, 0.1);
}

.achievement_number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #d94c44;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.achievement_label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.experience_highlights {
  margin: 1.5rem 0;
}

.experience_highlights h4 {
  color: var(--headline-color);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

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

.highlights_list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.highlights_list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: #d94c44;
  font-size: 0.8rem;
  top: 0.1rem;
}

/* Dark theme adjustments for new elements */
[data-theme="dark"] .achievement_item {
  background-color: rgba(217, 76, 68, 0.08);
  border-color: rgba(217, 76, 68, 0.15);
}

[data-theme="dark"] .achievement_item:hover {
  background-color: rgba(217, 76, 68, 0.15);
}

[data-theme="dark"] .experience_status.completed {
  background-color: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.25);
}

[data-theme="dark"] .experience_status.active {
  background-color: rgba(217, 76, 68, 0.15);
  border-color: rgba(217, 76, 68, 0.25);
}

.experience_description_text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.experience_skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill_tag {
  background-color: rgba(217, 76, 68, 0.1);
  color: #d94c44;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(217, 76, 68, 0.2);
}

.company_link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d94c44;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.company_link:hover {
  color: var(--headline-color);
  transform: translateX(5px);
}

.company_link svg {
  transition: transform 0.3s ease;
}

.company_link:hover svg {
  transform: scale(1.2);
}

/* Dark theme adjustments */
[data-theme="dark"] .skill_tag {
  background-color: rgba(217, 76, 68, 0.2);
  border-color: rgba(217, 76, 68, 0.3);
}

/* Responsive styles for experience section */
@media (max-width: 768px) {
  .experience_section {
    padding: 0 1rem;
    margin: 4rem auto;
  }

  .experience_timeline::before {
    left: 15px;
  }

  .experience_item {
    padding-left: 50px;
  }

  .experience_item::before {
    left: 6px;
    width: 16px;
    height: 16px;
  }

  .experience_content {
    padding: 1.5rem;
  }

  .experience_header h3 {
    font-size: 1.3rem;
  }

  .experience_meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .experience_achievements {
    gap: 1rem;
    justify-content: center;
  }

  .achievement_item {
    min-width: 70px;
    padding: 0.8rem;
  }

  .achievement_number {
    font-size: 1.5rem;
  }

  .achievement_label {
    font-size: 0.75rem;
  }

  .experience_skills {
    gap: 0.4rem;
  }

  .skill_tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .highlights_list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .experience_timeline::before {
    display: none;
  }

  .experience_item {
    padding-left: 0;
  }

  .experience_item::before {
    display: none;
  }

  .experience_content {
    padding: 1.2rem;
  }

  .experience_achievements {
    flex-direction: column;
    gap: 0.8rem;
  }

  .achievement_item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0.8rem 1rem;
  }

  .achievement_number {
    font-size: 1.4rem;
  }

  .achievement_label {
    font-size: 0.85rem;
    text-align: right;
  }
}

/* Latest Work Section Styles - Now Second */
/* Card Container Styles */
.card_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  width: 80%;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-10px) rotate3d(1, 5, 0, 5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card_image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card_image img {
  transform: scale(1.05);
}

.card_content {
  padding: 1.5rem;
}

.card_button {
  display: inline-block;
  background-color: #1f1f1f;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.card_button:hover {
  background-color: #333;
}

/* Bento Box Styles */
.bento-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.bento-box {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  min-height: 200px;
}

.bento-box:hover {
  transform: translateY(-10px) rotate3d(1, 5, 0, 5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bento-content {
  height: 100%;
  padding: 30px;
  position: relative;
  z-index: 2;
}

.bento-content h3 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.bento-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: auto;
  opacity: 0.9;
}

/* Color variations for bento boxes */
.bento-content.color-1 {
  background-color: var(--bento-bg-1);
  color: var(--bento-color-1);
}

.bento-content.color-2 {
  background-color: var(--bento-bg-2);
  color: var(--bento-color-2);
}

.bento-content.color-3 {
  background-color: var(--bento-bg-3);
  color: var(--bento-color-3);
}

.bento-content.color-4 {
  background-color: var(--bento-bg-1);
  color: var(--bento-color-1);
}

.bento-content.color-5 {
  background-color: var(--bento-bg-3);
  color: var(--bento-color-3);
}

.bento-content.color-6 {
  background-color: var(--bento-bg-2);
  color: var(--bento-color-2);
  transition: 0.2s ease-in-out;
}

.bento-button {
  display: inline-block;
  align-self: flex-start;
  background-color: #f1f1f1;
  color: rgb(31, 31, 31);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  border: black solid 1.5px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 0px #000;
  position: relative;
  padding-right: 3.2rem;
}

.bento-button::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("https://cdn-icons-png.flaticon.com/512/2111/2111432.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}

/* Web link icon (globe) for website project links */
.bento-button.web-link::after {
  background-image: url("https://cdn-icons-png.flaticon.com/512/2301/2301129.png");
  width: 1.3rem; /* Slightly smaller than the GitHub icon */
  height: 1.3rem;
}

.bento-button:hover::after {
  transform: translateY(-50%) scale(1.1);
}

.bento-button:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0px #000;
}

.bento-content.color-3 .bento-button,
.bento-content.color-6 .bento-button {
  color: black;
  background-color: #eeeeee;
  border: solid;
}

.bento-content.color-4 .bento-button {
  background-color: #d94c44;
  color: #fff;
}

.bento-content.color-2 .bento-button {
  background-color: #eeeeee;
  color: #1f1f1f;
  border: solid;
}

.bento-content.color-1 .bento-button {
  background-color: #eeeeee;
  border: solid;
  color: #1f1f1f;
}

/* Box sizes */
.bento-box.large {
  grid-column: span 2;
  grid-row: span 2;
  border: solid black 2px;
}

.bento-box.medium {
  grid-column: span 2;
  grid-row: span 1;
}
.bento-box.medium.bento-box.vertical {
  border: solid 2px black;
}

.bento-box.small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-box.vertical {
  grid-column: span 1;
  grid-row: span 2;
}

/* Responsive adjustments for bento layout */
@media (max-width: 1200px) {
  .bento-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .bento-container {
    grid-template-columns: 1fr;
  }

  .bento-box.large,
  .bento-box.medium,
  .bento-box.small,
  .bento-box.vertical {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 250px;
  }
}

/* About Section Styles - Still Third */
.about_section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 90%;
  gap: 3rem;
  max-width: 1200px;
  margin: 10vw auto;
  padding: 0 2rem;
}

.about_content {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  width: 120%;
  justify-content: center;
  align-items: center;
}

.about_text {
  align-items: center;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 20px;
}

.about_text p {
  margin-bottom: 1.5rem;
}

/* Profile Image Styles */
.profile_image_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile_image {
  width: 100%;
  max-width: 550px;
  height: auto;
  transition: transform 0.3s ease;
}

/* Contact Section Styles */
.contact_section {
  max-width: 1200px;
  margin: 7vw;
  padding: 3rem 5rem;
  border-radius: 24px;
  border: var(--contact-border);
  background: var(--contact-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact_container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact_heading {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.contact_heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #d94c44;
  border-radius: 2px;
}

.contact_info {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid #d94c44;
}

.contact_links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #1f1f1f;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.contact_link:hover::before {
  left: 100%;
}

.contact_link:hover {
  background-color: #d94c44;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15);
}

.contact_form {
  background-color: rgba(128, 128, 128, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(128, 128, 128, 0.1);
  max-width: 90%;
  margin: 0 auto;
}

.form_group {
  margin-bottom: 16px;
}

.form_label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--headline-color);
  font-size: 0.95rem;
}

.form_input,
.form_textarea {
  width: 92%;
  padding: 10px 12px;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form_input:focus,
.form_textarea:focus {
  outline: none;
  border-color: var(--accent-color, #d94c44);
  box-shadow: 0 0 0 3px rgba(217, 76, 68, 0.1);
}

.form_textarea {
  resize: vertical;
  min-height: 100px;
}

.form_button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--headline-color);
  color: var(--bg-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  font-weight: 400;
}

.contact_socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f1f1f1;
  transition: all 0.3s ease;
}

.social_link:hover {
  transform: translateY(-5px) rotate(10deg);
  background-color: #d94c44;
}

.social_link img {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.social_link:hover img {
  filter: brightness(0) invert(1);
}

.sub-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* Responsive styles for contact section */
@media (max-width: 768px) {
  .contact_section {
    padding: 1.5rem;
  }

  .contact_links {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .contact_link {
    justify-content: center;
  }

  .social_link {
    width: 40px;
    height: 40px;
  }

  .form_button {
    width: 100%;
  }
}

.email-container {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: var(--email-container-bg);
  border-radius: 50px;
  margin: 1rem 0;
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 16%);
  transition: all 0.3s ease;
}

.email-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.email {
  font-size: 1.1rem;
  color: var(--footer-text);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.custom-footer {
  background-color: var(--footer-bg);
  padding: 6px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  margin: 40px auto;
  width: 80%;
}

/* Footer Styles */
footer {
  background-color: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 5rem;
}
.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-12px);
  
}

.social-icons img {
  width: 4.5vw;
  height: 4.5vw;
  border-radius: 10px;
  transform: rotate(-5deg);
}

.social-icons a:hover img {
  transform: rotate(0deg) scale(1.1);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .about_text {
    flex: 2;
  }

  .skills_container {
    flex: 1;
    margin-top: 0;
  }

  .taskbar {
    width: 23%;
  }
}

@media (max-width: 768px) {
  .tick {
    display: none;
  }
  .custom-footer {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 20px 10px;
  }
  .social-icons img {
    width: 3rem;
    height: 3rem;
  }
  .sub-text h3 {
    font-size: 4vw;
    text-align: start;
    margin: 0;
    margin-left: 5vw;
    margin-top: 3vw;
  }
  .skills_description {
    margin: 2vw 8vw;
  }
  .card_container {
    grid-template-columns: 1fr;
  }

  .about_section {
    flex-direction: column;
    align-items: center;
  }

  .about_text {
    padding-top: 0;
  }

  .taskbar {
    display: none;
  }
  .about_content {
    padding: 0;
  }
  .bento-container {
    padding: 0;
  }
  .about_section {
    padding: 0;
  }

  .profile_image {
    width: 100%;
    max-width: 400px;
  }

  h2 {
    font-size: 9vw;
  }

  .gradient-block {
    height: 90vw;
  }

  .layover-text {
    font-size: 6vw;
    top: 80%;
    left: 10%;
  }

  .screen h1 {
    font-size: 17vw;
    margin-left: 20px;
  }

  .about_content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .custom-footer {
    height: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 20px;
    padding: 20px 10px;
  }
  h2 {
    font-weight: 600;
    font-size: 12vw;
  }
  .container2 {
    margin-top: -10vw;
  }
  [data-theme="dark"] .skills_text {
    margin-top: 10px;
  }
  .skills_text h2 {
    margin-top: 20px;
    margin-bottom: 6px;
  }
  .social-icons img {
    width: 10vw;
    height: 10vw;
  }
  .contact_link {
    width: 100%;
  }
  .gradient-block {
    height: 110vw;
  }
  .screen {
    margin-top: 24px;
  }
  .custom-footer a {
    font-size: 1.1rem;
  }
  .skills_description {
    font-size: 1rem;
  }
  .screen h1 {
    line-height: 1;
    margin-bottom: 10px;
  }

  .custom-footer a:hover {
    text-decoration: underline;
  }
  .contact_info p {
    font-size: 1rem;
  }
  .email-container {
    padding: 0.5rem 1rem;
  }
  .email-container {
    display: none;
  }
}

.button-wrapper {
  transform: rotate(-5deg);
}

.connect-btn {
  background-color: #d94c44;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 10px 10px 0px #000;
  transition: all 0.3s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.connect-btn:hover {
  box-shadow: 12px 12px 0px #000;
  transform: scale(1.05);
}

a {
  text-decoration: none;
}

.custom-footer a:hover {
  text-decoration: underline;
}

.email {
  color: var(--footer-text);
  font-weight: 500;
}

/* Interactive Credits/Watermark Styles */
.credits-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  padding: 15px 0;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 80px;
  transition: all 0.5s ease;
}

.credits-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.credits-wrapper:hover {
  transform: translateY(-3px);
}

.credits-text {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 3px;
  letter-spacing: -0.02em;
}

.credits-cursor {
  width: 2px;
  height: 18px;
  background-color: var(--text-primary);
  animation: credits-blink 1s infinite;
}

@keyframes credits-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.credits-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Remove all particle related styles and add new ripple effect */
.credits-ripple {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: transparent;
  border: 2px solid #2d2d2d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ripple-out 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes ripple-out {
  0% {
    width: 5px;
    height: 5px;
    opacity: 1;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* Glow effect for click animation */
.credits-glow {
  position: relative;
}

.credits-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(45, 45, 45, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glow-pulse 0.8s ease-out;
  z-index: -1;
}

@keyframes glow-pulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Media queries for responsive credits */
@media (max-width: 576px) {
  .credits-container {
    height: 60px;
  }

  .credits-text {
    font-size: 16px;
  }

  .credits-cursor {
    height: 16px;
  }
}

/* Theme Toggle Button Styles */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  padding: 0;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}

.theme-toggle:hover {
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: rgb(189, 189, 189);
  stroke: rgb(189, 189, 189);
  stroke-width: 2px;
  transition: all 0.3s ease;
}

.theme-toggle:hover svg {
  fill: white;
  stroke: white;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: rgb(220, 220, 220);
  margin: 5px 0;
  border-radius: 5px;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.close-menu {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: transform 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg);
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-item {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: rgba(128, 128, 128, 0.05);
}

.mobile-menu-item:hover,
.mobile-menu-item:focus {
  background-color: var(--card-bg);
  transform: translateX(10px);
}

/* Overlay styling when mobile menu is active */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger-menu {
    display: block;
  }

  /* Hide desktop taskbar on mobile */
  .taskbar {
    display: none;
  }

  /* Adjust spacing for mobile header */
  .mobile-menu-header {
    margin-top: 10px;
  }

  /* Add some animation to the mobile menu items */
  @keyframes slideIn {
    from {
      transform: translateX(30px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .mobile-menu-item {
    animation: slideIn 0.3s forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
  }

  /* Prevent scrolling when menu is active */
  body.menu-open {
    overflow: hidden;
  }
}

/* Resume Section Styles - Compact Version */
.resume-section {
  margin: 2.5rem 0;
  padding: 0;
  transition: all 0.3s ease;
  text-align: left;
}
.email-container {
  display: none;
}
.resume-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bento-bg-3);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  margin-right: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 0px #000;
  text-decoration: none;
}

.resume-button:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0px #000;
}

.resume-button svg {
  transition: transform 0.3s ease;
}

.resume-button:hover svg {
  transform: translateY(2px);
}

/* Responsive styles for resume section */
@media (max-width: 768px) {
  .resume-button {
    width: auto;
    justify-content: center;
  }
}

/* Scroll reveal animation styles */
.reveal-section {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) ease,
    transform var(--reveal-duration) ease;
}

.reveal-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Different delay options for elements */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Different direction options */
.reveal-right {
  transform: translateX(calc(-1 * var(--reveal-distance)));
}

.reveal-left {
  transform: translateX(var(--reveal-distance));
}

.reveal-right.active,
.reveal-left.active {
  transform: translateX(0);
}

/* Learn More Button - Improved */
.learn-more-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--bento-bg-3);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0px #000;
  position: relative;
  overflow: hidden;
}

.learn-more-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;

  z-index: -1;
}

.learn-more-button:hover::before {
  left: 100%;
}

.learn-more-button:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0px #000;
}

.learn-more-button svg {
  transition: transform 0.3s ease;
}

.learn-more-button:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .resume-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .learn-more-button {
    margin-left: 0;
    justify-content: center;
    margin-top: 10px;
  }
}

/* About Page Styles */
.about-page-container {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 0 20px;
}

.about-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.about-page-header h1 {
  font-size: 2.5rem;
  margin: 0;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: var(--text-color);
  color: var(--background-color);
}

.profile-section {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.profile-image-large {
  flex: 0 0 300px;
}

.profile-image-large img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.profile-details {
  flex: 1;
}

.profile-details h2 {
  font-size: 2rem;
  margin: 0 0 10px 0;
}

.profile-title {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin: 0 0 30px 0;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.profile-link:hover {
  color: var(--accent-color);
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-section {
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  padding-bottom: 40px;
}

.about-section:last-child {
  border-bottom: none;
}

.about-section h2 {
  color: var(--accent-color);
  margin-bottom: 25px;
  font-size: 3.2rem;
}

.section-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.education-list li {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.education-year {
  flex: 0 0 120px;
  font-weight: bold;
  color: var(--accent-color);
}

.education-details {
  flex: 1;
}

.education-details h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.education-details p {
  margin: 0;
  color: rgba(var(--text-color-rgb), 0.8);
}

.expertise-category {
  margin-bottom: 30px;
}

.expertise-category h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.expertise-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.expertise-list li {
  margin-bottom: 10px;
}

.philosophy-item {
  margin-bottom: 25px;
}

.philosophy-item h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.philosophy-item p {
  margin: 0;
}

.interests-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 20px 0;
}

.interests-list li {
  margin-bottom: 10px;
}

.resume-download {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--accent-color);
  color: var(--headline-color);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-image-large {
    flex: 0 0 auto;
    width: 200px;
  }

  .education-list li {
    flex-direction: column;
    gap: 5px;
  }

  .education-year {
    flex: 0 0 auto;
  }
}

/* Contact Page Styles - Updated color scheme */
.contact-page-container {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 0 20px;
}

.contact-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.contact-page-header h1 {
  font-size: 2.5rem;
  margin: 0;
}

.contact-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 70px;
}

.contact-details h2,
.contact-form-wrapper h2,
.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--headline-color);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(217, 76, 68, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-icon svg {
  color: var(--accent-color, #d94c44);
}

.contact-info h3 {
  font-size: 1.2rem;
  margin: 0 0 5px 0;
  color: var(--headline-color);
}

.contact-info a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent-color, #d94c44);
}

.contact-info p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.resume-download-contact {
  margin-top: 40px;
}

/* Contact Form Styles - Updated */
.contact-form {
  background-color: rgba(128, 128, 128, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(128, 128, 128, 0.1);
  max-width: 90%;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--headline-color);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 92%;
  padding: 10px 12px;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color, #d94c44);
  box-shadow: 0 0 0 3px rgba(217, 76, 68, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--headline-color);
  color: var(--bg-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  font-weight: 400;
}

.form-button svg {
  transition: transform 0.3s ease;
}

.form-button:hover svg {
  transform: translateX(3px);
}

/* FAQ Section - Updated */
.faq-section {
  margin-top: 60px;
}

.faq-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.faq-item {
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(128, 128, 128, 0.05);
  border: 1px solid rgba(128, 128, 128, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  color: var(--headline-color);
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

.primary-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--headline-color);
  color: var(--bg-primary);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.primary-contact-button:hover {
  background-color: var(--accent-color, #d94c44);
  transform: translateY(-3px);
  box-shadow: 7px 7px 0px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Responsive Styles - Unchanged */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-items {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    order: -1;
  }
}

@media (max-width: 600px) {
  .contact-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contact-page-header h1 {
    font-size: 2rem;
  }

  .contact-method {
    flex-direction: column;
  }

  .contact-icon {
    margin-bottom: 10px;
  }
}

/* View All Projects Button Styles */
.view-all-projects-container {
  display: flex;
  justify-content: center;
  margin: 40px 0 80px;
}

.view-all-projects-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background-color: var(--headline-color);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.view-all-projects-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.view-all-projects-button svg {
  transition: transform 0.3s ease;
}

.view-all-projects-button:hover svg {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .view-all-projects-container {
    margin: 30px 0 60px;
  }

  .view-all-projects-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
