/* Custom Premium CSS System for SUJAN Portfolio */

:root {
  --radius: 0.625rem;
  
  /* Theme Colors using Reference OKLCH values */
  --background: oklch(95% 0.005 250);          /* Soft off-white */
  --foreground: oklch(15% 0.01 250);           /* Deep charcoal */
  --card: oklch(93% 0.005 250);                 /* Light gray background card */
  --card-foreground: oklch(15% 0.01 250);
  --popover: oklch(97% 0.003 250);
  --popover-foreground: oklch(15% 0.01 250);
  --primary: oklch(15% 0.01 250);               /* Primary branding color */
  --primary-foreground: oklch(95% 0.005 250);
  --secondary: oklch(92% 0.005 250);
  --secondary-foreground: oklch(15% 0.01 250);
  --muted: oklch(92% 0.005 250);
  --muted-foreground: oklch(50% 0.02 250);
  --accent: oklch(65% 0.1 170);                 /* Muted sage green */
  --accent-foreground: oklch(15% 0.01 250);
  --destructive: oklch(57.7% 0.245 27.325);
  --destructive-foreground: oklch(98.4% 0.003 247.858);
  --border: oklch(88% 0.008 250);
  --input: oklch(88% 0.008 250);
  --ring: oklch(65% 0.1 170);

  /* Specific Design Tokens */
  --dust-sage: oklch(65% 0.1 170);
  --dust-lime: oklch(90% 0.18 110);             /* Vibrant lime accent */
  --dust-dark: oklch(20% 0.01 250);             /* Deep dark for blog image card */
  --dust-gray: oklch(88% 0.005 250);            /* Graphic element gray shape */
  --dust-light: oklch(95% 0.005 250);
  --dust-dot: oklch(75% 0.008 250);             /* Dotted grid dots */
  
  --font-family-display: "Inter", "Helvetica Neue", "Arial Black", sans-serif;
  --font-family-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-family-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utilities & Typography --- */
.text-display {
  font-family: var(--font-family-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.text-accent {
  color: var(--accent);
}

.dot-grid {
  background-image: radial-gradient(circle, var(--dust-dot) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--background);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px);
  background-color: rgba(244, 245, 246, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
}

@media (max-width: 640px) {
  .nav-container {
    padding: 16px 20px;
  }
}

.nav-logo {
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 8px;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.6);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-hire {
  padding: 10px 24px;
  background-color: var(--foreground);
  color: var(--background);
}

.btn-hire:hover {
  background-color: var(--accent);
}

@media (max-width: 640px) {
  .btn-hire:not(.mobile-btn) {
    display: none;
  }
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }
}

.menu-toggle svg {
  width: 16px;
  height: 16px;
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid transparent;
}

.mobile-menu.open {
  max-height: 350px;
  opacity: 1;
  padding-bottom: 24px;
  padding-top: 8px;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.mobile-link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.6);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.mobile-link:hover {
  color: var(--foreground);
  padding-left: 8px;
}

.mobile-btn {
  margin-top: 16px;
  padding: 14px;
  width: 100%;
}

/* --- Hero Section --- */
.hero-section {
  padding: 8px 40px 40px 40px;
}

@media (max-width: 640px) {
  .hero-section {
    padding: 8px 20px 40px 20px;
  }
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
}

.hero-header-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.hero-title-row {
  white-space: nowrap;
  overflow: hidden;
}

.text-display.title-accent {
  font-size: clamp(2.4rem, 8.8vw, 8.5rem);
  color: var(--accent);
}

.text-display.title-default {
  font-size: clamp(2.4rem, 8.8vw, 8.5rem);
  color: var(--foreground);
}

.hero-subhead-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 4px;
}

.hero-desc-desktop {
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  max-width: 260px;
  padding-top: 4px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-desc-desktop {
    display: none;
  }
}

.hero-desc-mobile {
  display: none;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  max-width: 240px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .hero-desc-mobile {
    display: block;
  }
}

.hero-title-row-2 {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  overflow: hidden;
}


.hero-content-grid {
  display: flex;
  gap: 40px;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .hero-content-grid {
    flex-direction: column;
    gap: 32px;
  }
}

.hero-image-wrapper {
  position: relative;
  flex: 1;
}

.hero-image-container {
  position: relative;
  margin-left: 96px;
}

@media (max-width: 1024px) {
  .hero-image-container {
    margin-left: 64px;
  }
}

@media (max-width: 640px) {
  .hero-image-container {
    margin-left: 40px;
  }
}

.hero-image {
  width: 100%;
  max-width: 680px;
  height: 480px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 640px) {
  .hero-image {
    height: 300px;
  }
}

.hero-deco-gray {
  position: absolute;
  left: 0;
  top: 32px;
  width: 144px;
  height: 256px;
  background-color: var(--dust-gray);
  z-index: -1;
}

@media (max-width: 640px) {
  .hero-deco-gray {
    width: 80px;
    height: 160px;
    top: 16px;
  }
}

.hero-play-btn {
  position: absolute;
  left: 112px;
  top: 32px;
  width: 96px;
  height: 96px;
  background-color: var(--dust-lime);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-play-btn:hover {
  filter: brightness(0.95);
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .hero-play-btn {
    width: 64px;
    height: 64px;
    left: 48px;
    top: 16px;
  }
}

.hero-play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--foreground);
  color: var(--foreground);
}

