@font-face {
  font-family: "LINEbd";
  src: url("/fonts/LINESeedSans_W_XBd.woff") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* avoids FOIT, uses fallback while loading */
}
@font-face {
  font-family: "LINErg";
  src: url("/fonts/LINESeedSans_W_Rg.woff") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* avoids FOIT, uses fallback while loading */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "LINErg", ui-sans-serif, system-ui, -apple-system, "LINE",
    "LINErg";
  line-height: 1.6;
  scroll-behavior: smooth; /* Smooth scrolling */
}

body {
  background-color: #0a0a0a;
  color: white;
  overflow-x: hidden;
}

/* Main container */
.main-container {
  background-color: #0a0a0a;
  color: white;
}

/* Hero section */
.hero-section {
  padding-left: 1rem;
  padding-top: 1rem;

}

@media (min-width: 1024px) {
  .hero-section {
    padding-bottom: 1rem;
  }
}

.hero-grid {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 420px 1fr;
  }
}

/* Hero sidebar */
.hero-sidebar {
  position: relative;
}

@media (min-width: 1024px) {
  .hero-sidebar {
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2rem);
  }
}

.hero-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(23, 23, 23, 0.6);

}
.about-section-projects{
    border-radius: 1.5rem;
}
@media (min-width: 640px) {
  .hero-card {
    padding: 2rem;
  }
}

/* Dot grid background */
.dot-grid-background {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(circle, #3a3a3a 1px, transparent 1px);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Wordmark */
.wordmark {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  padding-left: 10px;
}

.brand-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
}

/* Hero heading */
.hero-heading {
    font-family: "LINEbd", sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  padding-left: 10px
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 3rem;
    padding-left: 10px
  }
}

.heading-line {
  display: block;
}

/* Hero description */
.hero-description {
  max-width: 42ch;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  padding-left: 10px
}

/* Hero CTA */
.hero-cta {
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-left: 10px
}

.hire-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #0a0a0a;
  background-color: white;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hire-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.arrow-icon {
  width: 1rem;
  height: 1rem;
}

/* Trusted by section */
.trusted-by {
  margin-top: 2.5rem;
}

.trusted-by-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  list-style: none;
}

@media (min-width: 640px) {
  .company-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
 
}
/* Activity iframe section */
.activity-section {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.activity-section iframe {
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
}

/* About Me section */
.about-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.about-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 42ch;
}

/* Skills section */
.skills-section {
  margin-bottom: 1.5rem;
}

.skills-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 0.375rem;
  backdrop-filter: blur(8px);
}

/* Projects container */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 640px) {
  .projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .projects-main-title {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}

/* Projects main title */
.projects-main-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
}

/* About Me section in projects area */
.about-section-projects {
  grid-column: 1 / -1;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(23, 23, 23, 0.4);
  backdrop-filter: blur(8px);
}

.section-title-projects {
font-family: "LINEbd", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.about-text-projects {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Skills section in projects area */
.skills-section-projects {
  grid-column: 1 / -1;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(23, 23, 23, 0.4);
  backdrop-filter: blur(8px);
}

.skills-title-projects {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.skills-grid-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag-projects {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.skill-tag-projects:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Project cards */
.project-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  box-shadow: 0 10px 60px -10px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .project-card {
    height: calc(100vh - 15rem);
  }
}

.project-inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(1.5rem - 4px);
  background-color: black;
  height: 100%;
}

/* Mini project cards */
.mini-project-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.4);
  height: 200px;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .mini-project-card {
    height: 180px;
  }
}

.mini-project-inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(1rem - 3px);
  background-color: rgba(0, 0, 0, 0.3);
  height: 100%;
  backdrop-filter: blur(8px);
}

.mini-project-content {
  position: relative;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.mini-project-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.mini-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.mini-project-tag {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 0.25rem;
  backdrop-filter: blur(4px);
}

.mini-project-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.mini-project-link:hover {
  color: white;
}

/* Project image */
.project-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .project-image-container {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1024px) {
  .project-image-container {
    aspect-ratio: auto;
    height: 100%;
  }
}

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

.project-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

/* Project tags */
.project-tags {
  pointer-events: none;
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
}

/* Project content */
.project-content {
  position: absolute;
  inset-x: 0;
  bottom: 20px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .project-content {
    padding: 1.25rem;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}

.project-info {
  flex: 1;
}

.project-title {
    font: "LINEbd", sans-serif;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 40px;
}

@media (min-width: 640px) {
  .project-title {
    font-family: "LINEbd", sans-serif;
    font-size: 40px;
    line-height: 40px;
  }
}

.project-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);

}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease;
  color: white;
  text-decoration: none;
  align-self: flex-start;
}

@media (min-width: 640px) {
  .case-study-link {
    align-self: auto;
  }
}

.case-study-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .project-card {
    margin-bottom: 1rem;
  }
}

/* Focus styles for accessibility */
.hire-button:focus,
.case-study-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .hero-section {
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-sidebar {
    position: static;
    height: auto;
  }

  .projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .project-card {
    height: auto;
    break-inside: avoid;
  }

  .project-image-container {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}


.project-image {
  width: 100%;
  height: auto;
  display: block;
  animation: blurPulse 6s ease-in-out infinite;
}

@keyframes blurPulse {
  0% {
    filter: blur(3px);
    transform: scale(3);
  }
  50% {
    filter: blur(6px);
    transform: scale(3);
  }
  100% {
    filter: blur(3px);
    transform: scale(3);
  }
}
