﻿/* ===== Linden Studio — Stylesheet ===== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-burgundy: #751517;
  --color-burgundy-light: #c0504d;
  --color-coral: #c36865;
  --color-sand: #d7b285;
  --color-forest: #3a4a3c;
  --color-olive: #85835a;
  --color-cream: #faf7f2;
  --color-white: #ffffff;
  --color-dark: #1a1f1b;
  --color-text: #2d2d2d;
  --color-text-light: #6b6b6b;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Playfair Display", serif;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-slow: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* --- Custom Cursor --- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-forest);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-forest);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition:
    transform 0.3s ease,
    width 0.3s ease,
    height 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  background: rgba(58, 74, 60, 0.1);
  border-color: var(--color-coral);
  opacity: 1;
}

@media (max-width: 768px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* --- Loader --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /*transition: opacity 0.6s ease, visibility 0.6s ease;*/
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-leaf {
  animation: leafFloat 2s ease-in-out infinite;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-forest);
  letter-spacing: 2px;
  animation: fadePulse 1.5s ease-in-out infinite;
}

@keyframes leafFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes fadePulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* --- Progress Bar --- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-forest),
    var(--color-coral),
    var(--color-sand)
  );
  z-index: 9999;
  transition: width 0.1s ease;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Helpers --- */
section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-label::before,
.section-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15px;
  height: 1px;
  background: var(--color-coral);
}

.section-label::before {
  left: 0;
}

.section-label::after {
  right: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--color-forest);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-forest),
    var(--color-olive),
    var(--color-sand)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(135deg, var(--color-sand), var(--color-cream));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leaf-accent {
  color: var(--color-forest);
  position: relative;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-forest);
  color: var(--color-cream);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-burgundy),
    var(--color-coral)
  );
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(117, 21, 23, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}

.btn-secondary:hover {
  background: var(--color-forest);
  color: var(--color-cream);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--color-cream);
  color: var(--color-forest);
}

.btn-light:hover {
  background: var(--color-sand);
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  position: relative;
}
.btn-text {
  transition: opacity 0.25s ease;
}
.btn-loader {
  display: none;

  width: 18px;
  height: 18px;

  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;

  border-radius: 50%;

  animation: spin 0.8s linear infinite;
}

button.loading {
  pointer-events: none;

  opacity: 0.8;
}
button.loading .btn-text {
  display: none;
}

button.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: none;
}

.logo-icon {
  animation: leafSway 4s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes leafSway {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-burgundy);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  transition: var(--transition);
  cursor: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-coral);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-coral);
}

.nav-cta {
  background: var(--color-forest);
  color: var(--color-cream) !important;
  padding: 10px 24px;
  border-radius: 50px;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--color-burgundy);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--color-forest);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-cream) 0%, #f0ebe0 100%);
  padding: 100px 24px 60px;
}

.hero-bg-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-leaf {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: floatLeaf 8s ease-in-out infinite;
}

.leaf-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.leaf-2 {
  top: 25%;
  right: 12%;
  animation-delay: 2s;
  font-size: 3rem;
}

.leaf-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
  font-size: 2.5rem;
}

@keyframes floatLeaf {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(10deg);
  }

  66% {
    transform: translateY(10px) rotate(-5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(58, 74, 60, 0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-forest);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-burgundy);
}

.stat p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--color-olive);
  opacity: 0.3;
}

@media (max-width: 600px) {
  .stat-divider {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat h3 {
    font-size: 2rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-forest);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--color-forest);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* --- Services Section --- */
.services {
  background: var(--color-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-forest), var(--color-coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    rgba(58, 74, 60, 0.1),
    rgba(133, 131, 90, 0.1)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-forest);
  color: var(--color-cream);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-cream);
  transition: var(--transition);
}

.service-card:hover .service-number {
  color: rgba(58, 74, 60, 0.08);
}

.service-card-cta {
  background: linear-gradient(
    135deg,
    var(--color-forest),
    var(--color-burgundy)
  );
  display: flex;
  align-items: center;
}

.service-card-cta h3 {
  color: var(--color-cream);
}

.service-card-cta p {
  color: rgba(250, 247, 242, 0.8);
}

.service-cta-content {
  position: relative;
  z-index: 1;
}

.service-card-cta::before {
  display: none;
}

/* ===== Portfolio Section ===== */
.portfolio {
  background: linear-gradient(180deg, #f0ebe0, var(--color-cream));
}

/* Portfolio Stats */
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  padding: 36px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.pstat {
  text-align: center;
  position: relative;
}

.pstat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--color-olive);
  opacity: 0.2;
}

.pstat h4 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-burgundy);
  margin-bottom: 4px;
}

.pstat p {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .portfolio-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .pstat:not(:last-child)::after {
    display: none;
  }

  .pstat h4 {
    font-size: 1.6rem;
  }
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-light);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50px;
  cursor: none;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--color-forest);
  border-color: var(--color-forest);
}