@media (max-width: 640px) {
  .hero-play-btn svg {
    width: 20px;
    height: 20px;
  }
}

.hero-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 340px;
  flex-shrink: 0;
  padding: 8px 0;
}

@media (max-width: 1024px) {
  .hero-side-panel {
    width: 100%;
    gap: 32px;
  }
}

.hero-meta-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Custom HTML Donut Chart Visual */
.donut-chart {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--foreground);
  overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .donut-chart {
    width: 64px;
    height: 64px;
  }
}

.donut-slice {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: var(--background);
}

.donut-inner {
  position: absolute;
  right: 25%;
  top: 25%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: rgba(244, 245, 246, 0.8);
}

.hero-meta-text {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  padding-top: 2px;
}

.hero-action-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease;
}

.hero-action-link:hover {
  border-color: rgba(0, 0, 0, 0.30);
}

.hero-action-link .arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.hero-action-link:hover .arrow {
  transform: translateX(4px);
}

.hero-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links-minimal {
  display: flex;
  gap: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.4);
}

.social-links-minimal a {
  transition: color 0.2s ease;
}

.social-links-minimal a:hover {
  color: var(--foreground);
}

.hero-year {
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
}


/* --- Vision Section --- */
.vision-section {
  padding: 96px 40px;
}

@media (max-width: 640px) {
  .vision-section {
    padding: 64px 20px;
  }
}

.vision-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.vision-heading {
  font-size: clamp(1.6rem, 4.5vw, 4.2rem);
  color: var(--foreground);
  line-height: 1.05;
  margin-bottom: 48px;
  text-align: center;
}

.hide-mobile {
  display: block;
}

@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }
}

.vision-meta {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 96px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .vision-meta {
    flex-direction: column;
    gap: 16px;
  }
}

.vision-est {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  flex-shrink: 0;
}

.vision-body {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.7;
  max-width: 780px;
}


/* --- Stats Bar --- */
.stats-section {
  padding: 0 40px;
}

@media (max-width: 640px) {
  .stats-section {
    padding: 0 20px;
  }
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}


/* --- Services Section --- */
.services-section {
  padding: 80px 40px;
}

@media (max-width: 640px) {
  .services-section {
    padding: 48px 20px;
  }
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 640px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }
}

.section-tagline {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--foreground);
  line-height: 0.95;
  margin-top: 8px;
}

.section-intro {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  max-width: 320px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 56px;
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

.service-card {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-top-color: rgba(90, 142, 123, 0.4);
}

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  stroke-width: 1.5;
  margin-bottom: 16px;
}

.service-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.service-description {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}


/* --- Experience Section --- */
.experience-section {
  padding: 48px 40px;
}

@media (max-width: 640px) {
  .experience-section {
    padding: 32px 20px;
  }
}

.experience-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 1024px) {
  .experience-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.experience-visual {
  position: relative;
  overflow: hidden;
}

.experience-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .experience-img {
    height: 300px;
  }
}

.experience-title-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background-color: rgba(0, 0, 0, 0.05); /* very light dim for text contrast */
  pointer-events: none;
}