.filter-btn.active {
  background: var(--color-forest);
  color: var(--color-cream);
  border-color: var(--color-forest);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 968px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: none;
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card.hidden {
  display: none;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-mockup {
  width: 80%;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-mockup {
  transform: scale(1.05) translateY(-10px);
}

/* Browser Mockup */
.mockup-browser {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.mockup-dots {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f0ebe0;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-olive);
  opacity: 0.5;
}

.mockup-dots span:nth-child(1) {
  background: #c0504d;
}

.mockup-dots span:nth-child(2) {
  background: #d7b285;
}

.mockup-dots span:nth-child(3) {
  background: #3a4a3c;
}

.mockup-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-nav-bar {
  height: 8px;
  background: rgba(58, 74, 60, 0.15);
  border-radius: 4px;
  width: 60%;
}

.mockup-hero-area {
  height: 50px;
  border-radius: 6px;
  background: rgba(133, 131, 90, 0.2);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mockup-card {
  height: 24px;
  background: rgba(58, 74, 60, 0.1);
  border-radius: 4px;
}

.mockup-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.mockup-line {
  height: 6px;
  background: rgba(58, 74, 60, 0.1);
  border-radius: 3px;
  width: 100%;
}

.mockup-line.short {
  width: 60%;
}

.mockup-btn-placeholder {
  height: 16px;
  width: 80px;
  background: var(--color-coral);
  border-radius: 8px;
  margin: 8px auto 0;
}

.mockup-dashboard {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 6px;
}

.mockup-sidebar {
  height: 60px;
  background: rgba(58, 74, 60, 0.15);
  border-radius: 4px;
}

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-chart {
  height: 30px;
  background: rgba(195, 104, 101, 0.2);
  border-radius: 4px;
}

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 31, 27, 0.95) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
  width: 100%;
}

.portfolio-card:hover .portfolio-overlay-content {
  transform: translateY(0);
}

.portfolio-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 8px;
}

.portfolio-overlay-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-cream);
  margin-bottom: 8px;
}

.portfolio-overlay-content p {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 16px;
  line-height: 1.6;
}

.portfolio-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.portfolio-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-sand);
}

.portfolio-duration {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.6);
  display: flex;
  align-items: center;
}

.portfolio-duration::before {
  content: "⏱";
  margin-right: 4px;
}

.portfolio-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cream);
  background: rgba(250, 247, 242, 0.15);
  border: 1px solid rgba(250, 247, 242, 0.3);
  border-radius: 50px;
  cursor: none;
  transition: var(--transition);
}

.portfolio-view-btn:hover {
  background: var(--color-sand);
  color: var(--color-forest);
  border-color: var(--color-sand);
}

/* Portfolio CTA */
.portfolio-cta {
  text-align: center;
  margin-top: 56px;
  padding: 40px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.portfolio-cta p {
  font-size: 1.1rem;
  color: var(--color-forest);
  margin-bottom: 20px;
  font-weight: 500;
}

/* ===== Portfolio Modal ===== */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.portfolio-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 27, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-cream);
  border-radius: 24px;
  padding: 0;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(58, 74, 60, 0.1);
  color: var(--color-forest);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: none;
  transition: var(--transition);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--color-burgundy);
  color: var(--color-cream);
  transform: rotate(90deg);
}

.modal-body {
  padding: 0;
}

.modal-header {
  padding: 48px 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.modal-header > * {
  position: relative;
  z-index: 1;
}

.modal-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-cream);
  margin-bottom: 8px;
}

.modal-tagline {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.8);
}

.modal-info {
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.modal-info-item {
  text-align: center;
  padding: 16px;
  background: var(--color-white);
  border-radius: 12px;
}

.modal-info-item h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.modal-info-item p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-forest);
}

.modal-features {
  padding: 0 40px 32px;
}

.modal-features h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-forest);
  margin-bottom: 16px;
}

.modal-features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.modal-features li::before {
  content: "✓";
  color: var(--color-coral);
  font-weight: 700;
}

.modal-description {
  padding: 0 40px 32px;
}

.modal-description p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.modal-tech {
  padding: 0 40px 32px;
}

.modal-tech h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.modal-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tech-tag {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-forest);
  background: rgba(58, 74, 60, 0.08);
  border-radius: 50px;
}

.modal-footer {
  padding: 24px 40px 40px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-footer p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .modal-info {
    grid-template-columns: 1fr;
  }

  .modal-features ul {
    grid-template-columns: 1fr;
  }

  .modal-header,
  .modal-info,
  .modal-features,
  .modal-description,
  .modal-tech,
  .modal-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .modal-title {
    font-size: 1.6rem;
  }
}

/* --- About Section --- */
.about {
  background: linear-gradient(180deg, var(--color-cream), #f5f0e5);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 868px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 300px;
    margin: 0 auto;
  }
}

.about-visual {
  position: relative;
}

.about-tree svg {
  animation: treeGrow 2s ease-out;
}