.overlay-heading {
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  color: var(--foreground);
  line-height: 0.95;
  max-width: 88%;
}

.experience-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 40px;
}

@media (max-width: 640px) {
  .experience-list {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  stroke-width: 1.5;
}

.exp-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.35;
}

.experience-action-link {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease;
}

.experience-action-link:hover {
  border-color: rgba(0, 0, 0, 0.4);
}

.experience-action-link .arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.experience-action-link:hover .arrow {
  transform: translateX(4px);
}


/* --- Brand Section --- */
.brand-section {
  padding: 80px 40px;
}

@media (max-width: 640px) {
  .brand-section {
    padding: 48px 20px;
  }
}

.brand-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  align-items: center;
}

@media (max-width: 1024px) {
  .brand-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.award-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.award-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.55);
}

.brand-title {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.92;
  color: var(--foreground);
}

.title-line {
  display: inline-block;
  vertical-align: middle;
  margin: 0 16px;
  width: 80px;
  height: 3px;
  background-color: var(--foreground);
}

@media (max-width: 640px) {
  .title-line {
    width: 48px;
    margin: 0 12px;
  }
}

.brand-description {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.7;
  max-width: 440px;
}

.brand-card-block {
  display: flex;
  flex-direction: column;
}

.brand-card {
  position: relative;
  background-color: var(--dust-dark);
  overflow: hidden;
}

.brand-card-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  opacity: 0.95;
  transition: transform 0.5s ease;
}

.brand-card:hover .brand-card-img {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .brand-card-img {
    height: 360px;
  }
}

.brand-card-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.btn-readmore {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(244, 245, 246, 0.95);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-readmore:hover {
  background-color: rgb(255, 255, 255);
}

.btn-readmore:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.brand-card-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.brand-card-desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.6;
  max-width: 380px;
}

.brand-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.7);
  padding-top: 4px;
}


/* --- Featured Events Section --- */
.portfolio-section {
  padding: 80px 40px;
}

@media (max-width: 640px) {
  .portfolio-section {
    padding: 48px 20px;
  }
}