@keyframes treeGrow {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.about-content .section-label,
.about-content .section-title {
  text-align: left;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-forest);
}

.check {
  color: var(--color-coral);
  font-weight: 700;
}

/* --- Approach Section --- */
.approach {
  background: var(--color-forest);
  color: var(--color-cream);
}

.approach .section-title {
  color: var(--color-cream);
}

.approach .section-label {
  color: var(--color-sand);
}

.approach .section-label::before,
.approach .section-label::after {
  background: var(--color-sand);
}

.approach .section-desc {
  color: rgba(250, 247, 242, 0.7);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 968px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

.approach-card {
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(250, 247, 242, 0.1);
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.approach-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(215, 178, 133, 0.08));
  transition: height 0.4s ease;
}

.approach-card:hover {
  transform: translateY(-6px);
  background: rgba(250, 247, 242, 0.08);
  border-color: var(--color-sand);
}

.approach-card:hover::after {
  height: 100%;
}

.approach-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.approach-card:hover .approach-emoji {
  transform: scale(1.2) rotate(10deg);
}

.approach-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-sand);
  margin-bottom: 12px;
}

.approach-card p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.7;
}

/* --- Process Section --- */
.process {
  background: linear-gradient(180deg, #f5f0e5, var(--color-cream));
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--color-forest),
    var(--color-coral),
    var(--color-sand)
  );
  opacity: 0.3;
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
  align-items: flex-start;
}

.process-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 2px solid var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-forest);
  flex-shrink: 0;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .process-dot {
  background: var(--color-forest);
  color: var(--color-cream);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(58, 74, 60, 0.1);
}

.process-content {
  flex: 1;
  padding-top: 12px;
}

.process-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.process-content p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .process-line {
    left: 20px;
  }

  .process-dot {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .process-step {
    gap: 20px;
  }
}

/* --- FAQ Section --- */
.faq {
  background: var(--color-cream);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--color-olive);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-forest);
  cursor: none;
  transition: var(--transition);
  text-align: left;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-coral);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-burgundy),
    var(--color-forest)
  );
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(215, 178, 133, 0.15),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(195, 104, 101, 0.15),
      transparent 50%
    );
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-leaves {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.cta-leaf {
  font-size: 1.8rem;
  animation: leafFloat 3s ease-in-out infinite;
}

.cta-leaf:nth-child(2) {
  animation-delay: 0.5s;
}

.cta-leaf:nth-child(3) {
  animation-delay: 1s;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content p {
  color: rgba(250, 247, 242, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Contact Section --- */
.contact {
  background: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 868px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(58, 74, 60, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--color-forest);
  color: var(--color-cream);
}

.contact-item h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  font-size: 1rem;
  color: var(--color-forest);
  font-weight: 500;
}

.contact-social h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
  transition: var(--transition);
  cursor: none;
}

.social-link:hover {
  background: var(--color-forest);
  color: var(--color-cream);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #e0ddd5;
  background: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  resize: none;
  cursor: none;
  transition: border-color 0.3s ease;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 1rem;
  color: var(--color-text-light);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -12px;
  font-size: 0.78rem;
  color: var(--color-coral);
  font-weight: 500;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-forest);
  transition: width 0.4s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  width: 100%;
}
.form-message {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.35s ease;
}
.form-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.form-message.success {
  background: rgba(56, 161, 105, 0.12);
  color: #38a169;
  border: 1px solid rgba(56, 161, 105, 0.25);
}
.form-message.error {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: rgba(250, 247, 242, 0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 868px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo-text {
  color: var(--color-sand);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-sand);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: none;
}

.footer-col ul li a:hover {
  color: var(--color-coral);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.footer-social a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--color-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-forest);
  color: var(--color-cream);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-burgundy);
  transform: translateY(-4px);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.services-grid .reveal:nth-child(1),
.approach-grid .reveal:nth-child(1),
.portfolio-grid .reveal:nth-child(1) {
  transition-delay: 0s;
}

.services-grid .reveal:nth-child(2),
.approach-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.services-grid .reveal:nth-child(3),
.approach-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.services-grid .reveal:nth-child(4),
.approach-grid .reveal:nth-child(4),
.portfolio-grid .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.services-grid .reveal:nth-child(5),
.approach-grid .reveal:nth-child(5),
.portfolio-grid .reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.services-grid .reveal:nth-child(6),
.approach-grid .reveal:nth-child(6),
.portfolio-grid .reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .btn {
    cursor: pointer;
  }

  .nav-link {
    cursor: pointer;
  }

  .faq-question {
    cursor: pointer;
  }

  .social-link {
    cursor: pointer;
  }

  .footer-col ul li a {
    cursor: pointer;
  }

  .filter-btn {
    cursor: pointer;
  }

  .portfolio-card {
    cursor: pointer;
  }

  .portfolio-view-btn {
    cursor: pointer;
  }

  .modal-close {
    cursor: pointer;
  }
}