.portfolio-container {
  max-width: 1300px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (max-width: 1024px) {
  .portfolio-img {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .portfolio-img {
    height: 280px;
  }
}

/* Hover Overlay */
.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.portfolio-card:hover .portfolio-hover-overlay {
  background-color: rgba(0, 0, 0, 0.65);
  opacity: 1;
}

.portfolio-hover-content {
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-hover-content {
  transform: translateY(0);
}

.portfolio-hover-content .portfolio-tag {
  color: var(--dust-lime);
}

.portfolio-hover-content .portfolio-name {
  color: var(--background);
  margin-top: 4px;
  font-size: 1.25rem;
}

.portfolio-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  line-height: 1.6;
}

/* Static Overlay Footer (disappears on hover) */
.portfolio-static-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 16px;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.portfolio-card:hover .portfolio-static-info {
  opacity: 0;
}

.portfolio-static-info .portfolio-name {
  color: var(--background);
  font-size: 0.95rem;
}

.portfolio-static-info .portfolio-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.portfolio-tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
}


/* --- Testimonials Section --- */
.testimonials-section {
  padding: 96px 40px;
}

@media (max-width: 640px) {
  .testimonials-section {
    padding: 64px 20px;
  }
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-section .section-header {
  justify-content: center;
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.testimonial-card {
  background-color: var(--background);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-body-block {
  display: flex;
  flex-direction: column;
}

.quote-icon {
  width: 24px;
  height: 24px;
  color: rgba(90, 142, 123, 0.4);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.client-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.client-title {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 2px;
}


/* --- Contact Section --- */
.contact-section {
  padding: 80px 40px;
}

@media (max-width: 640px) {
  .contact-section {
    padding: 48px 20px;
  }
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-layout {
  display: flex;
  gap: 80px;
}

@media (max-width: 1024px) {
  .contact-layout {
    flex-direction: column;
    gap: 48px;
  }
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  color: var(--foreground);
  line-height: 0.92;
  margin-top: 8px;
}

.contact-channels {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon-box svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.channel-detail {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
}

.contact-form-block {
  flex: 1;
  max-width: 480px;
}

@media (max-width: 1024px) {
  .contact-form-block {
    max-width: 100%;
  }
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  font-size: 14px;
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

/* Custom Dropdown select */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "↓";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  pointer-events: none;
  color: rgba(0, 0, 0, 0.4);
}

.select-input {
  appearance: none;
  cursor: pointer;
}

.textarea-input {
  resize: none;
}

.btn-submit {
  margin-top: 16px;
  padding: 12px 24px;
  background-color: var(--foreground);
  color: var(--background);
  gap: 12px;
  align-self: flex-start;
}

.btn-submit:hover {
  background-color: var(--accent);
}

.submit-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-submit:hover .submit-arrow {
  transform: translateX(4px);
}

.form-success-msg {
  display: none;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 12px;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- Footer Section --- */
.footer {
  padding: 56px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 20px;
  }
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

@media (max-width: 1024px) {
  .footer-main-row {
    flex-direction: column;
    gap: 48px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 8px;
  max-width: 260px;
  line-height: 1.7;
}

.footer-links-grid {
  display: flex;
  gap: 64px;
}

@media (max-width: 640px) {
  .footer-links-grid {
    width: 100%;
    justify-content: space-between;
    gap: 32px;
  }
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-links a {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  transition: color 0.2s ease;
}

.footer-nav-links a:hover {
  color: var(--foreground);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
}

.legal-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.legal-links a {
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: rgba(0, 0, 0, 0.6);
}

/* --- Services Subpage Styles --- */

.nav-link.active {
  color: var(--foreground) !important;
  background-color: rgba(0, 0, 0, 0.05);
}

.subpage-hero {
  padding: 80px 40px 64px 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .subpage-hero {
    padding: 48px 20px 40px 20px;
  }
}

.subpage-title {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.92;
  margin-top: 16px;
}

.subpage-desc {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
  max-width: 600px;
  margin-top: 24px;
  line-height: 1.6;
}

.workflow-section {
  padding: 96px 40px;
}

@media (max-width: 640px) {
  .workflow-section {
    padding: 64px 20px;
  }
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 64px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.timeline-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.timeline-node {
  position: relative;
  display: flex;
  gap: 40px;
  z-index: 2;
}

.node-badge {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: var(--foreground);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 5;
  box-shadow: 0 0 0 8px var(--background);
}

.timeline-content {
  background-color: var(--background);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px;
  flex-grow: 1;
  border-radius: var(--radius);
}

.phase-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.phase-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 4px;
}

.phase-desc {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 12px;
  line-height: 1.6;
}

.phase-deliverables {
  margin-top: 20px;
  padding-left: 0;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style-type: none;
}

.phase-deliverables li::before {
  content: "■  ";
  color: var(--accent);
  font-size: 9px;
  margin-right: 8px;
}

.services-detail-section {
  padding: 96px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .services-detail-section {
    padding: 64px 20px;
  }
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 56px;
}

.detail-card {
  background-color: var(--background);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  border-radius: var(--radius);
}

.detail-meta {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  stroke-width: 1.5;
}

.detail-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.1;
}

.detail-timeline {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.4);
}

.detail-body {
  flex-grow: 1;
}

.detail-desc {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.7;
}

.deliverable-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--foreground);
  margin-top: 24px;
  margin-bottom: 12px;
}

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
  list-style-type: none;
}

.deliverable-list li::before {
  content: "✓  ";
  color: var(--accent);
  font-weight: bold;
  margin-right: 6px;
}

.subpage-cta {
  padding: 96px 40px;
  background-color: var(--foreground);
  color: var(--background);
}

@media (max-width: 640px) {
  .subpage-cta {
    padding: 64px 20px;
  }
}

.cta-title {
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 16px auto 32px auto;
  line-height: 1.6;
}

.cta-btn {
  background-color: var(--background);
  color: var(--foreground);
}

.cta-btn:hover {
  background-color: var(--accent);
  color: var(--background);
}

/* --- Services Responsive Timeline & Cards --- */

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-node {
    gap: 16px;
  }
  .node-badge {
    width: 44px;
    height: 44px;
    font-size: 14px;
    box-shadow: 0 0 0 6px var(--background);
  }
  .timeline-content {
    padding: 24px;
  }
  .detail-card {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }
  .detail-meta {
    width: 100%;
  }
  .deliverable-list {
    grid-template-columns: 1fr;
  }
}

